Improve event loop on NS so that no polling is used.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
f2045622
CY
12012-08-15 Chong Yidong <cyd@gnu.org>
2
3 * frame.el (set-frame-font): Accept font objects.
4
582db660
SM
52012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8
2f29c200
WJ
92012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
10
456e62c2
WJ
11 * man.el (Man-overstrike-face, Man-underline-face)
12 (Man-reverse-face): Remove variables.
13 (Man-overstrike, Man-underline, Man-reverse): New faces.
14 (Man-fontify-manpage): Use them instead of the variables.
15 (Man-cleanup-manpage): Comment change.
16 (Man-ansi-color-map): New variable.
17 (Man-fontify-manpage): Use it.
18 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
19
2f29c200
WJ
20 Implement ANSI SGR parameters 22-27 (bug#12146).
21 * ansi-color.el (ansi-colors): Doc fix.
22 (ansi-color-context, ansi-color-context-region): Doc fix.
23 (ansi-color--find-face): New function.
24 (ansi-color-apply, ansi-color-apply-on-region): Use it.
25 Rename the local variable `face' to `codes' since it is now a list of
26 ansi codes. Doc fix.
27 (ansi-color-get-face): Remove.
28 (ansi-color-parse-sequence): New function, derived from
29 ansi-color-get-face.
30 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
31 codes 22-27.
32
b4f5e9df
SM
332012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
34
35 * subr.el (read-passwd): Allow use from a minibuffer.
36
ba025fbd
EZ
372012-08-14 Eli Zaretskii <eliz@gnu.org>
38
39 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
40 inside comments and strings as identifiers.
41
42 * progmodes/gud.el (gud-tooltip-print-command): Quote the
43 expression to evaluate. This allows to evaluate expressions with
44 embedded whitespace.
45 (gud-tooltip-tips): Add a blank before the newline in the
46 message-box text, for the benefit of message-box emulation on
47 MS-Windows.
48
49 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
50 messages from GDB, pop them up in a tooltip to give feedback to
51 user.
b4f5e9df
SM
52 (gdb-tooltip-print-1): Quote the expression to evaluate.
53 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
54 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
55 if the TTY name is nil or empty (which happens when communicating
56 with the inferior via pipes, e.g. on MS-Windows).
57 (gdb-internals): If GDB sends a "&\n" empty debugging message,
58 don't send that to the GUD buffer.
59
c548f821
GM
602012-08-14 Glenn Morris <rgm@gnu.org>
61
62 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
63 Optimize away setq-default with no args, as for setq. (Bug#12195)
64
55802e4a
CY
652012-08-14 Chong Yidong <cyd@gnu.org>
66
4abcdac8
CY
67 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
68
55802e4a
CY
69 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
70 (Bug#12085).
71
3c3cda1a
GM
722012-08-14 Glenn Morris <rgm@gnu.org>
73
74 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
75
e1873bd0
MA
762012-08-14 Michael Albinus <michael.albinus@gmx.de>
77
78 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
79 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
80 Use cached shell name.
81
925411b4
FEG
822012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
83
84 * progmodes/python.el (python-shell-send-string):
3c3cda1a 85 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 86
e636fafe
DG
872012-08-14 Dmitry Gutov <dgutov@yandex.ru>
88
89 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
90 (ruby-percent-literal-beg-re): New constant.
91 (ruby-syntax-general-delimiters-goto-beg): Rename to
92 `ruby-syntax-enclosing-percent-literal', improve literal type check.
93 (ruby-syntax-propertize-general-delimiters): Rename to
94 `ruby-syntax-propertize-percent-literal', it's a shorter and more
95 popular term. Adjust comments everywhere.
96 (ruby-syntax-propertize-percent-literal): Only propertize when not
97 inside a simple string or comment. When the literal is unclosed,
98 leave the text after it unpropertized.
f063063a
DG
99 (ruby-syntax-methods-before-regexp): New constant.
100 (ruby-syntax-propertize-function): Use it to recognize regexps.
101 Don't look at the text after regexp, just use the whitelist.
e636fafe 102
e5b19827
AS
1032012-08-14 Andreas Schwab <schwab@linux-m68k.org>
104
105 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
106 non-nil always load the compiled file if it exists. (Bug#12197)
107
a9f6f311
CY
1082012-08-14 Chong Yidong <cyd@gnu.org>
109
110 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
111 (hi-lock-set-pattern): When deciding whether to use font lock or
112 overlays, look at font-lock-mode instead of font-lock-fontified
113 (Bug#12168).
114 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
115 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
116
7d806b1e
DU
1172012-08-14 Daiki Ueno <ueno@unixuser.org>
118
119 * subr.el (internal--after-with-selected-window): Fix typo
120 (Bug#12193).
121
5beed586
FEG
1222012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
123
124 Use `completion-table-dynamic' for completion functions.
125 * progmodes/python.el
126 (python-shell-completion--do-completion-at-point)
e636fafe
DG
127 (python-shell-completion--get-completions):
128 Remove functions.
5beed586
FEG
129 (python-shell-completion-complete-at-point): New function.
130 (python-completion-complete-at-point): Use it.
131
92cb3b04
J
1322012-08-13 Jambunathan K <kjambunathan@gmail.com>
133
134 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
135 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
136
89660017
SM
1372012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
138
3c98c962
SM
139 * subr.el (function-get): Refine `autoload' arg so it can also
140 autoload functions for gv.el (bug#12191).
141 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
142 autoloads macros.
143
aa7c6dbe
SM
144 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
145 Prefer pcase-let over destructuring-bind.
146 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
147 Also, remove whitespace as we go, rather than after accumulating the
148 various places.
149
89660017
SM
150 * subr.el (internal--before-with-selected-window)
151 (internal--after-with-selected-window): Fix typo seleted->selected.
152 (with-selected-window): Adjust callers.
153 Reported by Dmitry Gutov <dgutov@yandex.ru>.
154
31cd32c9
BG
1552012-08-13 Bastien Guerry <bzg@gnu.org>
156
157 * window.el (special-display-popup-frame): Small docstring
158 enhancement. (Bug#12172)
159
1b15d8ad
AS
1602012-08-13 Andreas Schwab <schwab@linux-m68k.org>
161
31e54db0
AS
162 * tar-mode.el (tar-header-data-end): Only ignore size for files of
163 type 1-6.
164 (tar-header-block-summarize, tar-get-descriptor): Handle pax
165 extended headers.
166
1b15d8ad
AS
167 * files.el (hack-local-variables-filter): Remove useless eval.
168
35cb9c06
MR
1692012-08-13 Martin Rudalics <rudalics@gmx.at>
170
171 * subr.el (with-selected-window): Fix last change.
172
1439443b
SM
1732012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
174
175 * subr.el (internal--before-with-seleted-window)
176 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
177 (with-selected-window): Use them, to replace dependency on
178 tty-top-frame.
1439443b 179
0d9e2599
NN
1802012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
181
182 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
183 binding for `newline'.
184 (ruby-move-to-block): When moving backward, stop at block opening,
185 not indentation.
186 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
187 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
188 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
189 `ruby-toggle-block'.
190
ba10c48c
SM
1912012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
192
193 * ibuffer.el (ibuffer-do-toggle-read-only):
194 * dired.el (dired-toggle-read-only):
195 * buff-menu.el (Buffer-menu-toggle-read-only):
196 * bindings.el (mode-line-toggle-read-only):
197 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
198
9229c658
AS
1992012-08-12 Andreas Schwab <schwab@linux-m68k.org>
200
201 * descr-text.el (describe-char): Put the overlays over the
202 "displayed as" character.
203
0fd09128
JB
2042012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
205
206 * calc/calc-units.el (math-default-units-table): Give an
207 initial value.
208 (math-put-default-units): Add options to put composite units and
209 unit systems in the default units table.
210 (calc-convert-units): Send composite units to
211 `math-put-default-units' when appropriate.
212
9ff9402d 2132012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 214
fbb5e336
GM
215 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
216
7aacaf15
GM
217 * tutorial.el (help-with-tutorial):
218 * emacs-lisp/copyright.el (copyright-update-directory):
219 * emacs-lisp/autoload.el (autoload-find-generated-file)
220 (autoload-find-file): Disable local eval: (for insurance).
221
f40b9f10
GM
222 * files.el (hack-local-variables-filter): If an eval: form is not
223 known to be safe, and enable-local-variables is :safe, then ignore
224 the form totally, as is done for non-eval forms. (Bug#12155)
225
daa9f1a6
SM
2262012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
227
228 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
229 (rx-form): Simplify.
230
9cd80478
DG
2312012-08-09 Dmitry Gutov <dgutov@yandex.ru>
232
0d9e2599
NN
233 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
234 ?, _, and : are symbol constituents, ! is not (but kinda should be).
235 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
236 (ruby-syntax-propertize-function): Adjust for changes in
237 `ruby-syntax-propertize-heredoc'.
238
2392012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
240
9cd80478
DG
241 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
242 binding (use `M-;' instead).
9cd80478 243 (ruby-singleton-class-p): New function.
0d9e2599 244 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 245
d301b413
SM
2462012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
247
248 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
249
1530c98e
CY
2502012-08-10 Chong Yidong <cyd@gnu.org>
251
252 * progmodes/python.el (python-shell-get-process-name): Don't mess
253 with same-window-buffer-names.
254
255 * eshell/eshell.el (eshell-add-to-window-buffer-names)
256 (eshell-remove-from-window-buffer-names): Make obsolete.
257 (eshell-buffer-name, eshell-unload-hook): Don't use them.
258 (eshell): Just use pop-to-buffer-same-window instead.
259
e1293765
CY
2602012-08-10 Chong Yidong <cyd@gnu.org>
261
262 * bindings.el: Bind M-= back to count-words-region.
263
264 * simple.el (count-words-region): Accept a prefix arg for acting
265 on the entire buffer.
266 (count-words--buffer-message): New helper function.
267
e1894109
SM
2682012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
269
270 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
271 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
272 (event-start, event-end): Use posn-at-point to return a more
273 informative posn.
274 (posnp): New function.
275 * mouse.el (popup-menu-normalize-position): Use it.
276
c69f56a2
MY
2772012-08-10 Masatake YAMATO <yamato@redhat.com>
278
279 * mouse.el (popup-menu-normalize-position): New function.
280 (popup-menu): Use `popup-menu-normalize-position' to normalize
281 the form for POSITION argument.
282
283 * term/x-win.el (x-menu-bar-open):
284 Use the value returend from (posn-at-point) as position
285 passed to `popup-menu'.
286
31673780
JB
2872012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
288
289 * calc/calccomp.el (math-compose-expr): Add extra argument
290 indicating that parentheses should be put around products in
291 denominators. Give multiplication precedence over division during
292 composition.
293
dab7711b
CY
2942012-08-09 Chong Yidong <cyd@gnu.org>
295
dee4ef93
CY
296 * man.el (Man-switches, Man-sed-command, Man-awk-command)
297 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
298 (Man-untabify-command, manual-program): Convert to defcustom
299 (Bug#10429).
300
73e2bbc5
CY
301 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
302
3e861c8a
CY
303 * descr-text.el (describe-char): Don't insert extra newlines
304 (Bug#10127).
305
a9f5a649
CY
306 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
307 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
308
dab7711b
CY
309 * align.el (align-region): Delete temporary markers (Bug#10047).
310 Plus some code cleanups.
311
e0cc4efa
FEG
3122012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
313
314 * progmodes/python.el (python-pdbtrack-tracked-buffer)
315 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
316 (python-shell-internal-last-output): Use make-local-variable
317 instead of make-variable-buffer-local.
318
489af14f
FEG
3192012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
320
321 * progmodes/python.el: Enhancements to forward-sexp.
322 (python-nav-forward-sexp): Rename from
323 python-nav-forward-sexp-function.
c69f56a2
MY
324 (python-nav--forward-sexp, python-nav--backward-sexp):
325 New functions.
489af14f 326
0fc50303
JB
3272012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
328
329 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
330 modes and simplification modes.
331
5d65606a
SM
3322012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
333
334 * delsel.el (delete-selection-pre-hook): Don't propagate the
335 file-supersession signals (bug#12161).
336
4250fdf5
SM
3372012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
338
339 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
340 (cl-map-extents): Add compatibility aliases (bug#12135).
341
d9f9b465
MA
3422012-08-08 Michael Albinus <michael.albinus@gmx.de>
343
344 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
345 tests by `ignore-error'.
346 (tramp-find-shell): Open also a new shell, when cache is already
347 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
348
ce0fcefa
JL
3492012-08-08 Juri Linkov <juri@jurta.org>
350
351 * bookmark.el: Add `defaults' property to the bookmark record.
352 (bookmark-current-buffer): Doc fix.
353 (bookmark-make-record): Add `defaults' property with default values
354 to the bookmark record.
355 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
356 with `bookmark-insert-current-bookmark'.
357 (bookmark-set): Get `defaults' property from the bookmark record
358 and use it in `read-from-minibuffer'.
359 (bookmark-insert-current-bookmark): Remove function.
360
361 * info.el (Info-bookmark-make-record): Add `defaults' property
362 with values of canonical Info node name, the current Info file
363 name and the current Info node name. (Bug#12107)
364
53fa8652
JL
3652012-08-08 Juri Linkov <juri@jurta.org>
366
367 * files.el (basic-save-buffer): Use `buffer-name' as the default
368 of `read-file-name' when buffer is not visiting a file (bug#12128).
369
242c0a95
JL
3702012-08-08 Juri Linkov <juri@jurta.org>
371
372 * info.el (Info-isearch-search): Doc fix.
373 (Info-search): Change search-failed message from "initial node" to
374 "end of node" (bug#12078).
375 (Info-isearch-search): Change `isearch-string-state' to
376 `isearch--state-string'.
377
32ac3a6b
GM
3782012-08-08 Glenn Morris <rgm@gnu.org>
379
380 * language/persian.el: Remove file.
f8c1afd5 381 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
382 * loadup.el: Remove language/persian.
383
2c2d9c9c
OF
3842012-08-08 Óscar Fuentes <ofv@wanadoo.es>
385
386 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
387
2d79ec42
FEG
3882012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
389
390 * progmodes/python.el Fixed defsubst warning.
391 (python-syntax-context) Rename from python-info-ppss-context.
392 (python-syntax-context-type): Rename from
393 python-info-ppss-context-type.
394 (python-syntax-comment-or-string-p): Rename from
395 python-info-ppss-comment-or-string-p.
396
2bd255dd
JB
3972012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
398
399 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
400
c395097f
AS
4012012-08-07 Andreas Schwab <schwab@linux-m68k.org>
402
6125983e
AS
403 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
404 a defcustom that is quoted with backquote.
405
4250fdf5
SM
406 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
407 Fix handling of interactive spec when the body uses return.
651eaf36
AS
408 (math-do-arg-check, math-define-function-body): Use backquote forms.
409 * calc/calc-ext.el (math-defcache): Likewise.
410 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
411 * allout.el (allout-new-exposure): Likewise.
412 * calc/calcalg2.el (math-tracing-integral): Likewise.
413 * info.el (Info-last-menu-item): Likewise.
414 * emulation/vip.el (vip-loop): Likewise.
415 * textmodes/artist.el (artist-funcall): Likewise.
416 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
417 Construct menu-item directly.
418
4250fdf5
SM
419 * progmodes/autoconf.el (font-lock-syntactic-keywords):
420 Don't declare.
c395097f 421
5fb50dd3
CY
4222012-08-07 Chong Yidong <cyd@gnu.org>
423
424 * simple.el (deactivate-mark): Preserve text properties when
425 saving the primary selection (Bug#8384).
426
54eea618
KR
4272012-08-07 Kevin Ryde <user42@zip.com.au>
428
429 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
430 (woman-parse-numeric-value): On a bad .IP line, issue a warning
431 and continue processing (Bug#12110).
432
638eaeb9
SM
4332012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
434
435 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
436 syntax-propertize-function (bug#10095).
437
ea376861
SM
4382012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
439
f91b35be
SM
440 * help-fns.el (help-fns--key-bindings, help-fns--signature)
441 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
442 describe-function-1.
443 (describe-function-1): Use them. Move compiler macro after sig.
444 (help-fns--compiler-macro): Use function-get. Assume we're already in
445 standard-output. Adjust layout to new call order.
446
ea376861
SM
447 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
448 re-binding a symbol that has a symbol-macro (bug#12119).
449
d5be7bd0
MB
4502012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
451
452 * language/persian.el: New file. (Bug#11812)
453 * loadup.el: Add language/persian.el.
454
90749b53
CY
4552012-08-06 Chong Yidong <cyd@gnu.org>
456
457 * window.el (window--maybe-raise-frame): New function.
458 (window--display-buffer): Split off from here.
459 (display-buffer-reuse-window, display-buffer-pop-up-frame)
460 (display-buffer-pop-up-window, display-buffer-use-some-window):
461 Obey an inhibit-switch-frame action alist entry.
462 (display-buffer): Update doc.
463
464 * replace.el (occur-after-change-function): Avoid losing focus by
465 using the inhibit-switch-frame display parameter (Bug#12139).
466
ba7b0154
FEG
4672012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
468
469 Make internal shell process buffer names start with space.
470 * progmodes/python.el (python-shell-make-comint): Add optional
471 argument INTERNAL.
472 (run-python-internal): Use it.
473 (python-shell-internal-get-or-create-process): Check for new
474 internal buffer names.
475
5eaeacb5
GM
4762012-08-06 Glenn Morris <rgm@gnu.org>
477
e296d94b 478 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
479 Do less getting and setting of environment variables.
480
b7ccbdc2
CY
4812012-08-05 Chong Yidong <cyd@gnu.org>
482
777fe95e
CY
483 * proced.el (proced): Add substitution string to docstring to
484 trigger autoloading of the proced library on C-h f (Bug#1768).
485
4250fdf5
SM
486 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
487 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
488
489 * imenu.el (imenu-generic-expression): Move documentation here
490 from imenu--generic-function.
491 (imenu--generic-function): Refer to imenu-generic-expression.
492
9e3b7800 4932012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
494
495 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
496 indentation declaration.
497 (viper-loop): Add indentation declaration (Bug#7025).
498
e5d9c0d1
CY
4992012-08-05 Chong Yidong <cyd@gnu.org>
500
f0422feb
CY
501 * help-fns.el (describe-variable): Add hyperlink for
502 directory-local variables files. Improve buffer-local and
503 permanent-local reporting; suggested by MON KEY (Bug#6644).
504
505 * help-mode.el (help-dir-local-var-def): New button type.
506
e5d9c0d1
CY
507 * files.el (kill-buffer-hook): Provide a defvar.
508
a4f2deaa
GM
5092012-08-05 Glenn Morris <rgm@gnu.org>
510
511 * eshell/esh-ext.el (eshell/addpath):
512 Also update eshell-path-env. (Bug#12013)
513
a9dd5754
CY
5142012-08-05 Chong Yidong <cyd@gnu.org>
515
a4f2deaa 516 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 517
d014c740
CY
518 * fringe.el (fringe-styles): Add docstring.
519 (fringe--check-mode): New function.
520 (set-fringe-mode, set-fringe-style): Use it.
521 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
522
a9dd5754
CY
523 * files.el (set-auto-mode): Fix invalid setq call.
524
7c2dc8bd
SM
5252012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
526
527 * isearch.el: Misc simplification; use defstruct.
528 (isearch-mode-map): Dense maps now work like sparse ones.
529 (isearch--state): New defstruct.
530 (isearch-string-state, isearch-message-state, isearch-point-state)
531 (isearch-success-state, isearch-forward-state)
532 (isearch-other-end-state, isearch-word-state, isearch-error-state)
533 (isearch-wrapped-state, isearch-barrier-state)
534 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
535 replaced by defstruct's accessors.
536 (isearch--set-state): Rename from isearch-top-state and change
537 calling convention.
538 (isearch-push-state): Use new isearch--get-state.
539 (isearch-toggle-word): Disable regexp when enabling word.
540 (isearch-message-prefix): Remove unused arg _c-q-hack.
541 (isearch-message-suffix): Remove unused arg _ellipsis.
542
7fcc0070
AS
5432012-08-04 Andreas Schwab <schwab@linux-m68k.org>
544
545 * simple.el (list-processes--refresh): For a server use :host or
546 :local as the address.
97ad0769 547 (list-processes): Doc fix.
7fcc0070 548
00340faf
MN
5492012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
550
551 * lisp/mpc.el: Support password in host argument.
552 (mpc--proc-connect): Parse and use new password element.
553 Set mpc-proc variable instead of returning process.
554 (mpc-proc): Adjust accordingly.
555
6dad7178
EZ
5562012-08-03 Eli Zaretskii <eliz@gnu.org>
557
18949c2f
EZ
558 * whitespace.el (whitespace-display-mappings): Use Unicode
559 codepoints, instead of emacs-mule codepoints. See
560 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
561 for the details.
562
6dad7178
EZ
563 * files.el (file-truename): Don't skip symlink-chasing part on
564 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
565 Windows into the loop that recursively chases symlinks.
566 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
567 MS-DOS.
568
385b0198
CY
5692012-08-03 Chong Yidong <cyd@gnu.org>
570
6200f3c4
CY
571 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
572
385b0198
CY
573 * sort.el (sort-regexp-fields): Doc fix.
574
b9e74744
TH
5752012-08-03 Tassilo Horn <tsdh@gnu.org>
576
577 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
578 labels regex position point at the expected place.
579
41013cb4
MK
5802012-08-03 MON KEY <monkey@sandpframing.com>
581
582 * net/imap.el (imap-interactive-login, imap-authenticate)
583 (imap-mailbox-lsub, imap-mailbox-list)
584 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
585 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
586 (imap-parse-response): Doc fix.
587
0ffee616
JT
5882012-08-03 João Távora <joaotavora@gmail.com>
589
590 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
591 if sexp scanning does not move point (Bug#5734).
592
cfcc9cc8
TH
5932012-08-02 Tassilo Horn <tsdh@gnu.org>
594
595 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
596 Add listings, minted, and ctable packages.
597 (reftex-label-alist-builtin): Move listings, minted, and ctable
598 entries before LaTeX.
a01bbb84 599 (reftex-label-alist): Docfix.
cfcc9cc8 600
66ec2442
BG
6012012-08-02 Bastien Guerry <bzg@gnu.org>
602
603 * replace.el (occur): Fix docstring (bug#12122).
604
837b365b
GM
6052012-08-02 Glenn Morris <rgm@gnu.org>
606
607 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
608
e098de97
PE
6092012-08-02 Paul Eggert <eggert@cs.ucla.edu>
610
611 Obsolete alias inactivate-current-input-method-function (Bug#10150).
612 * international/mule-cmds.el: Create
613 inactivate-current-input-method-function as an obsolete alias for
614 deactivate-current-input-method-function. See Katsumi Yamaoka in
615 <http://bugs.gnu.org/10150#46>.
616
a0f95636
JB
6172012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
618
619 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
620 of nested `if's.
621
0d26d7c4
GM
6222012-08-01 Glenn Morris <rgm@gnu.org>
623
624 * progmodes/autoconf.el (autoconf-definition-regexp):
625 Add AH_TEMPLATE, adjust submatch numbering.
626 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
627 (autoconf-current-defun-function): Update for above change.
628 (autoconf-current-defun-function): First skip to end of current word.
629
b686ba06
RS
6302012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
631
632 * calendar/cal-html.el (cal-html-insert-agenda-days):
633 Fix typo. (Bug#12018)
634
0d49da68
FEG
6352012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
636
637 Shell processes: enhancements to startup and CEDET compatibility.
638 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
639 (python-shell-make-comint): accept-process-output at startup.
640 (run-python-internal): Set inferior-python-mode-hook to nil.
641 (python-shell-internal-get-or-create-process): call sit-for.
642 (python-preoutput-result): Add obsolete alias.
643 (python-shell-internal-send-string): Use it.
644 (python-shell-send-setup-code): Remove call to
645 accept-process-output.
646
f1a71c6e
AS
6472012-07-31 Andreas Schwab <schwab@linux-m68k.org>
648
649 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
650 (Bug#12108)
651
d2605269
JB
6522012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
653
654 * calc-mode.el (calc-basic-simplification-mode): Rename from
655 `calc-limited-simplification-mode'.
656 (calc-alg-simplification-mode): New function.
d66060f8 657 (calc-set-simplify-mode): Adjust message.
f1a71c6e 658
d2605269
JB
659 * calc.el (calc-set-mode-line): Adjust mode line display for
660 basic simplification mode.
661
662 * calc-help.el (calc-m-prefix-help): Update help message.
663
664 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
665 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
666
a3827a43
BG
6672012-07-31 Bastien Guerry <bzg@gnu.org>
668
669 * man.el (man): Fix comment. (bug#12101)
670
502e3f89
MR
6712012-07-31 Martin Rudalics <rudalics@gmx.at>
672
673 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
674 Don't return a non-nil value when no suitable buffer was found.
675
d7714961
FEG
6762012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
677
678 * progmodes/python.el (run-python-internal): Disable font lock for
679 internal shells.
680
1f45e27e
SM
6812012-07-30 Stefan Merten <smerten@oekonux.de>
682
683 * rst.el: Silence `checkdoc-ispell'.
684 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
685 (rst-official-version, rst-official-cvs-rev)
686 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
687 (rst-mode-map): New key binding.
688
0aee6912
PE
6892012-07-30 Paul Eggert <eggert@cs.ucla.edu>
690
691 Update .PHONY listings in makefiles.
692 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
693 autoloads, update-subdirs, updates, bzr-update, update-authors,
694 compile-onefile, compile-calc, backup-compiled-files,
695 compile-after-backup, compile-one-process, mh-autoloads,
696 bootstrap-clean, distclean, maintainer-clean.
697
9052f9f0
JB
6982012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
699
1823ac5a
JB
700 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
701 (calc-set-mode-line): Don't display "AlgSimp ".
702
703 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
704 (calc-lim-simplify-mode): New function.
705 (calc-set-simplify-mode): Default to 'alg.
706 (calc-default-simplify-mode): Make algebraic simplifications
707 the default.
708
709 * calc/calc-ext.el (calc-init-extensions): Remove binding for
710 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
711
8d7c7eed 712 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
713 indicate new simplification modes.
714
1823ac5a
JB
715 * calc/README: Mention new default simplification mode.
716
9052f9f0
JB
717 * calc/calc.el (math-normalize-error): New variable.
718 (math-normalize): Set `math-normalize-error' to t
719 when there's an error.
720
721 * calc/calc-alg.el (math-simplify): Don't simplify when
722 `math-normalize' returns an error.
723
20ba0cb4
EZ
7242012-07-29 Eli Zaretskii <eliz@gnu.org>
725
726 * international/mule-cmds.el (set-locale-environment): Revert last
727 change, since display-graphic-p returns nil when this function is
728 called during startup. Instead...
729
730 * term/w32console.el (terminal-init-w32console): ...setup the
731 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
732
a5dcc929
JL
7332012-07-29 Juri Linkov <juri@jurta.org>
734
735 * simple.el (goto-line): Don't display default line number in the
736 prompt because it should be displayed by `read-number' (bug#9952).
737 Add the current line number to the defaults of `goto-line' to
738 allow its easier modification by users with `M-n' (bug#9201).
739
740 * subr.el (read-number): Support multiple default values like in
741 other minibuffer reading functions. Replace `read' with
742 `string-to-number' for consistency with `number-to-string'.
743
72b255c7
PE
7442012-07-29 Paul Eggert <eggert@cs.ucla.edu>
745
746 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
747 * emulation/viper-init.el (viper-deactivate-input-method-action):
748 Rename from viper-inactivate-input-method-action.
749 (viper-deactivate-input-method):
750 Rename from viper-inactivate-input-method.
751 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
752 * international/mule-cmds.el (deactivate-input-method):
753 Rename from inactivate-input-method.
754 Also run input-method-deactivate-hook.
755 (deactivate-current-input-method-function):
756 Rename from inactivate-current-input-method-function.
757 (input-method-deactivate-hook): New hook.
758 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
759 (inactivate-input-method): Mark obsolete.
760
72b255c7
PE
761 * international/quail.el (quail-activate):
762 Also run quail-deactivate-hook.
763 (quail-deactivate): Rename from quail-inactivate.
764 * international/robin.el (robin-activate):
765 Also run robin-deactivate-hook.
766 (robin-deactivate): Rename from robin-inactivate.
767
2549c068
CY
7682012-07-29 Chong Yidong <cyd@gnu.org>
769
770 * simple.el (indicate-copied-region): New function.
771 (kill-ring-save): Split off from here.
772
773 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
774 (kill-rectangle): Set deactivate-mark to t on read-only error.
775
776 * register.el (copy-to-register, copy-rectangle-to-register):
777 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
778 (append-to-register, prepend-to-register):
779 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
780
781 * simple.el (async-shell-command-buffer): New defcustom.
782 (shell-command): Use it. (Bug#4719)
783
01bd1b0d
EZ
7842012-07-28 Eli Zaretskii <eliz@gnu.org>
785
786 * international/mule-cmds.el (set-locale-environment): In a
787 console session on MS-Windows, set up keyboard and terminal
788 encoding from the OEM codepage, not the ANSI codepage.
789 (Bug#12055)
790
a55739d3
CY
7912012-07-28 Chong Yidong <cyd@gnu.org>
792
793 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
794 gdb-get-location.
795
0e1a094f 7962012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
797
798 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
799 the alist (bug#12029).
800
20329d73
EZ
8012012-07-28 Eli Zaretskii <eliz@gnu.org>
802
803 * makefile.w32-in (custom-deps, finder-data, updates, compile)
804 (compile-always, compile-first)
805 ($(lisp)/calendar/cal-loaddefs.el)
806 ($(lisp)/calendar/diary-loaddefs.el)
807 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
808 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
809 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
810 instead of on update-subdirs.
811 (bootstrap-clean): Delete $(lisp)/subdirs.el.
812
345a2258
CY
8132012-07-28 Chong Yidong <cyd@gnu.org>
814
1eee6341
CY
815 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
816 directory if vc-deduce-backend returns nil (Bug#7350).
817
345a2258
CY
818 * simple.el (delete-trailing-lines): New option.
819 (delete-trailing-whitespace): Obey it (Bug#11879).
820
049a0936
DE
8212012-07-28 David Engster <deng@randomsample.de>
822
823 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
824 Explanation of new 'symbol-qnames feature in doc-strings.
825 (xml-maybe-do-ns): Return expanded names as plain symbols if
826 'symbol-qnames was provided in XML-NS argument (Bug#11916).
827 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
828
aa81af71
FEG
8292012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
830
831 Consistent completion in inferior python with emacs -nw.
832 * progmodes/python.el (inferior-python-mode): replace "<tab>"
833 binding in inferior-python-mode-map with "\t".
834 (python-shell-completion-complete-at-point)
835 (python-completion-complete-at-point): Remove interactive spec.
836
e827b1eb
JB
8372012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
838
839 * calc/calccomp.el (math-compose-expr): Undo previous change.
840
a90dfb95
FEG
8412012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
842
4250fdf5 843 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
844 run-python.
845 (python-shell-make-comint): Fix pop-to-buffer call.
846 (run-python): Autoload. New arg SHOW.
847 (python-shell-get-or-create-process): Do not pop python process
848 buffer.
849
32770973 8502012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
851
852 * notifications.el (notifications-on-action-signal)
853 (notifications-on-closed-signal): Use also the bus address for the map.
854 (notifications-notify, notifications-close-notification)
855 (notifications-get-capabilities): Add optional argument BUS.
856
86332df2
TH
8572012-07-27 Tassilo Horn <tsdh@gnu.org>
858
4250fdf5
SM
859 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
860 Add support for the lstlisting and minted environments, and for the
86332df2
TH
861 ctable macro.
862 * textmodes/reftex.el (reftex-compile-variables): Also recognize
863 labels written in keyvals syntax.
864
ca1302a4
JB
8652012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
866
867 * calc/calccomp.el (math-compose-expr): Use parentheses when
868 there is a product in the denominator of a fraction.
869
f8b91036
EZ
8702012-07-26 Eli Zaretskii <eliz@gnu.org>
871
872 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
873 ($(lisp)/calendar/diary-loaddefs.el)
874 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
875 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
876 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
877 rewritten while the autoload files are built at the same time,
878 which needs to load subdirs.el.
879
c8e5a42c
MR
8802012-07-26 Martin Rudalics <rudalics@gmx.at>
881
882 * mouse.el (popup-menu): Fix doc-string and re-indent code.
883 (mouse-drag-line): Don't exit tracking when a switch-frame or
884 switch-window event occurs (Bug#12006).
885
670d85ea
SM
8862012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * mouse.el (popup-menu): Fix last change.
889
7abaf5cc
SM
8902012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
891
892 Autoload from Lisp with more care. Follow aliases when looking for
893 function properties.
894 * subr.el (autoloadp): New function.
895 (symbol-file): Use it.
896 (function-get): New function.
897 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
898 autoload-do-load.
899 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
900 (lisp-indent-function):
901 * emacs-lisp/gv.el (gv-get):
902 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
903 * emacs-lisp/byte-opt.el (byte-optimize-form):
904 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
905 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
906 Use function-get.
907 * emacs-lisp/cl.el: Don't propagate function properties any more.
908
909 * speedbar.el (speedbar-add-localized-speedbar-support):
910 * emacs-lisp/disass.el (disassemble-internal):
911 * desktop.el (desktop-load-file):
912 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
913 (describe-function-1):
914 * emacs-lisp/find-func.el (find-function-noselect):
915 * emacs-lisp/elp.el (elp-instrument-function):
916 * emacs-lisp/advice.el (ad-has-proper-definition):
917 * apropos.el (apropos-safe-documentation, apropos-macrop):
918 * emacs-lisp/debug.el (debug-on-entry):
919 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
920 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
921 * calc/calc.el (name): Use autoloadp & autoload-do-load.
922
b1364986
AA
9232012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
924
925 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
926 function, not an obsolete variable (Bug#12046).
927
67ada220
AS
9282012-07-25 Andreas Schwab <schwab@linux-m68k.org>
929
930 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
931
f08088e3
CS
9322012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
933
934 * emacs-lisp/pp.el (pp-display-expression): Select old selected
935 window only if it is still live (Bug#12034).
936
8137e7b3
MR
9372012-07-25 Martin Rudalics <rudalics@gmx.at>
938
939 * subr.el (redirect-frame-focus): Add advertised calling
940 convention (Bug#12030).
941
09ae5da1
PE
9422012-07-25 Paul Eggert <eggert@cs.ucla.edu>
943
944 Prefer typical American spelling for "acknowledgment".
945 * vc/add-log.el (change-log-acknowledgment): Rename from
946 change-log-acknowledgement, with an alias for the old name.
947
3cc5a3a8
JB
9482012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
949
950 * calc-alg.el (math-simplify-divide): Don't cross multiply
951 in an equation when the lhs is a variable.
952
b7af7f62
JD
9532012-07-24 Julien Danjou <julien@danjou.info>
954
955 * net/netrc.el (netrc-find-service-number, netrc-store-data):
956 Remove, unused.
957
ec1b09b1
EZ
9582012-07-23 Eli Zaretskii <eliz@gnu.org>
959
960 * startup.el (command-line): Don't display an empty user name in
961 the error message about non-existent home directory, when
962 init-file-user was set to an empty string. See
963 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
964 for the details and context.
965
b525fd8a
VB
9662012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
967
968 * ses.el (ses-cell-formula-aset): New macro.
969 (ses-cell-references-aset): New macro.
970 (ses-cell-p): New function.
971 (ses-rename-cell): Do no longer rely on complex operations like
972 ses-cell-set-formula or ses-set-cell to change the cell and handle
973 the undo at the same time, but rather use lower level new macros
974 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
975 the undo directly. Refresh the mode line.
976
2c73e345
LL
9772012-07-21 Leo Liu <sdl.web@gmail.com>
978
670d85ea
SM
979 * progmodes/cc-cmds.el (c-defun-name):
980 Use match-string-no-properties instead for consistency.
2c73e345 981
542dfbde
LL
9822012-07-20 Leo Liu <sdl.web@gmail.com>
983
3646bcd6
LL
984 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
985 (Bug#7879)
986
542dfbde
LL
987 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
988
25721031
CY
9892012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
990
991 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
992 * progmodes/bug-reference.el, misearch.el: Provide themselves
993 (bug#11915).
994
995 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
996 of narrowed buffer (bug#11966).
997
316e68a7
VB
9982012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
999
1000 * ses.el (ses-rename-cell): Set new name also in reference list of
1001 cells of which the renamed cell depends.
1002
bbf0e7d9
MY
10032012-07-20 Masatake YAMATO <yamato@redhat.com>
1004
1005 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1006 to check whether menu-bar is shown or not. If not shown,
1007 show the menu-bar as a popup menu instead of using tmm.
1008 * mouse.el (popup-menu): Accept `point' as `position' argument.
1009
c28662a8
DG
10102012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1011
1012 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1013 up inside string symbol literal (bug#11923).
1014
87ab808f
EZ
10152012-07-20 Eli Zaretskii <eliz@gnu.org>
1016
1017 * startup.el (fancy-startup-text): Read the whole tutorial, not
1018 just its first 256 bytes. Prevents gibberish in display of the
1019 tutorial title.
1020
89dea803
DA
10212012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1022
1023 Drop idle buffer compaction due to an absence of the
1024 proved efficiency.
1025 * compact.el: Remove.
1026
8a4e6db8
SS
10272012-07-19 Sam Steingold <sds@gnu.org>
1028
1029 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1030 vc-bzr-pull & vc-bzr-merge-branch.
1031 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1032 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1033 for consistency with compilation-error-regexp-alist.
1034 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1035 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1036 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1037 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1038
5db81e33
SM
10392012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1040
1041 * emacs-lisp/chart.el: Use lexical-binding.
1042 (chart-emacs-storage): Don't hardcode the list of entries.
1043
5b835e1d
DA
10442012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1045
1046 Next round of tweaks caused by Fgarbage_collect changes.
1047 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1048
9cd47b72
DA
10492012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1050
1051 Compact buffers when idle.
1052 * compact.el: New file.
1053
1d6fc0df
SM
10542012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1055
1056 * subr.el (eventp): Presume that if it looks vaguely like an event,
1057 it's an event (bug#10190).
1058
1d29cc7d
FEG
10592012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
1060
1061 Enhancements to ppss related code (thanks Stefan).
1062 * progmodes/python.el (python-indent-context)
1063 (python-indent-calculate-indentation, python-indent-dedent-line)
1064 (python-indent-electric-colon, python-nav-forward-block)
1065 (python-mode-abbrev-table)
1d6fc0df 1066 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
1067 for ppss context.
1068 (python-info-continuation-line-p): Cleanup.
1069 (python-info-ppss-context): Do not catch 'quote.
1070 (python-info-ppss-context-type)
1071 (python-info-ppss-comment-or-string-p): Simplify.
1072
d583cbe6
FEG
10732012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
1074
1075 * progmodes/python.el: Enhancements to eldoc support.
1076 (python-info-current-symbol): New function.
1077 (python-eldoc-at-point): Use python-info-current-symbol.
1078 (python-info-current-defun): Fix cornercase on first defun scan.
1079 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1080 and signal error when no inferior python process is available.
1081
eceb6feb
DG
10822012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1083
1084 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1085 assume it's always t.
1086 (vc-git-registered): Remove caching, the function is only called
1087 once.
1088 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1089
4c8ff0fe
CY
10902012-07-18 Chong Yidong <cyd@gnu.org>
1091
19fb7186
CY
1092 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1093
9587c688
CY
1094 * simple.el (count-words): Report on narrowing (Bug#9959).
1095
0fe776a1
CY
1096 * bindings.el: Bind M-= to count-words.
1097
4c8ff0fe
CY
1098 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1099
7f5331cc
MY
11002012-07-18 Masatake YAMATO <yamato@redhat.com>
1101
1102 * progmodes/sh-script.el (sh-imenu-generic-expression):
1103 Capture a function with `function' keyword and without parentheses
1104 like "function FOO" (bug#11856).
1105
2dc2a609
TH
11062012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1107
1108 * window.el (split-window-sensibly): Make WINDOW argument
1109 optional.
1110
439f7677
CY
11112012-07-18 Chong Yidong <cyd@gnu.org>
1112
9aeb25a6
CY
1113 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1114
439f7677
CY
1115 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1116 and make C-x 8 RET exit isearch (Bug#11439).
1117
1118 * international/iso-transl.el: Move isearch-mode-map key
1119 definitions to isearch.el.
1120
12999ea8
SM
11212012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1122
1123 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1124 (eieio-defclass): Use gv-define-setter when possible.
1125
3ab6e069
DA
11262012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1127
1128 Reflect recent changes in Fgarbage_collect.
1129 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1130 reflect new format of data returned by Fgarbage_collect.
1131
0a60bc10
FEG
11322012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1133
1134 New utility functions + python-info-ppss-context fix (Bug#11910).
1135 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1136 (python-info-ppss-comment-or-string-p): New functions.
1137 (python-info-ppss-context): Small fix for string check.
1138
6dafa0d5
JL
11392012-07-17 Juri Linkov <juri@jurta.org>
1140
1141 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1142 (dired-do-async-shell-command): Don't add `*' at the end of the
1143 command (Bug#11815).
1144 (dired-do-shell-command): Doc fix.
1145 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1146 Join the individual commands using either "&" or ";" as the
1147 separator depending on the values of these trailing characters.
1148 At the end re-add the trailing "&". (Bug#10598)
1149
1150 * simple.el (async-shell-command): Sync the interactive spec with
1151 `shell-command'. Doc fix.
1152 (shell-command): Doc fix.
1153
b19dd9d1
JL
11542012-07-17 Juri Linkov <juri@jurta.org>
1155
1156 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1157
bcdc27d7 11582012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 1159
bcdc27d7 1160 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
1161 * progmodes/python.el (python-nav-beginning-of-statement):
1162 Rename from python-nav-statement-start.
bcdc27d7
FEG
1163 (python-nav-end-of-statement): Rename from
1164 python-nav-statement-end.
1165 (python-nav-beginning-of-block): Rename from
1166 python-nav-block-start.
1167 (python-nav-end-of-block): Rename from python-nav-block-end.
1168
191da00e
FEG
11692012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1170
7f5331cc
MY
1171 * progmodes/python.el (python-shell-send-string-no-output):
1172 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
1173 future interactions (Bug#11868).
1174
4dc7c8d5 11752012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 1176
88ecaf8f
SM
1177 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1178
ef501ef0
SM
1179 * emacs-lisp/elint.el (elint-find-args-in-code):
1180 Use help-function-arglist, so as to handle lexical byte-code.
1181
aa7aaf8f
SM
1182 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1183 change (bug#11826).
1184
45fd731c
SM
11852012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1186
2143fa32
SM
1187 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1188 Avoid spuriously marking the buffer as modified because of c-is-sws.
1189
efc26dbe
SM
1190 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1191 as not-a-comment (bug#11946).
1192
f5695c9a
SM
1193 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1194 for uninterned vars.
1195
1196 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1197 Use read-event since we don't really want to read chars but bytes.
1198
45fd731c
SM
1199 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1200 $$..$$ but also $..$ using regexps (bug#11953).
1201 Use tex-verbatim for \url and \path.
1202 (tex-font-lock-keywords): Define as defconst like the others.
1203 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1204
ddfc8813
RK
12052012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1206
1207 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1208 alias for insert-char.
1209
758e556a
FEG
12102012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1211
1212 * progmodes/python.el: Simplified imenu implementation.
1213 (python-nav-jump-to-defun): Remove command.
1214 (python-mode-map): Use `imenu' instead.
1215 (python-nav-list-defun-positions-cache)
1216 (python-imenu-include-defun-type, python-imenu-make-tree)
1217 (python-imenu-subtree-root-label, python-imenu-index-alist):
1218 Remove vars.
1219 (python-nav-list-defun-positions, python-nav-read-defun)
1220 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1221 (python-imenu-make-tree, python-imenu-create-index):
1222 Remove functions.
758e556a
FEG
1223 (python-mode): Update to interact with imenu by setting
1224 `imenu-extract-index-name-function' only.
1225
032d23ab
FEG
12262012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1227
1228 * progmodes/python.el: Enhancements to navigation commands.
1229 (python-nav-backward-sentence)
1230 (python-nav-forward-sentence): Remove.
1231 (python-nav-backward-statement, python-nav-forward-statement)
1232 (python-nav-statement-start, python-nav-statement-end)
1233 (python-nav-backward-block, python-nav-forward-block)
1234 (python-nav-block-start, python-nav-block-end)
1235 (python-nav-forward-sexp-function)
1236 (python-info-current-line-comment-p)
1237 (python-info-current-line-empty-p): New functions.
1238 (python-indent-context): Use `python-nav-statement-start'.
1239
01795a1b
MA
12402012-07-16 Michael Albinus <michael.albinus@gmx.de>
1241
9328d9aa
MA
1242 * eshell/em-ls.el (eshell/ls): Use `apply'.
1243
1244 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1245 multi-hops, instead of Tramp internals.
1246
01795a1b
MA
1247 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1248
1249 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1250 when F1 and F2 are located on different hosts.
1251
63408057
CY
12522012-07-14 Chong Yidong <cyd@gnu.org>
1253
1254 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1255 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1256 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1257 (xterm-mouse--read-event-sequence-1000)
1258 (xterm-mouse--read-event-sequence-1006): New functions. For old
1259 mouse protocol, handle M-mouse-X events correctly.
1260 (xterm-mouse-event): New arg specifying mouse protocol.
1261 (turn-on-xterm-mouse-tracking-on-terminal)
1262 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1263 sequence to toggle extended coordinates on newer XTerms.
1264 This appears to be harmless on terminals which do not support this.
63408057 1265
cd276f6e
LL
12662012-07-14 Leo Liu <sdl.web@gmail.com>
1267
28ca98ac
LL
1268 Add fringe bitmap indicators for flymake. (Bug#11253)
1269 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1270 (flymake-make-overlay): New arg BITMAP.
1271 (flymake-error-bitmap, flymake-warning-bitmap)
1272 (flymake-fringe-indicator-position): New user variables.
1273
cd276f6e
LL
1274 * fringe.el: New bitmap exclamation-mark.
1275
04408072
JD
12762012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1277
1278 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1279 also (Bug#7879).
1280
b5cf7fc4
CY
12812012-07-14 Chong Yidong <cyd@gnu.org>
1282
1283 * electric.el (electric-pair-post-self-insert-function): Fix pair
1284 insertion in empty-region case (Bug#11520).
1285
be755c79
RT
12862012-07-14 Chong Yidong <cyd@gnu.org>
1287
45fd731c
SM
1288 * bindings.el: Consolidate ctl-x-r-map bindings.
1289 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1290
1291 * rect.el, register.el: Move bindings to bindings.el.
1292
12932012-07-14 Reuben Thomas <rrt@sc3d.org>
1294
1295 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1296
7f5b3198
AS
12972012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1298
1299 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1300
97662200
JB
13012012-07-13 Juanma Barranquero <lekktu@gmail.com>
1302
80185fed
JB
1303 * bindings.el (top): Use `mapc' instead of `mapcar'.
1304
97662200
JB
1305 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1306
2bb1ae55
MA
13072012-07-13 Michael Albinus <michael.albinus@gmx.de>
1308
1309 * progmodes/sql.el (sql-comint): Suppress the check for program on
1310 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1311 (Bug#11908)
1312
dea31bd3
CY
13132012-07-13 Chong Yidong <cyd@gnu.org>
1314
1315 * bindings.el: Assign a non-nil permanent-local property to
1316 per-buffer variables which lack a default value (Bug#11930).
1317
1318 * help-fns.el (describe-variable): In the "automatically becomes
1319 local" notice, take note of permanent-local variables.
1320
b68b3337
CY
13212012-07-13 Chong Yidong <cyd@gnu.org>
1322
1323 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1324 to allow printing the message when called from Lisp.
1325
1326 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1327 Remove toggle-read-only.
1328
1329 * bs.el (bs-toggle-readonly):
45fd731c
SM
1330 * buff-menu.el (Buffer-menu-toggle-read-only):
1331 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1332
1333 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1334 Remove with-no-warnings around toggle-read-only.
1335 (ffap-read-only, ffap-read-only-other-window)
1336 (ffap-read-only-other-frame): Callers changed.
1337
1338 * help-mode.el: Don't require view package.
1339 (help-mode-finish): Set buffer-read-only instead of calling
1340 toggle-read-only.
1341
1342 * bindings.el (mode-line-toggle-read-only):
1343 * dired.el (dired-toggle-read-only):
1344 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1345 with non-nil second arg.
1346
1347 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1348 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1349 directly.
1350
56bc1586
EZ
13512012-07-12 Eli Zaretskii <eliz@gnu.org>
1352
1353 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1354 not incf.
1355
a464a6c7
SM
13562012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1357
1358 More CL cleanups and reduction of use of cl.el.
1359 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1360 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1361 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1362 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1363 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1364 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1365 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1366 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1367 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1368 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1369 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1370 * eshell/em-cmpl.el, eshell/em-banner.el:
1371 * calendar/parse-time.el: Use cl-lib.
1372 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1373 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1374 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1375 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1376 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1377 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1378 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1379 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1380 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1381 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1382 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1383 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1384 `lambda' rather than with `quote'.
1385 (eshell-do-opt): Adjust accordingly.
1386 (eshell-process-option): Simplify.
1387 * eshell/esh-var.el:
1388 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1389 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1390 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1391 to `pcase--dontcare'.
1392 * emacs-lisp/cl.el (labels): Mark obsolete.
1393 (cl--letf, letf): Move to cl-lib.
1394 (cl--letf*, letf*): Remove.
1395 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1396 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1397 (cl-progv): Rewrite.
1398 (cl--letf, cl-letf): Move from cl.el.
1399 (cl-letf*): New macro.
1400 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1401
7ad4afe1
MA
14022012-07-11 Michael Albinus <michael.albinus@gmx.de>
1403
1404 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1405
9af57756
CY
14062012-07-11 Chong Yidong <cyd@gnu.org>
1407
1408 * vc/log-edit.el (log-edit-vc-backend): New variable.
1409 (log-edit): Doc fix.
1410
1411 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1412 argument of log-edit to set up all local variables.
1413 (vc-start-logentry): New optional arg specifying VC backend.
1414
1415 * vc/vc.el (vc-checkin): Use it.
1416 (vc-deduce-fileset): Handle Log Edit buffers.
1417 (vc-diff): Make first argument optional too.
1418
1419 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1420
8477cc7a
MA
14212012-07-10 Michael Albinus <michael.albinus@gmx.de>
1422
1423 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1424 command, just in case. The function is not needed anymore.
1425 (eshell-external-command): Do not call `eshell-remote-command'.
1426
19faa8e8
SM
14272012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1428
f58e0fd5
SM
1429 Reduce use of (require 'cl).
1430 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1431 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1432 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1433 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1434 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1435 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1436 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1437 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1438 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1439 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1440 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1441 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1442 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1443 (byte-compile-unfold-bcf, byte-compile-check-variable):
1444 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1445 (byte-compile-nilconstp):
1446 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1447 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1448
2519d43a
SM
1449 * emacs-lisp/gv.el (cond): Make it a valid place.
1450 (if): Simplify slightly.
1451
19faa8e8
SM
1452 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1453 (pcase--self-quoting-p): New function.
1454 (pcase--u1): Use it.
1455
c4907a5e
GM
14562012-07-10 Glenn Morris <rgm@gnu.org>
1457
1458 * emacs-lisp/authors.el (authors-fixed-entries):
1459 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1460
c4444d16
PE
14612012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1462
1463 Rename configure.in to configure.ac (Bug#11603).
1464 * emacs-lisp/authors.el (authors-canonical-file-name):
1465 * progmodes/autoconf.el (autoconf-mode):
1466 Prefer configure.ac to configure.in.
1467
d75be97d
CY
14682012-07-08 Chong Yidong <cyd@gnu.org>
1469
01ac65bd
CY
1470 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1471 Implement the mouse-1-click-follows-link handling properly.
1472
1473 * info.el (Info-link-keymap): Use follow-link mechanism for
1474 header-line links (Bug#374).
1475
d75be97d
CY
1476 * simple.el (deactivate-mark): Do not set the primary selection
1477 if another program has acquired it (Bug#11772).
1478
87a92845 14792012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1480
1481 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1482 (woman-decode-region): Replace escaped-escapes without destroying
1483 bold or underline (Bug#11552).
87a92845 1484 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1485
621b9d6c
CY
14862012-07-07 Chong Yidong <cyd@gnu.org>
1487
1488 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1489 (interprogram-cut-function, interprogram-paste-function):
1490 Mention that we typically mean the clipboard.
621b9d6c 1491
133a11fc
GM
14922012-07-06 Glenn Morris <rgm@gnu.org>
1493
0d27a45e
GM
1494 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1495
133a11fc
GM
1496 * files.el (toggle-read-only): Restrict message to interactive use.
1497
07b151f1
MA
14982012-07-06 Michael Albinus <michael.albinus@gmx.de>
1499
1500 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1501
1502 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1503
211b896b
GM
15042012-07-06 Glenn Morris <rgm@gnu.org>
1505
50394322
GM
1506 * Makefile.in (compile-one-process): Rename from "recompile".
1507
211b896b
GM
1508 * Makefile.in (bzr-update): "compile" is the same as "recompile
1509 autoloads", but parallelizable, so use that instead.
1510
4737eec9
DG
15112012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1512
1513 * window.el (quit-window): Always restore window height when
8137e7b3 1514 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1515
226c3633 15162012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1517
1518 * simple.el (kill-whole-line): Doc tweak.
1519
226c3633 15202012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1521
1522 * files.el (file-relative-name): Compare file names
1523 case-insensitively if on MS-Windows or MS-DOS, or if
1524 read-file-name-completion-ignore-case is non-nil. Don't use
1525 case-fold-search for this purpose. (Bug#11827)
1526
4dc7c8d5
SM
15272012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1528
1529 * calendar/cal-dst.el (calendar-current-time-zone):
1530 Return calendar-current-time-zone-cache if non-nil.
1531
15322012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 15332012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1534
19faa8e8
SM
1535 * calendar/cal-dst.el (calendar-current-time-zone):
1536 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1537
60198fc9
GM
15382012-07-06 Glenn Morris <rgm@gnu.org>
1539
1540 * Makefile.in (cvs-update): Remove old alias.
1541
957b3189
MA
15422012-07-05 Michael Albinus <michael.albinus@gmx.de>
1543
1544 Sync with Tramp 2.2.6-pre.
1545
1546 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1547 compatible declaration.
1548
19faa8e8
SM
1549 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1550 Protect `list-load-path-shadows' call.
957b3189
MA
1551
1552 * net/tramp-compat.el (top): Require packages, which aren't
1553 autoloaded anymore for XEmacs. Protect call of
1554 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1555 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1556 it hurts at least for SXEmacs.
1557 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1558 standard-value for `temporary-file-directory'.
1559
1560 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1561 Redirect stderr to /dev/null.
1562 (tramp-sh-handle-write-region): uid and gid can be floats.
1563 Reported by Russell Sim <russell.sim@gmail.com>.
1564 (tramp-sh-handle-vc-registered): Hide errors.
1565 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1566 and `start-file-process'.
1567 (tramp-maybe-open-connection): Check also whether `non-essential'
1568 is bound.
1569
566df3fc
CY
15702012-07-04 Chong Yidong <cyd@gnu.org>
1571
1572 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1573 (xml-parse-tag): Likewise, and avoid changing entity tables.
1574 (xml-syntax-table): Define from scratch, making sure not to give
1575 x2000 and other Unicode spaces whitespace syntax, since those are
1576 not spaces in XML.
1577 (xml-parse-fragment): Delete unused function.
1578 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1579 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1580 (xml-entity-ref, xml-pe-reference-re)
1581 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1582 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1583 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1584 (xml-entity-value-re): Use syntax references in regexps where
1585 possible; no need to define inside a let-binding.
1586 (xml-parse-dtd): Use xml-pe-reference-re.
1587 (xml-entity-or-char-ref-re): New defconst.
1588 (xml-parse-string, xml-substitute-special): Use it.
1589
30eabd7a
SM
15902012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1591
0781098a
SM
1592 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1593 (find-file--read-only): New function.
1594 (find-file-read-only, find-file-read-only-other-window)
1595 (find-file-read-only-other-frame): Use it.
1596 (insert-file-contents-literally): Don't `fset'.
1597 (get-free-disk-space): Use locate-dominating-file.
1598
b5771c0d
SM
1599 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1600 function is already compiled.
1601
30eabd7a
SM
1602 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1603
b4886f6e
MA
16042012-07-03 Michael Albinus <michael.albinus@gmx.de>
1605
1606 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1607 files on the same host.
1608
b9d82339
AS
16092012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1610
1611 * help-fns.el (describe-function-1): Only call
1612 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1613
a76e6535
CY
16142012-07-03 Chong Yidong <cyd@gnu.org>
1615
1616 * xml.el: Protect parser against XML bombs.
1617 (xml-entity-expansion-limit): New variable.
1618 (xml-parse-string, xml-substitute-special): Use it.
1619 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1620
b544fef2
GM
16212012-07-03 Glenn Morris <rgm@gnu.org>
1622
1623 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1624 Allow linking to specific messages in debbugs reports (eg 123#5).
1625
a7aef6f5
CY
16262012-07-02 Chong Yidong <cyd@gnu.org>
1627
1628 * xml.el: Fix entity and character reference expansion, allowing
1629 them to expand into markup as per XML spec.
1630 (xml-default-ns): New variable.
1631 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1632 (xml-parse-region): Make first two arguments optional.
1633 Discard text properties.
1634 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1635 All callers changed.
a7aef6f5
CY
1636 (xml-parse-tag): Call xml-parse-tag-1. For backward
1637 compatibility, this function should not modify buffer contents.
1638 (xml-parse-tag-1): Fix opening-tag regexp.
1639 (xml-parse-string): Rewrite, handling entity and character
1640 references properly.
1641 (xml--entity-replacement-text): Signal an error if a parameter
1642 entity is undefined.
1643
3df31c9f
SM
16442012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1645
2b5208f1
SM
1646 * comint.el (comint-output-filter): Filter out repeated prompts.
1647
3df31c9f
SM
1648 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1649 and file-name-absolute-p.
1650 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1651 internal calls.
1652
e3ac1281
PE
16532012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1654
1655 Spelling fixes.
1656 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1657 Rename from byte-compile--refiy-function. All uses changed.
1658
fbf2e7ad
CY
16592012-07-01 Chong Yidong <cyd@gnu.org>
1660
1661 * xml.el (xml--parse-buffer): New function. Move most of
1662 xml-parse-region here.
1663 (xml-parse-region): Copy region into a temporary buffer, since
1664 parameter entity substitution requires changing buffer contents.
1665 Use xml--parse-buffer.
1666 (xml-parse-file): Use xml--parse-buffer.
1667 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1668 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1669
9bf0aa15
GM
16702012-06-30 Glenn Morris <rgm@gnu.org>
1671
bbce2853
GM
1672 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1673
9bf0aa15
GM
1674 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1675 Remove outdated and unnecessary dbus declarations.
1676
0d23c240
EZ
16772012-06-30 Eli Zaretskii <eliz@gnu.org>
1678
1679 * emacs-lisp/timer.el (timer-until): Subtract results of
1680 float-time, instead of taking float-time of the result of
1681 time-subtract, since float-time signals an error for negative time
1682 arguments.
1683
b3218de1
CY
16842012-06-30 Chong Yidong <cyd@gnu.org>
1685
1686 * xml.el (xml-*-re): Convert defvars into defconsts, and
1687 eval-and-compile them so eval-and-compile works on derivatives.
1688 (xml--entity-replacement-text): Use eval-and-comple.
1689
a40c87a0
MA
16902012-06-30 Michael Albinus <michael.albinus@gmx.de>
1691
1692 * vc/vc-git.el (vc-git-registered): Use cache property
1693 `git-registered'.
1694 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1695 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1696 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1697
ac87de97
DG
16982012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1699
1700 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1701 removed (likely outside Emacs). (Bug#11757)
ac87de97 1702
ac10fe06
SM
17032012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1704
3df31c9f 1705 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1706
7f3fbd5d
CY
17072012-06-30 Chong Yidong <cyd@gnu.org>
1708
1709 * xml.el: Implement XML parameter entities.
1710 (xml-parameter-entity-alist): New variable.
1711 (xml-parse-region, xml-parse-fragment): Preserve previous values
1712 of xml-entity-alist and xml-parameter-entity-alist, so that
1713 repeated calls on different documents do not change them.
1714 (xml-parse-tag): Fix doctype regexp.
1715 (xml--entity-replacement-text): New function.
1716 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1717 properly requires url retrieval which is unimplemented.
1718 (xml-escape-string): Doc fix.
1719
3cfbebba
SM
17202012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1721
1722 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1723
2af3565e
DA
17242012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1725
1726 * fringe.el (fringe-mode): Doc fix.
1727
929df0e7
MA
17282012-06-29 Michael Albinus <michael.albinus@gmx.de>
1729
1730 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1731 is non-nil.
1732 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1733 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1734
c8d3a25c 17352012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1736
c8d3a25c
GM
1737 * calendar/cal-dst.el (calendar-current-time-zone):
1738 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1739
c8d3a25c 17402012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1741
1742 * progmodes/which-func.el (which-func-format):
1743 Add mouse-face. (Bug#11698)
1744
c8d3a25c
GM
17452012-06-29 Leo Liu <sdl.web@gmail.com>
1746
1747 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1748
17492012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1750
1751 * minibuffer.el (minibuffer-confirm-exit-commands):
1752 Add completion-at-point (bug#11725).
1753
17542012-06-29 Glenn Morris <rgm@gnu.org>
1755
1756 * progmodes/f90.el (f90-font-lock-keywords-2):
1757 Add some preprocessor elements. (Bug#10499)
1758
17592012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1760
1761 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1762 Use syntax-propertize (bug#11739).
1763
2badeec4
JB
17642012-06-28 Juanma Barranquero <lekktu@gmail.com>
1765
1766 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1767
ae4969c2
JD
17682012-06-28 Julien Danjou <julien@danjou.info>
1769
1770 * term.el (term-handle-colors-array): Use a set of new faces to
1771 color the terminal. Also uses :inverse-video property.
1772 (term-default-fg-color): Set to nil by default, deprecate in favor
1773 of `term-face'.
1774 (term-default-bg-color): Set to nil by default, deprecate in favor
1775 of `term-face'.
1776 (term-current-face): Use `term-face' by default.
1777 (term-bold-attribute): Variable deleted.
1778
1c9bd870
GM
17792012-06-28 Glenn Morris <rgm@gnu.org>
1780
1781 * simple.el (completion-list-mode-finish):
1782 Don't use toggle-read-only. (Since completion-list-mode has
1783 a special mode-class, it wasn't doing anything extra anyway.)
1784
c207708c
SM
17852012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1786
1787 Make inlining of other-mode interpreted functions work (bug#11799).
1788 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1789 (byte-compile): Use it to fix compilation of lexical-binding closures.
1790 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1791 function, if needed.
1792
3fd56834
SM
17932012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1794
04901786
SM
1795 * help-mode.el (help-make-xrefs): Don't just withstand
1796 cyclic-variable-indirection but any error in documentation-property.
1797
1ec4b7b2
SM
1798 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1799 memory use.
1800 * bindings.el (bindings--define-key): New function.
1801 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1802 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1803 * bindings.el: Use it to purecopy define-key bindings.
1804
e309e2a5
SM
1805 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1806
d5c6faf9
SM
1807 * emacs-lisp/cl.el (flet): Mark obsolete.
1808 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1809 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1810 * progmodes/js.el (js-c-fill-paragraph):
1811 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1812 (ebrowse-switch-member-buffer-to-derived-class):
1813 * play/5x5.el (5x5-solver): Use cl-flet.
1814
6e9590e2
SM
1815 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1816 (cl--symbol-function): New macro.
1817 (cl--letf, cl--letf*): Use it.
1818
3fd56834
SM
1819 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1820 Strip "toggle-" if any.
1821
35ff222c
GM
18222012-06-27 Glenn Morris <rgm@gnu.org>
1823
1ba6038a
GM
1824 * info.el (Info-default-directory-list): Move here from paths.el.
1825 * paths.el: Remove file, which is now empty.
1826 * loadup.el: No longer load "paths".
1827
0ea0e51b
GM
1828 * custom.el (custom-initialize-delay): Doc fix.
1829
35ff222c
GM
1830 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1831 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1832 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1833 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1834 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1835 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1836 * eshell/eshell.el (eshell-defgroup): Remove alias.
1837
c89926a5
CY
18382012-06-27 Chong Yidong <cyd@gnu.org>
1839
1840 * help.el (help-enable-auto-load): New variable.
1841
1842 * help-fns.el (help-fns--autoloaded-p): New function.
1843 (describe-function-1): Refer to a function as "autoloaded" if it
1844 was autoloaded at any time in the past. Perform autoloading if
1845 help-enable-auto-load is non-nil.
1846
cc06e7e7
EZ
18472012-06-26 Eli Zaretskii <eliz@gnu.org>
1848
1849 * makefile.w32-in (compile, compile-always): Depend on
1850 update-subdirs, not on subdirs.el. Otherwise, several different
1851 sub-targets of 'bootstrap' running in parallel could
1852 simultaneously write to subdirs.el, producing a garbled file.
1853
d2c32364
SS
18542012-06-26 Sam Steingold <sds@gnu.org>
1855
1856 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1857 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1858 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1859 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1860 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1861 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1862 * textmodes/tex-mode.el: Use it.
1863 Did not touch cedet and org because they are maintained elsewhere.
1864
5cf983b2
MR
18652012-06-26 Martin Rudalics <rudalics@gmx.at>
1866
1867 * calendar/calendar.el (calendar-exit): Don't try to delete or
1868 iconify last frame. See:
1869 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1870
8c4f2952
JD
18712012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1872
1873 * server.el (server-process-filter): Remember dir in the
1874 process's `server-client-directory' properties.
1875
772b2e2c
CY
18762012-06-24 Chong Yidong <cyd@gnu.org>
1877
1878 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1879 non-tag text.
1880
711b11e1
JB
18812012-06-23 Juanma Barranquero <lekktu@gmail.com>
1882
1883 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1884
dc5d230c
SM
18852012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1886
1887 * help-fns.el (describe-variable): Don't croak when doc is not found.
1888 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1889 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1890 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1891 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1892 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1893 ((lambda ..) ..).
1894 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1895
136e1c1d
CY
18962012-06-23 Chong Yidong <cyd@gnu.org>
1897
e8c1cabf
CY
1898 * info.el (Info-mouse-follow-link): Accept symbol values of
1899 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1900 (Info-fontify-node): Use Info-link-keymap for all navigation
1901 buttons, with link-args property to perform the desired action.
1902 (Info-link-keymap): Doc fix.
1903 (Info-next-link-keymap, Info-prev-link-keymap)
1904 (Info-up-link-keymap): Delete now-unused keymaps.
1905
0e9e6c6a
CY
19062012-06-23 Chong Yidong <cyd@gnu.org>
1907
05e89fea
CY
1908 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1909
0e9e6c6a
CY
1910 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1911 system abbrevs.
1912
1913 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1914
e33c6771
SM
19152012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1916
b68581e2
SM
1917 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1918 (bug#11719).
1919
e33c6771
SM
1920 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1921 the requote function doesn't work properly (bug#11714).
1922
7117e105
GM
19232012-06-23 Glenn Morris <rgm@gnu.org>
1924
1925 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1926
36cec983
SM
19272012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1928
1929 Further GV/CL cleanups.
1930 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1931 gv-expander.
1932 (gv--defun-declaration): New function.
1933 (defun-declarations-alist): Use it.
1934 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1935 (gv-place): Autoload.
1936 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1937 original definition of dotimes and dolist.
1938 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1939 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1940 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1941 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1942 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1943 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1944 to the function's definition.
1945 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1946 * window.el:
1947 * files.el:
1948 * faces.el:
1949 * env.el: Don't use CL.
1950
d35af63c
PE
19512012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1952
1953 Support higher-resolution time stamps (Bug#9000).
1954
1955 * calendar/time-date.el (with-decoded-time-value): New arg
1956 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1957 (encode-time-value): New optional arg PICO. New type 3.
1958 (time-to-seconds) [!float-time]: Support the new picoseconds
1959 component if it's used.
1960 (seconds-to-time, time-subtract, time-add):
1961 Support ps-resolution time stamps as well.
1962
1963 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1964 (timerp): Timer vectors now have length 9, not 8.
1965 (timer--time): Support new-style (4-part) time stamps.
1966 (timer-next-integral-multiple-of-time): Time stamps now have
1967 picosecond resolution, so take a bit more care about rounding.
1968 (timer-relative-time, timer-inc-time): New optional arg psecs.
1969 (timer-set-time-with-usecs): Set psecs to 0.
1970 (timer--activate): Check psecs component, too.
1971
1972 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1973
ac77b21a
SM
19742012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1975
f143bfe3
SM
1976 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1977 Move the non-essential binding to the post/pre-command-hook where it is
1978 more obviously correct.
1979
ac77b21a
SM
1980 * subr.el (read-passwd): Don't use a history at all.
1981 * savehist.el (savehist-save): Remove password saved accidentally
1982 because of the above bug.
1983
76386c5a
BG
19842012-06-22 Bastien Guerry <bzg@gnu.org>
1985
1986 * files.el (toggle-read-only): Display a message telling whether
1987 the buffer is read-only or not (bug#11726).
1988
2ee3d7f0
SM
19892012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1990
1991 * emacs-lisp/gv.el: New file.
1992 * subr.el (push, pop): Extend to generalized variables.
1993 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1994 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1995 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1996 gv-define-simple-setter, and gv-define-expander.
1997 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1998 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1999 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2000 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2001 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2002 gv-letplace.
2003 (cl-defstruct): Don't define setf-method any more.
2004 * emacs-lisp/cl.el (flet): Don't autoload.
2005 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2006 (define-setf-expander, defsetf, define-modify-macro)
2007 (cl-struct-setf-expander): Move from cl-lib.el.
2008 * emacs-lisp/syntax.el:
2009 * emacs-lisp/ewoc.el:
2010 * emacs-lisp/smie.el:
2011 * emacs-lisp/cconv.el:
2012 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2013 (timer--time): Use gv-define-simple-setter.
2014 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2015 to avoid coding-system problems in subr.el. Adjust all users.
2016 (macroexp--maxsize, macroexp-small-p): New functions.
2017 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2018 * scroll-bar.el (scroll-bar-mode):
2019 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2020 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2021 * winner.el (winner-configuration, winner-make-point-alist)
2022 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2023 * files.el (locate-file-completion-table): Avoid list*.
2024
c5695d1d
CY
20252012-06-22 Chong Yidong <cyd@gnu.org>
2026
2027 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2028 (dired-create-files): Doc fix (Bug#11329).
2029 (dired-do-copy): Doc fix (Bug#11334).
2030 (dired-mark-read-string): Doc fix (Bug#11553).
2031
2ee3d7f0
SM
2032 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2033 Doc fix (Bug#11326).
c5695d1d
CY
2034 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2035 (dired-dwim-target): Doc fix.
2036
2037 * wdired.el (wdired-mode): Doc fix.
2038
89b5595a
GM
20392012-06-22 Glenn Morris <rgm@gnu.org>
2040
575db3f1
GM
2041 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2042 (pcmpl-rpm-cache-stamp-file): New constant.
2043 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2044 (pcmpl-rpm-packages): Optionally cache list of packages.
2045
a4c8dd51
GM
2046 * pcmpl-rpm.el (pcmpl-rpm): New group.
2047 (pcmpl-rpm-query-options): New option.
2048 (pcmpl-rpm-packages): No need to inline it.
2049 Use pcmpl-rpm-query-options.
2050
89b5595a
GM
2051 * calendar/calendar.el (calendar-in-read-only-buffer):
2052 Avoid some needless mode changes.
2053
e76f0800
CY
20542012-06-21 Chong Yidong <cyd@gnu.org>
2055
2056 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2057 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 2058 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 2059
297a8f1d
CY
20602012-06-20 Chong Yidong <cyd@gnu.org>
2061
2062 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2063
d34c18b1
DR
20642012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2065
2066 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2067 (bug#11201).
2068
32f7f28e
CY
20692012-06-20 Chong Yidong <cyd@gnu.org>
2070
2071 * term.el (term-window-width): Handle the case of a missing right
2072 fringe (Bug#8837).
2073 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
2074 (term-mode): Use define-derived-mode. Minor cleanups.
2075 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
2076 (term-move-columns, term-insert-char, term-emulate-terminal)
2077 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 2078
493c6688
MA
20792012-06-20 Michael Albinus <michael.albinus@gmx.de>
2080
d34c18b1
DR
2081 * net/ange-ftp.el (ange-ftp-get-passwd):
2082 Bind `enable-recursive-minibuffers'.
493c6688
MA
2083 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2084
3f06ecf4
DR
20852012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2086
2087 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2088
68f12411
GM
20892012-06-19 Glenn Morris <rgm@gnu.org>
2090
2091 * progmodes/python.el (python-mode): Derive from prog-mode.
2092
b3820318
KG
20932012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2094
2095 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2096 (edt-user-menu-bar-update-buffers): New functions.
2097 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2098
c6bf3022
CY
20992012-06-19 Chong Yidong <cyd@gnu.org>
2100
2101 * subr.el (with-selected-window): Preserve the selected window's
2102 terminal's top-frame (Bug#4702).
2103
2104 * window.el (save-selected-window): Likewise.
2105
25f09295
SM
21062012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2107
2108 * progmodes/python.el (python-rx-constituents): Move backquote.
2109 (python-skeleton-define, python-define-auxiliary-skeleton):
2110 Use `declare'.
2111
6b11952a
MA
21122012-06-18 Michael Albinus <michael.albinus@gmx.de>
2113
2114 * minibuffer.el (read-file-name-default): Revert the patch from
2115 2012-06-17.
2116
ee4b1330
SM
21172012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2118
2119 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2120 (pcase--u1, pcase--q1): Don't use apply-partially.
2121
35647f79
GM
21222012-06-18 Glenn Morris <rgm@gnu.org>
2123
2124 * progmodes/python.el (python-proc, python-buffer)
2125 (python-send-receive, python-send-string): Fix obsolete versions.
2126
24b0cff0
MR
21272012-06-18 Martin Rudalics <rudalics@gmx.at>
2128
2129 * window.el (special-display-p): Completely remove stringp
2130 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2131
29855149
MA
21322012-06-17 Michael Albinus <michael.albinus@gmx.de>
2133
2134 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2135
2136 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2137
2138 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2139 * net/tramp-sh.el (tramp-maybe-open-connection):
2140 Throw if `non-essential' is non-nil.
2141
07463363
MR
21422012-06-17 Martin Rudalics <rudalics@gmx.at>
2143
2144 * window.el (special-display-p): Signal an error if BUFFER-NAME
2145 is not a string (Bug#11713).
2146
48d1354e
PE
21472012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2148
2149 * progmodes/python.el (python-info-beginning-of-backslash):
2150 Rename from python-info-beginning-of-backlash, as a spelling fix.
2151
eb4a8a9a
CY
21522012-06-17 Chong Yidong <cyd@gnu.org>
2153
2154 * term.el (term-emulate-terminal): If term-check-size is called,
2155 move point to the process mark without resetting point (Bug#4635).
2156
ddfbf826 21572012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
2158
2159 * international/mule-cmds.el (mule-menu-keymap)
2160 (set-language-environment, set-locale-environment): Doc tweaks.
2161
9b0e3eba
AA
21622012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2163
2164 * cus-face.el (custom-face-attributes): Add wave-style underline
2165 attribute.
2166 * faces.el (set-face-attribute): Update docstring to describe
2167 wave-style underline attribute.
2168
771e3eae
CY
21692012-06-16 Chong Yidong <cyd@gnu.org>
2170
2171 * term/xterm.el (terminal-init-xterm): Discard input before
2172 querying background mode (Bug#10959).
2173
7ae2ea10
SM
21742012-06-16 Stefan Merten <smerten@oekonux.de>
2175
2176 * textmodes/rst.el: Added and corrected some comments.
2177 (rst-re-alist-def): Improve symbol syntax.
2178 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
2179 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2180 (rst-official-version, rst-official-cvs-rev): Update version
2181 information.
7ae2ea10 2182
b6974efa
JB
21832012-06-15 Juanma Barranquero <lekktu@gmail.com>
2184
2185 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2186 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2187
8826d473
GM
21882012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2189
2190 * progmodes/python.el: New python.el merge.
2191 (python-guess-indent): Obsolete var.
2192 (python-indent-guess-indent-offset): New defcustom.
2193 (python-indent): Obsolete var.
2194 (python-indent-offset): New defcustom.
2195 (python-python-command, python-jython-command): Delete var.
2196 (python-shell-interpreter): New defcustom.
2197 (python-pdbtrack-do-tracking-p): Delete var.
2198 (python-pdbtrack-activate): New defcustom.
2199 (python-use-skeletons): Obsolete var.
2200 (python-skeleton-autoinsert): New defcustom.
2201 (inferior-python-filter-regexp, python-continuation-offset)
2202 (python-honour-comment-indentation, python-indent-string-contents)
2203 (python-jython-packages, python-mode-hook)
2204 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2205 (python-shell-prompt-alist)
2206 (python-source-modes): Delete defcustoms.
2207 (python-check-buffer-name, python-eldoc-setup-code)
2208 (python-eldoc-string-code, python-ffap-setup-code)
2209 (python-ffap-string-code, python-fill-comment-function)
2210 (python-fill-decorator-function, python-fill-paren-function)
2211 (python-fill-string-function, python-imenu-include-defun-type)
2212 (python-imenu-make-tree, python-imenu-subtree-root-label)
2213 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2214 (python-shell-compilation-regexp-alist)
2215 (python-shell-completion-module-string-code)
2216 (python-shell-completion-pdb-string-code)
2217 (python-shell-completion-setup-code)
2218 (python-shell-completion-string-code)
2219 (python-shell-enable-font-lock, python-shell-exec-path)
2220 (python-shell-extra-pythonpaths)
2221 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2222 (python-shell-process-environment)
2223 (python-shell-prompt-block-regexp)
2224 (python-shell-prompt-output-regexp)
2225 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2226 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2227 (python-shell-virtualenv-path): New defcustoms.
2228 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2229 (inferior-python-mode-syntax-table, python--prompt-regexp)
2230 (python-buffer, python-command python-python-command)
2231 (python-default-template, python-imports, python-indent-index)
2232 (python-indent-list, python-indent-list-length)
2233 (python-mode-running, python-pdbtrack-is-tracking-p)
2234 (python-preoutput-continuation, python-preoutput-leftover)
2235 (python-preoutput-result, python-preoutput-skip-next-prompt)
2236 (python-prev-dir/file, python-recursing)
2237 (python-saved-check-command, python-version-checked)
2238 (python-which-func-length-limit)
2239 (view-return-to-alist): Delete vars.
2240 (python-check-custom-command, python-dotty-syntax-table)
2241 (python-imenu-index-alist, python-indent-current-level)
2242 (python-indent-dedenters, python-indent-levels)
2243 (python-nav-beginning-of-defun-regexp)
2244 (python-nav-list-defun-positions-cache)
2245 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2246 (python-shell-internal-buffer)
2247 (python-skeleton-available): New vars.
2248 (def-python-skeleton): Delete macro.
2249 (python-skeleton-define): New macro.
2250 (python-define-auxiliary-skeleton, python-rx): New macros.
2251 (python-insert-class): Delete command.
2252 (python-skeleton-class): New command.
2253 (python-insert-def): Delete command.
2254 (python-skeleton-def): New command.
2255 (python-insert-for): Delete command.
2256 (python-skeleton-for): New command.
2257 (python-insert-if): Delete command.
2258 (python-skeleton-if): New command.
2259 (python-insert-try/except, python-insert-try/finally): Delete commands.
2260 (python-skeleton-try): New command.
2261 (python-insert-while): Delete command.
2262 (python-skeleton-while): New command.
2263 (python-backspace): Delete command.
2264 (python-indent-dedent-line-backspace): New command.
2265 (python-electric-colon): Delete command.
2266 (python-indent-electric-colon): New command.
2267 (python-guess-indent): Delete command.
2268 (python-indent-guess-indent-offset): New command.
2269 (python-shift-left): Delete command.
2270 (python-indent-shift-left): New command.
2271 (python-shift-right): Delete command.
2272 (python-indent-shift-right): New command.
2273 (python-find-function): Delete command.
2274 (python-nav-jump-to-defun): New command.
2275 (python-next-statement): Delete command.
2276 (python-nav-forward-sentence): New command.
2277 (python-previous-statement): Delete command.
2278 (python-nav-backward-sentence): New command.
2279 (python-fill-paragraph): Delete command.
2280 (python-fill-paragraph-function): New command.
2281 (python-send-buffer): Delete command.
2282 (python-shell-send-buffer): New command.
2283 (python-send-defun): Delete command.
2284 (python-shell-send-defun): New command.
2285 (python-send-region, python-send-region-and-go): Delete commands.
2286 (python-shell-send-region)
2287 (python-shell-switch-to-shell): New commands.
2288 (python-send-string): Delete command.
2289 (python-shell-send-string): New command.
2290 (python-switch-to-python): Delete command.
2291 (python-shell-switch-to-shell): New command.
2292 (python-describe-symbol): Delete command.
2293 (python-eldoc-at-point): New command.
2294 (python--set-prompt-regexp, python-args-to-list)
2295 (python-after-info-look, python-check-version)
2296 (python-check-comint-prompt, python-find-imports)
2297 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2298 (python-unload-function, python-expand-template)
2299 (python-maybe-jython, python-preoutput-filter)
2300 (python-pdbtrack-get-source-buffer)
2301 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2302 (python-pdbtrack-toggle-stack-tracking)
2303 (python-pdbtrack-track-stack-file, python-initial-text)
2304 (python-first-word, python-comment-line-p, python-send-command)
2305 (python-setup-brm, python-sentinel, python-set-proc)
2306 (python-skip-out, python-input-filter, python-outdent-p)
2307 (python-outline-level, python-backslash-continuation-line-p)
2308 (python-end-of-block, python-end-of-statement, python-mark-block)
2309 (python-beginning-of-block, python-beginning-of-statement)
2310 (python-blank-line-p, python-beginning-of-string)
2311 (python-open-block-statement-p): Delete functions.
2312 (python-indent-line, python-indent-line-1): Delete functions.
2313 (python-indent-line): New function.
2314 (python-indentation-levels): Delete function.
2315 (python-indent-calculate-levels): New function.
2316 (python-proc): Delete function.
2317 (python-shell-get-process): New function.
2318 (python-send-receive): Delete function.
2319 (python-shell-send-string-no-output): New function.
2320 (python-module-path): Delete function.
2321 (python-ffap-module-path): New function.
2322 (python-completion-at-point)
2323 (python-symbol-completions): Delete functions.
2324 (python-completion-complete-at-point): New function.
2325 (python-load-file): Delete function.
2326 (python-shell-send-file): New function.
2327 (python-calculate-indentation): Delete function.
2328 (python-indent-calculate-indentation): New function.
2329 (python-skip-comments/blanks): Delete function.
2330 (python-util-forward-comment): New function.
2331 (python-continuation-line-p): Delete function.
2332 (python-info-continuation-line-p): New function.
2333 (python-which-func, python-current-defun): Delete function.
2334 (python-info-current-defun): New function.
2335 (python-beginning-of-defun): Delete function.
2336 (python-nav-beginning-of-defun): New function.
2337 (python-close-block-statement-p)
2338 (python-block-end-p): Delete function.
2339 (python-info-closing-block): New function.
2340 (python-comint-output-filter-function)
2341 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2342 (python-fill-comment, python-fill-decorator, python-fill-paren)
2343 (python-fill-string, python-imenu-make-element-tree)
2344 (python-imenu-make-tree, python-imenu-tree-assoc)
2345 (python-indent-context, python-indent-dedent-line)
2346 (python-indent-line-function)
2347 (python-indent-post-self-insert-function)
2348 (python-indent-toggle-levels)
2349 (python-info-assignment-continuation-line-p)
2350 (python-info-beginning-of-backlash)
2351 (python-info-block-continuation-line-p)
2352 (python-info-closing-block-message)
2353 (python-info-line-ends-backslash-p)
2354 (python-info-looking-at-beginning-of-defun)
2355 (python-info-ppss-context, python-info-ppss-context-type)
2356 (python-nav-list-defun-positions, python-nav-read-defun)
2357 (python-nav-sentence-end, python-nav-sentence-start)
2358 (python-pdbtrack-comint-output-filter-function)
2359 (python-pdbtrack-set-tracked-buffer)
2360 (python-shell-calculate-exec-path)
2361 (python-shell-calculate-process-environment)
2362 (python-shell-completion--do-completion-at-point)
2363 (python-shell-completion--get-completions)
2364 (python-shell-completion-complete-at-point)
2365 (python-shell-completion-complete-or-indent)
2366 (python-shell-get-or-create-process)
2367 (python-shell-get-process-name)
2368 (python-shell-internal-get-or-create-process)
2369 (python-shell-internal-get-process-name)
2370 (python-shell-internal-send-string, python-shell-make-comint)
2371 (python-shell-parse-command, python-shell-send-setup-code)
2372 (python-skeleton-add-menu-items)
2373 (python-util-clone-local-variables, python-util-position)
2374 (run-python-internal, python-indentation-levels)
2375 (python-nav-beginning-of-defun)
2376 (python-completion-complete-at-point): New functions.
2377 (run-python): Change arguments. New API requirements.
2378
4302f5ba
SM
23792012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2380
f38ea36d
SM
2381 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2382 (bug#11649).
2383
2384 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2385 (macroexp--expand-all): Use it.
2386
4302f5ba
SM
2387 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2388 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2389 Use `cl-function' instead.
2390
33377562
JB
23912012-06-14 Juanma Barranquero <lekktu@gmail.com>
2392
2393 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2394 Suggested by Stefan Monnier while discussing bug#11657.
2395
54c5ba1a
SS
23962012-06-14 Sam Steingold <sds@gnu.org>
2397
2398 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2399
f9f1b1fe
AS
24002012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2401
2402 * play/doctor.el (doctor-doc): Remove parameter and use
2403 doctor-sent instead of sent.
2404 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2405
a81068ba
SM
24062012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2407
5a315f9c
SM
2408 * files.el: Require cl-lib.
2409 (file-name-non-special): Replace case -> cl-case.
2410
2411 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2412
a81068ba
SM
2413 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2414 mapping from #' to function*.
2415
8cca9703
CY
24162012-06-13 Chong Yidong <cyd@gnu.org>
2417
2418 * mouse.el (mouse-drag-track): Do not set the mark if the user
2419 releases the mouse without selecting anything (Bug#11588).
2420
a12ac9d7
SM
24212012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2422
ccf1dc18
SM
2423 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2424 as well (bug#11646).
2425
ef62b23d
SM
2426 * loadup.el: Count byte-code functions as well.
2427
c4c8444a
SM
2428 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2429 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2430
a12ac9d7
SM
2431 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2432 (bug#11649). Add cl-defun and cl-defmacro.
2433
87e6e64f
DA
24342012-06-13 Drew Adams <drew.adams@oracle.com>
2435
2436 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2437 Fix last change.
2438
682cefaf
MA
24392012-06-13 Michael Albinus <michael.albinus@gmx.de>
2440
2441 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2442 Otherwise, it blocks in batch mode.
2443
773e1f08
JB
24442012-06-13 Juanma Barranquero <lekktu@gmail.com>
2445
2446 * help-mode.el (bookmark-make-record-default): Declare.
2447
60057926
CY
24482012-06-13 Chong Yidong <cyd@gnu.org>
2449
2450 * emacs-lisp/package.el (list-packages): Compute a list of
2451 packages that are newly-available since the last list-packages
2452 invocation.
2453 (package-menu--new-package-list): New var.
2454 (package-menu--generate, package-menu--print-info)
2455 (package-menu--status-predicate, package-menu-mark-install):
2456 Handle new status label "new".
2457
ad4d226c
SM
24582012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2459
2460 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2461 conversion to backquotes.
2462
f1a4e679
CY
24632012-06-12 Chong Yidong <cyd@gnu.org>
2464
2465 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2466 Rename from gud-inhibit-global-bindings.
2467
2468 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2469
2470 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2471 hook from nxml-glyph-set-hook.
2472
2473 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2474 declaration.
2475
2476 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2477
2478 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2479 Convert to defcustom.
2480
0c9e42b5
DA
24812012-06-12 Drew Adams <drew.adams@oracle.com>
2482
2483 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2484 New functions.
2485 (help-mode): Use them.
2486
09e06855
GM
24872012-06-11 Glenn Morris <rgm@gnu.org>
2488
2489 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2490 Use preprocessor face for directives.
2491 (fortran-directive-re): Doc fix.
2492
71adb94b
SM
24932012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2494
2eb87922
SM
2495 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2496 conversion to backquotes (bug#11652).
2497
71adb94b
SM
2498 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2499 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2500 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2501 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2502 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2503 (cl-ninth, cl-tenth): Mark them as inlinable.
2504 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2505 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2506 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2507 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2508 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2509 (cl-list*, cl-adjoin): Don't put an autoload manually.
2510 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2511 (cl--compiler-macro-list*): Add autoload cookie.
2512 (cl--compiler-macro-cXXr): New function.
2eb87922 2513
71adb94b
SM
2514 * help-fns.el (help-fns--compiler-macro): New function extracted from
2515 describe-function-1; follow aliases and use `compiler-macro' property.
2516 (describe-function-1): Use it.
2517
a6674402
CY
25182012-06-11 Chong Yidong <cyd@gnu.org>
2519
2520 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2521 is uninstalled, if imagemagick is installed.
2522
bb3faf5b
SM
25232012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2524
2525 * emacs-lisp/cl-lib.el: Use lexical-binding.
2526 (cl-map-extents, cl-maclisp-member): Remove.
2527 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2528 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2529 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2530 * emacs-lisp/cl-extra.el: Use lexical-binding.
2531 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2532 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2533 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2534 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2535 * emacs-lisp/cl-seq.el: Use lexical-binding.
2536 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2537 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2538 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2539 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2540 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2541 CL's internals.
2542
2fe4b125
MA
25432012-06-11 Michael Albinus <michael.albinus@gmx.de>
2544
2545 Sync with Tramp 2.2.6-pre.
2546
2547 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2548 `print-length' and `print-level' to nil, in order to avoid
2549 truncation. Reported by Christopher Schmidt
2550 <christopher@ristopher.com>.
2551
2552 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2553
2554 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2555 New defmacro.
2556 (tramp-compat-copy-directory): Add optional argument
2557 COPY-CONTENTS. It is not handled yet.
2558
2559 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2560 (tramp-ftp-file-name-p): Simplify.
2561
2562 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2563 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2564 connection vector.
2565
2566 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2567 (tramp-methods): Do not use `tramp-password-end-of-line'.
2568 (tramp-completion-function-alist-putty): Handle UNIX case.
2569 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2570 (tramp-do-file-attributes-with-stat)
2571 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2572 gid as real numbers. They could run out of integer range on cygwin.
2573 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2574 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2575 (tramp-open-connection-setup-interactive-shell):
2576 Use `tramp-cleanup'. Move check for busyboxes ...
2577 (tramp-find-shell): ... here. Simplify implementation.
2578 Set "remote-shell" property also for alternative shells.
2579 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2580 If failing, a regular file would be written otherwise.
2581 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2582 (tramp-find-inline-encoding): Cache the coding commands in the
2583 process cache. Apply test command on the remote side, if defined.
2584 (tramp-find-inline-compress): Cache the compress commands in the
2585 process cache.
2586 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2587 when requested. Handle hops.
2588 (tramp-current-connection): New defvar.
87e6e64f
DA
2589 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2590 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2591 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2592 (tramp-get-inline-compress, tramp-get-inline-coding):
2593 Read connection properties from the process cache.
2fe4b125
MA
2594
2595 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2596 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2597 New defconsts.
2fe4b125
MA
2598 (tramp-smb-prompt): Extend for powershell prompt.
2599 (tramp-smb-file-name-handler-alist): Add handlers for
2600 `process-file', `shell-command' and `start-file-process'.
2601 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2602 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2603 (tramp-smb-file-name-p): Simplify.
2604 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2605 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2606 (tramp-smb-shell-quote-argument): New defuns.
2607 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2608 Implement using "tar". By this, time-stamps are preserved.
2609 (tramp-smb-handle-copy-file): Handle also the case of directories.
2610 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2611 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2612 Use `tramp-get-connection-buffer').
2fe4b125
MA
2613 (tramp-smb-handle-rename-file): Use "rename", when source and
2614 target are on the same share.
87e6e64f
DA
2615 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2616 Use `tramp-smb-server-version'.
2fe4b125
MA
2617 (tramp-smb-wait-for-output): Remove prompt.
2618
2619 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2620 (tramp-methods, tramp-rsh-end-of-line):
2621 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2622 (tramp-save-ad-hoc-proxies): New defcustom.
2623 (tramp-completion-function-alist): Adapt docstring.
2624 (tramp-default-password-end-of-line): Remove defcustom.
2625 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2626 (tramp-user-regexp, tramp-file-name-regexp-unified)
2627 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2628 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2629 (tramp-remote-file-name-spec-regexp): New defconst.
2630 (tramp-file-name-structure): Extend structure for hops.
2631 (tramp-get-method-parameter): Move up.
2632 (tramp-file-name-p, tramp-dissect-file-name)
2633 (with-parsed-tramp-file-name): Handle hops.
2634 (tramp-file-name-hop): New defun.
2635 (tramp-make-tramp-file-name): New optional arg HOP.
2636 (tramp-message-show-progress-reporter-message): New defvar.
2637 (tramp-with-progress-reporter): Use it. We cannot use
2638 `tramp-message-show-message' here, because this suppresses also
2639 error buffers.
2640 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2641 `tramp-message-show-message' is nil.
2642 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2643 (tramp-cleanup): New defun.
2644 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2645 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2646 an error unchanged.
2647 (tramp-completion-handle-file-name-all-completions): Handle hops.
2648 Fix an error when called from ido.
2649 (tramp-completion-dissect-file-name): Use better local variable
2650 name. Add hop to the vector.
2651 (tramp-handle-insert-file-contents): Use progress-reporter for the
2652 whole scenario.
2653 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2654 to `t'.
2655 (tramp-check-for-regexp): Simplify search.
2656 (tramp-enter-password): Remove it. Move implementation ...
2657 (tramp-action-password): ... here.
2658 (tramp-mode-string-to-int, tramp-local-host-p)
2659 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2660 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2661 Set tramp-autoload cookie.
2fe4b125
MA
2662
2663 * net/trampver.el: Update release number.
2664
26652012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2666 Michael Albinus <michael.albinus@gmx.de>
2667
2668 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2669 (tramp-parse-group, tramp-parse-file)
2670 (tramp-parse-shostkeys-sknownhosts): New defuns.
2671 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2672 (tramp-parse-shosts-group, tramp-parse-sconfig)
2673 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2674 (tramp-parse-sknownhosts, tramp-parse-hosts)
2675 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2676 Use them.
2677 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2678 (tramp-parse-putty-group): Don't narrow.
2679 (tramp-parse-putty): Make a loop.
2680 (tramp-file-name-handler): Catch the `suppress' signal.
2681
72834e10
CY
26822012-06-11 Chong Yidong <cyd@gnu.org>
2683
2684 * image.el (imagemagick-register-types): Put the ImageMagick entry
2685 at the end of image-type-file-name-regexps.
2686
a4712e11
JB
26872012-06-11 Johan Bockgård <bojohan@gnu.org>
2688
2689 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2690 (pcase, pcase-let*, pcase-dolist): Use them.
2691
82ad98e3
SM
26922012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2693
2694 * emacs-lisp/pcase.el (pcase--let*): New function.
2695 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2696 (pcase--expand): Use macroexp-let².
2697
f80efb86
SM
26982012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2699
2700 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2701 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2702 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2703 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2704 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2705 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2706
31ca4639 27072012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2708
31ca4639
CY
2709 * mail/rmail.el (rmail-yank-current-message): Leave point at
2710 correct position. (Bug#11660)
94f0aa34 2711
31ca4639 27122012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2713
31ca4639 2714 * allout-widgets.el: Fix code header.
9e1b8ec4 2715
31ca4639 27162012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2717
f80efb86
SM
2718 * cus-edit.el (customize-changed-options-previous-release):
2719 Bump to 24.1.
31ca4639 2720
642b6d30
AS
27212012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2722
2723 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2724
4f5d2ba1
CY
27252012-06-09 Chong Yidong <cyd@gnu.org>
2726
2727 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2728
e75852fd
MR
27292012-06-09 Martin Rudalics <rudalics@gmx.at>
2730
2731 * window.el (special-display-popup-frame): Don't use
2732 window--display-buffer (Bug#11651).
2733
1e48e282
EZ
27342012-06-09 Eli Zaretskii <eliz@gnu.org>
2735
8a26b487
EZ
2736 Fix parallel builds: make sure loaddefs.el is not being written
2737 while Lisp files are compiled.
2738 (compile): Don't depend on 'mh-autoloads'.
2739 (compile-CMD, compile-SH): Depend on 'autoloads'.
2740 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2741
1e48e282
EZ
2742 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2743
6175e34b
CY
27442012-06-09 Chong Yidong <cyd@gnu.org>
2745
2746 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2747 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2748 Doc fixes (Bug#11225).
2749
d9857e53
SM
27502012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2751
2752 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2753 a function if there's a clear indication that it has a compiler-macro.
2754 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2755 (macro-declarations-alist): Add arglist to declaration functions.
2756 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2757 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2758 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2759 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2760 Also add autoload to find the compiler macro.
2761 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2762 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2763 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2764 (cl--compiler-macro-get): New functions, replacing calls to
2765 cl-define-compiler-macro.
2766 (cl-typep) [compiler-macro]: Use macroexp-let².
2767
f81298f8 27682012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2769
2770 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2771 string properly, fixes Bug#11473.
2772
4b56d0fe
CY
27732012-06-08 Chong Yidong <cyd@gnu.org>
2774
2775 * faces.el (set-face-attribute): Doc fix.
2776 (modify-face): Don't use :bold and :italic.
2777 (error, warning, success): Tweak definitions.
2778
2779 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2780 (custom-modified, custom-set, custom-changed, custom-themed)
2781 (custom-saved, custom-button, custom-button-mouse)
2782 (custom-button-pressed, custom-state, custom-comment-tag)
2783 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2784 (custom-group-subtitle): Use new-style face specs.
2785 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2786 (custom-set-face, custom-changed-face, custom-saved-face)
2787 (custom-button-face, custom-button-pressed-face)
2788 (custom-documentation-face, custom-state-face)
2789 (custom-comment-face, custom-comment-tag-face)
2790 (custom-variable-tag-face, custom-variable-button-face)
2791 (custom-face-tag-face, custom-group-tag-face-1)
2792 (custom-group-tag-face): Remove obsolete face alias.
2793
2794 * epa.el (epa-validity-high, epa-validity-medium)
2795 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2796 (epa-field-name, epa-field-body):
2797 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2798 (font-lock-keyword-face, font-lock-builtin-face)
2799 (font-lock-function-name-face, font-lock-variable-name-face)
2800 (font-lock-type-face, font-lock-constant-face):
2801 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2802 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2803 * speedbar.el (speedbar-button-face, speedbar-file-face)
2804 (speedbar-directory-face, speedbar-tag-face)
2805 (speedbar-selected-face, speedbar-highlight-face)
2806 (speedbar-separator-face):
2807 * whitespace.el (whitespace-newline, whitespace-space)
2808 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2809 (whitespace-line, whitespace-space-before-tab)
2810 (whitespace-space-after-tab, whitespace-indentation)
2811 (whitespace-empty):
2812 * emulation/cua-base.el (cua-global-mark):
2813 * eshell/em-prompt.el (eshell-prompt):
2814 * net/newst-plainview.el (newsticker-new-item-face)
2815 (newsticker-old-item-face, newsticker-immortal-item-face)
2816 (newsticker-obsolete-item-face, newsticker-date-face)
2817 (newsticker-statistics-face, newsticker-default-face):
2818 * net/newst-reader.el (newsticker-feed-face)
2819 (newsticker-extra-face, newsticker-enclosure-face):
2820 * net/newst-treeview.el (newsticker-treeview-face)
2821 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2822 (newsticker-treeview-immortal-face)
2823 (newsticker-treeview-obsolete-face)
2824 (newsticker-treeview-selection-face):
2825 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2826 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2827 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2828 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2829 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2830 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2831 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2832 (mpuz-text):
2833 * progmodes/vera-mode.el (vera-font-lock-number)
2834 (vera-font-lock-function, vera-font-lock-interface):
2835 * textmodes/table.el (table-cell): Use new-style face specs, and
2836 don't use the old :bold and :italic attributes.
2837
2838 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2839 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2840 (ebrowse-member-class, ebrowse-progress): Likewise.
2841 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2842 (ebrowse-file-name-face, ebrowse-default-face)
2843 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2844 (ebrowse-progress-face): Remove obsolete faces.
2845
2846 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2847 Inherit from error and warning faces respectively.
2848
2849 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2850 Likewise.
f80efb86
SM
2851 (flyspell-incorrect-face, flyspell-duplicate-face):
2852 Remove obsolete aliases.
4b56d0fe 2853
03310646
MA
28542012-06-08 Michael Albinus <michael.albinus@gmx.de>
2855
2856 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2857 Avoid infloop.
2858
513749ee
SM
28592012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2860
2861 * startup.el (argv, argi): Make lexically scoped.
2862 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2863 * emacs-lisp/cl-macs.el: Use lexical-binding.
2864 Rename cl-bind-* to cl--bind-*.
2865 * files.el: Don't require `cl' since it doesn't use it.
2866 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2867
595ef4ad
JB
28682012-06-08 Juanma Barranquero <lekktu@gmail.com>
2869
2870 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2871 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2872 instead of calling external sort utility.
2873 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2874
e9f66fcb
EZ
28752012-06-08 Eli Zaretskii <eliz@gnu.org>
2876
2877 * descr-text.el (describe-char): Mention how to insert the
2878 character, if the current input method doesn't support it.
2879 See the discussion in this thread for the details:
2880 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2881
3d10db47
SS
28822012-06-08 Sam Steingold <sds@gnu.org>
2883
2884 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2885 XF86Back to previous-buffer.
2886 (minibuffer-local-map): Bind them to next-history-element and
2887 previous-history-element respectively.
2888 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2889 help-go-back respectively.
2890 * info.el (Info-mode-map): Bind them to Info-history-forward and
2891 Info-history-back respectively.
2892 These are the keys next to Up on the ThinkPad keyboard.
2893
de7e2b36
SM
28942012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2895
2896 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2897 * emacs-lisp/cl-macs.el: Provide itself.
2898 (cl--labels-convert-cache): New var.
2899 (cl--labels-convert): New function.
2900 (cl-flet, cl-labels): New implementation with new semantics, relying on
2901 lexical-binding.
2902 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2903 (cl-closure-vars, cl--function-convert-cache)
2904 (cl--function-convert): Move from cl-macs.el.
2905 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2906 rename by removing the "cl-" prefix.
2907 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2908
6fa6c4ae
SM
29092012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2910
2911 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2912 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2913 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2914 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2915 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2916 (cl-hash-table-count): Add old compatibility aliases.
2917
2918 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2919 Use macroexpand-all-environment instead.
2920 (cl--old-macroexpand): New var.
2921 (cl--sm-macroexpand): New function.
2922 (cl-symbol-macrolet): Use it during macro expansion.
2923 (cl--function-convert-cache): New var.
2924 (cl--function-convert): New function, extracted from
2925 cl-macroexpand-all.
2926 (cl-lexical-let): Use it.
2927
2928 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2929 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2930 (cl-member): Remove old alias.
2931
2932 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2933 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2934 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2935 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2936 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2937 (cl-macroexpand-cmacs): Remove var.
2938 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2939 Use macroexpand-all instead.
2940
4dd1c416
SM
29412012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2942
2943 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2944 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2945 (macroexp-copyable-p): New functions and macros.
2946 * emacs-lisp/edebug.el (edebug-unwrap):
2947 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2948 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2949 (pcase--let*): Remove.
2950 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2951 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2952 macroexp-const-p instead.
2953 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2954
2955 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2956 instead of "cl-" for internal definitions. Use macroexp-const-p.
2957 (cl-old-bc-file-form): Remove var.
2958 (cl-const-exprs-p): Remove fun.
2959 (cl-labels, cl-macrolet): Use backquote.
2960 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2961 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2962 (cl-define-setf-expander): Rename from cl-define-setf-method.
2963 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2964
2965 * international/mule-cmds.el: Don't require CL.
2966 (view-hello-file): Don't use `letf'.
2967
ed8bd4d7
SM
29682012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2969
7287f2f3
SM
2970 * tmm.el (tmm-prompt): Use string-prefix-p.
2971 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2972 (tmm-add-prompt): Use minibuffer-completion-help.
2973 (tmm-delete-map): Remove.
2974
ed8bd4d7
SM
2975 * subr.el (kbd): Make it its own function.
2976
7b4cdbf4
SM
29772012-06-07 Stefan Merten <smerten@oekonux.de>
2978
2979 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2980 Silence compiler warnings. Fix versions.
ed8bd4d7 2981 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2982 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2983 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2984 (rst-package-emacs-version-alist): Correct Emacs version to
2985 represent major merge with upstream.
ed8bd4d7 2986 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2987
2b48d721
GM
29882012-06-06 Glenn Morris <rgm@gnu.org>
2989
2990 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2991 Only print environment variables if set.
2992
fa779ab0
SM
29932012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2994
2995 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2996 (macroexp--cons): Rename from maybe-cons.
2997 (macroexp--accumulate): Rename from macroexp-accumulate.
2998 (macroexp--all-forms): Rename from macroexpand-all-forms.
2999 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3000 (macroexp--expand-all): Rename from macroexpand-all-1.
3001
628299e0
SS
30022012-06-06 Sam Steingold <sds@gnu.org>
3003
3004 * calendar/calendar.el (calendar-in-read-only-buffer):
3005 Call `special-mode' to enable the standard read-only keybindings.
3006
b7bb5838
SM
30072012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3008
3009 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3010 with "loading" messages (bug#11635).
3011
dfb308ba
MA
30122012-06-06 Michael Albinus <michael.albinus@gmx.de>
3013
3014 * files.el (enable-remote-dir-locals): New option.
3015 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3016
0372ee92
MA
3017 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3018 Ensure, that the temp directory is local.
3019
3020 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3021 `temporary-file-directory'.
3022
eed0bb91
MA
3023 * progmodes/python.el (python-send-region): Ensure, that the
3024 temporary file is created also in the remote case.
3025
7a58f64d
GM
30262012-06-06 Glenn Morris <rgm@gnu.org>
3027
f7dd4e98
GM
3028 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3029 (vc-rcs-update-changelog): Use it.
3030
090bd7cb 3031 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 3032
7a58f64d
GM
3033 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3034 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3035 (vc-sccs-diff): Replace use of the external vcdiff script.
3036
daed4003
GM
30372012-06-05 Glenn Morris <rgm@gnu.org>
3038
3039 * ledit.el: Move to obsolete/.
3040
48c455c7
SS
30412012-06-05 Sam Steingold <sds@gnu.org>
3042
ed9265fc 3043 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
3044 patch (Bug#11140).
3045
57a7d507
SM
30462012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3047
090bd7cb 3048 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 3049
53aacf21
SM
3050 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3051 compiler-macro expansion.
3052
57a7d507
SM
3053 Add native compiler-macro support.
3054 * emacs-lisp/macroexp.el (macroexpand-all-1):
3055 Support compiler-macros directly. Properly follow aliases and apply
3056 the compiler macros more thoroughly.
3057 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3058 macroexpand now properly follows aliases.
3059 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3060 (cl-compiler-macroexpand): Use new prop.
3061 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3062
3063 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3064
51a5f9d8
MR
30652012-06-05 Martin Rudalics <rudalics@gmx.at>
3066
3067 * window.el (get-lru-window, get-mru-window, get-largest-window):
3068 New argument NOT-SELECTED to avoid picking the selected window.
3069 (window--display-buffer-1, window--display-buffer-2): Replace by
3070 new function window--display-buffer
3071 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
3072 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3073 Use window--display-buffer.
51a5f9d8
MR
3074 (display-buffer-use-some-window): Remove temporary dedication
3075 hack by calling get-lru-window and get-largest-window with
3076 NOT-SELECTED argument non-nil. Call window--display-buffer.
3077
08f9f738
GM
30782012-06-05 Glenn Morris <rgm@gnu.org>
3079
3080 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3081 Replace external vcdiff script.
3082
e364a2b7
SM
30832012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3084
3085 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3086
041df390
CY
30872012-06-04 Chong Yidong <cyd@gnu.org>
3088
e364a2b7
SM
3089 * image.el (imagemagick-types-inhibit): Revert last change.
3090 Add INFO and M.
47b36b94 3091 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 3092
7c1898a7
SM
30932012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3094
3095 * emacs-lisp/cl-lib.el: Rename from cl.el.
3096 * emacs-lisp/cl.el: New compatibility file.
3097 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3098 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3099 to obey the "cl-" prefix.
3100 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3101
0c3461de
GM
31022012-06-03 Glenn Morris <rgm@gnu.org>
3103
1e266c88
GM
3104 * emacs-lisp/authors.el (authors-aliases): Addition.
3105
0c3461de
GM
3106 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3107 Fix :version.
3108
d8a52e15
SM
31092012-06-03 Stefan Merten <smerten@oekonux.de>
3110
3111 * textmodes/rst.el: Add comments.
3112 (rst-transition, rst-adornment): New faces.
3113 (rst-adornment-faces-alist): Make default safe to reevaluate.
3114 Fixes
3115 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3116 Improve customization tags.
3117 (rst-define-level-faces): Clarify meaning.
3118
5205d6f6
CY
31192012-06-03 Chong Yidong <cyd@gnu.org>
3120
3121 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
3122 (compilation-mode-line-run, compilation-mode-line-exit):
3123 New faces.
5205d6f6
CY
3124 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3125
757ee657
JD
31262012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3127
7c1898a7
SM
3128 * progmodes/which-func.el (which-func-update-ediff-windows):
3129 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 3130
5f2c76c6
CY
31312012-06-03 Chong Yidong <cyd@gnu.org>
3132
3133 * bindings.el: Remove explicit help text from format-mode-line.
3134 It is now supplied by mode-line-default-help-echo.
3135 (mode-line-front-space, mode-line-end-spaces)
3136 (mode-line-misc-info): New variables.
3137 (mode-line-modes, mode-line-position): Move the default value to
3138 the variable definition.
3139 (mode-line-default-help-echo): New defcustom.
383f7350
CY
3140 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3141 (mode-line-modified-help-echo): New functions.
3142 (mode-line-mule-info, mode-line-modified): Use them.
3143 (mode-line-eol-desc, propertized-buffer-identification):
3144 Consistency fixes for help text.
cbe46e5f
CY
3145 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3146 set-buffer-file-coding-system (Bug#289).
3147 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 3148
f2d6a3df
SM
31492012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3150
3151 * simple.el (execute-extended-command): Set real-this-command
3152 (bug#11506).
3153
37269466
CY
31542012-06-02 Chong Yidong <cyd@gnu.org>
3155
3156 Remove incorrect uses of "modeline" in comments, docstrings, and
3157 function/variable names (Bug#10329).
3158
3159 * cus-edit.el (mode-line):
3160 * dframe.el (dframe-mouse-hscroll):
3161 * emacs-lisp/re-builder.el:
3162 * emacs-lisp/easy-mmode.el (define-minor-mode):
3163 * frame.el (set-frame-name):
3164 * help.el (lookup-minor-mode-from-indicator):
3165 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3166 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3167 (c-toggle-hungry-state):
3168 * progmodes/antlr-mode.el (antlr-language-alist):
3169 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3170 * progmodes/vhdl-mode.el (vhdl-mode):
3171 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3172 * term/ns-win.el (ns-face-at-pos):
3173 * term/sup-mouse.el (sup-mouse-report):
3174 * textmodes/flyspell.el (flyspell-mode-line-string):
3175 * textmodes/ispell.el (ispell-highlight-face):
3176 * textmodes/reftex-global.el:
3177 * vc/vc-arch.el (vc-arch-mode-line-string):
3178 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3179 * vc/vc-git.el (vc-git-mode-line-string):
3180 * vc/vc-hooks.el (vc-display-status)
3181 (vc-default-mode-line-string):
3182 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3183
3184 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3185
3186 * dired.el (dired-sort-set-mode-line): Rename from
3187 dired-sort-set-modeline. All callers changed.
3188
3189 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3190 eshell-status-in-modeline.
3191
3192 * foldout.el (foldout-mode-line-string): Rename from
3193 foldout-modeline-string. All callers changed.
3194 (foldout-update-mode-line): Rename from foldout-update-modeline.
3195
3196 * subr.el (redraw-modeline): Make into obsolete alias.
3197
3198 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3199 timeclock-modeline-display. Make old name an alias.
3200 (timeclock-update-mode-line): Likewise. All callers changed.
3201 (timeclock-mode-line-display): No need to check before using
3202 add-hook.
3203 (timeclock-relative, timeclock-day-over-hook)
3204 (timeclock-use-elapsed, timeclock-mode-string)
3205 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3206
3207 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3208 crisp-mode-modeline-string.
3209
3210 * play/solitaire.el (solitaire-build-mode-line): Rename from
3211 solitaire-build-modeline. All callers changed.
3212
3213 * play/zone.el (zone-hiding-mode-line): Rename from
3214 zone-hiding-modeline. All callers changed.
3215 (zone): Remove unusued `modeline-hidden-level' property.
3216
3217 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3218 xscheme-modeline-initialize. All callers changed.
3219
3220 * strokes.el (strokes-lighter): Rename from
3221 strokes-modeline-string.
3222
3223 * textmodes/sgml-mode.el (html-face-tag-alist)
3224 (html-tag-face-alist): Use mode-line face instead of obsolete
3225 alias modeline.
3226
42152ee4
SM
32272012-06-02 Stefan Merten <smerten@oekonux.de>
3228
3229 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3230 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3231
95f520b5
CY
32322012-06-02 Chong Yidong <cyd@gnu.org>
3233
3234 * image.el (imagemagick-enabled-types): Rename from
3235 imagemagick-types-enable. Add many more types.
3236 (imagemagick-types-inhibit): Change default to nil.
3237 (imagemagick-filter-types): Caller changed.
3238
4a5f187a
SM
32392012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3240
03fef3e6
SM
3241 * emacs-lisp/cl-macs.el: Use backquotes.
3242 (cl-transform-function-property): Use eval-and-compile rather than
3243 abusing `require'.
3244 (defstruct): Use declare-function instead of with-no-warnings.
3245
4a5f187a
SM
3246 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3247 (byte-compile-output-docform): Re-add the print-circle bindings.
3248 (byte-compile-fix-header): Use #$ just because it's shorter.
3249 (byte-compile-output-file-form): Remove defun/defmacro.
3250
bd56924f
MR
32512012-06-01 Martin Rudalics <rudalics@gmx.at>
3252
3253 * simple.el (choose-completion): Remove now obsolete binding for
3254 owindow.
3255
046e38ce
MA
32562012-06-01 Michael Albinus <michael.albinus@gmx.de>
3257
3258 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3259 in order to avoid "Stack overflow in regexp matcher".
3260
32d72c2f
GM
32612012-05-31 Glenn Morris <rgm@gnu.org>
3262
3263 * image.el: For clarity, call imagemagick-register-types at
3264 top-level, rather than relying on a custom :initialize.
3265 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3266 (imagemagick-filter-types): New function. (Bug#7406)
3267 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3268 If disabling support, remove elements altogether rather
3269 than using an impossible regexp.
3270 (imagemagick-types-inhibit): Give it the default init function.
3271
dd41169b
SM
32722012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3273
4a5f187a
SM
3274 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3275 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3276
efc00ab1 32772012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3278
3279 * desktop.el (desktop-read): Clear previous and next buffers for
3280 all windows and bury *Messages* buffer (bug#11556).
3281
500fcedc
SM
32822012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3283
3284 Add `declare' for `defun'. Align `defmacro's with it.
3285 * emacs-lisp/easy-mmode.el (define-minor-mode)
3286 (define-globalized-minor-mode): Don't autoload the var definitions.
3287 * emacs-lisp/byte-run.el: Use lexical-binding.
3288 (defun-declarations-alist, macro-declarations-alist): New vars.
3289 (defmacro, defun): Use them.
3290 (make-obsolete, define-obsolete-function-alias)
3291 (make-obsolete-variable, define-obsolete-variable-alias):
3292 Use `declare'.
3293 (macro-declaration-function): Mark obsolete.
3294 * emacs-lisp/autoload.el: Use lexical-binding.
3295 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3296
6e8a1786
AM
32972012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3298
3299 * textmodes/ispell.el (ispell-with-no-warnings):
3300 Define as a macro.
500fcedc
SM
3301 (ispell-kill-ispell, ispell-change-dictionary):
3302 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3303 `interactive-p'.
3304
61b108cc
SM
33052012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3306
3307 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3308 (macro-declaration-function): Move var from C code.
3309 (macro-declaration-function): Define function with defalias.
3310 * emacs-lisp/macroexp.el (macroexpand-all-1):
3311 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3312 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3313 defun/defmacro any more.
3314 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3315 Provide fallback for unknown arglist.
3316 (byte-compile-arglist-warn): Change calling convention.
3317 (byte-compile-output-file-form): Move print-vars binding.
3318 (byte-compile-output-docform): Simplify accordingly.
3319 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3320 (byte-compile-defmacro-declaration): Remove.
3321 (byte-compile-file-form-defmumble): Generalize to defalias.
3322 (byte-compile-output-as-comment): Return byte-positions.
3323 Simplify callers accordingly.
3324 (byte-compile-lambda): Use `assert'.
3325 (byte-compile-defun, byte-compile-defmacro): Remove.
3326 (byte-compile-file-form-defalias):
3327 Use byte-compile-file-form-defmumble.
3328 (byte-compile-defalias-warn): Remove.
3329
6d3f7c2f
SM
33302012-05-29 Stefan Merten <smerten@oekonux.de>
3331
3332 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3333 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3334
3335 (rst-mode-abbrev-table): Merge definition.
3336 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3337 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3338
6dbaa1c7
UJ
33392012-05-29 Ulf Jasper <ulf.jasper@web.de>
3340
3341 * calendar/icalendar.el
3342 (icalendar-export-region): Export UID properly.
3343
d209e2fb 33442012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3345 * calendar/icalendar.el (icalendar-import-format):
3346 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3347 (icalendar-import-format-uid): New.
3348 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3349 Export UID.
3350
6876a58d
SM
33512012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3352
3353 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3354 different alternative patterns.
3355 (pcase-codegen): Be more careful to preserve identity.
3356 (pcase--u1): Don't forget to mark vars as used.
3357
3358 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3359 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3360 (byte-compile-from-buffer): ...rather than here.
3361
3362 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3363 functions from byte-compile-function-environment.
3364
46b7967e
TN
33652012-05-29 Troels Nielsen <bn.troels@gmail.com>
3366
3367 * window.el (window-deletable-p): Avoid deleting the root window
3368 of a frame with an active minibuffer.
3369
69d565e2
MR
33702012-05-29 Martin Rudalics <rudalics@gmx.at>
3371
3372 * simple.el (choose-completion): Use quit-window (Bug#11567).
3373
a149fa51
CY
33742012-05-29 Chong Yidong <cyd@gnu.org>
3375
3376 * whitespace.el (whitespace-cleanup): Fix usage of
3377 whitespace-empty-at-bob-regexp (Bug#11492).
3378
2b311310
AH
33792012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3380
3381 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3382 revert (Bug#11488).
3383
b9cb2387
JL
33842012-05-29 Juri Linkov <juri@jurta.org>
3385
3386 * isearch.el (isearch-mode-map): Bind `M-s _' to
3387 `isearch-toggle-symbol'. Bind `M-s c' to
3388 `isearch-toggle-case-fold'.
3389 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3390 (isearch-forward): Add `M-s _' to the docstring.
3391 (isearch-forward-symbol, isearch-toggle-case-fold)
3392 (isearch-symbol-regexp): New functions. (Bug#11381)
3393
d5e61c1c
JL
33942012-05-29 Juri Linkov <juri@jurta.org>
3395
3396 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3397 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3398 a function, call it to get the regexp.
3399 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3400 property `isearch-message-prefix' instead of the string "word ".
3401 (isearch-search-fun-default): For the case of `isearch-word',
3402 return a lambda that calls re-search-forward/re-search-backward
3403 with a regexp returned by `word-search-regexp' or by the function
3404 in `isearch-word'.
3405
8cbd80f7
JL
34062012-05-29 Juri Linkov <juri@jurta.org>
3407
3408 * isearch.el (isearch-search-fun-default): New function.
3409 (isearch-search-fun): Move default part to the new function
3410 `isearch-search-fun-default'.
3411 (isearch-search-fun-function): Set the default value to
3412 `isearch-search-fun-default'. (Bug#11381)
3413
3414 * comint.el (comint-history-isearch-end):
3415 Use `isearch-search-fun-default'.
3416 (comint-history-isearch-search): Use `isearch-search-fun-default'
3417 and remove spacial case for `isearch-word'.
3418 (comint-history-isearch-wrap): Remove spacial case for
3419 `isearch-word'.
3420
3421 * hexl.el (hexl-isearch-search-function):
3422 Use `isearch-search-fun-default'.
3423
3424 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3425 Use `word-search-regexp' for `isearch-word'.
3426
3427 * misearch.el (multi-isearch-search-fun):
3428 Use `isearch-search-fun-default'.
3429
3430 * simple.el (minibuffer-history-isearch-search):
3431 Use `isearch-search-fun-default' and remove spacial case for
3432 `isearch-word'.
3433 (minibuffer-history-isearch-wrap): Remove spacial case for
3434 `isearch-word'.
3435
3436 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3437 Remove spacial case for `isearch-word'.
3438 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3439
85c8c5b6
AM
34402012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3441
3442 Decrease XEmacs incompatibilities.
3443 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3444 Use `string-match'.
3445 (flyspell-delete-region-overlays): Use alternative definition for
3446 XEmacs.
3447 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3448 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3449 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3450 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3451 `define-obsolete-face-alias' under XEmacs, but old method.
3452
3453 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3454 `with-no-warnings' definition or Emacs alias.
3455 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3456 (ispell-word): Do not use `region-p' if XEmacs.
3457
8cab9efc
AM
34582012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3459
3460 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3461 Check for `ispell-dictionary-base-alist' instead of full
3462 `ispell-dictionary-alist'.
3463 (ispell-init-process): Show spellchecker when starting new Ispell
3464 process.
3465
fda91268
RZ
34662012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3467
3468 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3469 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3470
694ea8e3
JB
34712012-05-27 Juanma Barranquero <lekktu@gmail.com>
3472
3473 * version.el (motif-version-string, gtk-version-string)
3474 (ns-version-string): Declare.
3475
e4d4f539
JL
34762012-05-27 Juri Linkov <juri@jurta.org>
3477
3478 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3479 after the `eval-defun-1' specialcaseing
3480 like in `edebug-eval-defun' (bug#10181).
3481
3482 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3483 like in `eval-defun-1'.
3484
33017faf 34852012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3486
fda91268
RZ
3487 * mail/sendmail.el (mail-yank-region):
3488 Recognize rmail-yank-current-message in addition to insert-buffer.
3489 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3490 a *mail* buffer created through rmail-start-mail with sendmail as
3491 mail-user-agent.
3492
33017faf
GM
34932012-05-27 Chong Yidong <cyd@gnu.org>
3494
3495 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3496 Default to 256 (Bug#11267).
3497
3498 * help.el (describe-mode): Doc fix.
3499
04188bb9
GM
35002012-05-26 Glenn Morris <rgm@gnu.org>
3501
38264cc9
GM
3502 * w32-fns.el (w32-init-info): Remove.
3503 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3504
eb7afdad
GM
3505 * info.el (info-initialize): For self-contained NS builds, put the
3506 included info/ directory at the front. (Bug#2791)
3507
04188bb9
GM
3508 * paths.el (Info-default-directory-list): Make it a defcustom,
3509 mainly so that we can use custom-initialize-delay.
3510
a179e3f7
SM
35112012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3512
43416392
SM
3513 * subr.el (buffer-has-markers-at): Mark obsolete.
3514
a179e3f7 3515 * subr.el (lambda): Use declare.
43416392 3516
a179e3f7
SM
3517 * emacs-lisp/lisp-mode.el (lambda):
3518 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3519
34a008d9
AH
35202012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3521
3522 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3523
0a3b289f
GM
35242012-05-26 Glenn Morris <rgm@gnu.org>
3525
3526 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3527
758c81e8
GM
35282012-05-25 Glenn Morris <rgm@gnu.org>
3529
f9f334f0
GM
3530 * paths.el: Remove no-byte-compile.
3531 * loadup.el: No need to load paths.el uncompiled.
3532
87eb79c2
GM
3533 * image.el (imagemagick-types-inhibit): Doc fix.
3534
758c81e8
GM
3535 * version.el: Remove no-byte-compile and associated formatting.
3536 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3537 is ancient code from when there was an "inc-vers.el".
3538
e7e85dc0
SM
35392012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3540
3541 * progmodes/gdb-mi.el: Minor style changes.
3542 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3543 Turn into minor modes.
3544 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3545 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3546 (gdb-shell): Remove unneeded let-binding.
3547 (gdb-get-many-fields): Eliminate O(n²) behavior.
3548
f31237a4
EZ
35492012-05-25 Eli Zaretskii <eliz@gnu.org>
3550
3551 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3552 platforms that don't link in fontset.c.
3553
bc1b21bb
JL
35542012-05-25 Juri Linkov <juri@jurta.org>
3555
3556 Use the same diff color scheme as in modern VCSes (bug#10181).
3557
3558 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3559 to avoid confusion with `diff-added' that now uses green colors.
3560 (diff-removed): Use shades of red.
3561 (diff-added): Use shades of green.
3562 (diff-changed): Leave just the yellow color.
3563 (diff-use-changed-face): New variable.
3564 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3565 how to highlight context diff changes.
3566 (diff-refine-change): Use shades of yellow.
3567 (diff-refine-removed): New face that uses shades of red.
3568 (diff-refine-added): New face that uses shades of green.
3569 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3570 `diff-refine-removed' in the call to `smerge-refine-subst'
3571 depending on the value of `diff-use-changed-face'.
3572
3573 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3574 (smerge-other): Use shades of green.
3575 (smerge-base): Use shades of yellow.
3576 (smerge-refined-change): Empty face.
3577 (smerge-refined-removed): New face that uses shades of red.
3578 (smerge-refined-added): New face that uses shades of green.
3579 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3580 args `props-r' and `props-a', and use them. Doc fix.
3581 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3582 on its value use different faces `smerge-refined-change',
3583 `smerge-refined-removed', `smerge-refined-added' in the call to
3584 `smerge-refine-subst'.
3585
3586 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3587 Add face condition `min-colors 88' with shades of red.
3588 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3589 `min-colors 88' with shades of green.
3590 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3591 `min-colors 88' with shades of yellow.
3592
6df9112c
GM
35932012-05-24 Glenn Morris <rgm@gnu.org>
3594
ead5edc0
GM
3595 * paths.el (prune-directory-list, remote-shell-program): Move to...
3596 * files.el (prune-directory-list, remote-shell-program): ...here.
3597 For the latter, delay initialization, prefer ssh, just search PATH.
3598
f18b81e6
GM
3599 * paths.el (term-file-prefix): Move to faces.el (the only user).
3600 * faces.el (term-file-prefix): Move here, make it a defcustom.
3601
ee2f89a6
GM
3602 * paths.el (news-directory, news-path, news-inews-program):
3603 Move to gnus/nnspool.el.
61a583ca 3604
f8815e4c
GM
3605 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3606
c8f3b42c
GM
3607 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3608 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3609 Make the latter a defcustom, with a delayed initialization.
3610
6df9112c
GM
3611 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3612 These were deleted from Gnus itself late 2010.
3613
5dadff36
JB
36142012-05-22 Juanma Barranquero <lekktu@gmail.com>
3615
9e1701c6
JB
3616 * progmodes/which-func.el (which-func-ff-hook):
3617 Check against user-error, not error.
3618
bd7239f5 3619 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3620 cl-specs.el, which no longer exists.
3621
3290526d
GM
36222012-05-22 Glenn Morris <rgm@gnu.org>
3623
3624 * info.el (info-emacs-bug): New command.
3625 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3626 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3627
ff0c3cfb
GM
36282012-05-21 Glenn Morris <rgm@gnu.org>
3629
3630 * makefile.w32-in (update-subdirs-SH):
3631 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3632
5814f126
SM
36332012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3634
a52c0aa0
SM
3635 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3636
5814f126
SM
3637 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3638 Simplify Maven regexp, and make sure the file can't start with a space
3639 (bug#11517).
3640
b847032c
GM
36412012-05-21 Glenn Morris <rgm@gnu.org>
3642
3643 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3644 Scrap superfluous subshells.
3645
3858bfe7
SM
36462012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3649 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3650
d14b0029
JB
36512012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3652
3653 * calc/calc.el (calc-ensure-consistent-units): New variable.
3654
a52c0aa0
SM
3655 * calc/calc-units.el (math-consistent-units-p)
3656 (math-check-unit-consistency): New functions.
3657 (calc-quick-units, calc-convert-units):
3658 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3659 is non-nil.
d14b0029
JB
3660 (calc-extract-units): Fix typo.
3661
60c4db3a
SM
36622012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3663
77f3b62e
SM
3664 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3665
60c4db3a
SM
3666 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3667 (flyspell-default-deplacement-commands): Don't spell check after
3668 repeated window/frame switches (e.g. triggered by mouse-movement).
3669 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3670 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3671 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3672 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3673 Remove unused vars.
3674 (flyspell-get-casechars, flyspell-get-not-casechars):
3675 Simplify; Don't bother removing a ] just to add it back.
3676 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3677
d209e2fb 36782012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3679
3680 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3681 New functions.
bd7239f5 3682 (math-function-table): Add support for more C functions.
b1a10716 3683
3f1b25b5
AM
36842012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3685
090bd7cb
JB
3686 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3687 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3688 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3689
b581bb5c
SM
36902012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3691
3692 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3693 their respective macro declarations.
3694 * skeleton.el (define-skeleton):
3695 * progmodes/compile.el (define-compilation-mode):
3696 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3697 (define-ibuffer-filter):
3698 * emacs-lisp/generic.el (define-generic-mode):
3699 * emacs-lisp/easy-mmode.el (define-minor-mode)
3700 (define-globalized-minor-mode):
3701 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3702 * emacs-lisp/byte-run.el (defsubst):
3703 * custom.el (deftheme): Add doc-string metadata.
3704
70b8ef8f
SM
37052012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3706
3707 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3708
b1198e17
SM
37092012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3710
9abdc45d
SM
3711 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3712
b1198e17
SM
3713 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3714 * emacs-lisp/cl-macs.el: Idem.
3715 * emacs-lisp/cl-specs.el: Remove.
3716
4735906a
SM
37172012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3718
3719 Minor renaming of internal CL functions and variables.
3720 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3721 (cl--position): Rename from cl-position.
3722 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3723 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3724 (cl--random-state): Rename from *random-state*.
3725
ac348012
SM
37262012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3727
3728 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3729 parens around the arg list (bug#11499).
3730
a0a79cde
JL
37312012-05-17 Juri Linkov <juri@jurta.org>
3732
3733 * isearch.el (word-search-regexp, word-search-backward)
3734 (word-search-forward, word-search-backward-lax)
3735 (word-search-forward-lax): Move functions from search.c
3736 (bug#10145, bug#11381).
3737
65034a51
AM
37382012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3739
090bd7cb
JB
3740 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3741 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3742 Delay for otherchars as for normal word components.
65034a51 3743
1a72a195
SM
37442012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3745
3746 * minibuffer.el (completion--sifn-requote): Fix last change.
3747 (minibuffer-local-must-match-filename-map):
3748 Move define-obsolete-variable-alias before its var.
3749
fdb058c2
SM
37502012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3751
c41045e6
SM
3752 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3753
036dfb8b
SM
3754 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3755 behavior.
3756 (completion--string-equal-p): New function.
3757 (completion--twq-all): Use it to get better assertion failure data.
3758
2473256d
SM
3759 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3760 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3761 (shell--requote-argument): New functions.
3762 (shell-completion-vars): Use them.
3763 (shell--parse-pcomplete-arguments): Rename from
3764 shell-parse-pcomplete-arguments.
3765 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3766 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3767 Obey comint-file-name-quote-list.
3768
fdb058c2
SM
3769 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3770 (smie-indent-keyword): Use it.
3771
51fa99f1
SM
37722012-05-14 Stefan Merten <smerten@oekonux.de>
3773
3774 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3775
e18afed7 37762012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3777
3778 * net/rlogin.el (rlogin-mode-map): Fix last change.
3779
e18afed7 37802012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3781
3782 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3783 the following \r\n using a single `process-send-string', since the
3784 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3785 with two `process-send-string's (Bug#11444).
8633b1f4 3786
e18afed7 37872012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3788
fdb058c2
SM
3789 * shell.el (shell-parse-pcomplete-arguments):
3790 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3791
2d21d7f6
WJ
37922012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3793
e18afed7 3794 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3795 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3796 (image-transform-width, image-transform-fit-width): New functions.
3797 (image-transform-properties): Use them.
3798 (image-transform-check-size): New function.
3799 (image-toggle-display-image): Use it (for testing).
3800 (image-transform-set-rotation): Reduce angle mod 360.
3801 Delete obsolete comment.
3802
7102e6d0
WJ
38032012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3804
3805 * image-mode.el: Fix scaling (bug#11399).
3806 (image-transform-resize): Doc fix.
3807 (image-transform-properties): Default scale is 1 and height should
3808 be an integer.
3809
06bc5e6e
SM
38102012-05-13 Johan Bockgård <bojohan@gnu.org>
3811
3812 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3813 than hard-coding `car', to fix misbehavior when moving forward.
3814
0ae03b6a
CY
38152012-05-13 Chong Yidong <cyd@gnu.org>
3816
3817 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3818 (tabulated-list-entries, tabulated-list-padding)
3819 (tabulated-list-sort-key): Make permanent-local.
3820
3821 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3822 (electric-buffer-list): Put electric buffer menu
3823 command descriptions in this docstring, instead of the docstring
3824 of electric-buffer-menu-mode. Code cleanups.
3825 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3826 Electric-buffer-menu-mode.
3827 (electric-buffer-update-highlight): Minor code cleanup.
3828
205a7391
MA
38292012-05-13 Michael Albinus <michael.albinus@gmx.de>
3830
3831 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3832 (Bug#11447)
3833
e5bd0a28
SM
38342012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3835
3836 Move define-obsolete-variable-alias before the var's definition.
3837 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3838 * tooltip.el (tooltip-hook):
3839 * textmodes/reftex-toc.el (reftex-toc-map):
3840 * textmodes/reftex-sel.el (reftex-select-label-map)
3841 (reftex-select-bib-map):
3842 * textmodes/reftex-index.el (reftex-index-map)
3843 (reftex-index-phrases-map):
3844 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3845 * progmodes/meta-mode.el (meta-mode-map):
3846 * novice.el (disabled-command-hook):
3847 * loadhist.el (unload-hook-features-list):
3848 * frame.el (blink-cursor):
3849 * files.el (find-file-not-found-hooks, write-file-hooks)
3850 (write-contents-hooks):
3851 * emulation/tpu-edt.el (GOLD-map):
3852 * emacs-lock.el (emacs-lock-from-exiting):
3853 * emacs-lisp/generic.el (generic-font-lock-defaults):
3854 * emacs-lisp/chart.el (chart-map):
3855 * dos-fns.el (register-name-alist):
3856 * dired-x.el (dired-omit-files-p):
3857 * desktop.el (desktop-enable):
3858 * cus-edit.el (custom-mode-hook):
3859 * buff-menu.el (buffer-menu-mode-hook):
3860 * bookmark.el (bookmark-read-annotation-text-func)
3861 (bookmark-exit-hooks):
3862 * allout.el (allout-mode-deactivate-hook)
3863 (allout-exposure-change-hook, allout-structure-added-hook)
3864 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3865 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3866 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3867 comes before the corresponding variable's definition.
3868
ac59c2f6
CY
38692012-05-12 Chong Yidong <cyd@gnu.org>
3870
3871 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3872 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3873 (Buffer-menu-mode-map): Bind it.
3874 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3875
dee6c9a3
SM
38762012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3877
2171cea5
SM
3878 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3879 (prolog-upper-case-string, prolog-lower-case-string)
3880 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3881 (prolog-use-smie, prolog-smie-grammar): New vars.
3882 (prolog-smie-forward-token, prolog-smie-backward-token)
3883 (prolog-smie-rules): New funs.
3884 (prolog-comment-indent): Remove.
3885 (prolog-mode-variables): Use default comment indentation instead.
3886 Setup SMIE.
3887 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3888 (prolog-mode): Don't call them any more.
3889 (prolog-electric-colon, prolog-electric-dash)
3890 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3891
aa0382bd
SM
3892 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3893
dbacb4bd
SM
3894 * minibuffer.el (completion--twq-all): Again, allow case differences.
3895
13bdd94c
SM
3896 * term.el: Move keymap initialization code to be more idiomatic.
3897 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3898 (term-terminal-menu): Move initialization into declaration.
3899 (term-escape-char): Let the user set it in her .emacs.
3900
ff46c759
SM
3901 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3902 Provide SMIE-based indentation (not enabled by default yet).
3903 (sh-mode-map): Don't bind electric keys.
3904 Use electric-pair-mode instead of skeleton-pair.
3905 (sh-assignment-regexp): Fit within 80 columns.
3906 (sh-indent-supported): Specify actual shell name instead of boolean.
3907 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3908 (sh-maybe-here-document): Use it. Make obsolete.
3909 (sh-electric-here-document-mode) New minor mode.
3910 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3911 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3912 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3913 (sh-smie-rc-grammar, sh-use-smie): New vars.
3914 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3915 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3916 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3917 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3918 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3919 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3920 (sh-set-shell): Use smie-setup if requested.
3921
dee6c9a3
SM
3922 * term.el (term-set-escape-char): Properly set term-escape-char.
3923 See http://stackoverflow.com/questions/10524656.
3924
9f9aa044
CY
39252012-05-10 Chong Yidong <cyd@gnu.org>
3926
3927 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3928 Use url-generic-parse-url, and handle host names and Windows
3929 filenames properly.
3930 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3931 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3932 URL schemes to work on.
3933 (ffap--toggle-read-only): New function.
3934 (ffap-read-only, ffap-read-only-other-window)
3935 (ffap-read-only-other-frame): Use it.
3936 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3937 necessary for ffap-url-unwrap-remote.
3938
836d29b3
DA
39392012-05-10 Dave Abrahams <dave@boostpro.com>
3940
3941 * cus-start.el (create-lockfiles): Add it.
3942
00fd78ed
CY
39432012-05-09 Chong Yidong <cyd@gnu.org>
3944
3945 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3946 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3947
666b903b 39482012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3949
3950 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3951
666b903b 39522012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3953
3954 * ansi-color.el (ansi-color-process-output): Check for validity of
3955 comint-last-output-start before using it. This avoids a bad
3956 interaction with gdb-mi's input/output buffer.
3957
666b903b 39582012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3959
3960 * files.el (dir-locals-read-from-file):
3961 Mention dir-locals in any error message.
3962
666b903b 39632012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3964
3965 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3966 package (Bug#11410).
3967
f677562b
CY
3968 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3969 variables into description.
3970
666b903b 39712012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3972
3973 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3974 shell-delimiter-argument-list (bug#11348).
3975 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3976
b499d8d0
JB
39772012-05-09 Juanma Barranquero <lekktu@gmail.com>
3978
8f6b6da8
JB
3979 * textmodes/rst.el: Silence byte-compiler warnings.
3980 (rst-re-alist, rst-reset-section-caches): Move around.
3981 (rst-re): Use `characterp', not `char-valid-p'.
3982 (font-lock-beg, font-lock-end): Declare.
3983
4824146a
JB
3984 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3985 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3986
b499d8d0
JB
3987 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3988
ad89bb83
GM
39892012-05-08 Glenn Morris <rgm@gnu.org>
3990
3991 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3992
8bba5a75
SM
39932012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3994
49ed9c8e
SM
3995 * vc/log-edit.el: Add GNU coding standards highlighting.
3996 (log-edit-font-lock-gnu-style)
3997 (log-edit-font-lock-gnu-keywords): New vars.
3998 (log-edit-font-lock-keywords): New fun.
3999 (log-edit-mode): Don't fold case in font-lock.
4000 (log-edit-font-lock-keywords): Do not assume case-folding.
4001
07d00b56
SM
4002 * imenu.el: Misc cleanup. Make docstrings out of comments.
4003 Use lexical-binding.
4004 (imenu--index-alist, imenu--last-menubar-index-alist)
4005 (imenu-menubar-modified-tick): Use defvar-local.
4006 (imenu--split-menu): Remove unused var.
4007 (imenu--cleanup-seen): Declare as global.
4008 (imenu--cleanup): Use dolist.
4009
8bba5a75
SM
4010 * subr.el (defvar-local): Add debug spec and doc-string position.
4011
5075bdb5
GM
40122012-05-08 Glenn Morris <rgm@gnu.org>
4013
090bd7cb 4014 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
4015 * language/english.el, language/georgian.el, language/greek.el:
4016 * language/japanese.el, language/khmer.el, language/korean.el:
4017 * language/lao.el, language/misc-lang.el, language/romanian.el:
4018 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4019 * language/thai.el, language/utf-8-lang.el:
4020 Remove no-byte-compile setting.
4021
5075bdb5
GM
4022 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4023
06f679a7
AH
40242012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4025
4026 * progmodes/make-mode.el (makefile-browse):
4027 Remove unnecessary interactive. (Bug#11324)
4028
03794570
GM
40292012-05-07 Glenn Morris <rgm@gnu.org>
4030
af8630f4
GM
4031 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4032
03794570
GM
4033 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4034
f0809a9d
SM
40352012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4036
28be5ce7
SM
4037 * loadup.el: Preload newcomment.el.
4038 * newcomment.el: Move autoload-only code to toplevel.
4039
f0809a9d
SM
4040 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4041 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4042 Handle new :right-align column property.
4043 (tabulated-list-print-col): Idem, plus use `display' text-property to
4044 try and preserve alignment for variable pitch fonts.
4045
1241b724
CY
40462012-05-07 Chong Yidong <cyd@gnu.org>
4047
4048 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4049 (tabulated-list-use-header-line): New var.
4050 (tabulated-list-init-header): Use it.
4051 (tabulated-list-print-fake-header): New function.
4052 (tabulated-list-print): Use it.
4053 (tabulated-list-sort-button-map): Add non-header-line commands.
4054 (tabulated-list-init-header): Add column name property to basic
4055 labels as well.
4056 (tabulated-list-col-sort): Handle non-header-line button case.
4057 (tabulated-list--sort-by-column-name): Fix a corner case.
4058
f0809a9d
SM
4059 * buff-menu.el (list-buffers--refresh):
4060 Handle Buffer-menu-use-header-line.
1241b724 4061
e5f9458f
CY
40622012-05-06 Chong Yidong <cyd@gnu.org>
4063
4064 * buff-menu.el: Convert to Tabulated List mode.
4065 (Buffer-menu-buffer+size-width): Make obsolete.
4066 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4067 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4068 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4069 documentation into docstring of buffer-menu.
4070 (Buffer-menu-toggle-files-only): Add an informative message.
4071 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4072 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4073 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4074 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4075 (Buffer-menu-execute, Buffer-menu-select)
4076 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4077 (Buffer-menu-bury): Use Tabulated List machinery.
4078 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4079 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 4080 Delete.
e5f9458f
CY
4081 (list-buffers--refresh): New function.
4082 (list-buffers-noselect): Use it.
4083 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4084 (Buffer-menu--pretty-file-name): New helper functions.
4085
4086 * loadup.el: Preload tabulated-list.
4087
4088 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4089 tabulated-list-sort-column.
4090 (tabulated-list-init-header): Add the initial aligning space even
4091 if tabulated-list-padding is zero.
4092
e129292c
CS
40932012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4094
4095 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4096 whose cdr is not a cons cell correctly (bug#11038).
4097
6632d361
CY
40982012-05-06 Chong Yidong <cyd@gnu.org>
4099
e129292c
CS
4100 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4101 Accept additional plist in column descriptors.
6632d361
CY
4102 (tabulated-list-init-header): Obey it.
4103 (tabulated-list-get-entry): New function.
4104 (tabulated-list-put-tag): Use it. Use string-width instead of
4105 length.
4106 (tabulated-list--column-number): New function.
4107 (tabulated-list-print): Use it.
e129292c
CS
4108 (tabulated-list-print-col): New function.
4109 Set `tabulated-list-column-name' property on each column's text.
6632d361 4110 (tabulated-list-print-entry): Use it.
e129292c
CS
4111 (tabulated-list-delete-entry, tabulated-list-set-col):
4112 New functions.
6632d361
CY
4113 (tabulated-list-sort-column): New command (Bug#11337).
4114
3cc99f68
CY
4115 * buff-menu.el (list-buffers): Move C-x C-b binding from
4116 buff-menu.el to bindings.el.
4117
4118 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4119 :advertised-binding feature.
4120
52b61776
TN
41212012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4122
4123 * progmodes/compile.el (compilation-internal-error-properties):
4124 Calculate start position correctly when end-col is set but
4125 end-line is not (Bug#11382).
4126
ebfe2597
WJ
41272012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4128
4129 * man.el (Man-unindent): Use text-property-default-nonsticky to
4130 prevent untabify from inheriting face properties (Bug#11408).
4131
6d3f7c2f
SM
41322012-05-05 Stefan Merten <smerten@oekonux.de>
4133
4134 * textmodes/rst.el: Major merge with upstream development up to
4135 Docutils SVN r7399 / rst.el V1.2.1.
4136
4137 Clarify maintainership and authors.
4138
4139 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4140 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4141 (rst-official-version, rst-official-cvs-rev, rst-version)
4142 (rst-package-emacs-version-alist): New functions and variables
4143 for version information.
4144
4145 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4146 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4147 (rst-mode-syntax-table, rst-mode): New and corrected functions
4148 and variables representing reStructuredText features.
4149
4150 (rst-re): New function for reStructuredText regexes. Use in
4151 many places.
4152
4153 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4154 (rst-mode-map): Rebind keys.
4155
4156 (rst-mode-lazy, rst-font-lock-keywords)
4157 (rst-font-lock-extend-region)
4158 (rst-font-lock-extend-region-internal)
4159 (rst-font-lock-extend-region-extend)
4160 (rst-font-lock-find-unindented-line-limit)
4161 (rst-font-lock-find-unindented-line-match)
4162 (rst-adornment-level, rst-font-lock-adornment-level)
4163 (rst-font-lock-adornment-match)
4164 (rst-font-lock-handle-adornment-pre-match-form)
4165 (rst-font-lock-handle-adornment-matcher): Major revision of
4166 font-locking. Integrate with other code. Use `jit-lock-mode'.
4167
4168 (rst-preferred-adornments, rst-adjust-hook)
4169 (rst-new-adornment-down, rst-preferred-bullets)
4170 (rst-preferred-bullets, rst-indent, rst-indent-width)
4171 (rst-indent-field, rst-indent-literal-normal)
4172 (rst-indent-literal-minimized, rst-indent-comment): Change,
4173 extend and improve customization.
4174
4175 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4176 (rst-normalize-cursor-position, rst-get-decoration)
4177 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4178 (rst-rstrip, rst-toc-insert-find-delete-contents)
4179 (rst-shift-fill-region, rst-compute-bullet-tabs)
4180 (rst-debug-print-tabs, rst-debug-mark-found)
4181 (rst-shift-region-guts, rst-shift-region-right)
4182 (rst-shift-region-left, rst-use-char-classes)
4183 (rst-font-lock-keywords-function)
4184 (rst-font-lock-indentation-point)
4185 (rst-font-lock-find-unindented-line-begin)
4186 (rst-font-lock-find-unindented-line-end)
4187 (rst-font-lock-find-unindented-line)
4188 (rst-font-lock-adornment-point, rst-font-lock-level)
4189 (rst-adornment-level-alist): Remove functions and variables.
4190
4191 (rst-compare-adornments, rst-get-adornment-match)
4192 (rst-suggest-new-adornment, rst-get-adornments-around)
4193 (rst-adornment-complete-p, rst-get-next-adornment)
4194 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4195 (rst-straighten-adornments): Standardize function names to
4196 use "adornment" instead of "decoration". Correct callers.
4197 Similar standardizing in many places.
4198
4199 (rst-update-section, rst-adjust, rst-promote-region)
4200 (rst-enumerate-region, rst-bullet-list-region)
4201 (rst-repeat-last-character): Correct use of `interactive'.
4202
4203 (rst-classify-adornment, rst-find-all-adornments)
4204 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4205 (rst-find-leftmost-column, rst-repeat-last-character):
4206 Refactor functions.
4207
4208 (rst-find-title-line, rst-reset-section-caches)
4209 (rst-get-adornments-around, rst-adjust-adornment-work)
4210 (rst-arabic-to-roman, rst-roman-to-arabic)
4211 (rst-insert-list-pos, rst-insert-list-new-item)
4212 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4213 New functions.
4214
4215 (rst-all-sections, rst-section-hierarchy)
4216 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4217 New variables.
4218
4219 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4220 configuration instead of only buffer. Change where necessary.
4221
4222 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4223 (rst-shift-region, rst-adaptive-fill): New functions for
4224 indentation and filling.
4225
4226 (rst-comment-line-break, rst-comment-indent)
4227 (rst-comment-insert-comment, rst-comment-region)
4228 (rst-uncomment-region): New functions for handling comments.
4229
4230 (rst-compile): Quote shell arguments.
4231
4232 (rst-compile-pdf-preview, rst-compile-slides-preview):
4233 Delete temporary files after use.
4234
a43f98b3
GM
42352012-05-05 Glenn Morris <rgm@gnu.org>
4236
48176e8b
GM
4237 * calendar/cal-html.el: Optionally include holidays in the output.
4238 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4239 (cal-html-holidays): New option.
4240 (cal-html-css-default): Add holiday entry.
4241 (holiday-in-range): Autoload it.
4242 (cal-html-htmlify-entry): Add optional class argument.
4243 (cal-html-htmlify-list): Add optional holidays argument.
4244 (cal-html-insert-agenda-days): Include holidays in the output.
4245 (cal-html-one-month): Maybe include holidays.
4246
a43f98b3
GM
4247 * calendar/holidays.el (holiday-in-range):
4248 Move here from cal-tex-list-holidays.
4249 * calendar/cal-tex.el (cal-tex-list-holidays):
4250 Make it an obsolete alias for holiday-in-range. Update all callers.
4251
fef9d149 42522012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4253
4254 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4255 Nextstep.
4256
248da2f4
RW
42572012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4258
4259 * files.el (file-auto-mode-skip): New var.
4260 (set-auto-mode-1): Use it.
4261
f95e9344
SM
42622012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4263
df96ab1e
SM
4264 * repeat.el: Use lexical-binding.
4265 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4266 (repeat-undo-count): Remove.
4267 (repeat):
4268 * progmodes/octave-mod.el (octave-abbrev-start):
4269 * progmodes/f90.el (f90-abbrev-start):
4270 * face-remap.el (text-scale-adjust):
4271 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4272
5342bb06
SM
4273 * emacs-lisp/pcase.el (pcase--let*): New function.
4274 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4275 a bit more.
4276 (pcase--split-pred): Be more clever about ruling out overlap between
4277 a predicate and some constant pattern.
4278 (pcase--q1): Use `null' instead of (eq foo nil).
4279
f95e9344
SM
4280 * subr.el (setq-local, defvar-local): New macros.
4281 (kbd): Redefine as an alias.
4282 (with-selected-window): Leave unrelated frames alone.
4283 (set-temporary-overlay-map): New function.
4284
71873e2b
SM
42852012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4286
4287 * subr.el (user-error): New function.
4288 * window.el (switch-to-buffer):
4289 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4290 (smerge-match-conflict):
4291 * simple.el (previous-matching-history-element)
4292 (next-matching-history-element, goto-history-element, undo-more)
4293 (undo-start):
4294 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4295 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4296 (next-file, tags-loop-scan, list-tags, complete-tag):
4297 * progmodes/compile.el (compilation-loop):
4298 * mouse.el (mouse-minibuffer-check):
4299 * man.el (Man-bgproc-sentinel, Man-goto-page):
4300 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4301 (Info-history-forward, Info-follow-reference, Info-menu)
4302 (Info-extract-menu-item, Info-extract-menu-counting)
4303 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4304 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4305 (Info-next-reference, Info-prev-reference, Info-index)
4306 (Info-index-next, Info-follow-nearest-node)
4307 (Info-copy-current-node-name):
4308 * imenu.el (imenu--make-index-alist)
4309 (imenu-default-create-index-function, imenu-add-to-menubar):
4310 * files.el (basic-save-buffer, recover-file):
4311 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4312 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4313 (checkdoc-message-text, checkdoc-defun):
4314 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4315 * cus-edit.el (customize-changed-options, customize-rogue)
4316 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4317 (custom-variable-mark-to-reset-standard)
4318 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4319 (custom-file):
4320 * completion.el (check-completion-length):
4321 * comint.el (comint-search-arg)
4322 (comint-previous-matching-input-string-position)
4323 (comint-previous-matching-input)
4324 (comint-replace-by-expanded-history-before-point, comint-send-input)
4325 (comint-copy-old-input, comint-backward-matching-input)
4326 (comint-goto-process-mark, comint-set-process-mark):
4327 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4328 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4329
8a61ee22
SM
43302012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4331
66408d1e
SM
4332 * dabbrev.el (dabbrev--ignore-case-p): New function.
4333 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4334 Use it.
4335
8a61ee22
SM
4336 * files.el (automount-dir-prefix): Mark as obsolete.
4337
3c74813a
GM
43382012-05-04 Glenn Morris <rgm@gnu.org>
4339
4340 * patcomp.el, play/bruce.el: Move to obsolete/.
4341
0bfcf5c5
PE
43422012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4343
4344 Fix minor Y10k bugs.
4345 * arc-mode.el (archive-unixdate):
4346 * autoinsert.el (auto-insert-alist):
4347 * calc/calc-forms.el (math-this-year):
4348 * emacs-lisp/copyright.el (copyright-current-year)
4349 (copyright-update-year, copyright):
4350 * tar-mode.el (tar-clip-time-string):
4351 * time.el (display-time-update):
4352 Don't assume years have 4 digits.
4353
78f3273a
CY
43542012-05-04 Chong Yidong <cyd@gnu.org>
4355
4356 * dos-w32.el (file-name-buffer-file-type-alist)
4357 (direct-print-region-use-command-dot-com):
4358 * ffap.el (ffap-menu-regexp):
4359 * find-file.el (ff-special-constructs):
4360 * follow.el (follow-debug):
4361 * forms.el (forms--debug):
4362 * iswitchb.el (iswitchb-all-frames):
4363 * ido.el (ido-all-frames):
4364 * emacs-lisp/timer.el (timer-max-repeats):
4365 * mail/feedmail.el (feedmail-mail-send-hook)
4366 (feedmail-mail-send-hook-queued):
4367 * mail/footnote.el (footnote-signature-separator):
4368 * mail/mailabbrev.el (mail-alias-separator-string)
4369 (mail-abbrev-mode-regexp):
4370 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4371 * progmodes/idlwave.el (idlwave-libinfo-file)
4372 (idlwave-default-completion-case-is-down)
4373 (idlwave-library-routines): Convert defvars to defcustoms.
4374
4375 * mail/rmail.el (rmail-decode-mime-charset):
4376 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4377 (idlwave-shell-fix-inserted-breaks)
4378 (idlwave-shell-activate-alt-keybindings)
4379 (idlwave-shell-use-breakpoint-glyph):
4380 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4381
f7ae6719
SM
43822012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4383
4384 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4385
47086495
WS
43862012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4387
4388 * progmodes/verilog-mode.el (font-lock-keywords):
4389 Fix mis-highligting auto. Reported by Craig Barner.
4390 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4391 defines from global name space. Reported by Dan Dever.
4392 (verilog-auto-reset, verilog-auto-reset-widths)
4393 (verilog-auto-tieoff): Support using unbased numbers for
4394 AUTORESET and AUTOTIEOFF.
4395 (verilog-submit-bug-report): Update variable list.
4396 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4397 parenthesis from not matching. Reported by Michael Rytting.
4398 (verilog-auto-template-lint): Fix hash error when linting modules
4399 with no used templates.
4400 (verilog-warn, verilog-warn-error)
4401 (verilog-warn-fatal): When non-interactive report multiple
4402 warnings before exiting. Suggested by Brad Dobbie.
4403 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4404 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4405 to report unused template errors. Reported by Brad Dobbie.
4406 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4407 nets, bug438. Reported by Vns Blore.
4408 (verilog-auto-inout-module, verilog-auto-reg)
4409 (verilog-read-decls, verilog-read-sub-decls-sig)
4410 (verilog-signals-edit-wire-reg, verilog-signals-with):
4411 Fix passing of Verilog data types in ANSI input/output ports
4412 such as "output logic" into the AUTOs. Special case "wire" and
4413 "reg" for backwards compatibility presuming Verilog 2001.
4414 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4415 (verilog-preprocess): Fix replication of preprocess output.
4416 Reported by Brad Dobbie.
4417 (verilog-auto-inst-interfaced-ports):
4418 Create verilog-auto-inst-interfaced-ports, bug429.
4419 Reported by Julian Gorfajn.
4420 (verilog-after-save-font-hook)
4421 (verilog-before-save-font-hook): New variable.
4422 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4423 (verilog-save-font-mods): Wrap disabling fontification, reported
4424 by David Rogoff.
4425 (verilog-do-indent, verilog-pretty-declarations-auto)
4426 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4427 Reported by Pierre-David Pfister.
4428 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4429 of class declarations, bug292. Reported by Kevin Heilman.
4430 (verilog-read-decls): Fix 'parameter type' not appearing in
4431 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4432 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4433 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4434 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4435 Reported by David Kravitz.
4436
44372012-05-03 Michael McNamara <mac@mail.brushroad.com>
4438
4439 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4440 assignment with tests in ifs and for loops.
4441 (verilog-extended-complete-re, verilog-complete-reg): Change so
4442 that DPI inport functions don't look like fuction declarations.
4443 (verilog-pretty-expr): Don't line up assignment
4444 operations to the test and increment in if and for loops
4445 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4446 that DPI inport functions don't look like fuction declarations.
47086495 4447
2e51d4b5
KH
44482012-05-03 Kenichi Handa <handa@m17n.org>
4449
4450 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4451 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4452 (Bug#11282).
4453
2bd785a2
SM
44542012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4455
4456 * emacs-lisp/bytecomp.el
4457 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4458 since cconv.el might have introduced :fun-body, internal-make-closure,
4459 and friends for bytecomp to handle (bug#11391).
4460 * custom.el (defcustom): Avoid ((λ ..) ..).
4461
99d27583
SM
44622012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4465
55a71479
JB
44662012-05-02 Juanma Barranquero <lekktu@gmail.com>
4467
4468 * notifications.el (dbus-debug):
4469 * term/linux.el (gpm-mouse-enable):
4470 * term/screen.el (xterm-register-default-colors): Declare.
4471
7b97c764
CY
44722012-05-02 Chong Yidong <cyd@gnu.org>
4473
2bc356d7
CY
4474 * cus-start.el (gc-cons-percentage, exec-suffixes)
4475 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4476 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4477 (make-cursor-line-fully-visible, void-text-area-pointer)
4478 (font-list-limit): Add customization data.
4479
7b97c764
CY
4480 * allout.el (allout-exposure-change-functions)
4481 (allout-structure-added-functions)
4482 (allout-structure-deleted-functions)
4483 (allout-structure-shifted-functions): Rename abnormal hooks from
4484 *-hook, and convert to defcustoms.
5d3385a0
JB
4485 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4486 Convert to defcustoms.
7b97c764
CY
4487 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4488
4489 * allout-widgets.el: Hook callers changed.
4490
90207a15 44912012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4492
4493 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4494 the yanked message in preference to the default value of
4495 buffer-file-coding-system.
4496
90207a15 44972012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4498
5d3385a0
JB
4499 * window.el (display-buffer--action-function-custom-type):
4500 Fix entry.
d9558cad 4501
90207a15 45022012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4503
4504 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4505
d80ac57b
GM
45062012-05-01 Glenn Morris <rgm@gnu.org>
4507
976f7668
GM
4508 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4509
beb83b5a
GM
4510 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4511
d80ac57b
GM
4512 * cus-edit.el (custom-variable-documentation): Simplify with format.
4513
b593d6a9 45142012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4515 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4516
4517 * simple.el (suggest-key-bindings, execute-extended-command):
4518 Move from keyboard.c.
4519
782fbf2a
CY
45202012-05-01 Chong Yidong <cyd@gnu.org>
4521
4522 * follow.el: Eliminate advice.
4523 (set-process-filter, process-filter, sit-for): Advice deleted.
4524 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4525 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4526 Vars deleted.
782fbf2a
CY
4527 (follow-auto): Use a :set function.
4528 (follow-mode): Rewritten. Don't advise process filters.
4529 (follow-switch-to-current-buffer-all, follow-scroll-up)
4530 (follow-scroll-down): Assume follow-mode is bound.
4531 (follow-comint-scroll-to-bottom)
4532 (follow-align-compilation-windows): New functions.
4533 (follow--window-sorter): New function.
4534 (follow-all-followers): Use it to explicitly sort windows by their
4535 positions; don't make assumptions about next-window order.
4536 (follow-windows-start-end, follow-delete-other-windows-and-split)
4537 (follow-calc-win-start): Doc fix.
4538 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4539 vertical-motion unnecessarily.
4540 (follow-adjust-window): New function.
4541 (follow-post-command-hook): Use it.
4542 (follow-call-set-process-filter, follow-call-process-filter)
4543 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4544 (follow-stop-intercept-process-output, follow-generic-filter):
4545 Functions deleted.
4546 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4547 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4548 New functions, replacing advice on scroll-bar-* commands.
87233a14 4549 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4550
4551 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4552 (comint-postoutput-scroll-to-bottom): Use it.
4553 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4554
290af740
GM
45552012-05-01 Glenn Morris <rgm@gnu.org>
4556
4557 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4558 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4559 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4560 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4561 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4562 Remove no-byte-compile setting.
4563
6eac8dc9
SM
45642012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4565
4566 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4567 all-completions code to not return a number in the last cdr.
4568
9cc7819c
LL
45692012-04-30 Leo Liu <sdl.web@gmail.com>
4570
4571 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4572 read-only error.
4573
c93b886f
CY
45742012-04-29 Chong Yidong <cyd@gnu.org>
4575
4576 * follow.el (follow-calc-win-end): Rewrite to handle partial
4577 screen lines correctly (Bug#8390).
4578 (follow-avoid-tail-recenter): Minor cleanup.
4579
8b6c19f4
SM
45802012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4581
4582 Avoid the obsolete `assoc' package.
4583 * speedbar.el (speedbar-refresh): Avoid adelete.
4584 (speedbar-file-lists): Simplify and avoid aput.
4585 * man.el (Man--sections, Man--refpages): New vars, replacing
4586 Man-sections-alist and Man-refpages-alist.
4587 (Man-build-section-alist, Man-build-references-alist):
4588 Use them; avoid aput.
4589 (Man--last-section, Man--last-refpage): New vars.
4590 (Man-follow-manual-reference): Use them.
4591 Use the `default' arg of completing-read.
4592 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4593
c5bb7569
CY
45942012-04-27 Chong Yidong <cyd@gnu.org>
4595
d1d2e2e8
CY
4596 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4597
15cd8efd
CY
4598 * startup.el (x-apply-session-resources): New function.
4599
4600 * term/ns-win.el (ns-initialize-window-system):
4601 * term/w32-win.el (w32-initialize-window-system):
4602 * term/x-win.el (x-initialize-window-system): Use it to properly
4603 set menu-bar-mode and other vars from X resources, even if the
4604 initial frame is not a window-system frame (Bug#2299).
4605
c5bb7569
CY
4606 * subr.el (read-key): Avoid running filter function when setting
4607 up temporary tool bar entries (Bug#9922).
4608
a8e7d6d7 46092012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4610
4611 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4612 (Bug#11344)
4613
a8e7d6d7 46142012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4615
4616 * select.el (xselect--encode-string): New function, split from
4617 xselect-convert-to-string.
4618 (xselect-convert-to-string): Use it.
4619 (xselect-convert-to-filename, xselect-convert-to-os)
4620 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4621 returned strings are properly encoded (Bug#11315).
4622
a8e7d6d7 46232012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4624
4625 * simple.el (delete-active-region): Move to killing custom group.
4626
a8e7d6d7 46272012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4628
4629 * progmodes/which-func.el (which-func-current): Quote %
4630 characters for mode-line processing.
4631
578c1d4b 46322012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4633
4634 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4635 reaching eob (Bug#11286).
4636
a8e7d6d7 46372012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4638
4639 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4640 (gdb): Make it buffer-local and init to zero.
4641 (gdb-control-commands-regexp): New variable.
4642 (gdb-send): Don't wrap in "-interpreter-exec console" if
4643 gdb-control-level is positive. Increment gdb-control-level
4644 whenever the command matches gdb-control-commands-regexp, and
4645 decrement it each time the command is "end". (Bug#11279)
4646
a8e7d6d7 46472012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4648
4649 * window.el (adjust-window-trailing-edge, enlarge-window)
4650 (shrink-window, window-resize):
4651 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4652 windows (Bug#11276).
4653
b3608390
CY
46542012-04-27 Chong Yidong <cyd@gnu.org>
4655
4656 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4657 fix "missing prefix" warning. All callers changed.
b3608390 4658
797e6e88
SM
46592012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4660
4661 * emacs-lisp/assoc.el: Move to obsolete/.
4662
e95a67dc
SM
46632012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4664
657c21e4 4665 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4666
4667 * term/ns-win.el (ns-define-service):
4668 * progmodes/pascal.el (pascal-goto-defun):
4669 * progmodes/js.el (js--read-tab):
4670 * progmodes/etags.el (tags-lazy-completion-table):
4671 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4672 * emacs-lisp/ewoc.el (ewoc--wrap):
4673 * emacs-lisp/assoc.el (aput, adelete, amake):
4674 * doc-view.el (doc-view-convert-current-doc):
4675 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4676
cb3e7ae0
CY
46772012-04-26 Chong Yidong <cyd@gnu.org>
4678
dce04f7f
CY
4679 * image.el (image-type-from-buffer): Only return supported image
4680 type (Bug#9045).
4681
cb3e7ae0
CY
4682 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4683 value, for symmetry with diff-end-of-hunk.
4684 (diff-split-hunk, diff-find-source-location)
4685 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4686 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4687 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4688 compute the relevant hunk or file properly (Bug#6005).
4689 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4690
0d42eb3e
SM
46912012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4692
4693 * vc/vc-mtn.el:
4694 * vc/vc-hg.el:
4695 * vc/vc-git.el:
4696 * vc/vc-dir.el:
4697 * vc/vc-cvs.el:
4698 * vc/vc-bzr.el:
4699 * vc/vc-arch.el:
4700 * vc/vc.el: Replace lexical-let by lexical-binding.
4701 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4702 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4703 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4704
f08ae1c9
CY
47052012-04-26 Chong Yidong <cyd@gnu.org>
4706
8b71081d
CY
4707 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4708 (diff-mode-shared-map): Bind it to / and [remap undo].
4709
f08ae1c9
CY
4710 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4711 (ediff-window-setup-function): Use it as the default, to set up
4712 windows based on whether the current frame is graphical (Bug#2138).
4713 (ediff-choose-window-setup-function-automatically): Make obsolete.
4714
4715 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4716
ef24141c
SM
47172012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4718
cc356a5d
SM
4719 * ffap.el: Remove old code for obsolete package.
4720 (ffap-complete-as-file-p): Remove.
4721
b4ff4f1f
SM
4722 Use completion-table-with-quoting for comint and pcomplete.
4723 * comint.el (comint--unquote&requote-argument)
4724 (comint--unquote-argument, comint--requote-argument): New functions.
4725 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4726 (comint-quote-filename): Use regexp-opt-charset.
4727 (comint--common-suffix, comint--common-quoted-suffix)
4728 (comint--table-subvert): Remove.
4729 (comint-unquote-function, comint-requote-function): New vars.
4730 (comint--complete-file-name-data): Use them with
4731 completion-table-with-quoting.
4732 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4733 * pcomplete.el (pcomplete-arg-quote-list)
4734 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4735 (pcomplete-unquote-argument-function): Default to non-nil.
4736 (pcomplete-unquote-argument): Simplify.
4737 (pcomplete--common-quoted-suffix): Remove.
4738 (pcomplete-requote-argument-function): New var.
4739 (pcomplete--common-suffix): New function.
4740 (pcomplete-completions-at-point): Use completion-table-with-quoting
4741 and completion-table-subvert.
4742
79c4eeb4
SM
4743 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4744 (minibuffer--double-dollars): Preserve properties.
4745 (completion--sifn-requote): New function.
4746 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4747
ef24141c
SM
4748 * minibuffer.el: Add support for completion of quoted/escaped data.
4749 (completion-table-with-quoting, completion-table-subvert): New funs.
4750 (completion--twq-try, completion--twq-all): New functions.
4751 (completion--nth-completion): New function.
4752 (completion-try-completion, completion-all-completions): Use it.
4753
784e7d6e
LL
47542012-04-25 Leo Liu <sdl.web@gmail.com>
4755
dd2ac746
SM
4756 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4757 Use compilation-message if available to find real filename.
784e7d6e 4758
07875ee7
CY
47592012-04-25 Chong Yidong <cyd@gnu.org>
4760
4761 * vc/diff-mode.el (diff-setup-whitespace): New function.
4762 (diff-mode): Use it.
4763
4764 * vc/diff.el (diff-sentinel):
4765 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4766 Whitespace mode variables based on diff style (Bug#8612).
4767
5055880d
LL
47682012-04-25 Leo Liu <sdl.web@gmail.com>
4769
daf75653
LL
4770 * progmodes/python.el (python-send-region): Add suffix .py to the
4771 temp file.
4772
5055880d
LL
4773 * files.el (auto-mode-alist): Use javascript-mode instead.
4774
db9b177b
AH
47752012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4776
ef24141c 4777 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4778
090bd7cb 4779 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4780 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4781 references, see Bug#9.
ef24141c 4782 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4783 when receiving a fault reply.
ef24141c 4784 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4785
090bd7cb 4786 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4787 (soap-inspect-simple-type): New function.
db9b177b 4788
090bd7cb 4789 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4790 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4791 (soap-decode-basic-type, soap-encode-basic-type):
4792 support unsignedInt and double basic types.
db9b177b 4793 (soap-resolve-references-for-simple-type)
ef24141c
SM
4794 (soap-parse-simple-type, soap-encode-simple-type): New function.
4795 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4796
090bd7cb 4797 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4798 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4799 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4800 the local name of "soapenc:Array".
4801 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4802 decoding integer, byte and anyURI xsd types.
4803
1fc6097b
CY
48042012-04-25 Chong Yidong <cyd@gnu.org>
4805
4806 * cus-edit.el (custom-buffer-create-internal): Update header text.
4807
afc6df87
EZ
48082012-04-25 Eli Zaretskii <eliz@gnu.org>
4809
4810 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4811 settings on 'system-type', not on 'window-system'. On MS-Windows,
4812 set interactive-mode on in GDB.
4813
dfbd787f
SM
48142012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4815
4816 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4817 (ruby-syntax-propertize-regexp): Remove.
4818 (ruby-syntax-propertize-function): Split regexp into chunks.
4819 Match following code directly.
4820
85222d44
DG
48212012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4822
51a8ea2a
DG
4823 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4824 (ruby-syntax-propertize-regexp): New function.
4825 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4826 by a special keyword.
4827
85222d44
DG
4828 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4829 (ruby-syntax-general-delimiters-goto-beg)
4830 (ruby-syntax-propertize-general-delimiters): New functions.
4831 (ruby-syntax-propertize-function): Use them to handle GDL.
4832 (ruby-font-lock-keywords): Move old handling of GDL...
4833 (ruby-font-lock-syntactic-keywords): .. to here.
4834 (ruby-calculate-indent): Adjust indentation for GDL.
4835
b613912b
MA
48362012-04-24 Michael Albinus <michael.albinus@gmx.de>
4837
b5380639
MA
4838 * notifications.el (top): Remove unneeded declarations.
4839 (notifications-specification-version): Change to "1.2".
e43042fe 4840 (notifications-interface, notifications-notify-method)
b613912b
MA
4841 (notifications-close-notification-method): Fix docstring.
4842 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4843 (notifications-notify): Add :action-items, :resident and
4844 :transient hints. Change "image_data" to "image-data" and
4845 "image_path" to "image-path".
b613912b
MA
4846 (notifications-get-capabilities): New defun.
4847
257440aa
LL
48482012-04-24 Leo Liu <sdl.web@gmail.com>
4849
4850 * progmodes/python.el: Move hideshow setup to the end.
4851
b1bac16e
MR
48522012-04-24 Martin Rudalics <rudalics@gmx.at>
4853
4854 * window.el (handle-select-window): Clear echo area since this is
4855 no more done by read_char (Bug#11304).
4856
d81bd059
SM
48572012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4858
4859 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4860 and `/ M' to filter-derived-mode.
4861 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4862 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4863 (ibuffer-mark-by-mode): Use default rather than initial-input.
4864 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4865
c4cf6d91
IA
48662012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4867
4868 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4869 (ibuffer-filter-by-derived-mode): New filter.
4870 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4871
7511ded8
CY
48722012-04-23 Andreas Politz <politza@fh-trier.de>
4873
4874 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4875
775c916b
CY
48762012-04-23 Chong Yidong <cyd@gnu.org>
4877
4878 * cus-edit.el (customize-apropos, customize-apropos-options):
4879 Disable matching of non-option variables (Bug#11176).
4880 (customize-option, customize-option-other-window)
4881 (customize-changed-options): Doc fix.
4882 (customize-apropos-options, customize-apropos-faces)
4883 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4884
4885 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4886 Fix word list splitting (Bug#11132).
46c71e23
CY
4887 (apropos-symbol, apropos-keybinding, apropos-label)
4888 (apropos-property, apropos-function-button)
4889 (apropos-variable-button, apropos-misc-button): New faces.
4890 (apropos-symbol-face, apropos-keybinding-face)
4891 (apropos-label-face, apropos-property-face, apropos-match-face):
4892 Variables removed (Bug#8396).
4893 (apropos-library-button, apropos-format-plist, apropos-print)
4894 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4895
2df41f9c
MA
48962012-04-23 Michael Albinus <michael.albinus@gmx.de>
4897
4898 * net/xesam.el (xesam-mode-map): Use let-bound map in
4899 initialization. (Bug#11292)
4900
da00640a
AM
49012012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4902
4903 Preserve ispell session localwords when switching back to
4904 original buffer.
4905
090bd7cb
JB
4906 * textmodes/ispell.el (ispell-buffer-session-localwords):
4907 New buffer-local variable to hold buffer session localwords.
ed9265fc 4908 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4909 localwords.
4910 (ispell-command-loop, ispell-change-dictionary)
4911 (ispell-buffer-local-words): Preserve session localwords when
4912 needed.
4913
090bd7cb
JB
4914 * textmodes/flyspell.el (flyspell-process-localwords)
4915 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4916
f621ccf5
AM
49172012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4918
090bd7cb
JB
4919 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4920 using obsolete `translation-table-for-input'.
ef24141c
SM
4921 (ispell-word, ispell-process-line, ispell-complete-word):
4922 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4923
c2d1019e
CY
49242012-04-22 Chong Yidong <cyd@gnu.org>
4925
4926 * cus-edit.el (custom-variable-menu)
4927 (custom-variable-reset-saved, custom-face-menu)
4928 (custom-face-reset-saved): If there is no saved value, make the
4929 "reset-saved" operation bring back the default (Bug#9509).
4930 (custom-face-state): Properly detect themed faces.
4931
eeddc531
CY
4932 * faces.el (face-spec-set): Stop supporting deprecated form of
4933 third arg.
4934
dcbf5805
MA
49352012-04-22 Michael Albinus <michael.albinus@gmx.de>
4936
4937 Move functions from C to Lisp. Make non-blocking method calls
4938 the default. Implement further D-Bus standard interfaces.
4939
ef24141c
SM
4940 * net/dbus.el (dbus-message-internal): Declare function.
4941 Remove unneeded function declarations.
dcbf5805
MA
4942 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4943 (dbus-message-type-method-return, dbus-message-type-error)
4944 (dbus-message-type-signal): Declare variables. Remove local
4945 definitions.
4946 (dbus-interface-dbus, dbus-interface-peer)
4947 (dbus-interface-introspectable, dbus-interface-properties)
4948 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4949 Adapt docstring.
4950 (dbus-interface-objectmanager): New defconst.
4951 (dbus-call-method, dbus-call-method-asynchronously)
4952 (dbus-send-signal, dbus-method-return-internal)
4953 (dbus-method-error-internal, dbus-register-service)
4954 (dbus-register-signal, dbus-register-method): New defuns, moved
4955 from dbusbind.c
4956 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4957 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4958 New defuns.
dcbf5805
MA
4959 (dbus-call-method-non-blocking): Make it an obsolete function.
4960 (dbus-unregister-object, dbus-unregister-service)
4961 (dbus-handle-event, dbus-register-property)
4962 (dbus-property-handler): Obey the new structure of
4963 `bus-registered-objects'.
4964 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4965 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4966 Use `dbus-call-method'.
4967
cf20dee0
CY
49682012-04-22 Chong Yidong <cyd@gnu.org>
4969
4970 * cus-edit.el (custom-commands, custom-reset-menu)
4971 (Custom-reset-standard): Tweak labels.
4972 (custom-reset-button-menu): Change default to t.
4973 (custom-buffer-create-internal): For the custom-reset-button-menu
4974 case, put the revert button first.
4975 (custom-group-subtitle): New face.
4976 (custom-group-value-create): Align docstring to a specific column.
4977
4978 * wid-edit.el (widget-documentation-link-add): Don't handle
4979 indentation in this function.
4980 (widget-documentation-string-indent-to): New function.
4981 (widget-documentation-string-value-create): Use it.
4982
4983 * autorevert.el (auto-revert):
4984 * epg-config.el (epg):
4985 * ibuffer.el (ibuffer):
4986 * mpc.el (mpc):
4987 * ses.el (ses):
4988 * eshell/eshell.el (eshell):
4989 * net/ange-ftp.el (ange-ftp):
4990 * progmodes/ebnf2ps.el (postscript):
4991 * progmodes/flymake.el (flymake):
4992 * progmodes/prolog.el (prolog):
4993 * progmodes/verilog-mode.el (verilog-mode):
4994 * progmodes/which-func.el (which-func):
4995 * term/xterm.el (xterm):
4996 * textmodes/picture.el (picture):
4997 * textmodes/tildify.el (tildify):
4998 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4999 customization buffers.
5000
583e23bd
AM
50012012-04-22 Alan Mackenzie <acm@muc.de>
5002
5003 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5004 Adding a ) can hide the resulting (..) from searches. Fix it.
5005 Bound the backward search to the position of the existing (.
5006
7dd51bf1
JB
50072012-04-21 Juanma Barranquero <lekktu@gmail.com>
5008
5009 * progmodes/verilog-mode.el (verilog-mode): Check whether
5010 which-func-modes is t before adding verilog-mode.
5011 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5012
d64a438f
LL
50132012-04-21 Leo Liu <sdl.web@gmail.com>
5014
7dd51bf1 5015 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 5016
081e8d65
MV
50172012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5018
5019 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5020 filling of the last column of a table (Bug#5635).
5021 (woman-find-next-control-line): New arg, specifying an additional
5022 regexp component for the control line.
5023 (woman2-roff-buffer): Use it.
5024 (woman-break-table): New function.
5025 (woman2-TS): Use it.
5026
50272012-04-21 Chong Yidong <cyd@gnu.org>
5028
5029 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5030 (woman-horizontal-escapes, woman-negative-vertical-space)
5031 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5032 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5033
ed571ccb
SM
50342012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5035
5036 * minibuffer.el (completion-file-name-table): Complete user names.
5037
39773899
LL
50382012-04-20 Leo Liu <sdl.web@gmail.com>
5039
5040 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5041 and pcase-let*.
5042
de6ff46d
CY
50432012-04-20 Chong Yidong <cyd@gnu.org>
5044
5045 * server.el (server-execute): Respect initial-buffer-choice if it
5046 is a string and there are no files to open (Bug#2825).
5047 (server-create-window-system-frame, server-create-tty-frame):
5048 Don't switch buffers here.
2d0e8e61
CY
5049 (server-process-filter): Only try to open a window system frame if
5050 compiled with graphical support (Bug#8314).
de6ff46d 5051
54071013
DN
50522012-04-20 Dan Nicolaescu <dann@gnu.org>
5053
5054 * battery.el (battery-echo-area-format): Display remaining time
5055 for sysfs backend too (Bug#11269).
5056 (battery-linux-sysfs): Fix conditional for the charge.
5057
f30d612a
CY
50582012-04-20 Chong Yidong <cyd@gnu.org>
5059
c07a4c0b 5060 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
5061 (gdb-inferior-io--init-proc): New function.
5062 (gdb-init-1): Use it.
5063 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5064 responsible for allocating a new pty and hooking it to gdb when
5065 the old pty gets an EIO due to process exit.
5066 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5067 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5068 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5069
2116e93c
EZ
50702012-04-20 Eli Zaretskii <eliz@gnu.org>
5071
5072 * window.el (window-min-size, window-sizable, window-min-delta)
5073 (window-max-delta, window--resizable, window-resizable)
5074 (window-total-size, window-full-height-p, window-full-width-p)
5075 (window-in-direction, window--resize-mini-window, window-resize)
5076 (window--resize-child-windows-normal)
5077 (window--resize-child-windows, window--resize-siblings)
5078 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 5079 (enlarge-window, shrink-window): Doc fixes.
2116e93c 5080
c07a4c0b 50812012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 5082
ef24141c
SM
5083 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5084 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
5085 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5086 pty process (Bug#11273).
5087 (gdb-update): New arg to suppress talking to the gdb process.
5088 (gdb-done-or-error): Use it.
5089 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5090 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5091 sentinel not being called.
5092
5093 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5094
d02766ab
CY
5095 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5096
c07a4c0b 50972012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
5098
5099 * net/network-stream.el (open-network-stream): Doc fix.
5100
c07a4c0b 51012012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
5102
5103 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5104
c07a4c0b 51052012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
5106
5107 Ensure searching for keywords is case sensitive.
5108
5109 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5110 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5111 (c-defun-name, c-mark-function, c-cpp-define-name)
5112 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 5113 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 5114
ef24141c
SM
5115 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5116 Bind case-fold-search to nil.
f0f6bc35 5117
c07a4c0b 51182012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
5119
5120 * mail/sendmail.el (mail-bury): Call return action with the right
5121 Rmail buffer (Bug#11242).
5122
9a864fa2
CY
5123 * server.el (server-process-filter): Handle corner case where both
5124 tty and nowait options are present (Bug#11102).
5125
539aa513
EZ
51262012-04-20 Eli Zaretskii <eliz@gnu.org>
5127
5128 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
5129 (top level): Put into the executable the ident-style '$Id:' tag on
5130 windows-nt as well.
539aa513 5131
cfc7d5da
SM
51322012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5133
5134 * electric.el (electric-indent-post-self-insert-function): Check that
5135 electric-indent-mode is enabled in current buffer.
5136
5b01685c
JB
51372012-04-19 Juanma Barranquero <lekktu@gmail.com>
5138
5139 * imenu.el (imenu-progress-message): Restore; it is "used" in
5140 erc/erc-imenu.el and net/snmp-mode.el.
5141
4d6769e1
JB
51422012-04-19 Juanma Barranquero <lekktu@gmail.com>
5143
5144 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5145 (mouse-avoidance-nudge-mouse): Remove unused binding.
5146
5147 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5148
5149 * descr-text.el (describe-char):
5150 * progmodes/python.el (python-describe-symbol):
5151 Don't call `toggle-read-only', set `buffer-read-only'.
5152
5153 * imenu.el (imenu-default-goto-function): Mark unused args.
5154 (imenu-progress-message): Remove obsolete macro; all callers changed.
5155
5156 * subr.el (keymap-canonicalize): Remove unused binding.
5157 (read-passwd): Mark unused arg.
5158
5159 * tutorial.el (tutorial--display-changes): Remove unused binding.
5160 (tutorial--save-tutorial-to): Remove unused variable.
5161
5162 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5163 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5164 (package-generate-autoloads, package-menu--generate)
5165 (package-menu--find-upgrades): Remove unused bindings.
5166
5167 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5168 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5169 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5170 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5171 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5172 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5173 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5174 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5175 (cua-delete-char-rectangle): Mark unused args.
5176 (cua-align-rectangle): Remove unused binding.
5177
5178 * mail/rmail.el (compilation--message->loc)
5179 (epa--find-coding-system-for-mime-charset): Declare.
5180
5181 * net/dbus.el (dbus-register-service): Declare.
5182 (dbus-name-owner-changed-handler): Remove unused binding.
5183
5184 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5185 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5186 (nxml-scan-backward-within): Mark unused arg.
5187 (nxml-dynamic-markup-word): Remove unused binding.
5188
5189 * mouse.el (mouse-menu-major-mode-map):
5190 * emacs-lisp/authors.el (authors-scan-change-log)
5191 (authors-add-to-author-list):
5192 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5193 * emacs-lisp/smie.el (smie-auto-fill):
5194 * mail/sendmail.el (mail-bury):
5195 * mail/unrmail.el (unrmail):
5196 * net/tls.el (open-tls-stream):
5197 * textmodes/picture.el (picture-mouse-set-point):
5198 Remove unused bindings.
5199
8c8fc5df
MA
52002012-04-19 Michael Albinus <michael.albinus@gmx.de>
5201
5202 * net/tramp.el (tramp-action-password): Let-bind
5203 `enable-recursive-minibuffers' to t.
5204
a77b0ac9
SS
52052012-04-18 Sam Steingold <sds@gnu.org>
5206
5207 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5208 instead of 'string to accommodate values like [f11].
5209 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5210 * progmodes/gdb-mi.el: Likewise.
5211
12a106a9
LL
52122012-04-18 Leo Liu <sdl.web@gmail.com>
5213
5214 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5215 current buffer.
5216 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5217 LOCAL is nil.
5218
bc6494ef
CY
52192012-04-18 Chong Yidong <cyd@gnu.org>
5220
5221 * simple.el (line-move): Use forward-line if in batch mode
5222 (Bug#11053).
5223
c09c46b2
CS
52242012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5225
5226 * files.el (after-find-file): Do not try to add a final newline if
5227 the buffer is read-only (Bug#11156).
5228
5f6530ea
RS
52292012-04-17 Richard Stallman <rms@gnu.org>
5230
5231 * mail/rmail.el (rmail-start-mail):
5232 Pass (rmail-mail-return...) for the return-action.
5233 Pass (rmail-yank-current-message...) for the yank-action.
5234 (rmail-yank-current-message): New function.
5235 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5236 (rmail-reply): Likewise.
5237 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5238
5239 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5240 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5241 buffer, not newbuf.
5242
197b6f3c
JB
52432012-04-17 Juanma Barranquero <lekktu@gmail.com>
5244
5245 * server.el (server-ensure-safe-dir): Simplify.
5246
2311d8e5 52472012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5248
2311d8e5
GM
5249 * emacs-lisp/smie.el: Provide smarter auto-filling.
5250 (smie-auto-fill): New function.
5251 (smie-setup): Use it.
98fb480e 5252
2311d8e5
GM
5253 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5254
52552012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5256
5257 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5258 (comment-indent): Use it.
5259
2311d8e5 52602012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5261
5262 * ses.el: The overall change is to add cell renaming, that is
5263 setting fancy names for cell symbols other than name matching
5264 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5265 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5266 (ses-create-cell-variable): New defun.
2311d8e5 5267 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5268 (ses-relocate-formula): Relocate formulas only for cells the
5269 symbols of which are not renamed, i.e. symbols whose names do not
5270 match regexp "\\`[A-Z]+[0-9]+\\'".
5271 (ses-relocate-all): Relocate values only for cells the symbols of
5272 which are not renamed.
5273 (ses-load): Create cells variables as the (ses-cell ...) are read,
5274 in order to check row col consistency with cell symbol name only
5275 for cells that are not renamed.
5276 (ses-replace-name-in-formula): New defun.
5277 (ses-rename-cell): New defun.
4bdf2ad2 5278
fc72b15c
PO
52792012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5280
5281 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5282 New option (bug#11118).
5283 (perl-calculate-indent): Respect it.
5284
12e10e61
GM
52852012-04-17 Glenn Morris <rgm@gnu.org>
5286
5287 * dired-aux.el (dired-mark-read-string): Doc fix.
5288
30009afd
DA
52892012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5290
5291 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5292 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5293
41f03f4d
GM
52942012-04-17 Glenn Morris <rgm@gnu.org>
5295
5296 * mouse.el (mouse-drag-track):
5297 * speedbar.el (speedbar-frame-mode):
5298 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5299
f45f90f3
LL
53002012-04-16 Leo Liu <sdl.web@gmail.com>
5301
5302 * progmodes/python.el: Trivial cleanup.
5303
94ee8db5
GM
53042012-04-16 Glenn Morris <rgm@gnu.org>
5305
121b8917
GM
5306 * vc/vc.el (vc-string-prefix-p):
5307 * vc/pcvs-util.el (cvs-string-prefix-p):
5308 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5309 * mpc.el (mpc-string-prefix-p):
5310 Make all of these into obsolete aliases for string-prefix-p.
5311 Update callers.
5312 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5313
1197ecfa
GM
5314 * textmodes/two-column.el: Move custom options to the start.
5315 (frame-width): Remove compat definition.
5316 (2C-associate-buffer, 2C-dissociate):
5317 Use with-current-buffer rather than save-excursion.
5318 (2C-dissociate): Force a mode-line update.
5319 (2C-autoscroll): Use ignore-errors.
5320
099e7202
GM
5321 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5322 Autoload trivia.
5323
bf350d6a
GM
5324 * emacs-lisp/cl-extra.el (*random-state*):
5325 Remove unnecessary declaration.
5326
0e829eab
GM
5327 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5328
e3ad7552
GM
5329 * play/cookie1.el (cookie-snarf):
5330 Give an explicit error if input file cannot be read.
5331
68892d27
GM
5332 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5333
20f0c46d
GM
5334 * progmodes/perl-mode.el (c-macro-expand):
5335 Remove unnecessary autoload (it is in loaddefs.el).
5336
5a0978ce
GM
5337 * textmodes/picture.el (picture-desired-column)
5338 (picture-update-desired-column): Convert comments to doc-strings.
5339 (picture-substitute): Remove function.
5340 (picture-mode-map): Initialize in the defvar.
5341
6b955486
GM
5342 * woman.el: Remove eval-after-load for tar-mode.
5343 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5344 (woman-tar-extract-file): Autoload it.
5345
94ee8db5
GM
5346 * frame.el (automatic-hscrolling): Make this alias obsolete.
5347
177eca34
AM
53482012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5349
090bd7cb 5350 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5351 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5352 (ispell-dictionary-base-alist): Revert to original XEmacs
5353 friendly version for default. [:alpha:] will be added in
090bd7cb 5354 `ispell-set-spellchecker-params' if needed.
177eca34 5355
c505aaeb
CY
53562012-04-16 Chong Yidong <cyd@gnu.org>
5357
b19dd9d1 5358 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5359 (imagemagick-register-types): Use it.
5360 (imagemagick-types-inhibit): Add :set function. Allow new value
5361 of t to inhibit all types.
5362
5363 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5364 so we can preload it.
5365
5366 * loadup.el (fboundp): Preload regexp-opt, needed by
5367 imagemagick-register-types.
5368
60efac0f
CY
53692012-04-15 Chong Yidong <cyd@gnu.org>
5370
5371 * frame.el (scrolling): Remove nearly unused customization group.
5372
5373 * scroll-all.el (scroll-all-mode): Move to windows group.
5374
5dd1713e
CY
53752012-04-15 Chong Yidong <cyd@gnu.org>
5376
5377 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5378
e6fd457e
CY
53792012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5380
5381 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5382 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5383
e153c136
GM
53842012-04-15 Glenn Morris <rgm@gnu.org>
5385
5386 * simple.el (process-file-side-effects): Doc fix.
5387
e6fd457e 53882012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5389
5390 * international/mule-cmds.el (set-language-environment): Doc fix.
5391
3603c3b1
JB
53922012-04-14 Juanma Barranquero <lekktu@gmail.com>
5393
5394 * server.el (server-auth-key, server-generate-key): Doc fixes.
5395 (server-get-auth-key): Doc fix. Use `string-match-p'.
5396 (server-start): Reflow docstring.
5397
e6de100c
LI
53982012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5399
5400 * server.el (server-generate-key): `called-interactively-p'
5401 requires a parameter.
5402
29734c21
MN
54032012-04-14 Michal Nazarewicz <mina86@mina86.com>
5404
5405 * server.el (server-auth-key): New variable.
75f1671a 5406 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5407 (server-start): Use the new variable and functions to allow
5408 setting a permanent server key (bug#9423).
5409
d65c9521
LL
54102012-04-14 Leo Liu <sdl.web@gmail.com>
5411
5412 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5413
5ae255c7
PE
54142012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5415
5416 Spelling fixes.
5417 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5418 Emacs uses American spelling.
5419
d5e6342e
JB
54202012-04-14 Juanma Barranquero <lekktu@gmail.com>
5421
5422 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5423 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5424 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5425 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5426
ab036cd7
SM
54272012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5428
5429 * progmodes/which-func.el (which-func-modes): Change default.
5430
35dc09a1 54312012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5432
5433 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5434 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5435
35dc09a1 54362012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5437
5438 * custom.el (custom-theme-set-variables): Doc fix.
5439
35dc09a1 54402012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5441
5442 * international/mule.el (set-auto-coding-for-load): Doc fix.
5443
35dc09a1 54442012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5445
35dc09a1
GM
5446 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5447 imenu work again for Objective C Mode. Correct the *-index values,
5448 these having been disturbed by a previous change in 2011-08.
57f845ee 5449
0de3da9f
AM
5450 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5451 Correct two search limits.
5452
35dc09a1 54532012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5454
5455 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5456
35dc09a1 54572012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5458
5459 * international/characters.el: Fix sorting.
5460
35dc09a1 54612012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5462
5463 * international/characters.el: Add more missing Latin case pairs.
5464
35dc09a1 54652012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5466
5467 * files.el (dir-locals-set-class-variables): Doc fix.
5468
35dc09a1 54692012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5470
3f1b5bf8
EZ
5471 * international/characters.el: Add set-case-syntax-pair call for
5472 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5473 counterpart. (Bug#11209)
5474
9f847f41
EZ
5475 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5476
35dc09a1 54772012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5478
5479 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5480
35dc09a1 54812012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5482
35dc09a1
GM
5483 * textmodes/ispell.el (ispell-dictionary-base-alist):
5484 Add data for Hebrew.
e2627d21 5485
35dc09a1 54862012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5487
35dc09a1
GM
5488 * net/rcirc.el (rcirc-cmd-quit):
5489 Revert 2012-03-18 change (Bug#11192).
5c14e333 5490
35dc09a1 54912012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5492
5493 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5494
35dc09a1 54952012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5496
4517fe3a
SM
5497 * minibuffer.el (completion-in-region-mode-map):
5498 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5499
b472a594
VD
55002012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5501
5502 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5503
09b95ce3
MY
55042012-04-13 Masatake YAMATO <yamato@redhat.com>
5505
5506 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5507 to allow `C-M-f' and `C-M-b' to move to the nearest path
5508 separator (bug#9511).
5509
4b63a9ca
LI
55102012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5511
5512 * avoid.el: Require cl when compiling. And also move the
5513 `provide' to the end.
5514
7b55b8bf
TV
55152012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5516
5517 * avoid.el (mouse-avoidance-banish-position): New variable.
5518 (mouse-avoidance-banish-destination): Use it (bug#10165).
5519
adedaa1f
LL
55202012-04-13 Leo Liu <sdl.web@gmail.com>
5521
5522 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5523
70e74021
KB
55242012-04-13 Ken Brown <kbrown@cornell.edu>
5525
5526 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5527 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5528 (browse-url-filename-alist): For the same reason, don't modify
5529 file:// URLs on Cygwin.
5530
e75e89ba
SM
55312012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5532
5533 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5534 the region on shift if the binding is already shifted (bug#11221).
5535
82f289a4
GM
55362012-04-12 Glenn Morris <rgm@gnu.org>
5537
5538 * mail/mailpost.el: Move to obsolete/.
5539
d333dc4c
DA
55402012-04-12 Drew Adams <drew.adams@oracle.com>
5541
5542 * imenu.el (imenu--generic-function): Ignore invisible definitions
5543 (bug#10123).
5544
0d15b5ba
VD
55452012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5546
5547 * hexl.el (hexl-bits): New variable.
5548 (hexl-options): Mention the variable in the doc string.
75f1671a 5549 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5550 (hexl-mode): Mention the new variable.
75f1671a
JB
5551 (hexl-mode, hexl-current-address, hexl-current-address):
5552 Use the displen.
0d15b5ba
VD
5553 (hexl-ascii-start-column): New function.
5554 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5555 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5556
64a440db
AM
55572012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5558
5559 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5560 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5561 the encoding, as expected by hunspell.
5562
6decb6c2
SM
55632012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5564
5565 * battery.el (battery--linux-sysfs-regexp): New const.
5566 (battery-status-function): Use it. Remove yeeloong special case.
5567 (battery-yeeloong-sysfs): Remove.
5568 (battery-echo-area-format): Remove yeeloong special case.
5569
088be6fb
SM
55702012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5571
6622e416
SM
5572 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5573 Reported by Noah Friedman.
5574
088be6fb
SM
5575 * subr.el (read-passwd): Use read-string.
5576
b49f886e
LMI
55772012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5578
5579 * vcursor.el (vcursor-move): Increase the priority of the overlay
5580 (bug#9663).
5581
a63067fc
DD
55822012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5583
5584 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5585 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5586
ac3cf14a
WS
55872012-04-11 William Stevenson <yhvh2000@gmail.com>
5588
5589 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5590 define-minor-mode (bug#10760).
5591
c4fc691b 55922012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5593
4d6769e1 5594 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5595 that directories matching `grep-find-ignored-files' won't be
5596 pruned (bug#10351).
5597
af23e2e5
CY
55982012-04-11 Chong Yidong <cyd@gnu.org>
5599
5600 * startup.el (command-line): Remove support for long-obsolete
5601 variable font-lock-face-attributes.
5602
ab7ce8c1
GM
56032012-04-11 Glenn Morris <rgm@gnu.org>
5604
5605 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5606
de8c03dc
SM
56072012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5608
5609 * window.el (window--state-get-1): Obey window-point-insertion-type.
5610
050cc68b
LB
56112012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5612
5613 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5614 to previous function when point is on the first character of a
75f1671a 5615 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5616
a38c310c
GM
56172012-04-11 Glenn Morris <rgm@gnu.org>
5618
effed0c2
GM
5619 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5620 not just file-errors.
5621
a38c310c
GM
5622 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5623 (vc-bzr-sha1): Use internal sha1.
5624
0221e323
SM
56252012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5626
5627 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5628
43956923
SG
56292012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5630
5631 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5632 that start in the middle of the line (bug#10496).
5633
6a8c9eaf
DN
56342012-04-10 Dan Nicolaescu <dann@gnu.org>
5635
5636 * battery.el (battery-linux-proc-acpi): Only one battery is
5637 discharged at a time, but that seems to confuse battery.el when
5638 computing `rate-type' for the battery not being discharged
5639 (bug#10332).
5640
1930bf5d
SM
56412012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5642
2a718f6f
SM
5643 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5644
599430d0
SM
5645 * international/quail.el: Use dolist and simplify.
5646 (quail-define-package, quail-update-keyboard-layout)
5647 (quail-define-rules): Use dolist.
5648 (quail-insert-kbd-layout, quail-get-translation): CSE.
5649
a2754b6c
SM
5650 * tmm.el: Use dolist, remove left over hook.
5651 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5652 Use dolist.
5653 (calendar-load-hook): Don't mess with it.
5654
1930bf5d
SM
5655 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5656 Use derived-mode-p. Run the diff asynchronously.
5657
9f67961c
LMI
56582012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5659
5660 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5661
2a8ce227
JB
56622012-04-10 Juanma Barranquero <lekktu@gmail.com>
5663
5664 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5665 (list-dynamic-libraries--loaded): New function.
5666 (list-dynamic-libraries--refresh): Use it.
5667
8f33b5f8
NW
56682012-04-10 Nathan Weizenbaum <nweiz@google.com>
5669
1930bf5d
SM
5670 * progmodes/python.el (python-fill-paragraph):
5671 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5672 disabled (bug#7018).
5673
b12f0439
L
56742012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5675
1930bf5d 5676 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5677 DOS/MS Windows for the Baltic languages. There are still plenty
5678 of texts written in this encoding/codepage (bug#6519).
b12f0439 5679
57c3bd01
GM
56802012-04-10 Glenn Morris <rgm@gnu.org>
5681
5682 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5683 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5684
6c3eab30
FA
56852012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5686
1930bf5d 5687 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5688 next-line "n" and previous-line "p" in order to make recentf more
5689 consistent with ibuffer, dired or org-mode (bug#9387).
5690
24d78a88
LMI
56912012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5692
bc72b5d9
LMI
5693 * image.el (put-image): Return the overlay created instead of the
5694 optional input string (bug#7834). Note that this may break code
5695 that is (for some reason or other) depending on `put-image'
5696 returning the string.
5697
bd2dba5a
LMI
5698 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5699
74beb59f
LMI
5700 * simple.el (zap-to-char): Allow zapping using input methods
5701 (bug#1580).
5702
24d78a88
LMI
5703 * textmodes/fill.el (fill-region): Leave point and mark where they
5704 were before filling (bug#5399).
5705
263f20cd
GM
57062012-04-09 Glenn Morris <rgm@gnu.org>
5707
5708 * version.el (emacs-bzr-get-version):
5709 Handle lightweight checkouts of local branches.
5710
58d1f797
AS
57112012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5712
263f20cd 5713 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5714
b4d3bc10
CY
57152012-04-09 Chong Yidong <cyd@gnu.org>
5716
5717 * custom.el (custom-variable-p): Return nil for non-symbol
5718 arguments instead of signaling an error.
5719 (user-variable-p): Obsolete alias for custom-variable-p.
5720
5721 * apropos.el (apropos-variable):
5722 * files-x.el (read-file-local-variable):
5723 * simple.el (set-variable):
5724 * woman.el (woman-mini-help):
5725 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5726
fd06db5d
GM
57272012-04-09 Glenn Morris <rgm@gnu.org>
5728
e5fcdb5e
GM
5729 * startup.el (normal-top-level): Don't look for leim-list.el
5730 in places where it will not be found. (Bug#910)
5731
fd06db5d
GM
5732 * international/mule-cmds.el (set-default-coding-systems):
5733 * files.el (normal-mode):
5734 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5735 This function was removed with ucs-tables.el in 2008.
5736
b39bb7e1
EZ
57372012-04-08 Eli Zaretskii <eliz@gnu.org>
5738
5739 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5740 ispell-encoding8-command to "-i", without a trailing space.
5741 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5742 separate command-line arguments, to specify the encoding, since
5743 that's how hunspell expects it.
5744
5c5b8e23
GM
57452012-04-08 Glenn Morris <rgm@gnu.org>
5746
5747 * loadup.el: Load bindings before cus-start.
5748 This reduces somewhat the number of "rogue" settings in emacs -Q.
5749
a1ed8b05
GM
57502012-04-07 Glenn Morris <rgm@gnu.org>
5751
5752 * version.el (emacs-bzr-get-version): New function.
dfae128a 5753 (emacs-bzr-version): New variable.
a1ed8b05
GM
5754 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5755 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5756
b142f158
EZ
57572012-04-07 Eli Zaretskii <eliz@gnu.org>
5758
dfae128a
GM
5759 * international/uni-bidi.el, international/uni-category.el:
5760 * international/uni-combining.el, international/uni-decimal.el:
5761 * international/uni-decomposition.el, international/uni-digit.el:
5762 * international/uni-lowercase.el, international/uni-mirrored.el:
5763 * international/uni-name.el, international/uni-numeric.el:
5764 * international/uni-titlecase.el, international/uni-uppercase.el:
5765 Update for Unicode 6.1.
b142f158 5766
9078ead6
EZ
57672012-04-07 Eli Zaretskii <eliz@gnu.org>
5768
5769 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5770
f23d2c7d
LMI
57712012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5772
5773 * window.el (shrink-window): Mention the `window-min-height'
5774 variable in the doc string.
5775
0a0a3573
BG
57762012-04-05 Bastien Guerry <bzg@altern.org>
5777
5778 * color.el (color-lighten-name): Fix typo.
5779
e5248ac9
SM
57802012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5781
5782 * server.el (server--on-display-p): New function.
5783 (server--on-display-p): Use it.
5784
b4243e22
GV
57852012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5786
5787 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5788 (bug#11145).
5789
305d9f44
SM
57902012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5791
5792 * comint.el (comint--common-quoted-suffix): Check string boundary
5793 before comparing (bug#11158).
5794 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5795
3d439cd1
CY
57962012-04-04 Chong Yidong <cyd@gnu.org>
5797
321cc491
CY
5798 * minibuffer.el (completion-extra-properties): Doc fix.
5799
3d439cd1
CY
5800 * subr.el (delayed-warnings-hook): Doc fix.
5801
2d562c0f
DU
58022012-04-04 Daiki Ueno <ueno@unixuser.org>
5803
5804 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5805 selection (Bug#11159).
5806 (epa-insert-keys): Inform that the default public key will be
5807 exported if no key is selected.
5808
4443f204
RS
58092012-04-04 Richard Stallman <rms@gnu.org>
5810
5811 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5812
529c06b6
CY
58132012-04-03 Chong Yidong <cyd@gnu.org>
5814
5815 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5816 mail-insert-file, not its obsolete alias mail-attach-file.
5817
66b907dc
MA
58182012-04-03 Michael Albinus <michael.albinus@gmx.de>
5819
5820 * notifications.el (notifications-notify): Fix docstring.
5821
c0ea195d
GM
58222012-04-02 Glenn Morris <rgm@gnu.org>
5823
5824 * emacs-lisp/authors.el (authors-aliases): Another addition.
5825
5ca64e00
MA
58262012-04-02 Michael Albinus <michael.albinus@gmx.de>
5827
5828 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5829 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5830 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5831
42ee526b
CY
58322012-04-01 Chong Yidong <cyd@gnu.org>
5833
5834 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5835 Handle root directory properly.
5836 (copy-directory): Caller changed.
5837
5838 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5839 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5840
0b021094
GM
58412012-03-31 Glenn Morris <rgm@gnu.org>
5842
40f86458
GM
5843 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5844
7019c177
GM
5845 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5846
a1daddd6
GM
5847 * calendar/calendar.el (calendar-window-list)
5848 (calendar-hide-window): Restore. (Bug#11140)
5849 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5850
0b021094
GM
5851 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5852
40311efc
TV
58532012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5854
5855 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5856 Check if file is a symlink (Bug#10489).
5857
5858 * files.el (copy-directory): Likewise.
5859
5319014e
CY
58602012-03-30 Chong Yidong <cyd@gnu.org>
5861
5862 * image.el (imagemagick-types-inhibit)
5863 (imagemagick-register-types): Doc fix.
5864
935d1290
AM
58652012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5866
090bd7cb 5867 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5868 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5869 and treats ~word as ordinary words in pipe mode.
935d1290 5870
61c6e8fd
GM
58712012-03-30 Glenn Morris <rgm@gnu.org>
5872
5873 * tutorial.el (help-with-tutorial): Ensure local variables don't
5874 happen to make the buffer read-only. (Bug#11127)
5875
81fdff00
SM
58762012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5877
5878 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5879 (perl-calculate-indent): Return `noindent' in strings.
5880
6e7a6ec0
SS
58812012-03-28 Sam Steingold <sds@gnu.org>
5882
5883 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5884 instead of the broken adhockery which does not prevent calendar
5885 buffers from being displayed at random after exit.
5886 (calendar-window-list, calendar-hide-window): Remove the broken
5887 adhockery.
5888
fee88ca0
GM
58892012-03-28 Glenn Morris <rgm@gnu.org>
5890
5891 * replace.el (query-replace-map): Doc fix.
5892
38de3354
AS
58932012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5894
5895 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5896 contents. (Bug#11109)
5897
b973155e
SM
58982012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5899
5900 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5901 (bug#11077).
5902 (avl-tree--check, avl-tree--check-node): New funs.
5903
dcb6e7b3
MR
59042012-03-27 Martin Rudalics <rudalics@gmx.at>
5905
5906 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5907 (switch-to-prev-buffer, switch-to-next-buffer):
5908 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5909 showing a buffer already is done on the same frame.
5910
b4fa35fa
GM
59112012-03-27 Glenn Morris <rgm@gnu.org>
5912
5913 * startup.el (mail-host-address): Doc fix.
5914
f9210e18
SM
59152012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5916
5917 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5918 than 197 variables.
5919
c0bf7753
AF
59202012-03-26 Ami Fischman <ami@fischman.org>
5921
5922 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5923
33da7b16
GM
59242012-03-26 Glenn Morris <rgm@gnu.org>
5925
02243d9d
GM
5926 * files.el (save-buffers-kill-emacs): Doc fix.
5927
33da7b16
GM
5928 * startup.el (normal-top-level, command-line, command-line-1):
5929 Give them doc strings.
5930
e5a69fd0
EZ
59312012-03-25 Eli Zaretskii <eliz@gnu.org>
5932
5933 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5934 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5935
9a69676a
CY
59362012-03-25 Chong Yidong <cyd@gnu.org>
5937
4125cb8b
CY
5938 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5939 theme if it was previously enabled before (Bug#11031).
5940
dd470960
CY
5941 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5942 spec with custom-face-get-current-spec if its :shown-value is not
5943 determined yet (Bug#9337).
4125cb8b 5944 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5945
9a69676a
CY
5946 * button.el (button-at): Minor addition to docstring.
5947
6e7e90fa
SL
59482012-03-24 Simon Leinen <simon.leinen@gmail.com>
5949
5950 * vc/vc.el (vc-merge): Fix a prompt.
5951
f06e2758
CY
59522012-03-24 Chong Yidong <cyd@gnu.org>
5953
5954 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5955 point (Bug#9623).
5956
6e7e90fa
SL
5957 * button.el (button-at): Minor addition to docstring.
5958
b9d0879b
SM
59592012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5960
5961 * newcomment.el (comment-choose-indent): No space after BOL.
5962
e71cebb3
SS
59632012-03-22 Sam Steingold <sds@gnu.org>
5964
5965 * window.el (switch-to-prev-buffer): Revert last patch because the
5966 bug turned out to be an advertised feature (Elisp manual 28.14).
5967
335aff35
GM
59682012-03-22 Glenn Morris <rgm@gnu.org>
5969
5970 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5971 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5972
c676576a
LMI
59732012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5974
5975 * net/network-stream.el (network-stream-open-starttls): Make error
5976 message under Windows be less misleading.
5977
126f3d39
LW
59782012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5979
5980 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5981 understands (bug#9942).
5982
64fee311
CY
59832012-03-22 Chong Yidong <cyd@gnu.org>
5984
5985 * simple.el (end-of-visible-line): Handle return value of
5986 next-single-property-change properly (Bug#9371).
5987
a640d29a
KH
59882012-03-22 Kenichi Handa <handa@m17n.org>
5989
5990 * international/quail.el (quail-insert-kbd-layout): Fix previous
5991 change. To avoid unwanted bidi reordering, use
5992 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5993
39675016
DG
59942012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5995
5996 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5997 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5998 (ruby-beginning-of-indent): Be more careful with the difference
5999 between word-boundary and symbol boundary.
6000 (ruby-mode-syntax-table): Make : a symbol constituent.
6001
0a6934fc 60022012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 6003
3d008e4f
SM
6004 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6005
0a6934fc
SM
60062012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6007
af67c9d7
SM
6008 * progmodes/etags.el (tags-completion-at-point-function):
6009 Improve last fix.
6010
1acad97c
SM
6011 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6012
e298b5da
SS
60132012-03-21 Sam Steingold <sds@gnu.org>
6014
6015 * progmodes/etags.el (tags-completion-at-point-function):
6016 Avoid the error when point is inside the pattern.
6017
91d82a70
JY
60182012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6019
6020 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6021 line (Bug#10855).
6022
69188b79
CY
60232012-03-21 Drew Adams <drew.adams@oracle.com>
6024
6025 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6026
99fc91fe
AK
60272012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6028
6029 * ido.el (ido-set-current-directory, ido-read-internal)
6030 (ido-choose-completion-string, ido-completion-help): Handle nil
6031 value of ido-completion-buffer (Bug#11008).
6032
087bbb4c
SS
60332012-03-21 Sam Steingold <sds@gnu.org>
6034
6035 * window.el (switch-to-prev-buffer): Do not switch to a visible
6036 window previous buffer, just like with the frame previous buffers.
6037
fb5b8aca
CY
60382012-03-21 Chong Yidong <cyd@gnu.org>
6039
6040 * faces.el (make-face, make-empty-face, copy-face):
6041 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6042 Doc fixes.
6043
dc9924b8
SM
60442012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6045
6046 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6047 (widget-complete): Remove broken use of it.
6048
f0bcceb9
CY
60492012-03-20 Chong Yidong <cyd@gnu.org>
6050
dc9924b8
SM
6051 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6052 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
6053 characters.
6054
ee52ebf3
TH
60552012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6056
6057 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6058 to draw rectangles, not squares. (Regression introduced by revno
6059 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6060
4c5779ab
CY
60612012-03-18 Chong Yidong <cyd@gnu.org>
6062
6063 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6064 it is not yet defined (for temacs).
6065
15360934
LL
60662012-03-18 Leo Liu <sdl.web@gmail.com>
6067
dc9924b8 6068 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 6069
d9a8eb66
EZ
60702012-03-17 Eli Zaretskii <eliz@gnu.org>
6071
6072 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6073 (ispell-choices-win-default-height, ispell-silently-savep)
6074 (ispell-dictionary-alist, ispell-encoding8-command)
6075 (ispell-check-version, ispell-aspell-find-dictionary)
6076 (ispell-valid-dictionary-list, ispell-words-keyword)
6077 (ispell-get-word, ispell-internal-change-dictionary)
6078 (ispell-region, ispell-skip-region-list)
6079 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6080 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6081 (ispell-message-text-end, ispell-message)
6082 (ispell-buffer-local-parsing): Doc fix.
6083
f02ff80d
J
60842012-03-13 Jambunathan K <kjambunathan@gmail.com>
6085
6086 * htmlfontify.el: Add support for code block fontification for ODT
6087 export (Bug #9914).
6088 (hfy-optimisations): Define new option
6089 `body-text-only'
6090 (hfy-fontify-buffer): Honor above setting.
6091 (hfy-begin-span, hfy-end-span): New routines factored out form
6092 `hfy-fontify-buffer'.
6093 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6094 that permit insertion of custom tags.
6095 (hfy-fontify-buffer): Use above handlers.
6096 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6097 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 6098 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 6099 over multiple runs. This is made possible by having the caller let
f02ff80d
J
6100 bind a special variable `hfy-user-sheet-assoc'.
6101 (htmlfontify-string): New defun.
6102 (hfy-compile-face-map): Make sure that the last char in the
6103 buffer is correctly fontified.
6104 (hfy-face-resolve-face): Whitespace only change.
6105
9ac7a13f
EZ
61062012-03-17 Eli Zaretskii <eliz@gnu.org>
6107
6108 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6109 message more clear.
6110
e2b5bdd7
LL
61112012-03-16 Leo Liu <sdl.web@gmail.com>
6112
6113 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6114
2e492df3
AM
61152012-03-16 Alan Mackenzie <acm@muc.de>
6116
6117 Further optimise the handling of large macros.
6118
6119 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6120 limit to a call of `c-literal-limits'.
6121 (c-determine-+ve-limit): New function.
dc9924b8
SM
6122 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6123 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
6124 In CASE 5B, restrict a search limit to 500.
6125 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6126
6127 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6128 Restrict macro bounds to +-500 from after-change's BEG END.
6129
50e94f0c
LL
61302012-03-16 Leo Liu <sdl.web@gmail.com>
6131
6132 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6133
6f09f6ed
AH
61342012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6135
6136 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 6137 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 6138
c7e73d51
GM
61392012-03-16 Glenn Morris <rgm@gnu.org>
6140
da986230
GM
6141 * view.el (view-buffer, view-buffer-other-window)
6142 (view-buffer-other-frame): Doc fixes re special mode-class.
6143
0835f01e
GM
6144 * subr.el (eval-after-load): If named feature is provided not from
6145 a file, run after-load forms. (Bug#10946)
6146
c7e73d51
GM
6147 * calendar/calendar.el (calendar-insert-at-column):
6148 Handle non-unit-width characters a bit better. (Bug#10978)
6149
3f2eafd1
CY
61502012-03-15 Chong Yidong <cyd@gnu.org>
6151
6152 * emacs-lisp/ring.el (ring-extend): New function.
6153 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6154
6155 * comint.el (comint-read-input-ring)
6156 (comint-add-to-input-history): Grow comint-input-ring lazily.
6157
103af3fe
SM
61582012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6159
663b1677
SM
6160 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6161 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6162
103af3fe
SM
6163 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6164 (imenu-add-to-menubar): Don't add a redundant index.
6165 (imenu-update-menubar): Handle a dynamically composed keymap.
6166
899cb7cb
KY
61672012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6168
6169 * mail/sendmail.el (mail-encode-header):
6170 Bind rfc2047-encode-encoded-words to nil.
6171
3809f91d
GM
61722012-03-13 Glenn Morris <rgm@gnu.org>
6173
6174 * calendar/calendar.el (calendar-string-spread):
6175 Handle non-unit-width characters a bit better. (Bug#10978)
6176
9e345a01
LL
61772012-03-13 Leo Liu <sdl.web@gmail.com>
6178
6179 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6180 directory and file as argument (Bug#10822).
6181
4a07df36
KS
61822012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6183
6184 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6185 For dynamically generated code, follow $PC.
6186 (gdb-disassembly-handler-custom): Handle no function name case.
6187
4aaa9356
TL
61882012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6189
6190 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6191 * emulation/ws-mode.el (ws-query-replace):
6192 * sort.el (sort-regexp-fields):
6193 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6194
225979da
SM
61952012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6196
6197 * dabbrev.el: Fix cycle completion order (bug#10963).
6198 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6199 (dabbrev-completion): Don't use an obarray; provide
6200 a cycle-sort-function.
6201
e2f1fdab
LL
62022012-03-12 Leo Liu <sdl.web@gmail.com>
6203
dc9924b8 6204 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6205 (kill-do-not-save-duplicates): Doc fix.
6206
b19490ed
SM
62072012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6208
6209 * dabbrev.el: Fix cycle completion (bug#10963).
6210 Use lexical binding and wrap to 80 columns.
6211 (dabbrev-completion): Delay computing the list of completions.
6212
4b05d722
KH
62132012-03-12 Kenichi Handa <handa@m17n.org>
6214
6215 * international/quail.el (quail-insert-kbd-layout): Surround each
6216 row by LRO and PDF instead of inserting many LRMs. Pad the left
6217 and right of each non-spacing marks. Insert invisible space
6218 between lower and upper characters to prevent composition.
6219
dbbc2e69
SM
62202012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6221
6222 * minibuffer.el (minibuffer-complete): Don't get confused when the
6223 function is run twice via different commands (bug#10958).
6224 (complete-with-action): Fix docstring.
6225
292112ed
CY
62262012-03-12 Chong Yidong <cyd@gnu.org>
6227
5d1ac394
CY
6228 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6229 (nxml-completion-at-point-function): New function.
6230 (nxml-mode): Use it.
6231 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6232
292112ed
CY
6233 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6234 Load generated autoloads file before byte compiling (Bug#10970).
6235 (package--make-autoloads-and-compile): New helper fun.
6236
4098f8f7
CS
62372012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6238
6239 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6240
8f754691
MA
62412012-03-11 Michael Albinus <michael.albinus@gmx.de>
6242
6243 * autorevert.el (auto-revert-handler): Ensure, that
6244 file-readable-p is applied only for local files or in
6245 auto-revert-tail-mode.
6246
e29ab36b
AS
62472012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6248
dbbc2e69
SM
6249 * server.el (server-eval-at): Handle non-tcp connections.
6250 Decode result string.
ad0bf5b6 6251
e29ab36b
AS
6252 * server.el (server-msg-size): New constant.
6253 (server-reply-print): New function.
6254 (server-eval-and-print): Use it.
6255 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6256 Handle -print-nonl.
6257
de5939ba
CS
62582012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6259
6260 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6261 (Bug#10987).
6262
0c93eabf
CY
62632012-03-11 Chong Yidong <cyd@gnu.org>
6264
397a688f
CY
6265 * simple.el (goto-line): Doc fix (Bug#9938).
6266
2cc775f9
CY
6267 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6268
0c93eabf
CY
6269 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6270 when finished (Bug#10963).
6271
c491fa41
MR
62722012-03-11 Martin Rudalics <rudalics@gmx.at>
6273
6274 * window.el (split-window-below): Fix bug in case where
6275 split-window-keep-point is nil (Bug#10971).
6276
300e8fa5
JL
62772012-03-11 Juri Linkov <juri@jurta.org>
6278
6279 * replace.el (replace-highlight): Set isearch-word to nil
6280 unconditionally. (Bug#10887)
6281
dbf6c5a1
EZ
62822012-03-10 Eli Zaretskii <eliz@gnu.org>
6283
6284 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6285 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6286 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6287 (mairix-widget-create-query): Add usage information about mairix
6288 search forms: negating words, searching for substrings, etc.
6289
b9e501de
JP
62902012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6291
6292 * international/fontset.el (font-encoding-alist): Add an entry for
6293 ksx1001 (Bug#5667).
6294
92795c91
RS
62952012-03-10 Richard Stallman <rms@gnu.org>
6296
1694e6c1
RS
6297 * mail/sendmail.el (mail-encode-header):
6298 Set rfc2047-encode-encoded-words.
6299
607e8555
RS
6300 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6301
de3bc99a
RS
6302 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6303 view buffer means not swapped.
6304 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6305 (rmail-write-region-annotate): Error if real text has disappeared.
6306
92795c91
RS
6307 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6308
699bd04e
CY
63092012-03-10 Chong Yidong <cyd@gnu.org>
6310
6311 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6312 * emulation/cua-base.el (cua--init-keymaps):
6313 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6314
570a1714
MR
63152012-03-10 Martin Rudalics <rudalics@gmx.at>
6316
dbbc2e69
SM
6317 * speedbar.el (speedbar-unhighlight-one-tag-line):
6318 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6319
82dcf4e4
CY
63202012-03-10 Chong Yidong <cyd@gnu.org>
6321
7a2c7ca7
CY
6322 * minibuffer.el (completion-in-region, completion-help-at-point):
6323 Give the completion field overlay a high priority (Bug#6830).
6324
82dcf4e4
CY
6325 * dired.el (dired-goto-file): Recognize absolute file name
6326 listings (Bug#7126).
6327 (dired-goto-file-1): New helper function.
6328 (dired-toggle-read-only): Inhibit warnings.
6329
052e28ac
MA
63302012-03-09 Michael Albinus <michael.albinus@gmx.de>
6331
75f1671a 6332 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6333 there are no properties.
6334
95d5e396
LL
63352012-03-09 Leo Liu <sdl.web@gmail.com>
6336
6337 * savehist.el (savehist-printable): Stricter check for string
6338 value (Bug#10937).
6339
3f018d6d
EZ
63402012-03-09 Eli Zaretskii <eliz@gnu.org>
6341
dbbc2e69
SM
6342 * mail/smtpmail.el (smtpmail-send-it):
6343 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6344 valid mbox format.
6345
f7fd3d79
GM
63462012-03-09 Glenn Morris <rgm@gnu.org>
6347
6348 * files.el (dir-locals-find-file):
6349 Don't check result is regular, readable.
6350 (dir-locals-read-from-file): Demote errors.
6351
6ff6e72f
EZ
63522012-03-08 Eli Zaretskii <eliz@gnu.org>
6353
dbbc2e69
SM
6354 * international/quail.el (quail-insert-kbd-layout):
6355 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6356 layout cell, to prevent their reordering by bidi display engine.
6357 For details, see the discussion in
6358 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6359
9cec7834
AM
63602012-03-08 Alan Mackenzie <acm@muc.de>
6361
6362 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6363 the starting position; make it extend the marked region when
6364 invoked repeatedly - all under appropriate circumstances.
6365 Fixes bugs #5525, #10906.
6366
9a40b8d4
GM
63672012-03-08 Glenn Morris <rgm@gnu.org>
6368
6369 * files.el (locate-dominating-file, dir-locals-find-file):
6370 Undo 2012-03-06 change.
6371
7a08ed35
EZ
63722012-03-07 Eli Zaretskii <eliz@gnu.org>
6373
dbbc2e69
SM
6374 * international/quail.el (quail-help):
6375 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6376 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6377 for the reason.
6378
5aca4f71 63792012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6380
6381 Avoid superfluous registering of signals. (Bug#10807)
6382
6383 * notifications.el (notifications-on-action-object)
6384 (notifications-on-close-object): New defvars.
6385 (notifications-on-action-signal, notifications-on-closed-signal):
6386 Unregister the signal if not needed any longer.
6387 (notifications-notify): Register `notifications-action-signal' or
6388 `notifications-closed-signal', if :on-action or :on-close has been
6389 passed as argument.
6390
78e8b10a
CY
63912012-03-07 Chong Yidong <cyd@gnu.org>
6392
6393 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6394 non-X platforms.
6395
69481eb8
GM
63962012-03-06 Glenn Morris <rgm@gnu.org>
6397
6398 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6399 (x-disown-selection-internal, x-get-selection-internal):
6400 Doc fix (add arglist signatures). (Bug#10783)
6401
133b8e11
KS
64022012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6403
6404 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6405 Handle breakpoints with no "type".
6406
99a83064
GM
64072012-03-06 Glenn Morris <rgm@gnu.org>
6408
6409 * files.el (locate-dominating-file): Add optional predicate argument.
6410 (dir-locals-find-file): Make use of above change.
6411
17798e78
TTN
64122012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6413
6414 * info.el (Info-insert-dir): Also try "dir.gz".
6415
eb182446
GM
64162012-03-06 Glenn Morris <rgm@gnu.org>
6417
8f2114ee
GM
6418 * files.el (dir-locals-find-file):
6419 Ignore non-readable or non-regular files. (Bug#10928)
6420
eb182446
GM
6421 * files.el (locate-dominating-file): Doc fix.
6422
24679323
AS
64232012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6424
6425 * calendar/calendar.el (calendar-set-mode-line):
6426 `getenv' returns a string. (Bug#10951)
6427
01d972a9
LL
64282012-03-05 Leo Liu <sdl.web@gmail.com>
6429
109aa8a9
LL
6430 * simple.el (backward-delete-char-untabify): Constrain point to
6431 field (Bug#10939).
6432
01d972a9
LL
6433 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6434
10607bea
CY
64352012-03-05 Chong Yidong <cyd@gnu.org>
6436
6437 * simple.el (count-words): If called from Lisp, return the word
6438 count, for symmetry with `count-lines'. Arglist changed.
6439 (count-words--message): Args changed. Consolidate counting code
6440 from count-words and count-words-region.
6441 (count-words-region): Caller changed.
6442 (count-lines-region): Make it an obsolete alias.
6443
5dd11cfe
TH
64442012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6445
6446 * saveplace.el (save-place-to-alist)
6447 (save-place-ignore-files-regexp): Allow value nil to disable this
6448 feature.
6449
c349f4e6
CY
64502012-03-04 Chong Yidong <cyd@gnu.org>
6451
6452 * faces.el (face-spec-reset-face): For the default face, reset the
6453 attributes to default values (Bug#10748).
6454
e627be4c
LMI
64552012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6456
6457 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6458 previous patch: Check `message-send-mail-function', and not the
6459 default function (bug#10897).
6460
ebeabff4
MA
64612012-03-04 Michael Albinus <michael.albinus@gmx.de>
6462
a41a6cf4
MA
6463 * notifications.el (notifications-on-action-signal)
6464 (notifications-on-closed-signal): Check for unique service name of
6465 incoming event. Fix error in removing entry.
ebeabff4 6466 (top): Register for signals with wildcard service name.
a41a6cf4 6467 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6468
c1ca42b4
CY
64692012-03-04 Chong Yidong <cyd@gnu.org>
6470
dc9924b8 6471 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6472
ea16568d
GM
64732012-03-04 Glenn Morris <rgm@gnu.org>
6474
6475 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6476 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6477 (expand-abbrev, define-abbrev-table): Doc fixes.
6478
fbae4637
LMI
64792012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6480
6481 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6482 `message-default-send-mail-function' and not `send-mail-function'
6483 when doing the prompting for `sendmail-query-once' before sending
6484 in Message buffers (bug#10897).
6485
a1e7225c
LMI
6486 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6487 This is inconsistent with all the other stream functions, which leave
6488 the setting up to the higher levels (if so wanted) (bug#10931).
6489
56d093a9
AM
64902012-03-02 Alan Mackenzie <acm@muc.de>
6491
6492 Depessimize the handling of very large macros.
6493
6494 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6495 (c-macro-cache-syntactic): New variables to implement a one
6496 element macro cache.
6497 (c-invalidate-macro-cache): New function.
6498 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6499 Adapt to use the new cache.
6500 (c-state-safe-place): Use better the cache of safe positions.
6501 (c-state-semi-nonlit-pos-cache)
6502 (c-state-semi-nonlit-pos-cache-limit):
6503 New variables for...
6504 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6505 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6506 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6507 Use c-state-semi-safe-place.
56d093a9 6508
dbbc2e69
SM
6509 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6510 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6511
817e5c3d
MA
65122012-03-02 Michael Albinus <michael.albinus@gmx.de>
6513
dbbc2e69
SM
6514 * jka-compr.el (jka-compr-call-process):
6515 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6516 not remote.
6517
a032a702
MA
65182012-03-01 Michael Albinus <michael.albinus@gmx.de>
6519
6520 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6521 access of FILE2, if FILE1 does not exist.
6522
99a54f21
MA
6523 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6524 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6525
6526 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6527 Add "PAGER=" to `process-environment'.
6528
f6561e1f
MM
65292012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6530
6531 * progmodes/sql.el: Bug fix
6532 (sql-get-login-ext): Save login values in globals.
6533 (sql-get-login): Use new version of `sql-get-login-ext'.
6534 (sql-interactive-mode): Set global `sql-connection' to nil.
6535 (sql-connect): Set global values for connection.
6536 (sql-product-interactive): Save global values as buffer local.
6537
2d44d9cc
LL
65382012-02-29 Leo Liu <sdl.web@gmail.com>
6539
6540 * abbrev.el (define-abbrevs): Reset sys to nil.
6541
96b49301 65422012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6543
bf7f9bc5
JB
6544 * files.el (file-equal-p): Rename from `files-equal-p'.
6545 Return nil when one or both files don't exist.
96b49301 6546 (file-subdir-of-p): Now only top directory must exists,
6547 return nil if it doesn't.
bf7f9bc5
JB
6548 (copy-directory): No need to test with `file-subdir-of-p' after
6549 creating dir.
6550 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6551 to `file-equal-p'.
96b49301 6552
44e97401
GM
65532012-02-28 Glenn Morris <rgm@gnu.org>
6554
6555 * shell.el (shell-mode):
6556 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6557 * play/landmark.el (landmark-font-lock-face-O):
6558 * play/handwrite.el (handwrite):
6559 * play/gomoku.el (gomoku-O):
6560 * net/browse-url.el (browse-url-browser-display):
6561 * international/mule.el (define-charset):
6562 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6563 * filesets.el (filesets-find-file-delay):
6564 * eshell/em-xtra.el (eshell-xtra):
6565 * eshell/em-unix.el (eshell-grep):
6566 * emulation/viper.el (viper-mode):
6567 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6568 * emacs-lisp/easymenu.el (easy-menu-define):
6569 * calendar/timeclock.el (timeclock-use-display-time):
6570 * bs.el (bs-mode):
6571 * bookmark.el (bookmark-save-flag):
6572 Doc fix (standardize possessive apostrophe usage).
6573
c98c6276
CY
65742012-02-27 Chong Yidong <cyd@gnu.org>
6575
bf7f9bc5
JB
6576 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6577 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6578
c98c6276
CY
6579 * font-lock.el (font-lock-specified-p): Rename from
6580 font-lock-spec-present. Callers changed.
6581
9c62cd04 65822012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6583
bf7f9bc5
JB
6584 * emacs-lisp/package.el (package-compute-transaction):
6585 Handle holding a package version to t in package-load-list.
8ac9e529 6586
530739c9
MA
65872012-02-26 Michael Albinus <michael.albinus@gmx.de>
6588
6589 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6590 (tramp-get-inode, tramp-get-device): Use cached values.
6591
487915d7
AM
65922012-02-26 Alan Mackenzie <acm@muc.de>
6593
6594 Check there is a font-lock specification before doing initial
6595 fontification.
6596
6597 * font-core.el (font-lock-mode): Move the conditional from
6598 :after-hook to font-lock-initial-fontify.
6599 (font-lock-default-function): Move the check for a specification
6600 to font-lock-spec-present.
6601
dc9924b8 6602 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6603 (font-lock-spec-present): New function.
6604
4fd96557
JB
66052012-02-26 Jim Blandy <jimb@red-bean.com>
6606
6607 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6608 (gdb-send): Apply it to the operand of the '-interpreter-exec
6609 console' command, so that we can pass arguments with (say) quotes
6610 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6611
9a4888c0
CY
66122012-02-26 Chong Yidong <cyd@gnu.org>
6613
07498861
CY
6614 * help-fns.el (describe-function-1): Clarify description of
6615 remapping (Bug#10844).
6616
9a4888c0
CY
6617 * files.el (files-equal-p): Doc fix.
6618 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6619 and quit the loop once a mismatch is found.
6620
ea8fb88d
JB
66212012-02-25 Juanma Barranquero <lekktu@gmail.com>
6622
6623 * bs.el (bs--show-with-configuration): Don't throw an error
6624 if the window cannot be split; otherwise, subsequent calls to
6625 bs-show fail, restoring a stale window config. (Bug#10882)
6626
525795c1
JD
66272012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6628
6629 * term/ns-win.el (global-map): Bind ns-drag-file to
6630 ns-find-file (Bug#5855, Bug#10050).
6631
f008086f
AS
66322012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6633
6634 * calendar/parse-time.el (parse-time-string): Allow extractor to
6635 return nil.
6636
a3fcfa99
MA
66372012-02-25 Michael Albinus <michael.albinus@gmx.de>
6638
91027d08
JB
6639 * net/tramp.el (tramp-file-name-for-operation):
6640 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6641
6642 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6643 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6644 Add COPY-CONTENTS argument.
a3fcfa99 6645
67b0de11
CY
66462012-02-25 Chong Yidong <cyd@gnu.org>
6647
6648 Add custom groups for VC backends, for consistency with vc-bzr.
6649
6650 * vc/vc-arch.el (vc-arch):
6651 * vc/vc-cvs.el (vc-cvs):
6652 * vc/vc-git.el (vc-git):
6653 * vc/vc-hg.el (vc-hg):
6654 * vc/vc-mtn.el (vc-mtn):
6655 * vc/vc-rcs.el (vc-rcs):
6656 * vc/vc-sccs.el (vc-sccs):
6657 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6658 All relevant defcustoms reassigned.
6659
3c9dfce6
CY
66602012-02-25 Chong Yidong <cyd@gnu.org>
6661
1339bf43
CY
6662 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6663
3c9dfce6
CY
6664 * term/x-win.el (x-initialize-window-system): Reduce default for
6665 x-selection-timeout to 5 seconds (Bug#8869).
6666
25b2e303 66672012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6668
ec70a47d
GM
6669 * files.el (files-equal-p, file-subdir-of-p): New functions.
6670 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6671 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6672 * dired-aux.el (dired-copy-file-recursive): Same.
6673 (dired-create-files): Modify destination when source is equal to
6674 dest when copying files.
53a46cd0 6675 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6676
914260cd
MA
66772012-02-24 Michael Albinus <michael.albinus@gmx.de>
6678
6679 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6680 (Bug#10874)
6681
2cb228f7
AM
66822012-02-23 Alan Mackenzie <acm@muc.de>
6683
6684 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6685 parameter "after-hook:" to allow the expansion to run code after
6686 the execution of the mode hooks.
6687
6688 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6689 from font-lock-mode-internal.
2cb228f7 6690
91027d08 6691 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6692 :after-hook.
6693
8f0fde21
SM
66942012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6695
3e88618b
SM
6696 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6697 (completion--cache-all-sorted-completions): New function.
6698 (completion-all-sorted-completions): Use it.
6699 (completion--do-completion, minibuffer-force-complete):
6700 Use it to re-instate the flush hook.
6701
8f0fde21
SM
6702 * icomplete.el (icomplete-completions): Replace last fix with a better
6703 one (bug#10850).
6704
8e911f6f
DG
67052012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6706
6707 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6708 when it might call us back infinitely (bug#10797).
6709
49fe4321
GM
67102012-02-23 Glenn Morris <rgm@gnu.org>
6711
6712 * minibuffer.el (completion-category-overrides): Doc fix.
6713
b291b572
SM
67142012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6715
6716 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6717 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6718
31a9ef2e
GM
67192012-02-23 Glenn Morris <rgm@gnu.org>
6720
5e6e6794 6721 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6722 (authors-obsolete-files-regexps, authors-ignored-files)
6723 (authors-ambiguous-files, authors-renamed-files-alist):
6724 Add more entries.
6725
0bd1e074
JL
67262012-02-23 Juri Linkov <juri@jurta.org>
6727
6728 * isearch.el (isearch-occur): Sync interactive spec with occur's
6729 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6730
b617673c
JL
6731 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6732
19e9789e
JL
67332012-02-22 Juri Linkov <juri@jurta.org>
6734
6735 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6736 (ucs-insert): Doc fix. Check for hex digits in the string.
6737 Don't display `nil' in the error message. (Bug#10857)
6738
f41ce09d
AM
67392012-02-22 Alan Mackenzie <acm@muc.de>
6740
7a71b18d 6741 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6742
ac2eceee
GM
67432012-02-22 Glenn Morris <rgm@gnu.org>
6744
6745 * ffap.el (ffap-c-path):
6746 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6747
abd1f678
CY
67482012-02-22 Chong Yidong <cyd@gnu.org>
6749
6750 * custom.el (load-theme): Doc fix.
6751
f25aef2e
GM
67522012-02-22 Glenn Morris <rgm@gnu.org>
6753
6754 * dired-x.el (dired-guess-shell-alist-default):
6755 Remove escape sequences from nroff output. (Bug#172)
6756
5f8dc2ca
GM
67572012-02-21 Glenn Morris <rgm@gnu.org>
6758
6ff86ec4
GM
6759 * vc/emerge.el (emerge-defvar-local):
6760 Set `permanent-local' property rather than unused `preserved'.
6761
be3223a3 6762 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6763 (picture-mode-map): Use it. (Bug#10860)
6764 (picture-mode): Doc fix.
6765
3fe58f4f
JB
67662012-02-21 Juanma Barranquero <lekktu@gmail.com>
6767
6768 * newcomment.el (uncomment-region-default): Remove unused binding.
6769
f9a998c3
GM
67702012-02-21 Glenn Morris <rgm@gnu.org>
6771
6772 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6773 (picture-self-insert, picture-tab-chars): Doc fix.
6774 (picture-mode-map): Fix C-a, C-e.
6775
c6029348
GM
67762012-02-20 Glenn Morris <rgm@gnu.org>
6777
6778 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6779
ab1ce9d7
LL
67802012-02-20 Leo Liu <sdl.web@gmail.com>
6781
6782 * icomplete.el (icomplete-completions): Check FROM arg before
6783 passing to substring (Bug#10850).
6784
0fd40f89
CY
67852012-02-19 Chong Yidong <cyd@gnu.org>
6786
6787 * comint.el: Require ansi-color.
6788 (comint-output-filter-functions): Add ansi-color-process-output.
6789
6790 * ansi-color.el: Don't set comint-output-filter-functions; it is
6791 now in the initial value defined in comint.el.
6792 (ansi-color-apply-face-function): New variable.
6793 (ansi-color-apply-on-region): Use it.
6794 (ansi-color-apply-overlay-face): New function.
6795
6796 * shell.el (shell): No need to require ansi-color.
6797 (shell-mode): Use ansi-color-apply-face-function to highlight
6798 color escapes using font-lock-face property (Bug#10835).
6799
20af2394
CY
68002012-02-19 Chong Yidong <cyd@gnu.org>
6801
6802 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6803 mode-line formats (Bug#10839).
6804
e23a3fbe
GM
68052012-02-18 Glenn Morris <rgm@gnu.org>
6806
b474519e
GM
6807 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6808
6809 * mail/undigest.el (unforward-rmail-message): Doc fix.
6810
e23a3fbe
GM
6811 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6812
57939ff4
EZ
68132012-02-18 Eli Zaretskii <eliz@gnu.org>
6814
6815 * international/characters.el (script-list): Sync with the latest
6816 Unicode Character Database.
6817
0c23686e
AS
68182012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6819
6820 * international/titdic-cnv.el: Remove duplicate coding tag.
6821 * language/cham.el: Likewise.
6822 * language/tai-viet.el: Likewise.
6823
6818b449
GM
68242012-02-18 Glenn Morris <rgm@gnu.org>
6825
6826 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6827 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6828 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6829 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6830 * calendar/holidays.el (holiday-bahai-holidays)
6831 (calendar-holidays, list-holidays):
6832 Use utf-8 Bahá'í in doc-strings, menus, etc.
6833
0311a3fc
TH
68342012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6835
6836 * saveplace.el (save-place-ignore-files-regexp): New variable
6837 allowing for excluding files from saving their location of point.
6838 The default value matches the temporary commit message editing
6839 files from Git, SVN, Bazaar, and Mercurial.
6840 (save-place-to-alist): Use it.
6841
d209e2fb 68422012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6843 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6844
6845 * newcomment.el (uncomment-region-default): Don't leave extra space
6846 when an arg is provided (bug#8150).
6847
ee0ce425
TZ
68482012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6849
eb864a71 6850 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6851
95ddf442
GM
68522012-02-17 Glenn Morris <rgm@gnu.org>
6853
6854 * net/socks.el: Require network-stream. (Bug#10599)
6855
48dd1e39 68562012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6857
6858 * international/charprop.el:
6859 * international/uni-name.el:
6860 * international/uni-old-name.el:
6861 * international/uni-comment.el: Regenerate.
6862
d68cd087
GM
68632012-02-16 Glenn Morris <rgm@gnu.org>
6864
6865 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6866 Interactively in calendar buffer, give an error if not on a date.
6867
13932042
GM
68682012-02-15 Glenn Morris <rgm@gnu.org>
6869
6870 * shell.el (shell-delimiter-argument-list):
6871 Revert 2011-02-17 change. (Bug#8027)
6872
c3a70e2b
CY
68732012-02-15 Chong Yidong <cyd@gnu.org>
6874
60236b0d
CY
6875 * minibuffer.el (completion-at-point-functions): Doc fix.
6876
c3a70e2b
CY
6877 * custom.el (defcustom): Doc fix; note use of defvar.
6878
9f26dc24
GM
68792012-02-15 Glenn Morris <rgm@gnu.org>
6880
6881 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6882 Doc fixes.
6883
6546b134
GM
68842012-02-14 Glenn Morris <rgm@gnu.org>
6885
6886 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6887
d29b2b4c
LI
68882012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6889
6890 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6891 way the ports list is computed.
835bdcba
LI
6892 (smtpmail-query-smtp-server): Prompt the user for a port number if
6893 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6894
08dcdbc9
TZ
68952012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6896
6897 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6898
2605051a
GM
68992012-02-13 Glenn Morris <rgm@gnu.org>
6900
6901 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6902
7ee99f32
TZ
69032012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6904
6905 * net/gnutls.el (gnutls-trustfiles): New variable.
6906 (gnutls-negotiate): Use it.
6907
5f0af64f
LI
69082012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6909
6910 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6911 does its stuff if Gnus is running.
6912
c14fcc95
AM
69132012-02-13 Alan Mackenzie <acm@muc.de>
6914
6915 Fix a loop in c-set-fl-decl-start.
6916
7a71b18d 6917 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6918 c-backward-syntactic-ws actually moves backwards.
6919
142b4d90
LL
69202012-02-13 Leo Liu <sdl.web@gmail.com>
6921
6922 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6923 beginning so that all \C-o chars are removed.
6924
fa9958a6
TZ
69252012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6926
dc9924b8 6927 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6928
0bc5886a
AM
69292012-02-12 Alan Mackenzie <acm@muc.de>
6930
6931 Fix infinite loop with long macros.
4d6769e1 6932 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6933
d4bd55e7
CY
69342012-02-12 Chong Yidong <cyd@gnu.org>
6935
6936 * window.el (display-buffer): Doc fix (Bug#10785).
6937
66f3fe22
GM
69382012-02-12 Glenn Morris <rgm@gnu.org>
6939
bd7da63e
GM
6940 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6941 (x-disown-selection-internal, x-get-selection-internal):
6942 Sync docs with the xselect.c versions.
6943
66f3fe22
GM
6944 * allout-widgets.el: Add missing license notice.
6945
3e0d2fa7
GM
69462012-02-11 Glenn Morris <rgm@gnu.org>
6947
cfecdf09
GM
6948 * select.el (x-get-selection-internal, x-own-selection-internal)
6949 (x-disown-selection-internal):
6950 * x-dnd.el (x-get-selection-internal): Update declarations.
6951
6d216d7f
GM
6952 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6953
2bed3f04
GM
6954 * window.el (window-sides-slots):
6955 * tool-bar.el (tool-bar-position):
6956 * term/xterm.el (xterm-extra-capabilities):
6957 * ses.el (ses-self-reference-early-detection):
6958 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6959 (verilog-auto-wire-type)
6960 (verilog-auto-delete-trailing-whitespace)
6961 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6962 (verilog-auto-tieoff-declaration):
6963 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6964 (sql-oracle-statement-starters, sql-oracle-scan-on):
6965 * progmodes/prolog.el (prolog-align-comments-flag)
6966 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6967 (prolog-left-indent-regexp, prolog-paren-indent-p)
6968 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6969 (prolog-types, prolog-mode-specificators)
6970 (prolog-determinism-specificators, prolog-directives)
6971 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6972 (prolog-electric-dot-flag)
6973 (prolog-electric-dot-full-predicate-template)
6974 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6975 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6976 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6977 (prolog-program-switches, prolog-prompt-regexp)
6978 (prolog-debug-on-string, prolog-debug-off-string)
6979 (prolog-trace-on-string, prolog-trace-off-string)
6980 (prolog-zip-on-string, prolog-zip-off-string)
6981 (prolog-use-standard-consult-compile-method-flag)
6982 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6983 (prolog-imenu-max-lines, prolog-info-predicate-index)
6984 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6985 (prolog-char-quote-workaround):
6986 * progmodes/cc-vars.el (c-defun-tactic):
6987 * net/tramp.el (tramp-encoding-command-interactive)
6988 (tramp-local-end-of-line):
6989 * net/soap-client.el (soap-client):
6990 * net/netrc.el (netrc-file):
6991 * net/gnutls.el (gnutls):
6992 * minibuffer.el (completion-category-overrides)
6993 (completion-cycle-threshold)
6994 (completion-pcm-complete-word-inserts-delimiters):
6995 * man.el (Man-name-local-regexp):
6996 * mail/feedmail.el (feedmail-display-full-frame):
6997 * international/characters.el (glyphless-char-display-control):
6998 * eshell/em-ls.el (eshell-ls-date-format):
6999 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7000 (lisp-lambda-list-keyword-parameter-indentation)
7001 (lisp-lambda-list-keyword-parameter-alignment):
7002 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7003 * dired-x.el (dired-omit-verbose):
7004 * cus-theme.el (custom-theme-allow-multiple-selections):
7005 * calc/calc.el (calc-highlight-selections-with-faces)
7006 (calc-lu-field-reference, calc-lu-power-reference)
7007 (calc-note-threshold):
7008 * battery.el (battery-mode-line-limit):
7009 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7010 (archive-7z-update):
7011 * allout.el (allout-prefixed-keybindings)
7012 (allout-unprefixed-keybindings)
7013 (allout-inhibit-auto-fill-on-headline)
7014 (allout-flattened-numbering-abbreviation):
7015 * allout-widgets.el (allout-widgets-auto-activation)
7016 (allout-widgets-icons-dark-subdir)
7017 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7018 (allout-widgets-theme-dark-background)
7019 (allout-widgets-theme-light-background)
7020 (allout-widgets-item-image-properties-emacs)
7021 (allout-widgets-item-image-properties-xemacs)
7022 (allout-widgets-run-unit-tests-on-load)
7023 (allout-widgets-time-decoration-activity)
7024 (allout-widgets-hook-error-post-time)
7025 (allout-widgets-track-decoration):
7026 Add missing :version tags to new defcustoms and defgroups.
7027
5fec1b8e
GM
7028 * progmodes/sql.el (sql-ansi-statement-starters)
7029 (sql-oracle-statement-starters): Add custom type.
7030
3e0d2fa7
GM
7031 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7032 (prolog-system-version): Give it a type.
7033
90b671e2
EZ
70342012-02-11 Eli Zaretskii <eliz@gnu.org>
7035
7036 * term/pc-win.el (x-select-text, x-selection-owner-p)
7037 (x-own-selection-internal, x-disown-selection-internal)
7038 (x-get-selection-internal): Sync doc strings and argument lists
7039 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7040
5eac0c02
LL
70412012-02-11 Leo Liu <sdl.web@gmail.com>
7042
7043 * progmodes/python.el (python-end-of-statement): Fix infinite
7044 loop. (Bug#10788)
7045
f82cb659
GM
70462012-02-10 Glenn Morris <rgm@gnu.org>
7047
7048 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7049 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7050
cc26d239
LI
70512012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7052
7053 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7054 about SMTP before checking the From header.
7055
91027d08 7056 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
7057 into own function for reuse by emacsbug.el.
7058
1be3ca5a
LL
70592012-02-10 Leo Liu <sdl.web@gmail.com>
7060
7061 * subr.el (condition-case-unless-debug): Rename from
7062 condition-case-no-debug. All callers changed.
7063 (with-demoted-errors): Fix caller.
7064
7065 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7066 * nxml/rng-valid.el (rng-do-some-validation):
7067 * emacs-lisp/package.el (package-refresh-contents)
7068 (package-menu-execute):
7069 * desktop.el (desktop-create-buffer):
91027d08 7070 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 7071
b011fbfe
GM
70722012-02-10 Glenn Morris <rgm@gnu.org>
7073
b2096d72
GM
7074 * textmodes/bibtex.el:
7075 Add missing :version tags for new/changed defcustoms.
7076
b011fbfe
GM
7077 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7078
4c7e65bf
LI
70792012-02-09 Lars Ingebrigtsen <larsi@rusty>
7080
7081 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7082 (smtpmail-via-smtp): Use it, or fall back on the From address.
7083 (smtpmail-send-it): Ditto.
7084
f3934f6f
SM
70852012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7086
7087 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7088 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7089 (byte-compile-tmp-var): New const.
7090 (byte-compile-defvar): Use it to minimize .elc size.
7091 Just use `defvar' rather than simulate it (bug#10761).
7092
a075a2c5
GM
70932012-02-09 Glenn Morris <rgm@gnu.org>
7094
cf3aa21b
GM
7095 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7096
354998cd
GM
7097 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7098 Add :version tags.
7099
dc9924b8
SM
7100 * progmodes/compile.el (compilation-error-screen-columns)
7101 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 7102
dab3703d
GM
7103 * vc/log-view.el (log-view-toggle-entry-display):
7104 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7105
3f88cd72
GM
7106 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7107 (report-emacs-bug-can-use-xdg-email):
7108 (report-emacs-bug-insert-to-mailer): Doc fixes.
7109 (report-emacs-bug): Message fix.
7110
d95b247d
GM
7111 * net/browse-url.el (browse-url-can-use-xdg-open)
7112 (browse-url-xdg-open): Doc fixes.
7113
a075a2c5
GM
7114 * electric.el (electric-indent-mode, electric-pair-mode)
7115 (electric-layout-rules, electric-layout-mode): Doc fixes.
7116 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7117
ffb6157e
MR
71182012-02-08 Martin Rudalics <rudalics@gmx.at>
7119
7120 * server.el (server-unselect-display): Don't inadvertently kill
7121 the current buffer. (Bug#10729)
7122
e1ac4066
GM
71232012-02-08 Glenn Morris <rgm@gnu.org>
7124
34e8a2da
GM
7125 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7126 (sql-list-table): Doc fixes.
7127
b4ac6e8c
GM
7128 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7129 Comment out (does nothing).
7130
e1ac4066
GM
7131 * completion.el (dynamic-completion-mode):
7132 * dirtrack.el (dirtrack-debug-mode):
7133 * electric.el (electric-layout-mode):
7134 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7135 * face-remap.el (text-scale-mode, buffer-face-mode):
7136 * iimage.el (iimage-mode):
7137 * image-mode.el (image-transform-mode):
7138 * minibuffer.el (completion-in-region-mode):
7139 * scroll-lock.el (scroll-lock-mode):
7140 * simple.el (next-error-follow-minor-mode):
7141 * tar-mode.el (tar-subfile-mode):
7142 * tooltip.el (tooltip-mode):
7143 * vcursor.el (vcursor-use-vcursor-map):
7144 * wid-browse.el (widget-minor-mode):
7145 * emulation/tpu-edt.el (tpu-edt-mode):
7146 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7147 * international/iso-ascii.el (iso-ascii-mode):
7148 * language/thai-util.el (thai-word-mode):
7149 * mail/supercite.el (sc-minor-mode):
7150 * net/goto-addr.el (goto-address-mode):
7151 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7152 * progmodes/cwarn.el (cwarn-mode):
7153 * progmodes/flymake.el (flymake-mode):
7154 * progmodes/glasses.el (glasses-mode):
7155 * progmodes/hideshow.el (hs-minor-mode):
7156 * progmodes/pascal.el (pascal-outline-mode):
7157 * textmodes/enriched.el (enriched-mode):
7158 * vc/smerge-mode.el (smerge-mode):
7159 Doc fixes (minor mode argument).
7160
5e0d957f
EZ
71612012-02-07 Eli Zaretskii <eliz@gnu.org>
7162
7163 * ls-lisp.el (ls-lisp-sanitize): New function.
7164 (ls-lisp-insert-directory): Use it to fix or remove any elements
7165 in file-alist with missing attributes. (Bug#4673)
7166
98d7371e
AM
71672012-02-07 Alan Mackenzie <acm@muc.de>
7168
7169 Fix spurious recognition of c-in-knr-argdecl.
7170
7171 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7172 putative K&R region.
7173
667ced3a
AM
71742012-02-07 Alan Mackenzie <acm@muc.de>
7175
eb864a71
LM
7176 * progmodes/cc-engine.el (c-forward-objc-directive):
7177 Prevent looping in "#pragma mark @implementation".
667ced3a 7178
5b77774d
MA
71792012-02-07 Michael Albinus <michael.albinus@gmx.de>
7180
7181 * notifications.el (notifications-on-closed-signal): Make `reason'
7182 optional. (Bug#10744)
7183
af008560
GM
71842012-02-07 Glenn Morris <rgm@gnu.org>
7185
60d47423
GM
7186 * emacs-lisp/easy-mmode.el (define-minor-mode):
7187 Doc fixes for the macro and the mode it defines.
7188
dd605cc4
GM
7189 * image.el (imagemagick-types-inhibit): Doc fix.
7190
af008560
GM
7191 * cus-start.el (imagemagick-render-type): Add it.
7192
5cc59a37
LI
71932012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7194
4d6769e1
JB
7195 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7196 Set the default at load time, too, so that `font-lock-fontify-buffer'
7197 can be called without setting up the entire mode first. This fixes
7198 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 7199
9a6dd747
CY
72002012-02-06 Chong Yidong <cyd@gnu.org>
7201
2d16b285
CY
7202 * simple.el (list-processes--refresh): Delete exited processes
7203 (Bug#8094).
7204
171e9b6e
CY
7205 * comint.el (comint-next-prompt): next-single-char-property-change
7206 and prev-single-char-property-change never return nil (Bug#8657).
7207
9a6dd747
CY
7208 * custom.el (defcustom): Doc fix (Bug#9711).
7209
aa4589a7
CY
72102012-02-05 Chong Yidong <cyd@gnu.org>
7211
5c2a252f
CY
7212 * cus-edit.el (custom-variable-reset-backup): Quote the value
7213 before storing it in the customized-value property (Bug#6712).
4aab9006 7214 (custom-display): Add a customization type tag.
983b9602 7215 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7216
aa4589a7
CY
7217 * wid-edit.el (widget-field-value-get): New optional arg to
7218 suppress trailing whitespace truncation.
7219 (character): Use it (Bug#2689).
7220
1ff980ae
AS
72212012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7222
7223 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7224 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7225
03988c98
CY
72262012-02-05 Chong Yidong <cyd@gnu.org>
7227
eeb6cc88
CY
7228 * cus-edit.el (custom-variable-value-create): For mismatched
7229 types, show the current value (Bug#7600).
7230
03988c98
CY
7231 * custom.el (defcustom): Doc fix.
7232
f8cdeef0
GM
72332012-02-05 Glenn Morris <rgm@gnu.org>
7234
7235 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7236
0696d255
JB
72372012-02-05 Juanma Barranquero <lekktu@gmail.com>
7238
7239 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7240 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7241 (pp-last-sexp): Use `looking-at-p'.
7242
34c99998
GM
72432012-02-04 Glenn Morris <rgm@gnu.org>
7244
8f05da42
GM
7245 * files.el (revert-buffer):
7246 Doc fix (mention revert-buffer-in-progress-p).
7247
f160676e
GM
7248 * emacs-lisp/ert-x.el (ert-simulate-command):
7249 Check deferred-action-list (which is obsolete) is bound.
7250
c7291ad9
GM
7251 * subr.el (with-wrapper-hook): Doc fixes.
7252
34c99998
GM
7253 * simple.el (filter-buffer-substring-functions)
7254 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7255
6283a7d3
LL
72562012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7257
7258 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7259 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7260
e96e3013
LL
72612012-02-04 Leo Liu <sdl.web@gmail.com>
7262
7263 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7264
8ded50f2
GM
72652012-02-04 Glenn Morris <rgm@gnu.org>
7266
82ff1d13
GM
7267 * image.el (image-extension-data): Add obsolete alias.
7268
987a0a16
GM
7269 * isearch.el (isearch-update): Doc fix.
7270
ea32ef46
GM
7271 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7272
8ded50f2
GM
7273 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7274
eea14f31
GM
72752012-02-03 Glenn Morris <rgm@gnu.org>
7276
7277 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7278 (image-animate-timeout): Doc fix.
7279
7280 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7281
12f381b7
GM
72822012-02-02 Glenn Morris <rgm@gnu.org>
7283
953cebf5
GM
7284 * server.el (server-auth-dir): Doc fix.
7285 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7286
12f381b7
GM
7287 * subr.el (run-mode-hooks): Doc fix.
7288
953a8c3b
JL
72892012-02-02 Juri Linkov <juri@jurta.org>
7290
7291 * image-mode.el (image-toggle-display-image): Remove tautological
7292 `major-mode' from the `derived-mode-p' test.
7293
c5d3843c
KH
72942012-02-02 Kenichi Handa <handa@m17n.org>
7295
9f6e692e 7296 * composite.el (compose-region): Cancel previous change.
c5d3843c 7297
159462d4 72982012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7299
7300 * composite.el (compose-region, compose-string): Signal error for
7301 a null string component (Bug#6988).
7302
9f562668
CY
73032012-02-01 Chong Yidong <cyd@gnu.org>
7304
e2cef717
CY
7305 * view.el (view-buffer-other-window, view-buffer-other-frame):
7306 Handle special modes like view-buffer (Bug#10650).
7307 (view-buffer): Simplify.
7308
9f562668
CY
7309 * frame.el (set-frame-font): Tweak meaning of third argument.
7310
9f6e692e
JB
7311 * dynamic-setting.el (font-setting-change-default-font):
7312 Use set-frame-font (Bug#9982).
9f562668 7313
781acb9f
GM
73142012-02-01 Glenn Morris <rgm@gnu.org>
7315
6035be52
GM
7316 * progmodes/compile.el (compilation-internal-error-properties):
7317 Respect compilation-first-column in the "*compilation*" buffer.
7318
781acb9f
GM
7319 * emacs-lisp/easy-mmode.el (define-minor-mode):
7320 Relax :variable's test for a named function.
7321
abbceb00
AM
73222012-01-31 Alan Mackenzie <acm@muc.de>
7323
7324 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7325 off by one error.
7326
fce3fdeb
CY
73272012-01-31 Chong Yidong <cyd@gnu.org>
7328
7329 * frame.el (set-frame-font): New arg ALL-FRAMES.
7330
7331 * menu-bar.el (menu-set-font): Use set-frame-font.
7332
7333 * faces.el (face-spec-reset-face): Don't apply unspecified
7334 attribute values to the default face.
7335
47893581
JB
73362012-01-31 Juanma Barranquero <lekktu@gmail.com>
7337
7338 * progmodes/cwarn.el (cwarn): Remove dead link.
7339 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7340 Remove * from defcustom docstrings.
7341 (turn-on-cwarn-mode): Make obsolete.
7342 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7343 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7344
e58e988a
GM
73452012-01-31 Glenn Morris <rgm@gnu.org>
7346
60dc2671 7347 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7348 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7349 Allow named functions to be used as the cdr of :variable.
e58e988a 7350
7a3f511d
GM
73512012-01-30 Glenn Morris <rgm@gnu.org>
7352
7353 * emacs-lisp/authors.el (authors-fixed-entries):
7354 Remove reference to deleted file rnewspost.el.
7355
cb882333
JB
73562012-01-29 Juanma Barranquero <lekktu@gmail.com>
7357
7358 * window.el (window-with-parameter): Remove unused variable `windows'.
7359 (window--side-check): Remove unused variable `code'.
7360 (window--resize-siblings): Remove unused variable `first'.
7361 (adjust-window-trailing-edge): Remove unused variable `failed'.
7362 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7363 Use `let', not `let*'.
7364 (balance-windows-2): Remove unused variable `found'.
7365 (window--state-put-2): Remove unused variable `splits'.
7366 (window-state-put): Remove unused variable `selected'.
7367 (same-window-p): Use `string-match-p'.
7368 (display-buffer-assq-regexp): Remove unused variable `value'.
7369 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7370 Mark argument ALIST as ignored.
7371 (pop-to-buffer): Remove unused variable `old-window'.
7372
907201af
EZ
73732012-01-29 Eli Zaretskii <eliz@gnu.org>
7374
7375 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7376 and .lzma compressed files.
7377
ea162670
CY
73782012-01-29 Chong Yidong <cyd@gnu.org>
7379
5b95ee8a
CY
7380 * frame.el (window-system-default-frame-alist): Doc fix.
7381
ea162670
CY
7382 * dynamic-setting.el (font-setting-change-default-font): Don't
7383 change the default face if SET-FONT argument is non-nil (Bug#9982).
7384
d6e6f4b1
SB
73852012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7386
7387 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7388
0f29fa41 73892012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7390
7391 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7392 breakpoints in files outside current directory (Bug#6098).
7393
db174434
CY
73942012-01-29 Chong Yidong <cyd@gnu.org>
7395
6b25e4e2
SE
7396 * progmodes/python.el: Require ansi-color at top-level.
7397
6df6ae42
JB
7398 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7399 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7400 (lisp-mode-abbrev-table): Add doc.
7401 (lisp-mode-variables): Don't set local-abbrev-table.
7402 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7403
e70ee681
RW
74042012-01-28 Roland Winkler <winkler@gnu.org>
7405
7406 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7407
ace88aa2
RW
74082012-01-28 Roland Winkler <winkler@gnu.org>
7409
7410 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7411 (bibtex-set-dialect): Use it. Either set global values of
7412 dialect-dependent variables or bind these variables buffer-locally
7413 (Bug#10254).
7414 (bibtex-mode): Call bibtex-set-dialect via
7415 hack-local-variables-hook.
eb864a71
LM
7416 (bibtex-dialect): Update docstring.
7417 Add safe-local-variable predicate.
ace88aa2
RW
7418 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7419 bibtex-set-dialect.
7420 (bibtex-mode-map): Define menu for each dialect.
7421 (bibtex-entry): Fix docstring.
7422
93376c5b
CY
74232012-01-28 Chong Yidong <cyd@gnu.org>
7424
7425 * eshell/esh-arg.el (eshell-quote-argument): New function.
7426
7427 * eshell/esh-ext.el (eshell-invoke-batch-file):
7428 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7429 first arg to eshell-parse-command (Bug#10523).
7430
4372494f
DA
74312012-01-28 Drew Adams <drew.adams@oracle.com>
7432
7433 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7434 `default-directory' is non-nil.
7435
4d4ec1f8
EZ
74362012-01-28 Eli Zaretskii <eliz@gnu.org>
7437
7438 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7439 line that displays system-configuration-options. (Bug#9924)
7440
7c188927
DA
74412012-01-28 Drew Adams <drew.adams@oracle.com>
7442
7443 * descr-text.el (describe-char): Show information about POS, in
7444 addition to information about the character at POS. Improve and
7445 update the doc string. Change "code point" to "code point in
7446 charset", to avoid confusion with the character's Unicode code
7447 point shown above that. (Bug#10129)
7448
e0da685a
EZ
74492012-01-28 Eli Zaretskii <eliz@gnu.org>
7450
7451 * descr-text.el (describe-char): Show the raw character, not only
7452 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7453 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7454 for the reasons.
7455
70550acf
PH
74562012-01-28 Phil Hagelberg <phil@hagelb.org>
7457
eb864a71
LM
7458 * emacs-lisp/package.el (package-install):
7459 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7460
0ce8e868
CY
74612012-01-28 Chong Yidong <cyd@gnu.org>
7462
cb882333
JB
7463 * emacs-lisp/package.el (package-maybe-load-descriptor):
7464 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7465 (package-maybe-load-descriptor): Use it.
7466 (package-download-transaction): Fully load required packages
7467 inside the loop, so that `require' calls work (Bug#10593).
7468 (package-install): No need to call package-initialize now.
7469
2e7f3bea
CY
74702012-01-28 Chong Yidong <cyd@gnu.org>
7471
6e9bad14
CY
7472 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7473
f823b8ca
CY
7474 * tooltip.el (tooltip-mode): Doc fix.
7475 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7476
2680c309
CY
7477 * frame.el (set-cursor-color): Doc fix (Bug#352).
7478
d7a9e63b
CY
7479 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7480 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7481
2e7f3bea
CY
7482 * cus-edit.el (custom-buffer-create-internal): Fix search button
7483 action (Bug#10542).
2ae01800 7484 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7485
fc4f7a23
EW
74862012-01-27 Eduard Wiebe <usenet@pusto.de>
7487
7488 * dired.el (dired-mark-files-regexp):
7489 Include any subdirectory components. (Bug#10445)
7490
7dd37071
ML
74912012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7492
7493 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7494 Handle [host]:port syntax. (Bug#10533)
7495
a268160b
AH
74962012-01-27 Alex Harsanyi <harsanyi@mac.com>
7497
7498 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7499
e43273ef
GM
75002012-01-26 Glenn Morris <rgm@gnu.org>
7501
7502 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7503 * term.el (term-raw-escape-map): Use Control-X-prefix.
7504 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7505
1edf595d
MR
75062012-01-25 Martin Rudalics <rudalics@gmx.at>
7507
7508 * window.el (window-state-get, window--state-get-1): Don't deal
7509 with fixed-sizeness of windows. Simplify code.
7510
fa8eafef
JC
75112012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7512
6df6ae42
JB
7513 * window.el (window--state-get-1, window--state-put-2):
7514 Don't save and restore the mark.
fa8eafef 7515
0b21c100
CY
75162012-01-25 Chong Yidong <cyd@gnu.org>
7517
7518 * custom.el (custom-variable-p): Doc fix.
7519
5ae1a6c8
GM
75202012-01-25 Glenn Morris <rgm@gnu.org>
7521
40047858
GM
7522 * dired.el (dired-goto-file): Handle some of the more common
7523 characters that `ls -b' escapes. (Bug#10596)
7524
5ddce96c
GM
7525 * progmodes/compile.el (compilation-next-error-function):
7526 Respect compilation-first-column in the "*compilation*" buffer.
7527 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7528
5ae1a6c8
GM
7529 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7530
b559f1a9
GM
75312012-01-24 Glenn Morris <rgm@gnu.org>
7532
7533 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7534
6725d21a
JD
75352012-01-24 Julien Danjou <julien@danjou.info>
7536
7537 * color.el (color-rgb-to-hsl): Fix value computing.
7538 (color-hue-to-rgb): New function.
7539 (color-hsl-to-rgb): New function.
7540 (color-clamp, color-saturate-hsl, color-saturate-name)
7541 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7542 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7543
70df4bbe
GM
75442012-01-24 Glenn Morris <rgm@gnu.org>
7545
7546 * vc/vc-rcs.el (vc-rcs-create-tag):
7547 * vc/vc-sccs.el (vc-sccs-create-tag):
7548 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7549
802a2ae2
ML
75502012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7551
7552 * eshell/esh-util.el (eshell-read-hosts-file):
7553 Skip comment lines. (Bug#10549)
7554
d7128bb1
ML
7555 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7556
d1a5c3b4
JB
75572012-01-23 Juanma Barranquero <lekktu@gmail.com>
7558
2724d9c7
JB
7559 * subr.el (display-delayed-warnings): Doc fix.
7560 (collapse-delayed-warnings): New function to collapse identical
7561 adjacent warnings.
7562 (delayed-warnings-hook): Add it.
d1a5c3b4 7563
a5509865
MA
75642012-01-22 Michael Albinus <michael.albinus@gmx.de>
7565
7566 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7567
a5509865
MA
7568 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7569 (tramp-default-user-alist): Don't add "pscp".
7570 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7571 property "login-as", if set. (Bug#10530)
7572
cc6d5805
MA
75732012-01-21 Michael Albinus <michael.albinus@gmx.de>
7574
7575 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7576 "plink1" and "psftp". (Bug#10530)
7577
75782012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7579
7580 * international/mule-cmds.el (prefer-coding-system): Show a
7581 warning message if the default value of file-name-coding-system
7582 was not changed.
7583
f0960428
JC
75842012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7585
cb882333
JB
7586 * windmove.el (windmove-reference-loc):
7587 Fix windmove-reference-loc miscalculation.
f0960428 7588
dd6f2a63
JB
75892012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7590
7591 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7592 default unit.
7593
7b447e9b
GM
75942012-01-21 Glenn Morris <rgm@gnu.org>
7595
117a9ea1
GM
7596 * international/mule.el (auto-coding-alist): Add .tbz.
7597
7b447e9b
GM
7598 * files.el (local-enable-local-variables): Doc fix.
7599 (inhibit-local-variables-regexps): Rename from
7600 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7601 Doc fix. Add some extensions from auto-coding-alist.
7602 (inhibit-local-variables-suffixes):
7603 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7604 (inhibit-local-variables-p):
7605 New function, extracted from set-auto-mode-1.
7606 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7607 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7608 (hack-local-variables): Doc fix. Make the mode-only case
7609 respect enable-local-variables and friends.
7610 Respect inhibit-local-variables-regexps for file-locals, but
7611 not for directory-locals.
7612 (set-visited-file-name):
7613 Take account of inhibit-local-variables-regexps.
7614 Whether it applies may change as the file name is changed.
7615 * jka-cmpr-hook.el (jka-compr-install):
7616 * jka-compr.el (jka-compr-uninstall):
7617 Update for inhibit-first-line-modes-suffixes name change.
7618
dd6e3cdd
MR
76192012-01-20 Martin Rudalics <rudalics@gmx.at>
7620
7621 * help-macro.el (make-help-screen): Temporarily restore original
7622 binding for minor-mode-map-alist (Bug#10454).
7623
0d0deb38
JD
76242012-01-19 Julien Danjou <julien@danjou.info>
7625
7626 * color.el (color-name-to-rgb): Use the white color to find the max
7627 color component value and return correctly computed values.
7628 (color-name-to-rgb): Add missing float conversion for max value.
7629
34a02f46
MR
76302012-01-19 Martin Rudalics <rudalics@gmx.at>
7631
7632 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7633 special state value for window-persistent-parameters.
7634 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7635 (window--state-put-2): Reset all window parameters to nil before
7636 assigning values of persistent parameters.
7637
606c44c4
AM
76382012-01-18 Alan Mackenzie <acm@muc.de>
7639
7640 Eliminate sluggishness and hangs in fontification of "semicolon
7641 deserts".
7642
cb882333
JB
7643 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7644 Change value 10000 -> 3000.
606c44c4
AM
7645 (c-state-safe-place): Reformulate so it doesn't stack up an
7646 infinite number of wrong entries in c-state-nonlit-pos-cache.
7647 (c-determine-limit-get-base, c-determine-limit): New functions to
7648 determine backward search limits disregarding literals.
7649 (c-find-decl-spots): Amend commenting.
7650 (c-cheap-inside-bracelist-p): New function which detects "={".
7651
7652 * progmodes/cc-fonts.el
7653 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7654 backward search.
7655 (c-font-lock-declarations): Fix an occurrence of point being
7656 undefined. Check additionally for point being in a bracelist or
7657 near a macro invocation without a semicolon so as to avoid a
7658 fruitless time consuming search for a declarator. Give a more
7659 precise search limit for declarators using the new
7660 c-determine-limit.
7661
f3860cea
GM
76622012-01-18 Glenn Morris <rgm@gnu.org>
7663
7664 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7665 (set-auto-mode): Doc fixes.
7666
1db03b16
GM
76672012-01-17 Glenn Morris <rgm@gnu.org>
7668
0e6038be
GM
7669 * isearch.el (search-nonincremental-instead): Fix doc typo.
7670
1db03b16
GM
7671 * dired.el (dired-insert-directory): Handle newlines in directory name.
7672 (dired-build-subdir-alist): Unescape newlines in directory name.
7673
4cb0aa75
MA
76742012-01-17 Michael Albinus <michael.albinus@gmx.de>
7675
7676 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7677 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7678 (tramp-action-terminal): Use it. (Bug#10530)
7679
1d00653d
SM
76802012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7681
7682 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7683
6a6ee00d
MR
76842012-01-16 Martin Rudalics <rudalics@gmx.at>
7685
7686 * window.el (window-state-ignored-parameters): Remove variable.
7687 (window--state-get-1): Rename argument MARKERS to IGNORE.
7688 Handle persistent window parameters. Make copy of clone-of
7689 parameter only if requested. (Bug#10348)
7690 (window--state-put-2): Install a window parameter only if it has
7691 a non-nil value or an existing parameter shall be overwritten.
7692
97912def
MA
76932012-01-15 Michael Albinus <michael.albinus@gmx.de>
7694
7695 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7696
688070a5
EZ
76972012-01-14 Eli Zaretskii <eliz@gnu.org>
7698
7699 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7700 don't pass the (nil) value of `upnode' to string-match.
7701
301afadc
CY
77022012-01-14 Chong Yidong <cyd@gnu.org>
7703
7704 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7705 Fix values recognized by the cursorBlink resource.
301afadc 7706
9e5788aa
PE
77072012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7708
7709 * epg.el (epg--make-temp-file): Avoid permission race condition
7710 when running on old Emacs versions (bug#10403).
7711
3cdb7f5a
GM
77122012-01-14 Glenn Morris <rgm@gnu.org>
7713
7714 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7715
8c82b1b4
AM
77162012-01-13 Alan Mackenzie <acm@muc.de>
7717
7718 Fix filling for when filladapt mode is enabled.
7719
7720 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7721 c-mask-paragraph, pass in `fill-paragraph' rather than
7722 `fill-region-as-paragraph'. (This is a reversion of a previous
7723 change.)
eb864a71
LM
7724 * progmodes/cc-mode.el (c-basic-common-init):
7725 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7726
e517eda4
GM
77272012-01-13 Glenn Morris <rgm@gnu.org>
7728
1498536e
GM
7729 * dired.el (dired-switches-escape-p): New function.
7730 (dired-insert-directory): Use dired-switches-escape-p.
7731 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7732
e517eda4
GM
7733 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7734
328f984d
GM
77352012-01-12 Glenn Morris <rgm@gnu.org>
7736
7737 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7738 changes in adaptive-fill-regexp. (Bug#10276)
7739
2cc769a8
AM
77402012-01-11 Alan Mackenzie <acm@muc.de>
7741
7742 Fix Emacs bug #10463 - put `widen's around the critical spots.
7743
1d00653d 7744 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7745 widen around each invocation of c-state-pp-to-literal. Remove an
7746 unused let variable.
7747
e52c37fa
GM
77482012-01-11 Glenn Morris <rgm@gnu.org>
7749
7750 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7751 Doc fix.
e52c37fa 7752
96f8741e
CY
77532012-01-10 Chong Yidong <cyd@gnu.org>
7754
1d00653d
SM
7755 * net/network-stream.el (network-stream-open-starttls):
7756 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7757 response to the capability command.
7758
b09a806e
GM
77592012-01-10 Glenn Morris <rgm@gnu.org>
7760
7761 * mail/unrmail.el (unrmail): Tweak previous change.
7762
7655cb66
CY
77632012-01-09 Chong Yidong <cyd@gnu.org>
7764
7765 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7766
9d5a8f0b
AM
77672012-01-08 Alan Mackenzie <acm@muc.de>
7768
7769 Optimise font locking in long enum definitions.
7770
7771 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7772 arm to a cond form to handle enums.
7773 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7774 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7775
9a0115ab 77762012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7777
7778 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7779 (Bug#10401)
6bb72cbd 7780
f186bb95
LMI
77812012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7782
29232a68
LMI
7783 * faces.el (set-face-attribute): Clarify the meaning of the nil
7784 frame (bug#10294).
7785
4e5d086d
LMI
7786 * subr.el (with-selected-frame): Mention that the selected frame
7787 is restored (bug#9980).
7788
8e66aebe
LMI
7789 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7790 (bug#9759).
7791
cd394be1 7792 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7793 (password-read): Don't autoload unused function.
7794
adf4e762
JB
77952012-01-07 Juanma Barranquero <lekktu@gmail.com>
7796
7797 * progmodes/which-func.el (which-func-mode): Turn into a
7798 non-interactive function and mark as obsolete (bug#10428).
7799
89bd9ccd
CY
78002012-01-06 Chong Yidong <cyd@gnu.org>
7801
7802 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7803 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7804 functions, along with 1 and -1.
7805
4afee9d5
EZ
78062012-01-06 Eli Zaretskii <eliz@gnu.org>
7807
7808 * time.el (display-time-load-average)
7809 (display-time-default-load-average): Doc fixes. See the thread
7810 starting at
7811 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7812 for the details.
7813
536aea70
GM
78142012-01-06 Glenn Morris <rgm@gnu.org>
7815
665ae865
GM
7816 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7817 has no messages. (Bug#10377)
7818
c869783d
GM
7819 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7820 than Info-edit. (Bug#10385)
7821
2bb4227e
GM
7822 * time.el (display-time-load-average, display-time-next-load-average):
7823 Doc fixes.
7824
7d5944b9
GM
7825 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7826 local setting of buffer-read-only to the input buffer. (Bug#10419)
7827
536aea70
GM
7828 * calendar/calendar.el (calendar-mode):
7829 Locally set scroll-margin to 0. (Bug#10379)
7830
7dccca16
UM
78312012-01-06 Ulrich Mueller <ulm@gentoo.org>
7832
7833 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7834
afbb7930
GM
78352012-01-05 Glenn Morris <rgm@gnu.org>
7836
7837 * eshell/em-unix.el (diff-no-select): Autoload it.
7838 (eshell/diff): Use diff-no-select. (Bug#10420)
7839
04482335
CY
78402012-01-05 Chong Yidong <cyd@gnu.org>
7841
7baca3bc
CY
7842 * shell.el (shell-dynamic-complete-functions): Revert last change.
7843 (shell-command-completion-function): New function.
7844 (shell-completion-vars): Use it to implement
7845 shell-completion-execonly (Bug#10417).
7846
04482335
CY
7847 * custom.el (enable-theme): Don't set custom-safe-themes.
7848
1d00653d
SM
7849 * cus-theme.el (custom-theme-merge-theme):
7850 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7851
bb5aa5d6
MM
78522012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7853
7854 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7855 first prompt in `sql-interacive-mode'.
7856 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7857 keywords.
6df6ae42 7858 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7859 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7860 context of original buffer. Invoke `sql-login-hook'.
7861
a7183d7c
EZ
78622012-01-04 Eli Zaretskii <eliz@gnu.org>
7863
7864 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7865 letters in cite-prefix.
7866
a1eacd1e
LMI
78672012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7868
7869 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7870
787cdb34
CY
78712012-01-03 Chong Yidong <cyd@gnu.org>
7872
1d00653d
SM
7873 * shell.el (shell-dynamic-complete-functions):
7874 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7875 comint-filename-completion first (Bug#10417).
7876
30710442
RS
78772012-01-02 Richard Stallman <rms@gnu.org>
7878
7879 * battery.el (battery-status-function):
7880 Detect when to use battery-yeeloong-sysfs.
7881 (battery-echo-area-format): Add string for Yeeloong.
7882 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7883 (battery-yeeloong-sysfs): New function.
7884
f75bfc33
CY
78852012-01-02 Chong Yidong <cyd@gnu.org>
7886
7887 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7888 (dirtrack): Merge code for handling relative filenames in prompt
7889 from shell-dir-cookie-watcher.
7890 (dirtrack-debug-message): New arg to avoid excess format calls.
7891
7892 * shell.el (shell-dir-cookie-re): Variable deleted.
7893 (shell-dir-cookie-watcher): Function deleted.
7894 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7895 with dirtrack-mode.
7896
651e947e
EZ
78972012-01-01 Eli Zaretskii <eliz@gnu.org>
7898
1d00653d
SM
7899 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7900 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7901 libgnutls-26.dll.
7902
94d4c7dc
AS
79032011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7904
7905 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7906
8d43f3cd
EZ
79072011-12-31 Eli Zaretskii <eliz@gnu.org>
7908
7909 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7910 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7911
98c8795a
MA
79122011-12-29 Michael Albinus <michael.albinus@gmx.de>
7913
7914 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7915 also for alternative shells.
7916 (tramp-open-connection-setup-interactive-shell): Check, whether
7917 the shell is a busybox.
7918 (tramp-send-command): Don't suppress multiple prompts for
7919 busyboxes, it hurts.
7920
51281b32
CY
79212011-12-28 Chong Yidong <cyd@gnu.org>
7922
7923 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7924 (gdb-get-source-file): Move mode line update to
7925 gdb-get-source-file (Bug#10087).
7926
2170cb53
CY
79272011-12-25 Chong Yidong <cyd@gnu.org>
7928
7929 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7930 gud-gdb-marker-filter without taking it as an argument.
7931 (gud-gdb-run-command-fetch-lines): Caller changed.
7932 (gud-gdb-completion-function): New variable.
7933 (gud-gdb-completion-at-point): Use it.
7934 (gud-gdb-completions-1): Split from gud-gdb-completions.
7935
7936 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7937 function as separate arguments.
7938 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7939 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7940 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7941 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7942 (gdb-stopped, def-gdb-auto-update-trigger)
7943 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7944 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7945 Callers changed.
2170cb53
CY
7946 (gud-gdbmi-completions): New function.
7947 (gdb): Use it for generating the completion table.
7948
be8b11bb
AM
79492011-12-24 Alan Mackenzie <acm@muc.de>
7950
7951 Introduce a mechanism to widen the region used in context font
1d00653d 7952 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7953
1d00653d
SM
7954 * progmodes/cc-langs.el (c-before-font-lock-functions):
7955 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7956 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7957 functions to be run just before context (etc.) font locking.
7958
7959 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7960 New, functionality extracted from
be8b11bb 7961 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7962 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7963 (c-after-change): Set c-in-after-change-fontification.
7964 (c-set-fl-decl-start): Rejig its interface, so it can be called
7965 from both after-change and context fontifying.
b81d40f0
JB
7966 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7967 New functions.
7968 (c-standard-font-lock-fontify-region-function): New variable.
7969 (c-font-lock-fontify-region): New function.
be8b11bb 7970
341cf6ac
JL
79712011-12-24 Juri Linkov <juri@jurta.org>
7972
7973 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7974 (Bug#10348)
7975
bffcee0a
MA
79762011-12-23 Michael Albinus <michael.albinus@gmx.de>
7977
7978 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7979 existence of source file. (Bug#10325)
7980
cb5e207c
AM
79812011-12-23 Alan Mackenzie <acm@muc.de>
7982
7983 Fix unstable fontification inside templates.
7984
b81d40f0
JB
7985 * progmodes/cc-langs.el (c-before-font-lock-functions):
7986 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7987 additionally has c-set-fl-decl-start. The other languages (apart
7988 from AWK) have that as a single entry.
7989
b81d40f0
JB
7990 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7991 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7992 c-set-fl-decl-start.
7993
b81d40f0
JB
7994 * progmodes/cc-mode.el (c-common-init, c-after-change):
7995 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7996 (c-set-fl-decl-start): New function, extracted from
7997 c-font-lock-enclosing-decls and enhanced.
7998
60ff536c
JB
79992011-12-23 Juanma Barranquero <lekktu@gmail.com>
8000
8001 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8002
1c4757d6
JL
80032011-12-22 Juri Linkov <juri@jurta.org>
8004
8005 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8006
d031f2c7
CY
80072011-12-22 Chong Yidong <cyd@gnu.org>
8008
8009 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8010
bace743a
DA
80112011-12-21 Drew Adams <drew.adams@oracle.com>
8012
8013 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8014
728a1f2b
JC
80152011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8016
8017 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8018
0d373f73
TZ
80192011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8020
fec0aaa4
TZ
8021 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8022 highlighting and support. Fix up comments for capitalization.
8023 (cfengine-mode-debug): New var.
8024 (cfengine3-mode): Change the modeline indicator to "CFE3".
8025 (cfengine3-font-lock-keywords): Improve defun highlighting.
8026 (cfengine2-actions): Rename from `cfengine-actions'.
8027 (cfengine2-font-lock-keywords): Rename from
8028 `cfengine-font-lock-keywords'.
8029 (cfengine2-imenu-expression): Rename from
8030 `cfengine-imenu-expression'.
8031 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8032 (cfengine2-beginning-of-defun): Rename from
8033 `cfengine-beginning-of-defun'.
8034 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8035 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8036 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8037 modeline indicator to "CFE2".
8038 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8039 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 8040
bc86f573
CY
80412011-12-21 Chong Yidong <cyd@gnu.org>
8042
8043 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8044 filename argument.
8045
d45ba96b
MR
80462011-12-20 Martin Rudalics <rudalics@gmx.at>
8047
8048 * window.el (window-normalize-buffer-to-display): Remove.
8049 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8050
a6198c90
CY
80512011-12-19 Chong Yidong <cyd@gnu.org>
8052
8053 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8054 Don't signal an error in a predicate function; return non-nil.
8055 (vc-dir-mark-file): Move the error here.
8056 (vc-dir-mark-unmark): If acting on the region, keep going if one
8057 of the entries cannot be marked/unmarked.
8058 (vc-dir-mark-all-files): If current entry is a directory, mark
8059 only child files, as documented.
8060
34c5fb55
VB
80612011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
8062
8063 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8064 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8065 addition.
8066
c803b2b7
JD
80672011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8068
8069 * term/ns-win.el (ns-get-selection-internal)
8070 (ns-store-selection-internal): Declare.
1154d12e
JB
8071 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8072 Declare as obsolete.
8073 (ns-get-pasteboard, ns-paste-secondary):
8074 Use ns-get-selection-internal.
8075 (ns-set-pasteboard, ns-copy-including-secondary):
8076 Use ns-store-selection-internal.
c803b2b7 8077
9cff91f8 80782011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
8079
8080 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 8081 (vc-deduce-fileset): Doc fix.
99a289d9 8082
f16c898a
AS
80832011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8084
8085 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8086
763237c4
SS
80872011-12-13 Sam Steingold <sds@gnu.org>
8088
8089 * man.el (Man-getpage-in-background): When running under a
8090 window-system, ignore $MANWIDTH and $COLUMNS.
8091
5fc1c122
KH
80922011-12-15 Kenichi Handa <handa@m17n.org>
8093
8094 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8095 (setup-ethiopic-environment-internal): Comment out key-binding for
8096 ethio-toggle-punctuation.
8097
13d49cbb
AM
80982011-12-13 Alan Mackenzie <acm@muc.de>
8099
898169a2
AM
8100 Add the switch statement to AWK Mode.
8101
7a71b18d 8102 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
8103 "default" to the keywords regexp.
8104
7a71b18d 8105 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 8106 expression as the rest.
1d00653d
SM
8107 (c-nonlabel-token-key): Allow string literals for AWK.
8108 Refactor for the other modes.
898169a2 8109
13d49cbb 8110 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 8111 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
8112 routines. Limit backward searching in c-font-lock-enclosing.decl.
8113
8114 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8115 pp-state and literal type in addition to the limits.
1d00653d 8116 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 8117 (c-state-literal-at): Use the above new defun.
1d00653d
SM
8118 (c-slow-in-literal, c-fast-in-literal): Remove.
8119 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
8120
8121 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8122 being in a literal. Add a limit for backward searching.
8123
8124 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8125 c-slow-in-literal.
8126
15e0efc7
SM
81272011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8128
8129 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8130
454592a6
MR
81312011-12-13 Martin Rudalics <rudalics@gmx.at>
8132
8133 * window.el (delete-other-windows): Use correct frame in call to
8134 window-with-parameter.
8135
87393f26
DP
81362011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8137
8138 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8139 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8140 (makefile-gmake-statements, makefile-makepp-statements):
8141 Use it and add new makepp keywords.
8142 (makefile-makepp-font-lock-keywords): Add new patterns.
8143 (makefile-match-function-end): Match new [...] and [[...]].
8144
11636b22
JB
81452011-12-11 Juanma Barranquero <lekktu@gmail.com>
8146
8147 * ses.el (ses-call-printer-return, ses-cell-property-get)
8148 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8149 (ses-create-cell-variable, ses-reset-header-string)
8150 (ses-cell-set-formula, ses-repair-cell-reference-all)
8151 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8152 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8153 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8154 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8155 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8156 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8157 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8158 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8159 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8160 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8161 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8162 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8163
cf018193
VB
81642011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
8165
8166 * ses.el: The overall change is to add cell renaming, that is
8167 setting fancy names for cell symbols other than name matching
8168 "\\`[A-Z]+[0-9]+\\'" regexp .
8169 (ses-create-cell-variable): New defun.
8170 (ses-relocate-formula): Relocate formulas only for cells the
8171 symbols of which are not renamed, i.e. symbols whose names do not
8172 match regexp "\\`[A-Z]+[0-9]+\\'".
8173 (ses-relocate-all): Relocate values only for cells the symbols of
8174 which are not renamed.
8175 (ses-load): Create cells variables as the (ses-cell ...) are read,
8176 in order to check row col consistency with cell symbol name only
8177 for cells that are not renamed.
8178 (ses-replace-name-in-formula): New defun.
8179 (ses-rename-cell): New defun.
8180
ee957461
CY
81812011-12-11 Chong Yidong <cyd@gnu.org>
8182
8183 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8184 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8185
9a9e9ef0
MR
81862011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8187
8188 * window.el (other-window): Fix docstring.
8189
92a8eba5
EZ
81902011-12-10 Eli Zaretskii <eliz@gnu.org>
8191
8192 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
8193 `from' or `to' address before taking its substring.
8194 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
8195 encoded name is chopped in the middle of the encoded string, and
8196 thus displayed encoded.
8197
e152e577
JB
81982011-12-10 Juanma Barranquero <lekktu@gmail.com>
8199
8200 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8201
e5d84bfe
EZ
82022011-12-10 Eli Zaretskii <eliz@gnu.org>
8203
8204 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8205 to use texinfo-update-node and commands that call it if the
8206 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8207 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8208 (texinfo-all-menus-update, texinfo-master-menu)
8209 (texinfo-update-node, texinfo-every-node-update)
8210 (texinfo-multiple-files-update): Doc fix. Warn against updating
8211 all the @node lines.
8212 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8213 argument is numeric. Explain better in the doc string what the
8214 function really does.
8215 (texinfo-insert-master-menu-list): Improve the error message
8216 displayed if there's no menu in the Top node.
8217 (Bug#2975) See also this thread:
e5d84bfe
EZ
8218 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8219
1d84e9bb
MG
82202011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8221
8222 * speedbar.el (speedbar-supported-extension-expressions):
8223 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8224
382c953b
JB
82252011-12-09 Juanma Barranquero <lekktu@gmail.com>
8226
8227 * printing.el (pr-mode-alist):
8228 * simple.el (filter-buffer-substring-functions)
8229 (completion-list-insert-choice-function):
8230 * window.el (window-with-parameter, window-atom-root)
8231 (window-sides-slots, window-size-fixed, window-min-delta)
8232 (window-max-delta, window--resize-mini-window)
8233 (window--resize-child-windows-normal, window-tree)
8234 (delete-other-windows, quit-window, split-window)
8235 (display-buffer-record-window, special-display-buffer-names)
8236 (special-display-regexps, special-display-popup-frame)
8237 (same-window-p, split-window-sensibly)
8238 (display-buffer-overriding-action, display-buffer-alist)
8239 (display-buffer-base-action, display-buffer, switch-to-buffer)
8240 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8241 (fit-window-to-buffer, recenter-positions)
8242 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8243 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8244 and remove unneeded backslashes in docstrings.
8245
39c9faef
SM
82462011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8247
98449af8
SM
8248 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8249
39c9faef
SM
8250 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8251 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8252 end in ".mk".
8253 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8254 when reading the makefile (bug#10116).
8255
86ed9fdc
SM
82562011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8257
8258 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8259 (bug#10116).
8260
5580f89d
GM
82612011-12-06 Glenn Morris <rgm@gnu.org>
8262
8263 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8264
28d3917c
CY
82652011-12-06 Chong Yidong <cyd@gnu.org>
8266
8267 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8268
a98edce9
JB
82692011-12-06 Juanma Barranquero <lekktu@gmail.com>
8270
8271 * textmodes/table.el (table-shorten-cell): Fix typo.
8272
e65adfac
CG
82732011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8274
8275 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8276
71cc0b74
EZ
82772011-12-05 Eli Zaretskii <eliz@gnu.org>
8278
8279 * descr-text.el (describe-char): Fix display of strong
8280 right-to-left characters and directional embeddings and overrides.
8281
8282 * simple.el (what-cursor-position): Fix display of codepoints of
8283 strong right-to-left characters.
8284
315bc30d
CY
82852011-12-05 Chong Yidong <cyd@gnu.org>
8286
8287 * faces.el (read-color): Doc fix.
8288
58a70b94
GM
82892011-12-05 Glenn Morris <rgm@gnu.org>
8290
8291 * align.el (align--set-marker): Add doc-string.
8292 Don't try to move something that is not a marker. (Bug#10216)
8293
5158face
GM
82942011-12-04 Glenn Morris <rgm@gnu.org>
8295
8296 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8297 overly zealous deletion of trailing whitespace.
8298
520fca41
JB
82992011-12-04 Juanma Barranquero <lekktu@gmail.com>
8300
8301 * server.el (server-delete-client): On Windows, do not try to delete
8302 the only terminal.
8303 (server-process-filter): On Windows, treat requests for a tty frame as
8304 if they were for a GUI frame if the running server is in GUI mode.
8305
5e605a2e
GM
83062011-12-03 Glenn Morris <rgm@gnu.org>
8307
8308 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8309
5c3fe83f
SM
83102011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8311
6f5e57e7
SM
8312 * electric.el: Streamline electric-indent's hook.
8313 (electric-indent-chars): Revert to simple list.
8314 (electric-indent-functions): New var.
8315 (electric-indent-post-self-insert-function): Use it.
8316
5c3fe83f
SM
8317 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8318 there's no inferior buffer (bug#10196).
8319 (prolog-consult-compile): Don't use toggle-read-only.
8320
6bdac736
MA
83212011-12-02 Michael Albinus <michael.albinus@gmx.de>
8322
8323 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8324 interrupt. (Bug#10187)
8325
6131ba7f
SM
83262011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8327
99c79fee
SM
8328 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8329 (bug#9160).
8330
6131ba7f
SM
8331 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8332 (bug#10191).
8333
cb0a02ea
JL
83342011-12-02 Juri Linkov <juri@jurta.org>
8335
8336 * info.el (Info-search): Display "end of manual" when Isearch
8337 reaches the end of single-file Info manual. (Bug#9918)
8338
66e0570c
EZ
83392011-12-02 Eli Zaretskii <eliz@gnu.org>
8340
8341 * isearch.el (isearch-message-prefix): Run the input method part
8342 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8343
02b16839
JL
83442011-12-02 Juri Linkov <juri@jurta.org>
8345
8346 * isearch.el (isearch-occur): Use `word-search-regexp' for
8347 `isearch-word'.
8348 (isearch-search-and-update): Add condition for `isearch-word' and
8349 call `word-search-regexp'. (Bug#10145)
8350
0b950688
GM
83512011-12-01 Glenn Morris <rgm@gnu.org>
8352
8353 * eshell/em-hist.el (eshell-hist-initialize):
8354 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8355 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8356
9505c3c7
SM
83572011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8358
8359 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8360
1bbe96b2 83612011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8362
a1beca85
SM
8363 * progmodes/verilog-mode.el (verilog-pretty-expr):
8364 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8365 verilog, such as += *= and the like.
8366 (verilog-assignment-operator-re): Regular expression to find the
8367 assigment operator in a verilog assignment.
8368 (verilog-assignment-operation-re): Regular expression to find an
8369 assignment statement for pretty-expr.
8370 (verilog-in-attribute-p): Query returns true if point is in an
8371 attribute context; used to skip these for expression line up from
8372 pretty-expr.
8373 (verilog-in-parameter-p): Query returns true if point is in an
8374 parameter definition context; used to skip these for expression
8375 line up from pretty-expr.
8376 (verilog-in-parenthesis-p): Query returns true if point is in a
8377 parenthetical expression, specifically ( ) but not [ ] or { };
8378 used by pretty-expr.
8379 (verilog-just-one-space): If there is no space, don't add one.
8380 (verilog-get-lineup-indent-2): Specifically skip just attribute
8381 contexts for expression lineup, rather than skipping all
8382 parenthetical expressions.
8383 (verilog-calculate-indent): Fix comment, and fix indent.
8384 (verilog-do-indent): Indent declarations in lists (suggested by
8385 Joachim Lechner).
8386 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8387 skeleton items.
8388 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8389 by Alain Mellan).
8390
1bbe96b2 83912011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8392
8393 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8394 parameters with embedded comments. Reported by Ray Stevens.
8395 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8396 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8397 Reported by Tim Holt.
8398 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8399 instantiated by upper module causing wrong expansion until AUTOed a
8400 second time. Reported by K C Buckenmaier.
8401 (verilog-diff-auto): Fix showing .* as a difference when
8402 `verilog-auto-star-save' off. Reported by Dan Dever.
8403 (verilog-auto-reset, verilog-read-always-signals)
8404 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8405 temporary signals in reset list if
8406 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8407 style to each signal's assignment type, bug381.
8408 Reported by Thomas Esposito.
6288f0ca
WS
8409 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8410 (verilog-uvm-statement-re): Support UVM indentation and
8411 highlighting, with old OVM keywords only.
a1beca85 8412 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8413 Support AUTOTIEOFF creating non-wire data types.
8414 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8415 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8416 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8417 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8418 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8419 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8420 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8421 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8422 non-numeric vector width. Reported by Alex Reed.
8423 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8424 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8425 (verilog-auto-delete-trailing-whitespace):
8426 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8427 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8428 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8429 Fix verilog-scan-cache corruption when running user AUTO expansion
8430 hooks that call indentation routines.
8431 (verilog-simplify-range-expression): Fix typo ignoring lower case
8432 identifiers.
8433 (verilog-delete-auto): Fix delete-autos to also remove user created
8434 automatics, as long as they start with AUTO.
8435 (verilog-batch-diff-auto, verilog-diff-auto)
8436 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8437 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8438 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8439 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8440 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8441 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8442 is disabled and its cache will get corrupt, causing AUTOS not to
8443 expand. Instead use only -quick functions.
8444 (verilog-scan-region): Fix scanning over escaped quotes.
8445 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8446 (verilog-re-search-backward-quick)
8447 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8448 related functions now ignore strings, to fix misparsing of strings
8449 with magic comments embedded in them.
a1beca85
SM
8450 (verilog-read-auto-template):
8451 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8452 Reported by Brad Dobbie.
8453 (verilog-read-auto-template):
8454 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8455 Reported by Brad Dobbie.
6288f0ca
WS
8456 (verilog-auto-inst, verilog-auto-inst-param)
8457 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8458 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8459 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8460 debugging templates without merge conflicts, bug357.
8461 Reported by Brad Dobbie.
8462 (verilog-read-auto-template):
8463 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8464 Reported by Brad Dobbie.
8465 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8466 abbrevs so user won't be asked to save.
8467 (verilog-read-auto-lisp-present): Fix to start at beginning of
8468 buffer in case called outside of verilog-auto.
8469 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8470 to "X-2". Reported by Matthew Myers.
8471 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8472 all inputs from module templates. Reported by Leith Johnson.
8473 (verilog-module-inside-filename-p): Fix locating programs as with
8474 modules.
8475 (verilog-auto-inst-port): Fix vl-width expressions when using
8476 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8477 (verilog-decls-get-regs, verilog-decls-get-signals,
8478 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8479 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8480 verilog-read-decls): Combine reg and wire structures into one var
8481 structure to represent SystemVerilog concepts.
8482 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8483 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8484 (verilog-auto-wire-type, verilog-insert-definition):
8485 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8486 SystemVerilog "logic" keyword instead of "wire"/"reg".
8487 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8488 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8489 ifdef or generate if so there's not a driver conflict).
8490 Reported by Matthew Myers.
8491 (verilog-auto-declare-nettype, verilog-insert-definition):
8492 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8493 `default_nettype none. Reported by Julian Gorfajn.
8494 (verilog-read-always-signals-recurse, verilog-read-decls)
8495 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8496 malformed end statement, bug325. Reported by Joshua Wise and
8497 Andrew Drake.
8498 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8499 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8500 when expanding .* in interfaces, bug320.
8501 Reported by Pierre-David Pfister.
6288f0ca 8502 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8503 name and open parenthesis, bug317.
8504 Reported by Pierre-David Pfister.
6288f0ca
WS
8505 (verilog-simplify-range-expression): Fix simplification of
8506 multiplications inside AUTOWIRE connections, bug303.
8507 (verilog-auto-inst-port): Support parameter expansion in
8508 multidimensional arrays.
8509 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8510 after "assert property". Reported by Julian Gorfajn.
8511 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8512 with multiplication, bug303.
8513 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8514 Reported by Jan Frode Lonnum.
8515
1bbe96b2
GM
85162011-11-30 Juanma Barranquero <lekktu@gmail.com>
8517
8518 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8519 (hfy-shell-file-name, hfy-shell):
8520 * international/fontset.el (x-decompose-font-name): Fix typos.
8521
85222011-11-29 Ken Brown <kbrown@cornell.edu>
8523
8524 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8525 (gdb-version): Remove defvar.
8526 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8527 (gdb-gud-context-command, gdb-non-stop-handler)
8528 (gdb-current-context-command, gdb-stopped): Use it.
8529 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8530 (gdb-non-stop-handler): Don't enable pretty-printing here.
8531 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8532 non-stop mode. Use the following.
8533 (gdb-check-target-async): New defun.
8534 (gud-watch, gdb-stopped): Fix whitespace.
8535 (gdb-get-source-file): Don't try to display the source file if
8536 `gdb-main-file' is nil.
8537
85382011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8539
8540 * align.el: Try to generate fewer markers (bug#10047).
8541 (align--set-marker): New macro.
8542 (align-region): Use it.
8543
c935221f
SM
85442011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8545
8546 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8547
e70b5064
CY
85482011-11-29 Chong Yidong <cyd@gnu.org>
8549
8550 * indent.el (indent-for-tab-command, indent-according-to-mode):
8551 Doc fix.
8552 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8553
f3af92b7
MA
85542011-11-29 Michael Albinus <michael.albinus@gmx.de>
8555
8556 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8557 aware of remote file names. (Bug#10124)
8558
ed472be9
CY
85592011-11-29 Chong Yidong <cyd@gnu.org>
8560
8561 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8562
24510c22
SM
85632011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8564
8565 * files.el (find-file): Don't use force-same-window (bug#10144).
8566 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8567 use pop-to-buffer if the selected window can't be used.
8568 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8569
c60c3703
EZ
85702011-11-28 Eli Zaretskii <eliz@gnu.org>
8571
8572 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8573 special-mode-map.
8574
e95def75
CY
85752011-11-28 Chong Yidong <cyd@gnu.org>
8576
8577 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8578
c3f1c606
NR
85792011-11-27 Nick Roberts <nickrob@snap.net.nz>
8580
8581 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8582 gdb-get-source-file-list on gdb-create-source-file-list.
8583
00db469c
EZ
85842011-11-26 Eli Zaretskii <eliz@gnu.org>
8585
8586 * whitespace.el (whitespace-newline): Use a different foreground
8587 color for 16-color light-background displays.
8588
4ad3bc2a
CY
85892011-11-24 Chong Yidong <cyd@gnu.org>
8590
8591 * window.el (display-buffer--special-action): Doc fix.
8592
e9fce1ac
JB
85932011-11-25 Juanma Barranquero <lekktu@gmail.com>
8594
8595 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8596 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8597 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8598 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8599 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8600 (avl-tree-stack-first):
8601 * emacs-lisp/cconv.el (cconv--analyse-use):
8602 * net/gnutls.el (gnutls-negotiate): Fix typos.
8603
cb825e5d
GM
86042011-11-24 Glenn Morris <rgm@gnu.org>
8605
3adbe224
GM
8606 * lpr.el (lpr-windows-system, lpr-lp-system):
8607 * mail/binhex.el (binhex-begin-line):
8608 * progmodes/grep.el (grep-history, grep-find-history):
8609 * textmodes/flyspell.el:
8610 * vc/pcvs-defs.el (cvs-global-menu):
8611 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8612 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8613 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8614
321decc8
GM
8615 * net/tls.el: Fix case of "GnuTLS".
8616
420b63ad
GM
8617 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8618
cb825e5d
GM
8619 * version.el (emacs-build-system): Give it a doc-string.
8620
a0649f08
JL
86212011-11-24 Juri Linkov <juri@jurta.org>
8622
8623 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8624
c0bc0fd4
GM
86252011-11-24 Glenn Morris <rgm@gnu.org>
8626
8627 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8628 if called on a non-mime message just toggle the headers. (Bug#8006)
8629
20db1522
JB
86302011-11-24 Juanma Barranquero <lekktu@gmail.com>
8631
8632 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8633 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8634 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8635 (allout-rebullet-heading, allout-open-sibtopic)
8636 (allout-toggle-current-subtree-encryption)
8637 (allout-toggle-subtree-encryption, allout-encrypt-string)
8638 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8639 (allout-distinctive-bullets-string, allout-auto-activation):
8640 * window.el (window-normalize-buffer-to-display):
8641 * progmodes/verilog-mode.el (verilog-batch-indent):
8642 * textmodes/bibtex.el (bibtex-field-braces-opt)
8643 (bibtex-field-strings-opt):
8644 * vc/cvs-status.el (cvs-tree-merge):
8645 Fix typos.
8646
7262a87c
MA
86472011-11-23 Michael Albinus <michael.albinus@gmx.de>
8648
8649 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8650 `non-essential' to t, in order to avoid remote connections.
8651
283430a1
EZ
86522011-11-23 Eli Zaretskii <eliz@gnu.org>
8653
a1beca85
SM
8654 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8655 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8656 case-insensitively.
8657
d2992a38
ML
86582011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8659
8660 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8661
50419064
GM
86622011-11-23 Glenn Morris <rgm@gnu.org>
8663
da94eca1
GM
8664 * paths.el (rmail-file-name): Reformat the doc-string so that it
8665 is picked up.
8666
9aac4de2
GM
8667 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8668 (rmail-auto-file): Ignore case in the "special" field names,
8669 as mail-fetch-field does for all others.
8670
8038d2d2
GM
8671 * mail/rmail.el (rmail-forward):
8672 * mail/rmailkwd.el (rmail-set-label):
8673 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8674 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8675
f3fe222a
GM
8676 * mail/rmail.el (rmail-current-message): Doc fix.
8677
50419064
GM
8678 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8679
28109f49
SM
86802011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8681
8682 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8683
394c65f1
GM
86842011-11-22 Glenn Morris <rgm@gnu.org>
8685
8686 * mail/rmailmm.el (test-rmail-mime-handler)
8687 (test-rmail-mime-bulk-handler)
8688 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8689
f2a0aa3a
JL
86902011-11-21 Juri Linkov <juri@jurta.org>
8691
1154d12e
JB
8692 * calc/calc.el (calc-read-key-sequence):
8693 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8694
9c34a344
LMI
86952011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8696
8697 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8698 Tell the caller that the next line needs recomputation, even
8699 though it doesn't start a sexp (bug#10094).
8700
f04a3be9
SM
87012011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8702
8703 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8704
7978747f
SM
87052011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8706
f04a3be9
SM
8707 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8708 Use force-same-window.
7978747f 8709
fe7a3057
JB
87102011-11-20 Juanma Barranquero <lekktu@gmail.com>
8711
8712 * descr-text.el (describe-char-unicode-data):
8713 * json.el (json-string-escape):
8714 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8715 (Footnote-unicode, Footnote-style-p):
8716 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8717
24901d61
CY
87182011-11-20 Chong Yidong <cyd@gnu.org>
8719
8720 * window.el (replace-buffer-in-windows): Restore interactive spec.
8721
bac7ff22
SM
87222011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8723
24f3d7b9
SM
8724 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8725
bac7ff22
SM
8726 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8727 (byte-compile-global-not-obsolete-vars): New var.
8728 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8729 Use it.
8730 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8731
cd1181db
JB
87322011-11-20 Juanma Barranquero <lekktu@gmail.com>
8733
8734 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8735 * progmodes/pascal.el (electric-pascal-equal):
8736 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8737 * xml.el (xml-substitute-special): Fix typos.
8738
7fb18e9e
GM
87392011-11-20 Glenn Morris <rgm@gnu.org>
8740
8741 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8742 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8743 Doc fixes.
8744 (rmail-decode-mime-charset): Mark as obsolete.
8745
8746 * mail/rmailsum.el (rmail-message-regexp-p-1):
8747 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8748 Before using mime functions, check they are set. (Bug#10077)
8749
d5a6b3ba
JL
87502011-11-19 Juri Linkov <juri@jurta.org>
8751
8752 * info.el (Info-finder-find-node): Use `package--builtins' instead
8753 of `package-alist'. Use node names formed by the pattern "Keyword "
8754 and the keyword name.
8755
e981b61f
AS
87562011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8757
1d00653d 8758 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8759
3ffbc301
JL
87602011-11-19 Juri Linkov <juri@jurta.org>
8761
8762 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8763 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8764 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8765 `old-history', `old-history-forward'. Add let-binding
8766 `window-selected'. Remove calls to `kill-buffer',
8767 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8768 before calling `Info-find-node', so `Info-find-node-2' will reread
8769 the Info file. Restore window positions only when `window-selected'
8770 is non-nil.
8771
30c62133
JL
87722011-11-19 Juri Linkov <juri@jurta.org>
8773
8774 * isearch.el (isearch-lazy-highlight-new-loop):
8775 Remove condition `(not isearch-error)'. (Bug#9918)
8776
8777 * misearch.el (multi-isearch-search-fun): Add condition
8778 `(not bound)' to ignore lazy-highlighting search.
8779 Add the search-failed message "end of multi" when the end of
8780 multi-sequence is reached. Uncapitalize the search-failed
8781 message "Repeat for next buffer".
8782
8783 * info.el (Info-search): Add the search-failed message
8784 "end of the manual" when the end of the manual is reached
8785 in Isearch mode.
8786
645ca9cf
JL
87872011-11-19 Juri Linkov <juri@jurta.org>
8788
8789 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8790 Use non-destructive `remove' instead of `delete' because
8791 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8792 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8793
df754f66
JL
87942011-11-19 Juri Linkov <juri@jurta.org>
8795
8796 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8797 to nil instead of binding `search-ring' and `regexp-search-ring'.
8798 (Bug#9185)
8799
0e23d96a
EZ
88002011-11-19 Eli Zaretskii <eliz@gnu.org>
8801
8802 * simple.el (line-move): Force movement by logical lines for any
8803 hscrolled window, not only when auto-hscroll-mode is on.
8804 (line-move-visual): Update doc string to that effect. (Bug#10076)
8805
8a6ccb66
AS
88062011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8807
8808 * language/european.el (macintosh): Define as alias for mac-roman.
8809
49ae5b39
EZ
88102011-11-19 Eli Zaretskii <eliz@gnu.org>
8811
8812 * mail/rmailmm.el (rmail-mime-display-header)
8813 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8814 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8815 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8816 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8817 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8818 of a raw aref.
8819 (rmail-mime-entity-segment): To get past the tagline, move forward
8820 2 more lines, to account for the 2 empty lines that precede and
8821 follow the line with the buttons.
8822 (rmail-mime-update-tagline): Move one more line, to get past the
8823 empty line that follows the buttons in the tagline. (Bug#9520)
8824
c56cad4a
MR
88252011-11-19 Martin Rudalics <rudalics@gmx.at>
8826
8827 * window.el (window-max-delta-1, window-min-delta-1)
8828 (window-min-size-1, window-state-get-1, window-state-put-1)
8829 (window-state-put-2): Use "window--" prefix.
8830
cbe71af3
SM
88312011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8832
2ad52c60
SM
8833 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8834 (smie-warning-count): New var.
8835 (smie-set-prec2tab): Use it.
8836 (smie-bnf->prec2): Improve warnings. Add docstring.
8837 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8838 (smie-bnf--set-class): New function.
8839 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8840 corner case.
8841
6944dbc1
SM
8842 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8843 (compilation-error-properties, compilation-move-to-column):
8844 Handle compilation-first-column while in the target buffer.
8845
c400c4d7
SM
8846 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8847 Don't hardcode point-min==1.
8848
6dbe3e96
SM
8849 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8850 (eshell-rewrite-for-command): Remove workaround.
8851 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8852 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8853 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8854
cbe71af3
SM
8855 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8856
a8e1496d
GM
88572011-11-17 Glenn Morris <rgm@gnu.org>
8858
8859 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8860 Ignore buffer-local generated-autoload-file if it is the same
8861 as the global value. (Bug#10049)
8862
df85d315
JB
88632011-11-17 Juanma Barranquero <lekktu@gmail.com>
8864
8865 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8866 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8867 (reftex-toc-previous-heading, reftex-toc-max-level)
8868 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8869 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8870 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8871 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8872 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8873 (reftex-toc-rename-label, reftex-toc-visit-location)
8874 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8875 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8876 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8877 leaving "*toc*" only for references to the buffer.
8878
a0c2d0ae
MR
88792011-11-17 Martin Rudalics <rudalics@gmx.at>
8880
8881 * window.el (window-resize, delete-window, split-window):
8882 Replace window-splits by window-combination-resize.
1d00653d 8883 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8884
35c0bac8
GM
88852011-11-17 Glenn Morris <rgm@gnu.org>
8886
8887 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8888 Make bash entry derive from sh entry, not shell entry.
8889
d0c8fc8a
MA
88902011-11-16 Michael Albinus <michael.albinus@gmx.de>
8891
7262a87c
MA
8892 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8893 local file name.
8894
7877f373
JB
88952011-11-16 Juanma Barranquero <lekktu@gmail.com>
8896
8897 * menu-bar.el (menu-bar-file-menu):
8898 * printing.el (pr-ps-utility):
8899 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8900 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8901 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8902 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8903 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8904 (icalendar--convert-cyclic-to-ical)
8905 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8906 (icalendar--convert-ical-to-diary)
8907 (icalendar--convert-recurring-to-diary)
8908 (icalendar--convert-non-recurring-all-day-to-diary)
8909 (icalendar-import-format-sample):
8910 * progmodes/idlw-shell.el (idlwave-shell-mode):
8911 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8912 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8913 (vhdl-ps-print-init): Fix typos.
8914
10649b82
KM
89152011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8916
9d0cfcd6
GM
8917 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8918 FSF and collapse date sequence, obscure author/maintainer email address
8919 better, remove extra version line, track relocation of author's webpage.
10649b82 8920
9d0cfcd6
GM
8921 * progmodes/python.el (python-pdbtrack-input-prompt)
8922 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8923 regular python pdb prompts. Adjustments shamelessly taken exactly as
8924 suggested in EmacsWiki page (tiny change):
8925 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8926
58179cce
JB
89272011-11-16 Juanma Barranquero <lekktu@gmail.com>
8928
8929 * expand.el (expand-pos, expand-index, expand-point):
8930 Remove redundant info from docstring.
8931 (expand-add-abbrevs): Doc fix.
8932 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8933 (expand-sample-perl-mode-expand-list): Fix typos.
8934
8935 * net/dbus.el (dbus-event-member-name):
8936 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8937 * term/pc-win.el (msdos-create-frame-with-faces):
8938 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8939
b6f67890
MR
89402011-11-16 Martin Rudalics <rudalics@gmx.at>
8941
8942 * window.el (split-window, window-state-get-1)
8943 (window-state-put-1, window-state-put-2): Rename occurrences of
8944 window-nest to window-combination-limit.
1d00653d 8945 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8946
ce7ddba0
CY
89472011-11-16 Chong Yidong <cyd@gnu.org>
8948
8949 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8950 regexp (Bug#10033).
8951
3ae704f4
SM
89522011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8953
8954 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8955 `completing-read' will remove *Completions* and will preserve
8956 current-buffer for us.
8957 (tmm-add-prompt): Users of *Completions* will always (re)set its
8958 major mode.
8959 (tmm-old-comp-map): Remove.
8960
6ad1cdde
GM
89612011-11-16 Glenn Morris <rgm@gnu.org>
8962
8963 * mail/rmailedit.el: Require rmailmm when compiling.
8964 (rmail-old-mime-state): New declaration.
8965 (rmail-edit-current-message): If editing a mime message,
8966 edit the "raw" message from the mbox buffer.
8967 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8968
d20faa20
GM
89692011-11-15 Glenn Morris <rgm@gnu.org>
8970
8971 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8972 which wasn't being used. Add optional arg to force given state.
8973 (rmail-mime): Add optional arg to force given state.
8974
c7015153
JB
89752011-11-15 Juanma Barranquero <lekktu@gmail.com>
8976
8977 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8978 * frame.el (display-mm-dimensions-alist):
8979 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8980 (outline-move-subtree-down):
8981 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8982 (newsticker--treeview-do-get-node):
8983 * net/quickurl.el (quickurl-list-buffer-name):
8984 * progmodes/dcl-mode.el (dcl-mode):
8985 * progmodes/gdb-mi.el (gdb-mapcar*):
8986 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8987
45261b50
GM
89882011-11-15 Glenn Morris <rgm@gnu.org>
8989
8990 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8991 in a boolean sense, so just make it a boolean, and fix the doc.
8992 (rmail-show-mime-function, rmail-mime-feature)
8993 (rmail-require-mime-maybe): Doc fixes.
8994 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8995
8996 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8997
0d26e0b6
JB
89982011-11-15 Juanma Barranquero <lekktu@gmail.com>
8999
9000 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9001 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9002 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9003 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9004
447f30f6
GM
90052011-11-15 Glenn Morris <rgm@gnu.org>
9006
672b871d
GM
9007 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9008 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9009 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9010 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9011 (rmail-mime, rmail-show-mime): Doc fixes.
9012
f6aa5bb1
GM
9013 * term/ns-win.el (mode-line-frame-identification):
9014 Leave it alone. (Bug#10051)
9015
947cd66b
GM
9016 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9017
447f30f6
GM
9018 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9019 Handle empty buffers. (Bug#9978)
9020
0b381c7e
JB
90212011-11-14 Juanma Barranquero <lekktu@gmail.com>
9022
9023 * international/mule.el (define-charset):
9024 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9025 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9026 * progmodes/verilog-mode.el (verilog-backward-token):
9027 * textmodes/ispell.el (lookup-words):
9028 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9029
71e027ac
GM
90302011-11-14 Glenn Morris <rgm@gnu.org>
9031
56632ce4
GM
9032 * progmodes/executable.el
9033 (executable-make-buffer-file-executable-if-script-p):
9034 Handle file-modes returning nil.
9035
40500957
GM
9036 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9037 message - not necessary, and causes problems. (Bug#9831)
9038
071c2340
GM
9039 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9040
d3cfca60
GM
9041 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9042
71e027ac
GM
9043 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9044 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9045 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9046
89d61221
MR
90472011-11-12 Martin Rudalics <rudalics@gmx.at>
9048
9049 * window.el (window-resize, delete-window): Use window-splits
9050 variable instead of function.
9051 (window-state-get-1, window-state-put-2, window-state-put):
9052 Don't deal with windows' splits status.
9053
98282f6f
GM
90542011-11-12 Glenn Morris <rgm@gnu.org>
9055
9056 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9057 (apropos-documentation): Doc fixes.
9058
40a8bdf6
JB
90592011-11-11 Juanma Barranquero <lekktu@gmail.com>
9060
9061 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9062 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9063
65bd19ff
SM
90642011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9065
9066 * electric.el (electric-indent-post-self-insert-function): Make it
9067 possible for a char to only indent in some circumstances.
9068 (electric-indent-mode): Simplify.
9069
54f9154c
MR
90702011-11-11 Martin Rudalics <rudalics@gmx.at>
9071
9072 * window.el (windows-with-parameter): Remove unused function.
9073 (windows-at-side): Rename to window-at-side-list.
9074 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
9075 (window-side-check, window-size-ignore, window-size-fixed-1)
9076 (window-in-direction-2): Prefix with "window--".
9077 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 9078
68cbc58b
GM
90792011-11-11 Glenn Morris <rgm@gnu.org>
9080
9081 * subr.el (eval-after-load): If FILE is already loaded,
9082 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9083
b2621720
GM
90842011-11-10 Glenn Morris <rgm@gnu.org>
9085
9a4de110
GM
9086 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9087 Call svn via vc-svn-command rather than vc-do-command.
9088 (vc-svn-command): Add --non-interactive. (Bug#9993)
9089 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9090
b2621720
GM
9091 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9092 Add toggle-read-only. (Bug#7292)
9093 * files.el (toggle-read-only): Mention that it should only
9094 be used interactively. (Bug#10006)
9095
1dce7193
SM
90962011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9097
d9ac1a1e
SM
9098 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9099 Adjust regexp for OCaml warnings.
9100
0c325082
SM
9101 * electric.el (electric-pair-post-self-insert-function): Let user
9102 turn it off buffer-locally (bug#9932).
9103
90132c14
SM
9104 * progmodes/python.el (python-beginning-of-statement):
9105 Rewrite (bug#2703).
9106
1dce7193
SM
9107 * progmodes/compile.el: Better handle TABs (bug#9749).
9108 (compilation-internal-error-properties)
9109 (compilation-next-error-function): Obey the target buffer's
9110 compilation-error-screen-columns.
9111
c4e7c63a
JB
91122011-11-09 Juanma Barranquero <lekktu@gmail.com>
9113
9114 * progmodes/meta-mode.el: Remove obsolete comments.
9115 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9116 Fix typos in docstrings.
9117
2cffd681
MR
91182011-11-09 Martin Rudalics <rudalics@gmx.at>
9119
9120 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 9121 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
9122 (window--resizable): New function. Make all callers of
9123 window-resizable call window--resizable instead.
9124 (window-resizable): Rewrite in terms of window--resizable.
9125
0edcba87
GM
91262011-11-08 Glenn Morris <rgm@gnu.org>
9127
9128 * progmodes/delphi.el (delphi-mode-syntax-table):
9129 Let define-derived-mode define a proper syntax table. (Bug#9994)
9130
4b0d61e3
SM
91312011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9132
9133 * window.el: Stay away from defsubst.
9134 (window-list-no-nils): Remove.
9135 (window-state-get-1, window-state-get): Use backquote instead.
9136
cd394be1 91372011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 9138
4b0d61e3 9139 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 9140 Fix incorrect use of default argument in `completing-read'.
9141
e1c2c6f2
MR
91422011-11-08 Martin Rudalics <rudalics@gmx.at>
9143
9144 * window.el (display-buffer-function, special-display-function):
9145 Mention display-buffer-record-window but do not mention
9146 help-setup parameter in doc-strings.
b3f4a882 9147 (window-min-delta): Fix doc-string typo.
e1c2c6f2 9148
105216ed
CY
91492011-11-08 Chong Yidong <cyd@gnu.org>
9150
9151 * window.el (window-total-height, window-total-width): Doc fix.
9152 (window-body-size): Move from C.
9153 (window-body-height, window-body-width): Move to C.
9154
0a9f9ab5
SM
91552011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9156
9157 * window.el: Make special-display like display-buffer-alist (bug#9532).
9158 (display-buffer--special-action): New function, morphed
9159 from display-buffer--special.
9160 (display-buffer): Use it to handle special-display-buffers at higher
9161 priority (just after display-buffer-alist).
9162 (display-buffer-fallback-action, display-buffer--other-frame-action)
9163 (pop-to-buffer-same-window): Remove display-buffer--special.
9164
a769dd15
GM
91652011-11-07 Glenn Morris <rgm@gnu.org>
9166
9167 * calendar/cal-menu.el (cal-menu-set-date-title):
9168 Do nothing if not in a calendar. (Bug#9976)
9169
05a61ee3
SM
91702011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9171
9172 * files.el (find-file): Always use selected-window.
9173
be7f5545
MR
91742011-11-07 Martin Rudalics <rudalics@gmx.at>
9175
9176 * window.el (window-combinations): Make WINDOW argument
9177 mandatory. Rewrite doc-string.
9178 (walk-window-subtree, window-atom-check, window-min-delta)
9179 (window-max-delta, window--resize-this-window)
9180 (window--resize-root-window-vertically, window-tree)
9181 (balance-windows, window-state-put): Rewrite doc-strings as to
9182 not mention the term "subwindow".
9183 (window--resize-subwindows-skip-p): Rename to
9184 window--resize-child-windows-skip-p.
9185 (window--resize-subwindows-normal): Rename to
9186 window--resize-child-windows-normal.
9187 (window--resize-subwindows): Rename to
9188 window--resize-child-windows.
9189 (window-or-subwindow-p): Rename to window--in-subtree-p.
9190
3c6702ef
ML
91912011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9192
9193 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9194 Ensure that mbox format messages end in two newlines (Bug#9974).
9195
49745b39
CY
91962011-11-06 Chong Yidong <cyd@gnu.org>
9197
9198 * window.el (window-combination-p): Function deleted; its
9199 side-effect is not used in any existing code.
9200 (window-combinations, window-combined-p): Call window-*-child
9201 directly.
9202
24300f5f
CY
92032011-11-05 Chong Yidong <cyd@gnu.org>
9204
9205 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9206 (window-size-ignore, window-state-get): Callers changed.
9207 (window-normalize-window): Rename from window-normalize-any-window.
9208 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9209 (window-normalize-live-window): Delete.
447f16b8
CY
9210 (window-combination-p, window-combined-p, window-combinations)
9211 (walk-window-subtree, window-atom-root, window-min-size)
9212 (window-sizable, window-sizable-p, window-size-fixed-p)
9213 (window-min-delta, window-max-delta, window-resizable)
9214 (window-resizable-p, window-full-height-p, window-full-width-p)
9215 (window-current-scroll-bars, window-point-1, set-window-point-1)
9216 (window-at-side-p, window-in-direction, window-resize)
9217 (adjust-window-trailing-edge, maximize-window, minimize-window)
9218 (window-deletable-p, delete-window, delete-other-windows)
9219 (record-window-buffer, unrecord-window-buffer)
9220 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9221 (quit-window, split-window, window-state-put)
9222 (set-window-text-height, fit-window-to-buffer)
9223 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9224
89bd5ee1
EZ
92252011-11-04 Eli Zaretskii <eliz@gnu.org>
9226
53479029
EZ
9227 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9228 rfc2047-decode-string.
9229 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9230 warnings.
9231
89bd5ee1
EZ
9232 * window.el (window-body-height, window-body-width): Mention in
9233 the doc string that the return values are in frame's canonical
9234 units. (Bug#9949)
9235
bd17fdee
AM
92362011-11-03 Alan Mackenzie <acm@muc.de>
9237
9238 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9239 change in cc-engine.el.
9240
acc825c5
SM
92412011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9242
9243 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9244
1885e5b8
MR
92452011-11-02 Martin Rudalics <rudalics@gmx.at>
9246
9247 * window.el (quit-window): Call unrecord-window-buffer after
9248 showing another buffer in the window. (Bug#9937)
acc825c5 9249 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9250
ebe06da9
JB
92512011-11-02 Juanma Barranquero <lekktu@gmail.com>
9252
9253 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9254 Accept status with more than 9 shelves. (Bug#9935)
9255 Reported by Colin D Bennett <colin@gibibit.com>.
9256
4ee88440
MR
92572011-11-01 Martin Rudalics <rudalics@gmx.at>
9258
9259 * help.el (with-help-window): Don't reference
9260 temp-buffer-show-specifiers in doc-string.
9261
08e1d82c
AS
92622011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9263
9264 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9265 menu-item.
9266
84bd6e9e
VJL
92672011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9268
9269 * whitespace.el: New version 13.2.2.
9270 (whitespace-newline-mode): Disable properly. Reported by Sarah
9271 <EmacsWiki>.
9272
dba0634a
UJ
92732011-10-30 Ulf Jasper <ulf.jasper@web.de>
9274
9275 * net/newst-treeview.el: Remove "Time-stamp".
9276 (newsticker--group-manage-orphan-feeds): Do not call
9277 newsticker--treeview-tree-update.
db22a3c2
JB
9278 (newsticker-treeview-update, newsticker-treeview):
9279 Call newsticker--treeview-tree-update if necessary.
dba0634a 9280
3d8daefe
MR
92812011-10-30 Martin Rudalics <rudalics@gmx.at>
9282
9283 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9284 (window-iso-combinations): Remove "iso-" infix.
9285 Suggested by Chong Yidong.
3d8daefe
MR
9286 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9287 (window-max-delta-1, window-resize, window--resize-siblings)
9288 (window--resize-this-window, adjust-window-trailing-edge)
9289 (split-window, balance-windows-1)
9290 (shrink-window-if-larger-than-buffer):
9291 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9292 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9293
1bc4c3ae
SM
92942011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9297 in place (bug#9907).
9298 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9299 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9300 (eshell-structure-basic-command, eshell-rewrite-while-command)
9301 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9302 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9303 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9304 (eshell-do-pipelines-synchronously, eshell-eval-command):
9305 Use backquotes and prefer setq to set.
9306 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9307 (eshell-macrop): Use functionp.
c1e2f5fa 9308 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9309
30b65d9c
CY
93102011-10-30 Chong Yidong <cyd@gnu.org>
9311
9312 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9313 instead of set-mark (Bug#9810).
9314
2d197ffb
CY
93152011-10-30 Chong Yidong <cyd@gnu.org>
9316
9317 * window.el (split-window-below, split-window-right): Rename from
9318 split-window-above-each-other and split-window-side-by-side
9319 respectively. All callers changed.
9320 (split-window-sensibly, split-window-sensibly): Use them.
9321 (split-window-keep-point): Doc fix.
9322
9323 * isearch.el: Add isearch-scroll property to split-window-below
9324 and split-window-right.
9325
9326 * follow.el (follow-mode):
9327 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9328 * progmodes/ada-xref.el (ada-gdb-application):
9329 * emulation/vip.el (vip-buffer-in-two-windows):
9330 * image-dired.el (image-dired-dired-with-window-configuration):
9331 * dired-x.el (dired-do-find-marked-files):
9332 * dired.el (dired-pop-to-buffer):
9333 * bs.el (bs--show-with-configuration):
9334 * vc/emerge.el (emerge-setup-windows):
9335 * textmodes/two-column.el (2C-two-columns):
9336 * textmodes/reftex-toc.el (reftex-toc):
9337 * progmodes/gdb-mi.el (gdb-setup-windows):
9338 * progmodes/fortran.el (fortran-window-create):
9339 * net/newst-treeview.el (newsticker--treeview-window-init):
9340 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9341 * emulation/tpu-edt.el (tpu-gold-map):
9342 * emulation/crisp.el (crisp-mode-map):
9343 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9344
38bb2ca8
CY
93452011-10-29 Chong Yidong <cyd@gnu.org>
9346
aa4de341
CY
9347 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9348
e1eb5385
CY
9349 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9350
5d2ece3c
CY
9351 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9352 forged Ispell output (Bug#7904).
9353
38bb2ca8
CY
9354 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9355
d0af9f77
SM
93562011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9357
9358 * doc-view.el: Avoid ugly errors about not finding nil.
9359 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9360 (doc-view-dvipdf-program, doc-view-unoconv-program)
9361 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9362 Avoid nil or absolute file name as default value.
9363 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9364
52bedd34
AM
93652011-10-28 Alan Mackenzie <acm@muc.de>
9366
db22a3c2 9367 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9368
7e43cfa5
AM
93692011-10-28 Alan Mackenzie <acm@muc.de>
9370
9371 Amend the handling of c-beginning/end-of-defun in nested declaration
9372 scopes.
9373
52bedd34
AM
9374 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9375 cc-langs.el. Change it to a defcustom.
7e43cfa5 9376
52bedd34
AM
9377 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9378 cc-vars.el.
7e43cfa5 9379
d0af9f77
SM
9380 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9381 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9382
52bedd34 9383 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9384 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9385 (c-widen-to-enclosing-decl-scope): New function.
9386 (c-while-widening-to-decl-block): New macro.
9387 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9388 outward for defun boundaries, and correspondingly change symbol
9389 `respect-enclosure' to `go-outward'.
9390 (c-declaration-limits): Change algorithm to report only the "innermost"
9391 defun's boundaries.
9392
1a2ce9ee
DD
93932011-10-28 Deniz Dogan <deniz@dogan.se>
9394
9395 * net/rcirc.el (rcirc-mode): Use hard newlines.
9396
bc97a826
AM
93972011-10-28 Alan Mackenzie <acm@muc.de>
9398
9399 Amend to indent and fontify macros "which include their own semicolon"
9400 correctly, using the "virtual semicolon" mechanism.
9401
52bedd34 9402 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9403
d0af9f77 9404 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9405 Recode to scan one line at a time rather than having \n and \r
58179cce 9406 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9407 (c-forward-label): Amend for virtual semicolons.
58179cce 9408 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9409
52bedd34
AM
9410 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9411 of the new C macros.
bc97a826 9412
52bedd34 9413 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9414 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9415 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9416 (c-opt-cpp-macro-define): Make into a full language variable.
9417 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9418 AWK Mode (including \n, \r) removed, no longer needed.
9419
d0af9f77
SM
9420 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9421 Invoke c-make-macro-with-semi-re.
bc97a826 9422
52bedd34
AM
9423 * progmodes/cc-vars.el (c-macro-with-semi-re):
9424 (c-macro-names-with-semicolon): New variables.
58179cce 9425 (c-make-macro-with-semi-re): New function.
bc97a826 9426
7a6c0941
SM
94272011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9428
9429 * vc/log-edit.el: Fill empty field rather than adding new one.
9430 (log-edit-add-field): New function.
9431 (log-edit-insert-changelog): Use it.
9432
b0c4cdcf
ML
94332011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9434
9435 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9436
ee1f1da9
SM
94372011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9438
9439 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9440 (gdb--check-interpreter): New function.
9441 (gdb): Use it.
9442
51bc5f8b
GM
94432011-10-27 Glenn Morris <rgm@gnu.org>
9444
416a2c45
GM
9445 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9446 (least-positive-float, least-negative-float)
9447 (least-positive-normalized-float, least-negative-normalized-float)
9448 (float-epsilon, float-negative-epsilon):
9449 Remove unnecessary declarations.
9450
9451 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9452 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9453 (least-positive-float, least-negative-float)
9454 (least-positive-normalized-float, least-negative-normalized-float)
9455 (float-epsilon, float-negative-epsilon): Add doc-strings,
9456 based on those in cl.texi.
9457
51bc5f8b
GM
9458 * files.el (set-visited-file-name): If the major-mode changed,
9459 reload the local variables. (Bug#9796)
9460
15de15c6
CY
94612011-10-27 Chong Yidong <cyd@gnu.org>
9462
9463 * subr.el (change-major-mode-after-body-hook): New hook.
9464 (run-mode-hooks): Run it.
9465
ee1f1da9
SM
9466 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9467 Use change-major-mode-before-body-hook.
15de15c6
CY
9468
9469 * simple.el (fundamental-mode):
9470 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9471 change introducing fundamental-mode-hook.
9472
5430d399
JB
94732011-10-26 Juanma Barranquero <lekktu@gmail.com>
9474
acc825c5 9475 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9476
ad74a69e
MA
94772011-10-26 Michael Albinus <michael.albinus@gmx.de>
9478
9479 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9480 tramp.el explicitly. (Bug#7583)
ad74a69e 9481
71d4c2a5
SM
94822011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 * progmodes/octave-mod.el:
9485 * progmodes/octave-inf.el: Update maintainer.
9486
b1f6fa26
CY
94872011-10-26 Chong Yidong <cyd@gnu.org>
9488
9489 * subr.el (with-wrapper-hook): Rewrite doc.
9490
3f04efd6
MA
94912011-10-25 Michael Albinus <michael.albinus@gmx.de>
9492
9493 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9494 filenames "/method:foo:". (Bug#9793)
3f04efd6 9495
410488d3
SM
94962011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9497
9498 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9499 (bug#9865).
9500
c1ebb47e
GM
95012011-10-24 Glenn Morris <rgm@gnu.org>
9502
9503 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9504
7f5c46c7
MA
95052011-10-24 Michael Albinus <michael.albinus@gmx.de>
9506
9507 * notifications.el: Add the requirement of a running D-Bus session
9508 bus to the Commentary.
9509
db2440b6
JL
95102011-10-24 Juri Linkov <juri@jurta.org>
9511
9512 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9513 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9514 (Bug#9364)
9515
feecf435
JL
95162011-10-24 Juri Linkov <juri@jurta.org>
9517
9518 * info.el (Info-following-node-name-re): Add newline to the list
9519 of allowed characters for leading space. (Bug#9824)
9520
a3839de2
SM
95212011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9522
acc825c5
SM
9523 * progmodes/octave-inf.el (inferior-octave-mode-map):
9524 Fix C-c C-h binding.
a3839de2
SM
9525 * progmodes/octave-mod.el (octave-help): Remove.
9526
09388e76
MA
95272011-10-23 Michael Albinus <michael.albinus@gmx.de>
9528
9529 Sync with Tramp 2.2.3.
9530
9531 * net/tramp-cache.el (top): Pacify byte-compiler using
9532 `init-file-user' and `site-run-file'.
9533
9534 * net/trampver.el: Update release number.
9535
86c60681
CY
95362011-10-23 Chong Yidong <cyd@gnu.org>
9537
9538 * files.el (toggle-read-only): Remove obsolete comment about
9539 version control.
9540
9541 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9542 for toggle-read-only. Note that this hasn't called vc-next-action
9543 since 2008-05-02, though it wasn't documented at the time.
9544
a3839de2
SM
9545 * vc/ediff-init.el (ediff-toggle-read-only-function):
9546 Use toggle-read-only.
86c60681 9547
cd5495ff
AM
95482011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9549
9550 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9551 of c-parse-state.
9552
00b77525 9553 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9554 correct faulty logical expression.
cd5495ff
AM
9555 (c-parse-state-state, c-record-parse-state-state):
9556 (c-replay-parse-state-state): New defvar/defuns.
9557 (c-debug-parse-state): Use new functions.
9558
42ee24ed
MR
95592011-10-22 Martin Rudalics <rudalics@gmx.at>
9560
9561 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9562 last fix. Use window-in-direction correctly.
42ee24ed 9563
a7dee7e7
CY
95642011-10-21 Chong Yidong <cyd@gnu.org>
9565
9566 * progmodes/idlwave.el (idlwave-mode):
9567 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9568 require-final-newline; that's done in prog-mode.
9569 Suggested by Stefan Monnier.
a7dee7e7 9570
e07b9a6d
MR
95712011-10-21 Martin Rudalics <rudalics@gmx.at>
9572
9573 * mouse.el (mouse-drag-window-above)
9574 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9575 (mouse-drag-mode-line-1, mouse-drag-header-line)
9576 (mouse-drag-vertical-line-rightward-window): Remove.
9577 (mouse-drag-line): New function.
9578 (mouse-drag-mode-line, mouse-drag-header-line)
9579 (mouse-drag-vertical-line): Call mouse-drag-line.
9580 * window.el (window-at-side-p, windows-at-side): New functions.
9581
7e1361d9
UM
95822011-10-21 Ulrich Mueller <ulm@gentoo.org>
9583
9584 * tar-mode.el (tar-grind-file-mode):
9585 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9586
30fcaf3a
CY
95872011-10-21 Chong Yidong <cyd@gnu.org>
9588
9589 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9590 * progmodes/vera-mode.el (vera-mode):
9591 Use mode-require-final-newline.
30fcaf3a 9592
516eddb0
GM
95932011-10-20 Glenn Morris <rgm@gnu.org>
9594
db22a3c2 9595 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9596
10d5f513
CS
95972011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9598
9599 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9600
ac6c8639
CY
96012011-10-20 Chong Yidong <cyd@gnu.org>
9602
9603 * emulation/cua-base.el (cua-mode):
9604 * mail/footnote.el (footnote-mode):
9605 * mail/mailabbrev.el (mail-abbrevs-mode):
9606 * net/xesam.el (xesam-minor-mode):
9607 * progmodes/bug-reference.el (bug-reference-mode):
9608 * progmodes/cap-words.el (capitalized-words-mode):
9609 * progmodes/compile.el (compilation-minor-mode)
9610 (compilation-shell-minor-mode):
9611 * progmodes/gud.el (gud-tooltip-mode):
9612 * progmodes/hideif.el (hide-ifdef-mode):
9613 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9614 * progmodes/subword.el (subword-mode):
9615 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9616 * progmodes/which-func.el (which-function-mode):
9617 * term/tvi970.el (tvi970-set-keypad-mode):
9618 * term/vt100.el (vt100-wide-mode):
9619 * textmodes/flyspell.el (flyspell-mode):
9620 * textmodes/ispell.el (ispell-minor-mode):
9621 * textmodes/nroff-mode.el (nroff-electric-mode):
9622 * textmodes/paragraphs.el (use-hard-newlines):
9623 * textmodes/refill.el (refill-mode):
9624 * textmodes/reftex.el (reftex-mode):
9625 * textmodes/rst.el (rst-minor-mode):
9626 * textmodes/sgml-mode.el (html-autoview-mode)
9627 (sgml-electric-tag-pair-mode):
9628 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9629 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9630 * emulation/crisp.el (crisp-mode):
9631 * emacs-lisp/eldoc.el (eldoc-mode):
9632 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9633 minor mode behavior.
9634
aa42ab43
JL
96352011-10-19 Juri Linkov <juri@jurta.org>
9636
9637 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9638 the list of hard-coded chars with escape-glyph face.
9639
89400f1d
SM
96402011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9641
9642 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9643
305c07f6
MA
96442011-10-19 Michael Albinus <michael.albinus@gmx.de>
9645
9646 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9647 running process.
9648
13754b54
GM
96492011-10-19 Glenn Morris <rgm@gnu.org>
9650
9651 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9652 Ignore ignored files. (Bug#9726)
9653
06e21633
CY
96542011-10-19 Chong Yidong <cyd@gnu.org>
9655
9656 Doc fix for minor modes, stating that an omitted argument enables
9657 the mode unconditionally when called from Lisp.
9658
9659 * abbrev.el (abbrev-mode):
9660 * allout.el (allout-mode):
9661 * autoinsert.el (auto-insert-mode):
9662 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9663 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9664 (global-auto-revert-mode):
9665 * battery.el (display-battery-mode):
9666 * composite.el (global-auto-composition-mode)
9667 (auto-composition-mode):
9668 * delsel.el (delete-selection-mode):
9669 * desktop.el (desktop-save-mode):
9670 * dired-x.el (dired-omit-mode):
9671 * dirtrack.el (dirtrack-mode):
9672 * doc-view.el (doc-view-minor-mode):
9673 * double.el (double-mode):
9674 * electric.el (electric-indent-mode, electric-pair-mode):
9675 * emacs-lock.el (emacs-lock-mode):
9676 * epa-hook.el (auto-encryption-mode):
9677 * follow.el (follow-mode):
9678 * font-core.el (font-lock-mode):
9679 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9680 * help.el (temp-buffer-resize-mode):
9681 * hilit-chg.el (highlight-changes-mode)
9682 (highlight-changes-visible-mode):
9683 * hi-lock.el (hi-lock-mode):
9684 * hl-line.el (hl-line-mode, global-hl-line-mode):
9685 * icomplete.el (icomplete-mode):
9686 * ido.el (ido-everywhere):
9687 * image-file.el (auto-image-file-mode):
9688 * image-mode.el (image-minor-mode):
9689 * iswitchb.el (iswitchb-mode):
9690 * jka-cmpr-hook.el (auto-compression-mode):
9691 * linum.el (linum-mode):
9692 * longlines.el (longlines-mode):
9693 * master.el (master-mode):
9694 * mb-depth.el (minibuffer-depth-indicate-mode):
9695 * menu-bar.el (menu-bar-mode):
9696 * minibuf-eldef.el (minibuffer-electric-default-mode):
9697 * mouse-sel.el (mouse-sel-mode):
9698 * msb.el (msb-mode):
9699 * mwheel.el (mouse-wheel-mode):
9700 * outline.el (outline-minor-mode):
9701 * paren.el (show-paren-mode):
9702 * recentf.el (recentf-mode):
9703 * reveal.el (reveal-mode, global-reveal-mode):
9704 * rfn-eshadow.el (file-name-shadow-mode):
9705 * ruler-mode.el (ruler-mode):
9706 * savehist.el (savehist-mode):
9707 * scroll-all.el (scroll-all-mode):
9708 * scroll-bar.el (scroll-bar-mode):
9709 * server.el (server-mode):
9710 * shell.el (shell-dirtrack-mode):
9711 * simple.el (auto-fill-mode, transient-mark-mode)
9712 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9713 (line-number-mode, column-number-mode, size-indication-mode)
9714 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9715 * strokes.el (strokes-mode):
9716 * time.el (display-time-mode):
9717 * t-mouse.el (gpm-mouse-mode):
9718 * tool-bar.el (tool-bar-mode):
9719 * tooltip.el (tooltip-mode):
9720 * type-break.el (type-break-mode-line-message-mode)
9721 (type-break-query-mode):
9722 * view.el (view-mode):
9723 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9724 (global-whitespace-mode, global-whitespace-newline-mode):
9725 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9726
a3839de2
SM
9727 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9728 Fix autogenerated docstring.
06e21633 9729
5214e501
JL
97302011-10-19 Juri Linkov <juri@jurta.org>
9731
9732 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9733 by checking environment variables "DESKTOP_SESSION" and
9734 "XDG_CURRENT_DESKTOP". (Bug#9779)
9735
195f8db9
JL
97362011-10-19 Juri Linkov <juri@jurta.org>
9737
9738 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9739 (browse-url-chromium-program, browse-url-chromium-arguments):
9740 New defcustoms.
9741 (browse-url-default-browser): Check for `browse-url-chromium' and
9742 call `browse-url-chromium-program'.
9743 (browse-url-chromium): New command. (Bug#9779)
9744
343a34ff
JB
97452011-10-18 Juanma Barranquero <lekktu@gmail.com>
9746
9747 * facemenu.el (list-colors-duplicates): On Windows, detect more
9748 duplicates by assuming that only colors matching "^System" are
9749 special "system colors". (Bug#9722)
9750
6978a151
SM
97512011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9752
9753 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9754 to distinguish the author from the committer.
9755
6a80b297
MA
97562011-10-18 Michael Albinus <michael.albinus@gmx.de>
9757
9758 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9759
b31a5677
JK
97602011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9761
9762 * international/mule.el (sgml-html-meta-auto-coding-function):
9763 Add support for detecting encoding in HTML5 specified only as
9764 <meta charset="UTF-8">. Implementation just makes http-equiv and
9765 content-type parts from HTML4 encoding string optional. (Bug#9716)
9766
80c6d77f
GM
97672011-10-18 Glenn Morris <rgm@gnu.org>
9768
9769 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9770
08b0fee8
CY
97712011-10-18 Chong Yidong <cyd@gnu.org>
9772
9773 * faces.el (cursor): Doc fix.
9774
67e729a5
CY
97752011-10-17 Chong Yidong <cyd@gnu.org>
9776
9777 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9778
343a34ff 97792011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9780
9781 * dirtrack.el (dirtrack): Support shell buffers with path
9782 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9783
0bc06380
TZ
97842011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9785
9786 * json.el: Bump version to 1.3 and note change in History.
9787 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9788
8b79f3e0
SM
97892011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9790
5a7c536b
SM
9791 * comint.el (comint-insert-input, comint-send-input)
9792 (comint-get-old-input-default, comint-backward-matching-input)
9793 (comint-next-prompt): Use nil instead of `input' for field property of
9794 past user input (bug#114).
9795
96a8a0df
SM
9796 * minibuffer.el (completion--replace): Inherit surrounding properties
9797 (bug#114).
9798 (minibuffer-complete-and-exit): Use it.
9799
8b79f3e0
SM
9800 * comint.el (comint--table-subvert): Quote the all-completions output
9801 (bug#9160).
9802
b8f7ff0d
MR
98032011-10-17 Martin Rudalics <rudalics@gmx.at>
9804
8b79f3e0 9805 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9806
b8f7ff0d 9807 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9808 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9809 entries and separate them from frame entries.
9810
c235b555
GM
98112011-10-15 Glenn Morris <rgm@gnu.org>
9812
9813 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9814 Doc fixes.
9815
6bbfa6e1
CY
98162011-10-15 Chong Yidong <cyd@stupidchicken.com>
9817
8b79f3e0
SM
9818 * net/network-stream.el (network-stream-open-starttls):
9819 Improve detection of failure due to lack of TLS support.
ec5c990d 9820
6bbfa6e1
CY
9821 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9822 putting the input text in front and in bold.
9823
98488977
SM
98242011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9825
3d1337be
SM
9826 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9827
ee0b45e4
SM
9828 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9829 empty buffer.
9830
98488977
SM
9831 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9832 unread-command-events rather than pushing yet-another event.
9833
186f4720
EZ
98342011-10-14 Eli Zaretskii <eliz@gnu.org>
9835
9836 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9837 the explanation of the possible choices. Make the options passed
9838 to completing-read shorter.
9839
8b7a997c
AM
98402011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9841
9842 * textmodes/flyspell.el (flyspell-large-region): Make sure
9843 extended character mode is used if defined (Bug#1339).
9844
12587bbb
EZ
98452011-10-13 Eli Zaretskii <eliz@gnu.org>
9846
9847 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9848 character info for LRE, LRO, RLE, and RLO characters by appending
9849 an invisible PDF.
12587bbb 9850
bad41229
SM
98512011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9852
9853 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9854 even in case of error; add debug spec; simplify data flow.
9855 (with-timeout-handler): Remove.
9856
28dbc92f
MA
98572011-10-12 Michael Albinus <michael.albinus@gmx.de>
9858
9859 Fix Bug#6019, Bug#9315.
9860
9861 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9862 complete `buffer-file-name', the local file name part could look
9863 remotely (for example on VMS).
9864
9865 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9866 `tramp-run-real-handler'.
9867 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9868 already quoted by '"'.
9869
9870 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9871 Let `file-name-handler-alist' be nil, the local file name part
9872 could look remotely (for example on VMS).
9873
e1b0b23a
SM
98742011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9875
9876 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9877 from here...
9878 (flyspell-post-command-hook): ...to here.
9879
a120bde9
SM
98802011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9881
9882 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9883 if not needed.
9884 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9885 using completion. Protect against "slow" callers.
9886 Remove the "message hack".
9887
7ce7717b
JL
98882011-10-11 Juri Linkov <juri@jurta.org>
9889
9890 * isearch.el (isearch-lazy-highlight-word): New variable.
9891 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9892 Use it. (Bug#9727)
9893
c02ee9d6
GM
98942011-10-11 Glenn Morris <rgm@gnu.org>
9895
9896 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9897 like f90-previous-statement does.
9898
93e616fd 98992011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9900
1f190e73 9901 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9902 only in interactive use, to avoid error.
9903
af7b6078
SM
99042011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9905
9906 * minibuffer.el (completion-file-name-table): Fix last change,
9907 i.e. ignore normal errors but not the other ones.
9908
0563dae9
MR
99092011-10-10 Martin Rudalics <rudalics@gmx.at>
9910
9911 * window.el (special-display-buffer-names)
9912 (special-display-regexps): Remove some remnants of earlier
9913 changes from doc-strings.
366ca7f3
MR
9914 (quit-windows-on): New function.
9915
9916 * vc/vc.el (vc-revert, vc-rollback):
9917 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9918 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9919 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9920
49677495
MR
99212011-10-09 Martin Rudalics <rudalics@gmx.at>
9922
9923 * window.el (frame-auto-hide-function): Add version tag.
9924 (Bug#9699)
9925
56f2d1e1
MA
99262011-10-09 Michael Albinus <michael.albinus@gmx.de>
9927
9928 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9929 condition.
9930
112a6592
LL
99312011-10-09 Leo Liu <sdl.web@gmail.com>
9932
9933 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9934 (Bug#9701)
9935
0812589b
GM
99362011-10-08 Glenn Morris <rgm@gnu.org>
9937
9938 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9939 before the first code statement zero indent. (Bug#9690)
9940
b2b0776e
CY
99412011-10-08 Chong Yidong <cyd@stupidchicken.com>
9942
9943 * simple.el (count-words-region): Always count in the region.
9944 Report the number of lines and characters too.
9945 (count-words): New command, which counts in the buffer if the
9946 region is inactive, as count-words-region used to.
9947 (count-words--message): New function. Handle plurals.
9948 (count-lines-region): Make it an alias for count-words-region.
9949
9950 * bindings.el (esc-map): Replace count-lines-region with
9951 count-words-region.
9952
c557cd6b
MR
99532011-10-08 Martin Rudalics <rudalics@gmx.at>
9954
9955 * window.el (window--delete): Delete dedicated frame
9956 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9957 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9958
61a57ef4 99592011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9960
3a7d293b 9961 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9962
c3833279
CY
99632011-10-07 Chong Yidong <cyd@stupidchicken.com>
9964
9965 * bindings.el ([M-left],[M-right]): Bind to left-word and
9966 right-word respectively.
9967
21ce8245
GM
99682011-10-07 Glenn Morris <rgm@gnu.org>
9969
9970 * cus-start.el (debug-on-quit): Fix custom type.
9971
6d823bb2
LMI
99722011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9973
0181e193
LMI
9974 * subr.el (define-key-after): Clarify that the function is not
9975 useful for non-menu keymaps.
9976
6d823bb2
LMI
9977 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9978
8e3459ce 99792011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9980
21ce8245 9981 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9982 in current minibuffer (Fix bug with recursive minibuffers).
9983
a1c2d21e
CY
99842011-10-06 Chong Yidong <cyd@stupidchicken.com>
9985
9986 * progmodes/gdb-mi.el (gdb): Doc fix.
9987
5a4cf282
MR
99882011-10-05 Martin Rudalics <rudalics@gmx.at>
9989
9990 * window.el (frame-auto-hide-function): New option replacing
9991 frame-auto-delete. Suggested by Stefan Monnier.
9992 (window--delete): Call frame-auto-hide-function instead of
9993 investigating frame-auto-delete.
c96111ea
MR
9994 (window-point-1, set-window-point-1): New functions.
9995 (window-in-direction, record-window-buffer, window-state-get-1)
9996 (display-buffer-record-window): Use window-point-1 instead of
9997 window-point.
9998 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9999
9854542e
SM
100002011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10001
10002 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10003
8943cfb0
GM
100042011-10-05 Glenn Morris <rgm@gnu.org>
10005
10006 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10007 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10008
647ab967
LL
100092011-10-05 Leo Liu <sdl.web@gmail.com>
10010
10011 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10012 works with buffer object.
10013
3ddfbced
SM
100142011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10015
10016 * mpc.el (mpc-tool-bar-map): Add labels.
10017
bdfa5dd2
GM
100182011-10-04 Glenn Morris <rgm@gnu.org>
10019
10020 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10021
0e2070b5
MR
100222011-10-04 Martin Rudalics <rudalics@gmx.at>
10023
10024 * window.el (window--delete): New function.
10025 (frame-auto-delete): Resuscitate option.
10026 (bury-buffer, replace-buffer-in-windows)
10027 (quit-window): Rewrite using window--delete.
10028 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10029 Pass display-buffer-mark-dedicated to window--display-buffer-2
10030 (Bug#9639).
10031
3dc61a09
SM
100322011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10033
915a9b64
SM
10034 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10035 returns a list (bug#9554). Add remote file name completion.
10036 * comint.el (comint--table-subvert): Curry and get quote&unquote
10037 functions as arguments.
10038 (comint--complete-file-name-data): Adjust call accordingly.
10039 * pcomplete.el (pcomplete--table-subvert): Remove.
10040 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10041
3dc61a09
SM
10042 * minibuffer.el (completion-table-case-fold): Use currying.
10043 (completion--styles-type, completion--cycling-threshold-type):
10044 New constants.
10045 (completion-styles, completion-category-overrides)
10046 (completion-cycle-threshold): Use them.
10047 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10048 completion-table-case-fold.
10049
8ea0a993
SB
100502011-10-03 Stephen Berman <stephen.berman@gmx.net>
10051
10052 * minibuffer.el (completion-category-overrides): Fix type of styles
10053 and add more user friendly tags (bug#9660).
10054
8c24b7f6
SM
100552011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10056
10057 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10058 (mule-input-method-string): New widget.
10059 (default-input-method, language-info-custom-alist): Use it.
10060
428fe61a
SM
100612011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10062
32c1fffd
SM
10063 * pcomplete.el: Require comint.
10064 (pcomplete--common-suffix): Remove.
10065 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10066 (pcomplete--table-subvert): Sync with comint--table-subvert.
10067 (pcomplete--entries): Use comint-completion-file-name-table.
10068 * comint.el (comint-unquote-filename): Simplify.
10069 (comint-completion-file-name-table): New function (bug#9616).
10070 (comint--complete-file-name-data): Use it.
10071
428fe61a
SM
10072 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10073 (pcmpl-gnu-tar-buffer): Remove.
10074 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
10075 around. Make sure pcomplete-suffix-list is only changed temporarily.
10076 Don't look inside the tar's file if it's too large.
428fe61a 10077
04c52e2f
CY
100782011-10-01 Chong Yidong <cyd@stupidchicken.com>
10079
ce3cefcc
CY
10080 * cus-edit.el (custom-mode-map):
10081 * epa.el (epa-key-list-mode-map):
10082 * man.el (Man-mode-map):
10083 * startup.el (splash-screen-keymap):
10084 * simple.el (special-mode-map): Use scroll-up-command and
10085 scroll-down-command.
10086
10087 * progmodes/idlw-help.el (idlwave-help-mode-map):
10088 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10089 * net/newst-plainview.el (newsticker-mode-map):
10090 * emulation/ws-mode.el (wordstar-mode-map):
10091 * emulation/vi.el (vi-com-map):
10092 * calc/calc-graph.el (calc-graph-show-dumb):
10093 * term/sun.el (terminal-init-sun):
10094 * term/ns-win.el (global-map):
10095 * progmodes/grep.el (grep-mode-map):
10096 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10097 * mail/rmail.el (rmail-mode-map):
10098 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10099
04c52e2f
CY
10100 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10101 custom-safe-themes as special.
10102
79adf8c8
JD
101032011-10-01 Julien Danjou <julien@danjou.info>
10104
10105 * notifications.el (notifications-notify): Fix docstring.
10106
63bd50d3
PS
101072011-10-01 Per Starbäck <per@starback.se>
10108
10109 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10110
199e4c7e
MR
101112011-09-30 Martin Rudalics <rudalics@gmx.at>
10112
10113 * startup.el (command-line-1): Fix last fix by inserting
10114 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 10115 (Bug#9605) and (Bug#9636)
199e4c7e 10116
fe5f08dd
EZ
101172011-09-29 Eli Zaretskii <eliz@gnu.org>
10118
10119 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10120 window is hscrolled, move by logical lines. (Bug#9607)
10121 (line-move-visual): Update the doc string to the above effect.
10122
b5516bbd
MR
101232011-09-29 Martin Rudalics <rudalics@gmx.at>
10124
ccee00c0
MR
10125 * window.el (display-buffer-record-window): When WINDOW is the
10126 selected window use `point' instead of `window-point'. (Bug#9626)
10127
b5516bbd
MR
10128 * startup.el (command-line-1): Use insert-before-markers when
10129 inserting initial-scratch-message. (Bug#9605)
ccee00c0 10130
b5516bbd
MR
10131 * help.el (help-window): Remove variable.
10132
52aa0014
GM
101332011-09-29 Glenn Morris <rgm@gnu.org>
10134
10135 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10136
df9a7357
JB
101372011-09-29 Juanma Barranquero <lekktu@gmail.com>
10138
10139 * descr-text.el (describe-char-categories): Accept category
10140 descriptions more than one line long.
10141
a8406c20
SM
101422011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10143
88d9610c
SM
10144 * simple.el (delete-trailing-whitespace): Fix last change.
10145
a5daf810
SM
10146 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10147 Don't confuse "y => 3" as the beginning of a `y' operation.
10148
a8406c20
SM
10149 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10150 object has more than 4 slots (bug#9613).
10151
a239d4e9
JB
101522011-09-28 Juanma Barranquero <lekktu@gmail.com>
10153
10154 * subr.el (with-output-to-temp-buffer):
10155 * net/quickurl.el (quickurl, quickurl-browse-url):
10156 Fix typos in docstrings.
10157
693fbdb6
EZ
101582011-09-27 Eli Zaretskii <eliz@gnu.org>
10159
10160 * minibuffer.el (completion-styles)
10161 (completion-category-overrides): Cross reference each other in doc
10162 strings.
10163
8b457e28
GM
101642011-09-27 Glenn Morris <rgm@gnu.org>
10165
10166 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10167 to split-string. (Bug#9606)
10168
85a16208
LMI
101692011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10170
10171 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10172 (bug#9615).
10173
502f9ebd
CY
101742011-09-27 Chong Yidong <cyd@stupidchicken.com>
10175
10176 * emacs-lisp/package.el (list-packages): Fix echo area message.
10177
7690bdea
LL
101782011-09-27 Leo Liu <sdl.web@gmail.com>
10179
10180 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10181
e2ee6f30
MA
101822011-09-25 Michael Albinus <michael.albinus@gmx.de>
10183
10184 * net/dbus.el (dbus-unregister-object): Don't release services for
10185 registered signals. (Bug#9581)
10186
f3f98342
TZ
101872011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10188
10189 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10190 function that picks between cfengine 2 and 3 support
10191 automatically. Update docs accordingly.
10192
dd7aa8dd
KH
101932011-09-22 Kenichi Handa <handa@m17n.org>
10194
10195 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10196 ZERO.
10197 (indian-itrans-v5-table-for-tamil): New variable.
10198 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10199
3f2b07f8
KM
102002011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10201
10202 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10203 that's true if the current command involved collapsing of text.
10204 It's reset to false at the beginning of the next command.
10205 (allout-post-command-business): Move the cursor to the beginning
10206 of entry if the cursor is hidden and collapsing activity just
10207 happened.
10208
371d6a61
CY
102092011-09-24 Chong Yidong <cyd@stupidchicken.com>
10210
10211 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10212 tracking (Bug#9541).
10213
2ac2721a
UJ
102142011-09-24 Ulf Jasper <ulf.jasper@web.de>
10215
10216 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10217 (newsticker-show-news): Automatically load html rendering package
10218 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10219 because w3m-fill-column is let-bound" and the error "Symbol's value
10220 as variable is void: w3m-fill-column".
2ac2721a 10221
fac7ae53
MA
102222011-09-24 Michael Albinus <michael.albinus@gmx.de>
10223
10224 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10225 Release services only if they are defined. (Bug#9581)
10226
e08b633b
RS
102272011-09-23 Richard Stallman <rms@gnu.org>
10228
e488d29c
RS
10229 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10230 distinguish start of paragraph from start of its text.
10231
19c38752
RS
10232 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10233
e08b633b
RS
10234 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10235 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10236 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10237
0a39f27e
AS
102382011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10239
10240 * international/mule-diag.el (mule-diag): Insert a newline after
10241 each fontset description.
10242
db4e950d
SM
102432011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10244
10245 * simple.el (delete-trailing-whitespace):
10246 Document last change; simplify.
10247
eca3f3ea
PW
102482011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10249
d68e189a
PW
10250 * simple.el (delete-trailing-whitespace): Also delete
10251 extra newlines at the end of the buffer.
10252
eca3f3ea
PW
10253 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10254 (picture-newline): Use forward-line so as to ignore fields.
10255
01c157cc
SM
102562011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10257
10258 * subr.el (with-wrapper-hook): Fix edebug spec.
10259
022de23e
LMI
102602011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10261
10262 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10263 (bug#4538).
10264
91683089
MA
102652011-09-23 Michael Albinus <michael.albinus@gmx.de>
10266
eca3f3ea
PW
10267 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10268 Fix nasty bug using wrong cached values.
91683089 10269
5bdd6fa4
AM
102702011-09-23 Alan Mackenzie <acm@muc.de>
10271
10272 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10273
97adfb97
CY
102742011-09-23 Chong Yidong <cyd@stupidchicken.com>
10275
10276 * window.el (pop-to-buffer): Ensure right window is selected if we
10277 chose another frame.
10278
d4ef2b50
EZ
102792011-09-22 Eli Zaretskii <eliz@gnu.org>
10280
10281 * simple.el (what-cursor-position): Use get-char-property-change
10282 and next-single-char-property-change, to be able to show display
10283 properties that come from overlays as well as text properties.
10284
72258fe5
CY
102852011-09-22 Chong Yidong <cyd@stupidchicken.com>
10286
10287 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10288
10289 * cmuscheme.el (run-scheme, switch-to-scheme):
10290 * cus-edit.el (customize-group, custom-buffer-create)
10291 (customize-browse):
10292 * info.el (info):
10293 * shell.el (shell):
10294 * mail/sendmail.el (mail):
10295 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10296
8f098516
RS
102972011-09-22 Richard Stallman <rms@gnu.org>
10298
10299 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10300 move back only to line beg, don't move back over blank lines.
10301
e74f1bb6
MA
103022011-09-22 Michael Albinus <michael.albinus@gmx.de>
10303
10304 * files.el (copy-directory): Set directory attributes only in case
10305 they could be retrieved from the source directory. (Bug#9565)
10306
bfeef8b6
DK
103072011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10308
10309 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10310 (hs-find-block-beginning, hs-hide-level-recursive):
10311 Ignore strings as well as comments. (Bug#9502)
10312
7e423bb8
AS
103132011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10314
10315 * progmodes/sql.el (sql-comint-postgres):
10316 Convert port number to a string. (Bug#9566)
10317
b4d72fcf
MR
103182011-09-22 Martin Rudalics <rudalics@gmx.at>
10319
10320 * window.el (quit-window): Undedicate window when switching to
10321 previous buffer. Reported by Thierry Volpiatto
10322 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10323 (special-display-popup-frame): When popping up a new frame reset
10324 its previous buffers to nil. Simplify code.
b4d72fcf 10325
a7b88dc6
MA
103262011-09-21 Michael Albinus <michael.albinus@gmx.de>
10327
10328 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10329 and process filter, as done also in `shell-command'.
10330
cf4eacfd
MR
103312011-09-21 Martin Rudalics <rudalics@gmx.at>
10332
eca3f3ea 10333 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10334 Call set-window-start with NOFORCE argument t.
10335 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10336 (quit-window): Reword doc-string. Handle new format of
10337 quit-restore parameter. Don't delete window if it has a
10338 previous buffer we can show instead of the present one.
10339 (display-buffer-record-window): Rewrite using a new format for
10340 the quit-restore window parameter
10341 (special-display-popup-frame, display-buffer-same-window)
10342 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10343 (display-buffer-pop-up-window, display-buffer-use-some-window):
10344 Adapt symbol passed to display-buffer-record-window.
10345 * help.el (help-window-setup): Handle new format of quit-restore
10346 parameter.
10347
8d28cb95
SM
103482011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10349
94ab793f
SM
10350 * faces.el (face-list): Fix docstring (bug#9564).
10351
8d28cb95
SM
10352 * window.el (display-buffer--action-function-custom-type):
10353 Don't include internal functions in the Custom interface.
10354
3820edeb
JL
103552011-09-20 Juri Linkov <juri@jurta.org>
10356
10357 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10358 (Info-forward-node, Info-backward-node, Info-next-preorder)
10359 (Info-last-preorder): Use it. (Bug#9528)
10360
5147931d
JL
103612011-09-20 Juri Linkov <juri@jurta.org>
10362
10363 * info.el (Info-last-preorder): Visit last menu item only when
10364 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10365
cf499a1a
JD
103662011-09-20 Julien Danjou <julien@danjou.info>
10367
10368 * password-cache.el (password-cache-remove): Remove entries even if the
10369 value is nil, so that password with a nil value (negative caching) is
10370 possible to invalidate.
10371
f84e2fe2
LM
103722011-09-20 Lawrence Mitchell <wence@gmx.li>
10373
10374 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10375 all whitespace around breakpoint. (Bug#9553)
10376 (f90-find-breakpoint): Only break at whitespace inside a comment.
10377
78054a46
SM
103782011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10379
10380 * minibuffer.el (completion-file-name-table): Keep track of errors.
10381 (completion-table-with-predicate): Handle the case where pred1 is nil.
10382 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10383
345083b2
SM
103842011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10385
e24e27be
SM
10386 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10387 (debugger-return-value): Signal an error if the debugging context does
10388 not await any return value.
10389
345083b2
SM
10390 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10391 * image-mode.el (image-toggle-display-text)
10392 (image-toggle-display-image): Stay away from evil `intangible'.
10393
08d355e3
LL
103942011-09-19 Leo Liu <sdl.web@gmail.com>
10395
10396 * replace.el (occur-revert-arguments): Make it permanent-local.
10397 (occur-mode): Don't call font-lock-defontify.
10398
f01da43f
CY
103992011-09-19 Chong Yidong <cyd@stupidchicken.com>
10400
10401 * net/ldap.el (ldap-search-internal): Don't push empty search
10402 result (Bug#9508).
10403
b6072fa6
SM
104042011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10405
10406 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10407
443d6696
MA
104082011-09-19 Michael Albinus <michael.albinus@gmx.de>
10409
10410 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10411 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10412
7cc6e154
JL
104132011-09-18 Juri Linkov <juri@jurta.org>
10414
10415 * buff-menu.el (Buffer-menu-mode-map):
10416 * dired.el (dired-mode-map):
10417 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10418 (lisp-interaction-mode-map):
10419 * emacs-lisp/package.el (package-menu-mode-map):
10420 * epa.el (epa-key-list-mode-map):
10421 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10422 (menu-bar-options-menu):
10423 * outline.el (outline-mode-menu-bar-map):
10424 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10425 * vc/vc-dir.el (vc-dir-menu-map):
10426 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10427 Capitalize non-function content words in menu item strings.
10428
10429 * dired.el (dired-mode-map): Add menu item for
10430 `image-dired-dired-toggle-marked-thumbs'.
10431
80302a81
JL
104322011-09-18 Juri Linkov <juri@jurta.org>
10433
10434 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10435 to `isearch-case-fold-search' and restore its original value
10436 after the `isearch-mode' call.
10437
46c5cf66
JL
104382011-09-18 Juri Linkov <juri@jurta.org>
10439
10440 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10441 because `zgrep' returns 1 for successful matches (bug#9226).
10442
d18b513b
JL
104432011-09-18 Juri Linkov <juri@jurta.org>
10444
10445 * info.el (Info-extract-menu-node-name): Check the second match
10446 for empty string (second test-case of bug#9528).
10447 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10448 intermediate nodes to the history (first test-case of bug#9528).
10449
72753f87
JL
104502011-09-18 Juri Linkov <juri@jurta.org>
10451
10452 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10453 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10454
c9384295
JL
104552011-09-18 Juri Linkov <juri@jurta.org>
10456
1154d12e
JB
10457 * info.el (Info-file-supports-index-cookies):
10458 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10459 outputs one more line for long file names (bug#4142).
c9384295 10460
d473dce8
CY
104612011-09-18 Chong Yidong <cyd@stupidchicken.com>
10462
10463 * newcomment.el (comment-normalize-vars): If prompting for
10464 comment-start, set comment-start-skip too (Bug#8424).
10465
2176854d
JB
104662011-09-18 Johan Bockgård <bojohan@gnu.org>
10467
10468 * icomplete.el: Fix previous fix of Bug#5849.
10469 (icomplete-mode): Don't set completion-show-inline-help.
10470 (icomplete-minibuffer-setup): Set completion-show-inline-help
10471 locally during icompletion.
10472
3aace4e4
CY
104732011-09-18 Chong Yidong <cyd@stupidchicken.com>
10474
c940224f
CY
10475 * woman.el (woman2-process-escapes): Don't delete unrecognized
10476 escapes (Bug#7843).
10477
3aace4e4
CY
10478 * files.el (inhibit-first-line-modes-regexps): Add image files.
10479 (hack-local-variables-prop-line): Return nil for malformed
10480 prop-lines (Bug#9044).
10481
710dec63
MA
104822011-09-18 Michael Albinus <michael.albinus@gmx.de>
10483
10484 * net/tramp.el (top): Don't require 'shell.
10485 (tramp-methods): Fix docstring.
10486 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10487 Return complete remote file name. Handle "smb" case.
10488 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10489 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10490
10491 * net/tramp-compat.el (top): Require 'shell.
10492
10493 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10494 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10495 `tramp-current-host'.
10496 (tramp-get-remote-tmpdir): Remove.
10497
10498 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10499 `tramp-tmpdir' entries.
10500 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10501 (tramp-smb-handle-file-attributes): Ignore errors.
10502 (tramp-smb-wait-for-output): Check also for process end.
10503
5d5ac8ec
LMI
105042011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10505
10506 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10507 when sending QUIT (bug#9312).
10508
8c0f49f0
CY
105092011-09-17 Chong Yidong <cyd@stupidchicken.com>
10510
10511 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10512 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10513 occur-mode-display-occurrence.
10514 (occur-edit-mode): Add usage message.
10515 (occur-cease-edit): New command.
10516 (occur-after-change-function): Use text properties to find the
10517 position of the prefix text.
10518 (occur-engine): Set stickiness of prefix text properties.
10519
8f1383f7
GM
105202011-09-17 Glenn Morris <rgm@gnu.org>
10521
10522 * progmodes/etags.el (complete-tag):
10523 Fix call to completion-in-region. (Bug#9526)
10524
744ba0e3
JL
105252011-09-17 Juri Linkov <juri@jurta.org>
10526
10527 * textmodes/ispell.el (ispell-word): Add to the error message
10528 the word, ispell program name and current dictionary (bug#9121).
10529 (ispell-tex-arg-end): Capitalize "error" in the error message.
10530
d9bbf400
AS
105312011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10532
10533 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10534 check. (Bug#4251)
10535
8da11505
JL
105362011-09-17 Juri Linkov <juri@jurta.org>
10537
10538 * window.el (window-safe-min-height, window-safe-min-width):
10539 Fix typos (followup to bug#9522).
10540
a91adc7e
SJ
105412011-09-17 Sven Joachim <svenjoac@gmx.de>
10542
10543 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10544
064f328a
EZ
105452011-09-16 Eli Zaretskii <eliz@gnu.org>
10546
10547 * simple.el (line-move): If goal-column is set, move by logical
10548 lines, not by display lines. (Bug#971)
10549 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10550 to reflect the above change.
10551
e69df516
SM
105522011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10553
10554 * image.el (imagemagick-register-types): Use regexp-opt.
10555
cbb0f9ab
CY
105562011-09-15 Chong Yidong <cyd@stupidchicken.com>
10557
10558 * window.el (display-buffer-base-action): Rename from
10559 display-buffer-default-action. Make default value empty.
10560 (display-buffer-overriding-action): Convert to defvar.
10561 (display-buffer-fallback-action): New var.
10562
25322144
CY
105632011-09-15 Chong Yidong <cyd@stupidchicken.com>
10564
10565 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10566 declaration.
10567 (package--add-to-archive-contents): If there is a duplicate entry
10568 with an older version, remove it.
10569 (package-menu-mark-delete, package-menu-mark-install)
10570 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10571 (package-menu-mark-obsolete-for-deletion):
10572 Use package-menu-get-status instead of a regexp search.
25322144
CY
10573 (package-menu-get-status): Use tabulated-list-entry.
10574 (package-menu-mark-upgrades): New command.
d770725a 10575 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10576 (package-menu-execute): Do installation before deletion.
10577 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10578 instead of checking major-mode.
10579 (package-menu--find-upgrades): New function.
10580
7520339c
LMI
105812011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10582
10583 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10584 passwords in the log buffer.
65a046c4
LMI
10585 (smtpmail-process-filter): Update the process marker so that the
10586 "broken by peer" status message is inserted in the right place.
7520339c 10587
d3c30954
SM
105882011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10589
3fe48822
SM
10590 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10591 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10592 bibtex-completion-at-point-function.
10593 (bibtex-completion-at-point-function): Use them.
10594
1b8b3954
SM
10595 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10596
d3c30954
SM
10597 * mpc.el (mpc-constraints-tag-lookup): New function.
10598 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10599 also to browser "album|playlist".
10600
72779976
JL
106012011-09-14 Juri Linkov <juri@jurta.org>
10602
10603 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10604 (isearch-edit-string): Use length of `isearch-string' when
10605 `isearch-fail-pos' returns nil.
10606 (isearch-message): Remove duplicate code and call
10607 `isearch-fail-pos' with arg `t'.
10608
a0bf2bcd
CY
106092011-09-14 Chong Yidong <cyd@stupidchicken.com>
10610
17bb0a2d
CY
10611 * replace.el (occur-mode-goto-occurrence): Don't force using other
10612 window (Bug#9499).
10613
a0bf2bcd
CY
10614 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10615
f678e0b6
MR
106162011-09-14 Martin Rudalics <rudalics@gmx.at>
10617
10618 * window.el (display-buffer-window): Remove.
10619 (display-buffer-record-window): Use help-setup window parameter
10620 instead of variable display-buffer-window.
10621 (display-buffer-function, special-display-buffer-names)
10622 (special-display-function): Mention help-setup parameter instead
10623 of display-buffer-window in doc-string.
d3c30954
SM
10624 * help.el (help-window-setup): New argument help-window.
10625 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10626 Reword some messages.
10627 (with-help-window): Pass window used for displaying the buffer
10628 to help-window-setup. Don't set display-buffer-window.
10629
8e39b2e8
GM
106302011-09-13 Glenn Morris <rgm@gnu.org>
10631
10632 * emacs-lisp/debug.el (debugger-make-xrefs):
10633 Preserve point. (Bug#9462)
10634
85e9c04b
CY
106352011-09-13 Chong Yidong <cyd@stupidchicken.com>
10636
10637 * window.el (window-deletable-p): Use next-frame.
10638
1b36ed6a
MR
106392011-09-13 Martin Rudalics <rudalics@gmx.at>
10640
10641 * window.el (window-auto-delete): Remove.
10642 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10643 dedication and previous buffers.
1b36ed6a
MR
10644 (switch-to-prev-buffer): Don't delete window.
10645 (delete-windows-on): Delete a window's frame if and only if the
10646 window is dedicated.
10647 (replace-buffer-in-windows): Delete buffer's window or frame if
10648 and only if window is dedicated.
10649 (quit-window): Handle quit-restore as before last change.
4d61f28d 10650 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10651
ef8ef9fb
CY
106522011-09-13 Chong Yidong <cyd@stupidchicken.com>
10653
10654 * window.el (window-deletable-p): Never delete the last frame on a
10655 given terminal.
10656
b2cba41e
GM
106572011-09-13 Glenn Morris <rgm@gnu.org>
10658
10659 * help.el (describe-key-briefly): Copy previous standard-output change.
10660
51553db6 106612011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10662
10663 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10664
b7556719
GM
106652011-09-13 Glenn Morris <rgm@gnu.org>
10666
10667 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10668 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10669
64b51947
CY
106702011-09-12 Chong Yidong <cyd@stupidchicken.com>
10671
10672 * dired-aux.el (dired-mark-read-string): Don't return default
10673 value on empty input (Bug#9361).
10674 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10675 Omit initial minibuffer contents.
10676 (dired-do-chmod): Signal an error on empty input.
10677 (dired-mark-read-string): Don't return default on empty input.
10678
10679 * files.el (file-modes-symbolic-to-number): Doc fix.
10680
393a301e
SM
106812011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10682
10683 * international/mule-cmds.el (ucs-completions): Remove.
10684 (read-char-by-name): Use complete-with-action instead; add metadata.
10685
fa5660f9
CY
106862011-09-11 Chong Yidong <cyd@stupidchicken.com>
10687
10688 * window.el (display-buffer--action-function-custom-type)
10689 (display-buffer--action-custom-type): New vars.
10690 (display-buffer-alist, display-buffer-default-action)
10691 (display-buffer-overriding-action): Add defcustom types.
10692
4a592f66
CY
10693 * frame.el (delete-other-frames): Doc fix (Bug#276).
10694
73d56dbd
LMI
106952011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10696
10697 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10698
37ac18a3
CY
106992011-09-11 Chong Yidong <cyd@stupidchicken.com>
10700
10701 Change modes that used same-window-* vars to use switch-to-buffer.
10702
10703 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10704 Use switch-to-buffer.
10705
10706 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10707 (customize-browse, custom-buffer-create-other-window):
10708 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10709
10710 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10711 (Info-prev, Info-up, Info-speedbar-goto-node)
10712 (info-display-manual): Use switch-to-buffer.
10713 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10714
10715 * mail/sendmail.el (mail): Use switch-to-buffer.
10716 (mail-recover): Use switch-to-buffer-other-window.
10717
10718 * cmuscheme.el (run-scheme, switch-to-scheme):
10719 * ielm.el (ielm):
10720 * shell.el (shell):
10721 * net/rlogin.el (rlogin):
10722 * net/telnet.el (telnet, rsh):
10723 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10724
10195bd6
AS
107252011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10726
10727 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10728
b322f63a
LMI
107292011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10730
39d7fed6
LMI
10731 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10732 so don't mention it (bug#9301).
ba5a81f1 10733 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10734
ee0e9f11
LMI
10735 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10736 match `x', `w32' and `ns', like the manual says (bug#9029).
10737
0b1c89c1 10738 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10739 (process-kill-buffer-query-function): Mention the buffer name in
10740 the query.
0b1c89c1 10741
77549ea8
LMI
10742 * image-mode.el (image-next-line): The line parameter is mandatory
10743 (bug#9258).
10744
803ef892
LMI
10745 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10746 which can be useful (bug#9301).
10747
12980837
LMI
10748 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10749
91054f8f
LMI
10750 * subr.el (match-string): Mention that the current buffer should
10751 be the same as the search was done in (bug#9282).
10752
b322f63a
LMI
10753 * facemenu.el: Disable the remove-* commands if the mark isn't
10754 active (bug#9162).
10755
3199b96f
CY
107562011-09-10 Chong Yidong <cyd@stupidchicken.com>
10757
10758 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10759 of display-buffer.
10760 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10761
10762 * replace.el (occur-mode-goto-occurrence)
10763 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10764 and display-buffer.
10765
10766 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10767 display-buffer.
10768
10769 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10770 special-display and same-window variables.
10771 (mail-other-window): Use switch-to-buffer-other-window.
10772 (mail-other-frame): USe switch-to-buffer-other-frame.
10773
393a301e
SM
10774 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10775 Use display-buffer-other-frame.
3199b96f
CY
10776 (gdb-display-gdb-buffer): Use pop-to-buffer.
10777
10778 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10779
10780 * progmodes/python.el: Don't set same-window-buffer-names.
10781
10782 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10783
10784 * window.el (display-buffer-alist): Add *Python*.
10785
8319e0bf
CY
107862011-09-10 Chong Yidong <cyd@stupidchicken.com>
10787
10788 * window.el (display-buffer-alist): Add entry for buffers
10789 previously handled same-window-*.
10790 (display-buffer-alist, display-buffer-default-action)
10791 (display-buffer-overriding-action): Mark as risky.
10792 (display-buffer-alist): Document action function changes.
10793 (display-buffer--same-window-action)
10794 (display-buffer--other-frame-action): New variables.
10795 (switch-to-buffer, display-buffer-other-frame): Use them.
10796 (display-buffer): Rename reuse-frame entry to reusable-frames.
10797 (display-buffer-reuse-selected-window): Function deleted.
10798 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10799 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10800 (display-buffer-special): New function.
10801 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10802 display-buffer-reuse-or-pop-window. Split off special-display
10803 part into display-buffer-special.
10804 (display-buffer-use-some-window): Don't perform any special
10805 pop-up-frames handling.
10806 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10807 (display-buffer--maybe-same-window): Rename from
0d3ff375 10808 display-buffer-maybe-same-window.
8319e0bf 10809
919a69aa
CY
10810 * info.el: Don't set same-window-regexps.
10811 (info-setup): New function.
10812 (info-other-window, info): Call it.
10813
10814 * cus-edit.el: Don't set same-window-regexps.
10815 (customize-group): New argument.
10816 (customize-group-other-window): Use it.
10817 (customize-face, customize-face-other-window): Likewise.
10818 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10819
8319e0bf
CY
10820 * net/rlogin.el:
10821 * net/telnet.el:
10822 * progmodes/gud.el: Don't set same-window-regexps.
10823
10824 * cmuscheme.el:
10825 * ielm.el:
10826 * shell.el:
10827 * mail/sendmail.el:
10828 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10829
25173000
JL
108302011-09-10 Juri Linkov <juri@jurta.org>
10831
10832 * isearch.el (isearch-edit-string): Remove obsolete mention of
10833 `C-w' (`isearch-yank-word-or-char') from docstring.
10834 (isearch-query-replace): Fix typo in docstring (bug#9466).
10835
056e44ef
JL
108362011-09-10 Juri Linkov <juri@jurta.org>
10837
10838 * paren.el (show-paren-function): Don't show escaped parens.
10839 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10840
c3760c17
EZ
108412011-09-10 Eli Zaretskii <eliz@gnu.org>
10842
10843 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10844 (mm-default-file-encoding): Remove autoload forms, they are
10845 replaced with autoload cookies in mml.el and mm-encode.el.
10846 (mail-add-attachment): New command.
10847 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10848 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10849 the doc string.
10850 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10851
fece895e
RT
108522011-09-10 Reuben Thomas <rrt@sc3d.org>
10853
e69df516
SM
10854 * simple.el (count-words-region): Use buffer if there's no region
10855 (bug#9429).
fece895e 10856
5e68ce4a
JL
108572011-09-09 Juri Linkov <juri@jurta.org>
10858
10859 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10860 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10861 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10862
0a6b9622
AM
108632011-09-09 Alan Mackenzie <acm@muc.de>
10864
10865 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10866 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10867
14a29deb
EZ
108682011-09-09 Eli Zaretskii <eliz@gnu.org>
10869
10870 Fix for Savannah bug#9392.
10871 * simple.el (mail-encode-mml): New defvar.
10872
10873 * mail/rmail.el (mail-encode-mml): Add a defvar.
10874 (rmail-enable-mime-composing): Default to t.
10875 (rmail-forward): Use MIME method of forwarding only if both
10876 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10877 Set mail-encode-mml non-nil if the MIME method was used.
10878
10879 * mail/sendmail.el (mml-to-mime): Add autoload form.
10880 (mail-encode-mml): Add a defvar.
10881 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10882 to nil.
10883 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10884 message through mml-to-mime, and reset mail-encode-mml to nil.
10885
28c45130
GM
108862011-09-09 Glenn Morris <rgm@gnu.org>
10887
10888 * woman.el (woman-if-body): When processing an .el block,
10889 do not delete the next .el block as well. (Bug#9447)
69f4b618 10890 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10891
9b1c252e
MR
108922011-09-08 Martin Rudalics <rudalics@gmx.at>
10893
10894 * window.el (window-deletable-p): Make sure window is live before
10895 invoking window-prev-buffers.
10896
567457e3
LL
108972011-09-08 Leo Liu <sdl.web@gmail.com>
10898
10899 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10900
97f05794
JL
109012011-09-08 Juri Linkov <juri@jurta.org>
10902
10903 * progmodes/compile.el (compilation-environment): Make it
10904 a defcustom (bug#8340).
10905
8b0874b5
MR
109062011-09-08 Martin Rudalics <rudalics@gmx.at>
10907
10908 * window.el (frame-auto-delete): Rename to window-auto-delete.
10909 Make it control auto-deletion of windows and/or frames.
10910 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10911 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10912 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10913 Rewrite handling of case when window/frame can be deleted.
10914 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10915 argument t. (Bug#9456)
8b0874b5 10916
4feb6e73
CY
109172011-09-07 Chong Yidong <cyd@stupidchicken.com>
10918
10919 * help-mode.el (help-mode): Restore autoload.
10920
91ab9c13
JL
109212011-09-07 Juri Linkov <juri@jurta.org>
10922
10923 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10924 `compilation-environment'. Set buffer-local
10925 `compilation-environment' to `thisenv' later after (funcall mode).
10926 (Bug#8340)
10927
10928 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10929 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10930 instead of replacing its value. (Bug#8340)
10931
0527e251
JL
109322011-09-07 Juri Linkov <juri@jurta.org>
10933
10934 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10935 based on text properties put by `grep-filter' instead of matching
10936 escape sequences.
10937 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10938 to the value of `grep-error-screen-columns' (bug#9438).
10939
249f792c
JL
109402011-09-07 Juri Linkov <juri@jurta.org>
10941
10942 * simple.el (next-error-highlight, next-error-highlight-no-select):
10943 Doc fix (bug#9432).
10944
ff7271b9
OT
109452011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10946
10947 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10948 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10949
183fc730
LL
109502011-09-07 Leo Liu <sdl.web@gmail.com>
10951
10952 * net/rcirc.el (rcirc-mode): Conditionally initialize
10953 rcirc-input-ring.
10954
77694924
SM
109552011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10956
10957 * emacs-lisp/find-func.el (find-function-C-source): Only set
10958 find-function-C-source-directory after checking that we found a source
10959 file there (bug#9440).
10960
d809b8eb
AM
109612011-09-06 Alan Mackenzie <acm@muc.de>
10962
10963 * isearch.el (isearch-other-meta-char): Wherever a key list is
10964 unread, "unread" the prefix arg, too. This fixes bug #8901.
10965
453de99f
OG
109662011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10967
10968 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10969
90439906
JL
109702011-09-05 Juri Linkov <juri@jurta.org>
10971
10972 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10973
f62bd846
JL
109742011-09-05 Juri Linkov <juri@jurta.org>
10975
10976 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10977 keeping point where processing of grep matches begins, and
10978 continue to delete remaining escape sequences from the same point.
10979 (grep-filter): Make leading zero optional in "0?1;31m" because
10980 git-grep emits "\033[1;31m" escape sequences unlike expected
10981 "\033[01;31m" as GNU Grep does (bug#9408).
10982 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10983
045820ec
JL
109842011-09-05 Juri Linkov <juri@jurta.org>
10985
10986 * subr.el (y-or-n-p): Capitalize "yes".
10987
f5e29b9b
MA
109882011-09-04 Michael Albinus <michael.albinus@gmx.de>
10989
10990 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10991 `tramp-cache-unload-hook' where appropriate.
10992 (tramp-methods): Rename `tramp-remote-sh' to
10993 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10994 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10995
10996 * net/tramp-sh.el (top): Don't require 'shell.
10997 (tramp-methods): Add `tramp-remote-shell' and
10998 `tramp-remote-shell-args' entries.
10999 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11000 (tramp-sh-handle-shell-command): Remove.
11001 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11002 Use `tramp-remote-shell'.
11003
2784c434
CY
110042011-09-03 Chong Yidong <cyd@stupidchicken.com>
11005
393a301e 11006 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
11007 (sendmail-query-once): Save directly to send-mail-function.
11008 Update message-send-mail-function too.
11009
11010 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11011
464cdf56
CS
110122011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11013
11014 * progmodes/python.el (python-mode-map): Use correct function to
11015 start python interpreter from menu-bar (as reported by Geert
11016 Kloosterman).
11017 (inferior-python-mode-map): Fix typo.
393a301e 11018 (python-shell-map): Remove.
464cdf56 11019
d37e5c87
DD
110202011-09-03 Deniz Dogan <deniz@dogan.se>
11021
11022 * net/rcirc.el (rcirc-print): Simplify code for
11023 rcirc-scroll-show-maximum-output. There is no need to walk
11024 through all windows to find the right one.
11025
f3ada0ee
CS
110262011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11027
11028 * help.el (help-return-method): Doc fix.
11029
1f3c99ca
MR
110302011-09-03 Martin Rudalics <rudalics@gmx.at>
11031
11032 * window.el (window-deletable-p): Don't return a non-nil value
11033 when there's a buffer that was shown in the window before.
11034 (Bug#9419)
393a301e
SM
11035 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11036 Set window's previous buffers to nil.
1f3c99ca 11037
a3cf097f
EZ
110382011-09-03 Eli Zaretskii <eliz@gnu.org>
11039
11040 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11041 newline before and after the tag line, so it doesn't interfere
11042 with determining the paragraph direction of bidirectional text.
11043
3d03de90
LL
110442011-09-03 Leo Liu <sdl.web@gmail.com>
11045
11046 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11047
c3313451
CY
110482011-09-02 Chong Yidong <cyd@stupidchicken.com>
11049
393a301e 11050 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
11051 (pop-to-buffer): Change interactive spec. Pass second argument
11052 directly to display-buffer.
11053 (display-buffer): Fix interactive spec. Use functionp to
11054 distinguish between a function and a list of functions.
11055
11056 * abbrev.el (edit-abbrevs):
11057 * arc-mode.el (archive-extract):
11058 * autoinsert.el (auto-insert):
11059 * bookmark.el (bookmark-bmenu-list):
11060 * files.el (find-file):
11061 * view.el (view-buffer):
11062 * progmodes/compile.el (compilation-goto-locus):
11063 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11064
89894cd8
CY
110652011-09-02 Chong Yidong <cyd@stupidchicken.com>
11066
11067 * window.el (display-buffer-alist): Doc fix.
11068 (display-buffer): Add docstring. Don't treat
11069 display-buffer-default specially.
11070 (display-buffer-reuse-selected-window)
11071 (display-buffer-same-window, display-buffer-maybe-same-window)
11072 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11073 (display-buffer-pop-up-window)
11074 (display-buffer-reuse-or-pop-window)
11075 (display-buffer-use-some-window): New functions.
11076 (display-buffer-default-action): Use them.
393a301e 11077 (display-buffer-default): Delete.
89894cd8
CY
11078 (pop-to-buffer-1): Fix choice of actions.
11079
ae0bc9fb
SM
110802011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11081
11082 * minibuffer.el (completion--insert-strings): Don't get confused by
11083 completion entries that end with an LF char.
11084
e9d90883
EZ
110852011-09-01 Eli Zaretskii <eliz@gnu.org>
11086
11087 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11088
437014c8
CY
110892011-09-01 Chong Yidong <cyd@stupidchicken.com>
11090
11091 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
11092 (display-buffer-same-window, display-buffer-other-window):
11093 New functions.
437014c8
CY
11094 (pop-to-buffer-1): New function. Use the above.
11095 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 11096 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
11097
11098 * view.el (view-buffer-other-window, view-buffer-other-frame):
11099 Just use pop-to-buffer.
11100
a5e063d5
TV
111012011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11102
11103 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11104
793d32bb
WH
111052011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11106
11107 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11108
d65e4c15
RS
111092011-08-31 Richard Stallman <rms@gnu.org>
11110
11111 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11112 of the separation of rmail-view-buffer from rmail-buffer.
11113 If you say no to "replace original", the decrypt is in the
11114 view buffer. If you say yes, the decrypt goes into the
11115 rmail buffer also.
11116
f818cd2a
MR
111172011-08-31 Martin Rudalics <rudalics@gmx.at>
11118
11119 * window.el (display-buffer-window): Rewrite doc-string.
11120 (display-buffer-record-window): New function.
11121 (display-buffer-macro-specifiers)
11122 (display-buffer-even-window-sizes, display-buffer-set-height)
11123 (display-buffer-set-width, display-buffer-in-window)
11124 (display-buffer-reuse-window, display-buffer-split-specifiers)
11125 (display-buffer-side-specifiers, display-buffer-split-window-1)
11126 (display-buffer-split-window, display-buffer-split-atom-window)
11127 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11128 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11129 (display-buffer-other-window-means-other-frame)
11130 (display-buffer-normalize-special)
11131 (display-buffer-normalize-default)
11132 (display-buffer-normalize-argument)
11133 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11134 (display-buffer-normalize-specifiers, display-buffer-frame)
11135 (display-buffer-same-window, display-buffer-same-frame)
11136 (display-buffer-other-window)
11137 (display-buffer-same-frame-other-window)
11138 (display-buffer-other-frame, pop-to-buffer-same-window)
11139 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11140 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11141 (switch-to-buffer-same-frame)
11142 (switch-to-buffer-other-window-same-frame)
11143 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11144 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11145 (display-buffer-alist-set): Remove.
11146 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
11147 (special-display-regexps, special-display-function):
11148 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
11149 parameter.
11150 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11151 (special-display-frame-alist, special-display-popup-frame)
11152 (same-window-buffer-names, same-window-regexps, same-window-p)
11153 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11154 (split-window-preferred-function, split-height-threshold)
11155 (split-width-threshold, window-splittable-p)
11156 (split-window-sensibly, window--try-to-split-window)
11157 (window--frame-usable-p, even-window-heights)
11158 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
11159 (window--display-buffer-2, display-buffer-other-frame):
11160 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
11161 (display-buffer-default, display-buffer-assq-regexp): New functions.
11162 (display-buffer-alist): Rewrite doc-string.
11163 (display-buffer-default-action)
11164 (display-buffer-overriding-action): New variables.
11165 (display-buffer, switch-to-buffer): Rewrite.
11166 (pop-to-buffer): Restore Emacs 23 behavior but use
11167 window-normalize-buffer-to-display.
11168 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11169 Restore Emacs 23 behavior but use
11170 window-normalize-buffer-to-switch-to.
11171 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
11172 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11173 Rewrite using Emacs 23 options.
f818cd2a 11174
5bc3b51d
MA
111752011-08-31 Michael Albinus <michael.albinus@gmx.de>
11176
11177 * net/tramp.el (tramp-root-regexp): Remove.
11178 (tramp-completion-file-name-regexp-unified)
11179 (tramp-completion-file-name-regexp-separate)
11180 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 11181 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
11182 (tramp-drop-volume-letter): Simplify definition.
11183 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 11184
b1a4f8e1
SM
111852011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11186
11187 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11188 (bug#9356).
11189
5664fa7b
RT
111902011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11191
b1a4f8e1 11192 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 11193
9a45d6c3
JL
111942011-08-29 Juri Linkov <juri@jurta.org>
11195
11196 * isearch.el (isearch-done): Don't display message "Mark saved"
11197 when arg `edit' is non-nil to prevent its flicker in the echo area.
11198
fb87e0fb
CY
111992011-08-28 Chong Yidong <cyd@stupidchicken.com>
11200
11201 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11202 obsolete packages for deletion.
11203
09ac1c2a
CS
112042011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11205
11206 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11207 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11208 view-mode from help-mode.
11209 (help-xref-override-view-map): Remove.
11210 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11211 view-mode is not used anymore.
11212
7a1ff57f
CY
112132011-08-28 Chong Yidong <cyd@stupidchicken.com>
11214
11215 * server.el (server-port): Doc fix.
11216
b9696605
CY
11217 * cus-theme.el (custom-theme-choose-mode): Inherit from
11218 special-mode (Bug#9124).
11219 (custom-theme-choose-mode-map): Add special-mode to parent.
11220
ef8cdf8c
AM
112212011-08-28 Alan Mackenzie <acm@muc.de>
11222
11223 * progmodes/cc-fonts.el
11224 (c-make-font-lock-BO-decl-search-function): New function.
11225 (c-basic-matchers-after - "Fontify the clauses after various
11226 keywords"): Extract the three keyword lists for the 3 erroneous
11227 constructs from the list of four, and use the new function above
11228 in place of an old one.
11229
27de4e20
DD
112302011-08-28 Deniz Dogan <deniz@dogan.se>
11231
11232 * net/rcirc.el (rcirc-insert-prev-input)
11233 (rcirc-insert-next-input): Remove unused argument.
11234
356a3681
SM
112352011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11236
11237 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11238
3fc9b218
AM
112392011-08-27 Alan Mackenzie <acm@muc.de>
11240
11241 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11242 handle function pointer parameters properly.
11243
538a061c
MR
112442011-08-27 Martin Rudalics <rudalics@gmx.at>
11245
11246 * window.el (display-buffer-reuse-window): Fix case where
11247 selected window was reused with non-nil OTHER-WINDOW argument.
11248 (Bug#9381)
11249
35b1c40c
DD
112502011-08-27 Deniz Dogan <deniz@dogan.se>
11251
11252 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11253 oftc's NickServ messages.
11254
2f6a3e79
GM
112552011-08-27 Glenn Morris <rgm@gnu.org>
11256
11257 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11258
7254299e
CY
112592011-08-26 Chong Yidong <cyd@stupidchicken.com>
11260
11261 * emacs-lisp/package.el (package-install): Call package-initialize
11262 if called interactively.
11263
f8ccf167
LL
112642011-08-26 Leo Liu <sdl.web@gmail.com>
11265
11266 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11267
3e8cd5ce
JL
112682011-08-25 Juri Linkov <juri@jurta.org>
11269
11270 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11271 `search-whitespace-regexp' (bug#9364).
11272
93eb7113
JL
112732011-08-25 Juri Linkov <juri@jurta.org>
11274
11275 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11276 `regexp-search-ring' to their global values to protect from
11277 updating by `read-from-minibuffer' (bug#9185).
11278
f65d1611
JL
112792011-08-25 Juri Linkov <juri@jurta.org>
11280
11281 * textmodes/ispell.el (ispell-command-loop): Add newline
11282 at the end of the "Use option `i'..." line.
11283
f1cf7a31
JL
112842011-08-25 Juri Linkov <juri@jurta.org>
11285
11286 * battery.el (display-battery-mode): If `battery-status-function'
11287 or `battery-mode-line-format' is nil, display the message and set
11288 `display-battery-mode' to nil (bug#9363).
11289
0c95fcf7
EZ
112902011-08-25 Eli Zaretskii <eliz@gnu.org>
11291
11292 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11293 bidi-string-mark-left-to-right; they are unnecessary now.
11294
a2ebe600
DD
112952011-08-25 Deniz Dogan <deniz@dogan.se>
11296
11297 * net/quickurl.el: Documentation typo fixes.
11298
e4ed06f1
CY
112992011-08-25 Chong Yidong <cyd@stupidchicken.com>
11300
11301 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11302
e5f1c99e
GM
113032011-08-25 Glenn Morris <rgm@gnu.org>
11304
b2948976
GM
11305 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11306
e5f1c99e
GM
11307 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11308 (smtpmail-via-smtp): Handle nil response from smtp.
11309
f22f4808
JL
113102011-08-24 Juri Linkov <juri@jurta.org>
11311
11312 * proced.el (proced-marked): Inherit from `error' instead of
11313 `font-lock-warning-face'.
11314
11315 * ibuffer.el (ibuffer-marked-face): Change default face from
11316 `font-lock-warning-face' to `warning'.
11317 (ibuffer-deletion-face): Change default face from
11318 `font-lock-type-face' to `error'.
11319
11320 * battery.el (battery-update): Use the face `error' instead of
11321 `font-lock-warning-face' (bug#6117).
11322
6a93965e
JL
113232011-08-24 Juri Linkov <juri@jurta.org>
11324
11325 * faces.el (success): Change face color from "Green3" to
11326 "ForestGreen" on light background (bug#9353).
11327
1ed43b09
CY
113282011-08-24 Chong Yidong <cyd@stupidchicken.com>
11329
5664fa7b
RT
11330 * window.el (quit-window): Rename from quit-restore-window.
11331 Use same arglist as old quit-window.
1ed43b09
CY
11332 (frame-auto-delete): Doc fix.
11333
11334 * view.el (view-mode-exit): Use quit-window.
11335
11dcdbb2
JL
113362011-08-24 Juri Linkov <juri@jurta.org>
11337
11338 * isearch.el (isearch-ring-adjust1): Start visiting previous
11339 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11340 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11341 for empty search string (when the last search string is reused
11342 automatically) to adjust the isearch ring to the last element and
11343 prepare the correct index for further M-p commands (bug#9185).
11344
de62b4df
KH
113452011-08-24 Kenichi Handa <handa@m17n.org>
11346
11347 * international/ucs-normalize.el: If decomposition property of
11348 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11349 nil.
11350 (nfd, nfkd): Likewise.
11351
963b492b
SM
113522011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11353
11354 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11355 from process filters aren't reliably transmitted to the surrounding
11356 accept-process-output.
11357 (mpc-proc-check): New function.
11358 (mpc-proc-sync): Use it (bug#8293)
11359
93b6b5e1
SM
113602011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11361
11362 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11363 Add compatibility functions (bug#9313).
11364
bca633fb
EZ
113652011-08-23 Eli Zaretskii <eliz@gnu.org>
11366
b177498a
EZ
11367 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11368
6df6ae42 11369 * international/uni-bidi.el: Regenerate.
bca633fb 11370
0902a04e
KH
113712011-08-23 Kenichi Handa <handa@m17n.org>
11372
11373 * international/charprop.el:
11374 * international/uni-bidi.el:
11375 * international/uni-category.el:
11376 * international/uni-combining.el:
11377 * international/uni-comment.el:
11378 * international/uni-decimal.el:
11379 * international/uni-decomposition.el:
11380 * international/uni-digit.el:
11381 * international/uni-lowercase.el:
11382 * international/uni-mirrored.el:
11383 * international/uni-name.el:
11384 * international/uni-numeric.el:
11385 * international/uni-old-name.el:
11386 * international/uni-titlecase.el:
11387 * international/uni-uppercase.el: Regenerate.
11388
3bbf23bc
MR
113892011-08-23 Martin Rudalics <rudalics@gmx.at>
11390
11391 * help.el (help-window-setup): Fix message displayed when other
11392 window is reused. (Bug#9341)
11393
b3fd59bd
SM
113942011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11395
1802e444
SM
11396 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11397 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11398
b3fd59bd
SM
11399 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11400 Mark obsolete.
11401 * shell.el (shell-parse-pcomplete-arguments): New function.
11402 (shell-completion-vars): Use it instead (bug#9160).
11403
4eb61348
SM
114042011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11405
867cab74
SM
11406 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11407 strings and comments (bug#9333).
11408
4eb61348
SM
11409 * emacs-lisp/debug.el (debug-arglist): New function.
11410 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11411 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11412
262a1439
JL
114132011-08-22 Juri Linkov <juri@jurta.org>
11414
56ee679c
JL
11415 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11416 Revert regexp that highlights output switches to its old
11417 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11418
262a1439
JL
11419 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11420 to check for empty output (bug#9226).
11421
f13f86fb
CY
114222011-08-22 Chong Yidong <cyd@stupidchicken.com>
11423
11424 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11425 symbol-constituent as the default, as that stops font-lock from
11426 working properly (Bug#8843).
11427
c65c9622
LMI
114282011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11429
11430 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11431 `coding-system-for-*' around the process open call to avoid
11432 auth-source side effects.
e7f2c178 11433 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11434 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11435 probe hangs.
c65c9622 11436
23a8a5ab
CY
114372011-08-21 Chong Yidong <cyd@stupidchicken.com>
11438
ff98b2dd
CY
11439 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11440
23a8a5ab
CY
11441 * emacs-lisp/find-func.el (find-function-noselect): New arg
11442 lisp-only.
11443
11444 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11445 signal an error for built-in functions (Bug#6664).
11446
f5e3c598
LMI
114472011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11448
11449 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11450 (smtpmail-try-auth-methods): Use it.
11451
a3f2468a
CY
114522011-08-21 Chong Yidong <cyd@stupidchicken.com>
11453
2c34e8da
CY
11454 * font-lock.el (font-lock-fontify-region)
11455 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11456 (font-lock-default-unfontify-buffer)
11457 (font-lock-default-fontify-region)
11458 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11459
b3fd59bd
SM
11460 * progmodes/compile.el (compilation-error-properties):
11461 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11462 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11463 `ant' regexp.
ee31aabc 11464
a3f2468a
CY
11465 * net/browse-url.el (browse-url-firefox): Don't call
11466 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11467
8e999f70
GM
114682011-08-20 Glenn Morris <rgm@gnu.org>
11469
c21a496a
GM
11470 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11471
59ee0542
GM
11472 * tutorial.el (tutorial--default-keys): Update some default bindings.
11473
8e999f70
GM
11474 * files.el (hack-local-variables): Fully ignore case for "mode:".
11475
e3715033
AM
114762011-08-20 Alan Mackenzie <acm@muc.de>
11477
11478 Resolve invalid use of a regexp in regexp-opt.
11479
4d61f28d
JB
11480 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11481 detection for a java annotation.
e3715033 11482
4d61f28d 11483 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11484 detection for a java annotation.
11485
4d61f28d
JB
11486 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11487 handling for java.
e3715033
AM
11488 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11489
04ed2e9c
CY
114902011-08-20 Chong Yidong <cyd@stupidchicken.com>
11491
11492 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11493 (Bug#9274).
11494
826cee64
AM
114952011-08-20 Alan Mackenzie <acm@muc.de>
11496
58179cce 11497 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11498 such a construct. Mainly for when jit-lock etc. starts a chunk
11499 here.
11500
58179cce 11501 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11502 variable.
58179cce 11503 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11504 c-make-font-lock-search-function.
11505 (c-make-font-lock-search-function): Use the above function.
11506 (c-make-font-lock-context-search-function): New function.
11507 (c-cpp-matchers): Enhance the preprocessor expression case with
11508 the above function
11509 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11510 which takes an expression.
11511
11512 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11513
13009bd8
MR
115142011-08-20 Martin Rudalics <rudalics@gmx.at>
11515
11516 * window.el (display-buffer-reuse-window)
11517 (display-buffer-pop-up-window): Don't reuse or split a side
11518 window.
11519
9234ff7f
GM
115202011-08-19 Glenn Morris <rgm@gnu.org>
11521
11522 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11523 Downcase "Mode:". (Bug#9331)
9234ff7f 11524
f635daa1
CY
115252011-08-18 Chong Yidong <cyd@stupidchicken.com>
11526
11527 * international/characters.el: Add L and R categories.
11528
11529 * subr.el (bidi-string-mark-left-to-right): Rename from
11530 string-mark-left-to-right. Use category search.
11531
11532 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11533
bc987f8b
JL
115342011-08-18 Juri Linkov <juri@jurta.org>
11535
11536 * faces.el (error, warning, success): New faces with definitions
11537 copied from old default values of `font-lock-warning-face',
11538 `compilation-warning', `compilation-info' (bug#6117).
11539
11540 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11541
11542 * progmodes/compile.el (compilation-error): Inherit from `error'.
11543 (compilation-warning): Inherit from `warning'.
11544 (compilation-info): Inherit from `success'.
11545
11546 * dired.el (dired-marked): Inherit from `warning'.
11547 (dired-flagged): Inherit from `error'.
11548
57173b96
LMI
115492011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11550
3e79eb87
LMI
11551 * mail/smtpmail.el (auth-source): Require to avoid problems with
11552 binding variables (bug#9298). Also clean up some unused
11553 autoloads.
11554
b3fd59bd
SM
11555 * net/network-stream.el (network-stream-open-starttls):
11556 Support using starttls.el without using gnutls-cli.
57173b96 11557
02b404de
JL
115582011-08-17 Juri Linkov <juri@jurta.org>
11559
11560 * progmodes/grep.el (rgrep): Handle the case when
11561 `grep-find-command' is a cons cell (bug#9278).
11562
8c9177f2
MR
115632011-08-17 Martin Rudalics <rudalics@gmx.at>
11564
11565 * window.el (display-buffer-pop-up-frame): Run frame creation
11566 function with BUFFER current (as special-display-popup-frame
11567 does). Reported by Drew Adams.
11568
3644a0ab
DU
115692011-08-17 Daiki Ueno <ueno@unixuser.org>
11570
11571 * epa-mail.el: Simplify GnuPG group expansion using
11572 epg-expand-group.
11573 (epa-mail-group-alist, epa-mail-group-modtime)
11574 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11575 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11576 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11577 Remove.
11578
5e617bc2 115792011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11580
11581 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11582
9c4aeabf
AM
115832011-08-16 Alan Mackenzie <acm@muc.de>
11584
11585 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11586 Correct, to avoid the inside of macros.
11587
3a99bf64
RS
115882011-08-16 Richard Stallman <rms@gnu.org>
11589
04963aa8
RS
11590 * epa-mail.el: Handle GnuPG group definitions.
11591 (epa-mail-group-alist, epa-mail-group-modtime)
11592 (epa-mail-gnupg-conf-file): New variables.
11593 (epa-mail-parse-groups, epa-mail-sync-groups)
11594 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11595 (epa-mail-expand-recipients): New functions.
11596 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11597
177549d0
RS
11598 * mail/rmail.el (rmail-epa-decrypt): New command.
11599
fe38beef
RS
11600 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11601 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11602 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11603 (epa-decrypt-armor-in-region): Make error message clearer.
11604
934eacb9
SM
116052011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11606
11607 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11608 and "a2b" to "ab" for `prefix'.
11609
d024fb4e
CY
116102011-08-14 Chong Yidong <cyd@stupidchicken.com>
11611
11612 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11613 filter groups.
de148fee
CY
11614 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11615 Fourquet (Bug#8804).
d024fb4e 11616
62f1ca49
JB
116172011-08-12 Juanma Barranquero <lekktu@gmail.com>
11618
11619 * startup.el (argi): Declare as global variable (bug#9275).
11620
9ccaaa4b
CY
116212011-08-12 Chong Yidong <cyd@stupidchicken.com>
11622
11623 * subr.el (string-mark-left-to-right): Search the entire string
11624 for RTL script, not just the terminating character. Doc fix.
11625
a3dae87a
SM
116262011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11627
6cd18349
SM
11628 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11629 New function.
11630 (js--regexp-literal, js-syntax-propertize-function): Remove.
11631 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11632 (js-mode-map): Don't rebind electric keys.
11633 (js-insert-and-indent): Remove.
11634 (js-mode): Setup electric-layout and electric-indent instead.
11635
a3dae87a
SM
11636 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11637
9d5cb631
DU
116382011-08-12 Daiki Ueno <ueno@unixuser.org>
11639
11640 * epa.el (epa-progress-callback-function): Fix the logic of
11641 displaying progress.
11642 * epa-file.el (epa-file-insert-file-contents): Make progress
11643 display more user-friendly.
11644 (epa-file-write-region): Ditto.
11645
3e26a4a2
CY
116462011-08-10 Chong Yidong <cyd@stupidchicken.com>
11647
11648 * subr.el (string-mark-left-to-right): New function.
11649
11650 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11651 Use string-mark-left-to-right.
11652 (list-buffers-noselect): Caller changed.
11653
a3dae87a
SM
11654 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11655 Use string-mark-left-to-right.
3e26a4a2
CY
11656 (tabulated-list-print): Recenter after moving point.
11657
ac8cf6e6
JL
116582011-08-10 Juri Linkov <juri@jurta.org>
11659
11660 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11661 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11662 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11663
8d96c9a4
CY
116642011-08-09 Chong Yidong <cyd@stupidchicken.com>
11665
11666 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11667 (Bug#7554).
11668
7be1c708 116692011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11670
11671 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11672 character. (Bug#6594)
11673
37e11a63
CY
116742011-08-08 Chong Yidong <cyd@stupidchicken.com>
11675
839dde57
CY
11676 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11677 (image-dired--with-db-file): New macro.
11678 (image-dired-write-tags, image-dired-remove-tag)
11679 (image-dired-create-gallery-lists, image-dired-write-comments)
11680 (image-dired-get-comment, image-dired-mark-tagged-files)
11681 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11682 (image-dired-gallery-generate): Use insert-file-contents.
11683
37e11a63
CY
11684 * time.el (display-time-world-list, display-time-world-display):
11685 * time-stamp.el (time-stamp-string):
11686 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11687 set-time-zone-rule (Bug#7337).
11688
0b4946c4
DU
116892011-08-08 Daiki Ueno <ueno@unixuser.org>
11690
11691 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11692 (epg-error-to-string, epg-errors-to-string): New function.
11693 (epg-wait-for-completion): Reverse errors list.
11694 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11695 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11696 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11697 (epg-sign-keys, epg-generate-key-from-file)
11698 (epg-generate-key-from-string): Format errors by using
11699 epg-errors-to-string (bug#9255).
11700 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11701
75bfc667
JL
117022011-08-07 Juri Linkov <juri@jurta.org>
11703
11704 * faces.el (list-faces-display): Remove extra angle bracket
11705 from `help-mode-map'.
11706
11707 * info.el (Info-history-toc-nodes): Doc fix.
11708
11709 * longlines.el (longlines-mode): Doc fix.
11710
673e08bb
SM
117112011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11712
4640dd88
SM
11713 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11714 of statements and in a few more cases (bug#9183).
11715
673e08bb
SM
11716 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11717 New functions.
11718 (cl-transform-lambda): Use them (bug#9239).
11719
89b3f019
MR
117202011-08-05 Martin Rudalics <rudalics@gmx.at>
11721
11722 * window.el (display-buffer-same-window)
11723 (display-buffer-same-frame, display-buffer-other-window)
11724 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11725 (pop-to-buffer-other-window)
11726 (pop-to-buffer-same-frame-other-window)
11727 (pop-to-buffer-other-frame): Make them defuns.
11728 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11729
640c8776
SM
117302011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11731
11732 * subr.el (make-composed-keymap): Move from C. Change calling
11733 convention, and improve docstring to bring attention to a subtle point.
11734 * minibuffer.el (completing-read-default): Adjust accordingly.
11735
63648a95
MA
117362011-08-03 Michael Albinus <michael.albinus@gmx.de>
11737
11738 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11739 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11740
11741 * net/trampver.el: Update release number.
11742
b796c9b7
SM
117432011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11744
11745 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11746 "in" (bug#9190).
11747
2239d7d5
LMI
117482011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11749
e07dd7c3
LMI
11750 * mail/sendmail.el (sendmail-query-once): Restore the current
11751 buffer after querying (bug#9074).
11752
0e6a2bd7
LMI
11753 * dired.el (dired-flagged): Use different faces for marked and
11754 flagged files (bug#6117).
11755
ce887515
LMI
11756 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11757 (bug#4433).
11758
92f2affc
LMI
11759 * ido.el (ido-mode): Switch off the message if called
11760 non-interactively.
11761
57d5aff0
LMI
11762 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11763 before 587, since it appears that that's more likely to work for
11764 more people.
11765
98cd6c18 11766 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11767 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11768 exist.
11769
b96dec83
LMI
11770 * info.el: Remove the `Info-beginning-of-buffer' function
11771 (bug#8325).
11772
b796c9b7
SM
11773 * net/network-stream.el (network-stream-open-starttls):
11774 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11775
d90e2ea0
MR
117762011-08-01 Martin Rudalics <rudalics@gmx.at>
11777
11778 * window.el (display-buffer-in-window): Don't set dedicated status
11779 of window here (Bug#9215).
11780 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11781 (display-buffer-pop-up-side-window)
b796c9b7 11782 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11783
cca09170
SM
117842011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11785
11786 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11787 before binding generated-autoload-file.
11788
027b979c
DD
117892011-08-01 Deniz Dogan <deniz@dogan.se>
11790
11791 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11792
3c7ee4f3
MA
117932011-07-30 Michael Albinus <michael.albinus@gmx.de>
11794
11795 Sync with Tramp 2.2.2.
11796
11797 * net/trampver.el: Update release number.
11798
2cc8e51a
JL
117992011-07-30 Juri Linkov <juri@jurta.org>
11800
11801 * dired-aux.el (dired-touch-initial): Remove function.
11802 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11803 current time, and `default' to the last modification time of the
11804 current marked file (bug#6887).
11805
a514d856
JM
118062011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11807
11808 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11809 numeric argument to read-number (bug#9163).
a514d856 11810
8a7eddd7
MA
118112011-07-27 Michael Albinus <michael.albinus@gmx.de>
11812
11813 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11814 connection process, it could be nil.
11815
1ddd96f5
LL
118162011-07-27 Leo Liu <sdl.web@gmail.com>
11817
11818 Simplify url handling in rcirc-mode.
11819
11820 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11821 (rcirc-browse-url-at-mouse): Remove.
11822 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11823
b248a85d
AM
118242011-07-26 Alan Mackenzie <acm@muc.de>
11825
11826 Fontify bitfield declarations properly.
11827
11828 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11829 (c-symbol-chars): Now exported as a lang variable.
11830 (c-not-primitive-type-keywords): New lang variable.
11831
11832 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11833 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11834 parsed as a bitfield declaration.
b248a85d 11835
b796c9b7
SM
11836 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11837 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11838 (c-punctuation-in): New function.
11839 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11840 declarations properly.
11841
68575ab0
UJ
118422011-07-26 Ulf Jasper <ulf.jasper@web.de>
11843
11844 * calendar/icalendar.el (icalendar--all-events): Take care of
11845 multiple vcalendars in a single file.
b796c9b7 11846 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11847
0f0a88b9
DD
118482011-07-25 Deniz Dogan <deniz@dogan.se>
11849
11850 * image.el (insert-image): Clarifying docstring.
11851
0b3f36df
MA
118522011-07-24 Michael Albinus <michael.albinus@gmx.de>
11853
11854 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11855 `tramp-send-command-and-check' if there is no error.
11856 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11857
a9901f61
AM
118582011-07-22 Alan Mackenzie <acm@muc.de>
11859
11860 Prevent cc-langs.elc being loaded at run time.
11861
11862 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11863 cc-langs.
11864
4d61f28d 11865 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11866 "(require 'cc-langs)". Quote a form so it will evaluate at
11867 (cc-mode's) compilation time.
11868
11d074b2
MA
118692011-07-22 Michael Albinus <michael.albinus@gmx.de>
11870
11871 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11872 loading. (Bug#9114)
11873
938b94c8
MR
118742011-07-21 Martin Rudalics <rudalics@gmx.at>
11875
11876 * window.el (display-buffer-pop-up-window)
11877 (display-buffer-pop-up-side-window)
11878 (display-buffer-in-side-window): Call display-buffer-set-height
11879 and display-buffer-set-width after setting the new window's
b796c9b7 11880 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11881
bfa4f190
SS
118822011-07-20 Sam Steingold <sds@gnu.org>
11883
11884 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11885 (etags-tags-included-tables): Call `convert-standard-filename' on
11886 the file names contained in TAGS so that windows Emacs can handle
11887 TAGS files created by cygwin ctags.
11888
8ca42262
LMI
118892011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11890
11891 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11892 which apparently didn't work.
11893
5db2afd2 118942011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11895
5db2afd2
RW
11896 * proced.el (proced-send-signal): For *Marked Processes* buffer
11897 put point at beginning of buffer.
11898
92e15d10
SB
118992011-07-19 Stephen Berman <stephen.berman@gmx.net>
11900
11901 * proced.el (proced-format): Make header lines align with the text
11902 (bug#1779).
11903
1bfd59e5
LMI
119042011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11905
11906 * view.el (view-buffer): Allow running in `special' modes if we're
11907 visiting a file (bug#8615).
11908
f5aae37c
MR
119092011-07-19 Martin Rudalics <rudalics@gmx.at>
11910
11911 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11912 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11913 New functions.
f5aae37c
MR
11914 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11915 more accurately.
11916
bf2c1571
AM
119172011-07-18 Alan Mackenzie <acm@muc.de>
11918
11919 Fontify declarators properly when, e.g., a jit-lock chunk begins
11920 inside a declaration.
11921
11922 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11923
b796c9b7
SM
11924 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11925 New function.
bf2c1571
AM
11926 (c-complex-decl-matchers): Insert reference to
11927 c-font-lock-enclosing-decls.
11928
11929 * progmodes/cc-engine.el (c-backward-single-comment):
11930 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11931 to nil around calls to (forward-comment -1).
11932
4e190b80
LMI
119332011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11934
12dc863d
LMI
11935 * image.el (put-image): Doc typo fix.
11936
a762e966
LMI
11937 * progmodes/etags.el (tags-search): Doc typo fix.
11938
4e190b80
LMI
11939 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11940 password if we get errors 550 to 554.
11941
f019fb21
LMI
119422011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11943
b796c9b7 11944 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11945
81746738
LMI
11946 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11947 indentation character (bug#6380).
11948
3ee3a1b5
LMI
11949 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11950
c82f64de
LMI
11951 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11952 to clarify what the problem is (bug#4291).
11953
f019fb21
LMI
11954 * simple.el (current-kill): Clarify what
11955 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11956 (auto-fill-mode): Document `auto-fill-function' in relation to
11957 `auto-fill-mode' (bug#2470).
f019fb21 11958
0794775d
LM
119592011-07-16 Lawrence Mitchell <wence@gmx.li>
11960
11961 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11962 method if slot is read-only (bug#9035).
11963
be39b8cc
MR
119642011-07-16 Martin Rudalics <rudalics@gmx.at>
11965
b796c9b7 11966 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11967 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11968 selected before, see discussion of (Bug#8615), (Bug#6954).
11969 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11970
6ccf7859
GM
119712011-07-15 Glenn Morris <rgm@gnu.org>
11972
11973 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11974 Respect help-form.
6ccf7859 11975
87e86684
LM
119762011-07-09 Lawrence Mitchell <wence@gmx.li>
11977
11978 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11979 (gnutls-negotiate): Use it.
11980
d6066239
LMI
119812011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11982
b796c9b7
SM
11983 * net/gnutls.el (gnutls-negotiate):
11984 Upcase `gnutls-algorithm-priority'.
d6066239 11985
bd23ebc0
GM
119862011-07-15 Glenn Morris <rgm@gnu.org>
11987
c65bca65
GM
11988 * jka-compr.el (jka-compr-verbose): Move from here...
11989 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11990 Add missing :version tag.
11991 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11992
478615cc
LMI
119932011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11994
7b41decb
LMI
11995 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11996 (gnutls-negotiate): Use it.
11997
dbc44fcd
LMI
11998 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11999
06789f97
LMI
12000 * info.el (Info-beginning-of-buffer): New command.
12001 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12002 announcing `b' as the key (bug#8325).
ab896c37 12003 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 12004
c39da690
LMI
12005 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12006
3aa5f34b
LMI
12007 * international/mule-cmds.el
12008 (describe-specified-language-support): Make the error message
12009 clearer (bug#8905).
12010
4bf0979f
LMI
12011 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12012
478615cc
LMI
12013 * isearch.el (isearch-barrier): Add a doc string, since it's
12014 mentioned in a function doc string (bug#8678).
12015
75c68aa1
MR
120162011-07-15 Martin Rudalics <rudalics@gmx.at>
12017
12018 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12019 buffer argument (Bug#9083) and self-identifying label argument.
12020
a7c33da2
GM
120212011-07-15 Glenn Morris <rgm@gnu.org>
12022
12023 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12024
2f5c6024
LMI
120252011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12026
12027 * man.el (Man-fontify-manpage): Fix message when formatting the
12028 man page (bug#7929).
12029
0bb23927 120302011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
12031
12032 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12033 argument LRM; if non-nil, append an invisible LRM character to the
12034 buffer name.
12035 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12036 last argument non-nil, when formatting buffer names.
0bb23927
EZ
12037 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12038 paragraph direction.
cce4b0a7 12039
621ef9ab
LMI
120402011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12041
d1583c48
LMI
12042 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12043 the man page name (bug#7929).
12044
6a57fb5f
LMI
12045 * image.el (put-image): Mention the `put-image' overlay property
12046 (bug#7834).
12047
d7956b14
LMI
12048 * scroll-bar.el (set-scroll-bar-mode): Mention that
12049 `scroll-bar-mode' lists the values (bug#7772).
12050
5b2d4a66
LMI
12051 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12052 command (bug#7729).
12053
7509a874
LMI
12054 * rect.el (apply-on-rectangle): Return the point after the last
12055 operation.
12056 (string-rectangle): Go to the point after the last operation
12057 (bug#7522).
12058
4fe74b19
LMI
12059 * printing.el (pr-toggle-region): Clarify the documentation
12060 slightly (bug#7493).
12061
b796c9b7
SM
12062 * time.el (display-time-update):
12063 Allow `display-time-mail-function' to return nil (bug#7158).
12064 Fix suggested by Detlev Zundel.
ab283561 12065
fc233c9d
LMI
12066 * vc/diff.el (diff): Clarify the order the file names are read
12067 (bug#7111).
12068
43f5740b
LMI
12069 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12070 the doc string (bug#7015).
12071
f2182a76
LMI
12072 * font-lock.el (font-lock-maximum-decoration): Mention what
12073 numeric levels mean (bug#6935).
12074
621ef9ab
LMI
12075 * startup.el (initial-buffer-choice): Don't mention the `none'
12076 selection, which is against policy.
12077
adc47434
MR
120782011-07-14 Martin Rudalics <rudalics@gmx.at>
12079
b796c9b7
SM
12080 * window.el (display-buffer-normalize-special):
12081 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 12082
7e5bfb8f
EZ
120832011-07-14 Eli Zaretskii <eliz@gnu.org>
12084
12085 * subr.el (version<, version<=, version=): Mention "-CVS" and
12086 "-12345" alpha version numbers.
12087
27fa387a
CY
120882011-07-14 Chong Yidong <cyd@stupidchicken.com>
12089
12090 * bindings.el: Add advertised binding for set-mark-command
12091 (Bug#5772).
12092
8bdfa064
CY
120932011-07-14 Chong Yidong <cyd@stupidchicken.com>
12094
12095 * bindings.el (mode-line-other-buffer):
12096 * bookmark.el (bookmark-bmenu-2-window):
12097 * bs.el (bs-cycle-next, bs-cycle-previous):
12098 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12099 switch-to-buffer.
12100
12101 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 12102 Delete.
8bdfa064 12103
5eba16a3
JB
121042011-07-14 Juanma Barranquero <lekktu@gmail.com>
12105
12106 * follow.el (follow-debug-message, follow-redisplay):
12107 * jka-cmpr-hook.el (with-auto-compression-mode):
12108 Fix typos in docstrings.
12109
15853710
LMI
121102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12111
a28e4607
LMI
12112 * subr.el (with-silent-modifications): Clarify somewhat what the
12113 macro inhibits (bug#6525).
12114
15853710
LMI
12115 * simple.el (eval-expression): Note what it does if called
12116 interactively (bug#6495).
12117
bee0fcef
CY
121182011-07-13 Chong Yidong <cyd@stupidchicken.com>
12119
b796c9b7
SM
12120 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12121 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
12122
12123 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12124 Remove switch-to-buffer.
12125
58274504
LMI
121262011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12127
bd2fcc8d
LMI
12128 * files.el (make-directory): Clarify that an error will be raised
12129 if there's an error (bug#6397).
12130
0f04b32c
LMI
12131 * startup.el (initial-buffer-choice): Add `none' as a choice
12132 (bug#6234).
12133
465c5fc8
LMI
12134 * subr.el (add-hook): Clarify section about buffer-local hooks
12135 (bug#6218).
12136
58274504
LMI
12137 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12138
bead9a43
JB
121392011-07-13 Juanma Barranquero <lekktu@gmail.com>
12140
12141 * tabify.el (untabify): Preserve the current column so that point
12142 doesn't move (bug#6032).
12143
3af98a7b
LMI
121442011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12145
b796c9b7
SM
12146 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12147 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 12148
6240145a
GM
121492011-07-13 Glenn Morris <rgm@gnu.org>
12150
12151 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12152 (dired-insert-directory): Give a message the first time
12153 if ls is found not to support --dired.
12154
1d8c2ccc
LMI
121552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12156
12157 * simple.el (toggle-truncate-lines): Clarify what is toggled
12158 (bug#5580). Text by Drew Adams.
12159
5fc4038e
CY
121602011-07-13 Chong Yidong <cyd@stupidchicken.com>
12161
12162 * simple.el (blink-matching-open): Make the error message from the
12163 last change less verbose.
12164
bf6012e5
DN
121652011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12166
12167 * font-lock.el (font-lock-comment-face): Use the high contrast
12168 "yellow" color for font-lock-comment-face on low color terminals
12169 using a dark background color (bug#4221).
12170
343c3b5a
LMI
121712011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12172
7e9505c5
LMI
12173 * dired.el (dired-insert-set-properties): Make the doc string
12174 reflect what it does now (bug#5325).
12175
c26fdcf5
LMI
12176 * simple.el (blink-matching-open): Say that we were unable to find
12177 the match within the limit, if we're limited (bug#5122).
12178
bb388cc5
LMI
12179 * international/mule-cmds.el (prefer-coding-system): Add an
12180 example (bug#4869).
12181
343c3b5a
LMI
12182 * progmodes/etags.el (tags-search): Document `file-list-form'
12183 (bug#4731).
12184
2a517d45
LM
121852011-07-13 Lawrence Mitchell <wence@gmx.li>
12186
12187 * net/browse-url.el (browse-url-default-browser)
12188 (browse-url-browser-function): Make the default browser choice a
12189 bit more logical (bug#4300). Also clean up the doc string.
12190
b6c78ef2
JB
121912011-07-13 Juanma Barranquero <lekktu@gmail.com>
12192
12193 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12194 binary endings (bug#4440).
12195
1c4dd947
LMI
121962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12197
a2014063
LMI
12198 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12199 which can be pretty annoying (bug#8971).
12200
9c9c2d88
LMI
12201 * jka-compr.el (jka-compr-verbose): New variable, and use
12202 throughout (bug#8971).
12203
1c4dd947
LMI
12204 * info.el (Info-find-file): Fall back on the installation
12205 directory if we can't find the info node anywhere else.
12206
a1c9f41b
SO
122072011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12208
12209 * vc/vc.el (vc-revert-file):
12210 Don't set file time-stamp in the past. (Bug#5181)
12211
536f3d36
LMI
122122011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12213
7152b011
LMI
12214 * files.el (after-find-file): Give a better error message when
12215 trying to find a symlink that points to a file that doesn't exist
12216 (bug#4398).
12217
536f3d36
LMI
12218 * progmodes/cc-vars.el: Remove (probably) misleading comment
12219 (bug#4396).
12220
460c0fba
JB
122212011-07-12 Johan Bockgård <bojohan@gnu.org>
12222
12223 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12224
7a6bda45
CY
122252011-07-12 Chong Yidong <cyd@stupidchicken.com>
12226
12227 * mouse-sel.el: Hack restoring functionality, while keeping
12228 compatibility with 2010-07-03 changes to mouse selection.
12229 (mouse-sel-primary-overlay): New var.
12230 (mouse-sel-selection-alist): Use it.
12231 (mouse-sel-mode): Doc fix; remove points that are default features
12232 of mouse.el.
12233
c79598ef
JB
122342011-07-12 Johan Bockgård <bojohan@gnu.org>
12235
12236 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12237 Fix previous fix (bug#2490).
12238
ff8be6ef
RW
122392011-07-12 Roland Winkler <winkler@gnu.org>
12240
b796c9b7
SM
12241 * textmodes/bibtex.el (bibtex-initialize):
12242 Use pop-to-buffer-same-window.
ff8be6ef
RW
12243 (bibtex-search-entries): Fix interactive call.
12244
296ba3ee
LMI
122452011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12246
f5242a02 12247 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12248 Fontise bytecomp Error lines more correctly (bug#2490).
12249 Fix suggested by Johan Bockgård.
f5242a02 12250
296ba3ee
LMI
12251 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12252
12253 * dired-x.el (dired-guess-default): Use `delete-dups'.
12254
f69fd0d2
CY
122552011-07-12 Chong Yidong <cyd@stupidchicken.com>
12256
12257 * dired.el (dired-mark-prompt):
12258 * dired-aux.el (dired-read-shell-command): Doc fix.
12259
eab5dc07
LMI
122602011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12261
b796c9b7
SM
12262 * mail/sendmail.el (sendmail-query-once):
12263 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12264 emacs -Q.
12265
12266 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12267
eab5dc07
LMI
12268 * cus-edit.el (custom-file): Take an optional no-error variable.
12269 (customize-save-variable): Set the variable, and give a warning if
12270 running under "emacs -q".
12271
a1e65d42
JB
122722011-07-11 Juanma Barranquero <lekktu@gmail.com>
12273
12274 * loadhist.el (unload-feature-special-hooks):
12275 Add `auto-coding-functions', `fill-nobreak-predicate' and
12276 `find-directory-functions' (bug#5327).
12277
1d52da10
LMI
122782011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12279
be958f1d
LMI
12280 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12281
5bedb26c
LMI
12282 * cus-edit.el (custom-guess-name-alist): -alist variables should
12283 use the `alist' type (bug#3120). Suggested by Drew Adams.
12284
1d52da10
LMI
12285 * printing.el: Add documentation to all the `pr-toggle-' commands.
12286
cd394be1 122872011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12288
12289 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12290 backends where it makes sense (bug#2623).
12291
dcc88d8a
LMI
122922011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12293
c3de9feb
LMI
12294 * dired-x.el (dired-guess-default): Remove duplicate shell command
12295 entries (bug#2028).
8a93078b 12296 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12297 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12298
dcc88d8a
LMI
12299 * subr.el (remove-duplicates): New conveniency function.
12300
505e3645
LMI
123012011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12302
12303 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12304 (bug#1526).
12305
123062011-07-10 Martin Rudalics <rudalics@gmx.at>
12307
12308 * window.el (display-buffer-normalize-default): Don't invert
12309 meaning of even-window-heights. Reported by Eli Zaretskii
12310 <eliz@gnu.org>.
12311
455e4fa1
BR
123122011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12313
12314 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12315
8e0bc3e9
CY
123162011-07-10 Chong Yidong <cyd@stupidchicken.com>
12317
12318 * window.el (display-buffer): Fix arguments to
12319 display-buffer-reuse-window in last change.
12320
fa7c3228
CY
12321 * faces.el (link): Use a less saturated blue on light backgrounds.
12322
12323 * startup.el (fancy-startup-text, fancy-about-text)
12324 (fancy-startup-tail): Use font-lock faces, for background safety.
12325
c0a7f300
BN
123262011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12327
b796c9b7
SM
12328 * emulation/viper-cmd.el (viper-change-state-to-vi):
12329 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12330
4dc2a129
MR
123312011-07-09 Martin Rudalics <rudalics@gmx.at>
12332
12333 * window.el (display-buffer-default-specifiers): Remove.
12334 (display-buffer-macro-specifiers): Remove default specifiers.
12335 (display-buffer-alist): Default to nil.
b796c9b7 12336 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12337 (display-buffer-pop-up-window): Allow splitting internal
12338 windows. Check whether a live window was created.
12339 (display-buffer-other-window-means-other-frame)
12340 (display-buffer-normalize-arguments): Rename to
12341 display-buffer-normalize-argument and rewrite. Set the
12342 other-window specifier.
12343 (display-buffer-normalize-special): New function.
12344 (display-buffer-normalize-options): Rename to
12345 display-buffer-normalize-default and rewrite.
12346 (display-buffer-normalize-options-inhibit): Remove.
12347 (display-buffer-normalize-specifiers): Rewrite.
12348 (display-buffer): Process other-window specifier and call
12349 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12350 more faithfully.
b796c9b7 12351 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12352 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12353 (display-buffer-in-window, display-buffer-alist-set):
12354 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12355 <tassilo@member.fsf.org>.
12356
2d43b8c9
LL
123572011-07-09 Leo Liu <sdl.web@gmail.com>
12358
12359 * register.el (insert-register): Restore accidental change on
12360 2011-06-26. (Bug#9028)
12361
7f9b7c53
GM
123622011-07-09 Glenn Morris <rgm@gnu.org>
12363
12364 * subr.el (remq): Handle the empty list. (Bug#9024)
12365
f042cfd8
AS
123662011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12367
12368 * mail/sendmail.el (send-mail-function): No longer delay custom
12369 initialization.
12370 * custom.el (custom-initialize-delay): Doc fix.
12371
856b2f11
SM
123722011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12373
12374 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12375
afae1d68
MA
123762011-07-08 Michael Albinus <michael.albinus@gmx.de>
12377
12378 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12379 human-friendly prompt.
12380
0757af94
SM
123812011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12382
12383 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12384 provided by a particular plugin.
12385
d760b731
LMI
123862011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12387
12388 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12389 save customizations (with "emacs -Q"), just set the variable
12390 instead of erroring out.
12391
12392 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12393
cd79ce90
JL
123942011-07-08 Juri Linkov <juri@jurta.org>
12395
12396 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12397 (archive-zip-update-case): Use 7z if found by `executable-find'.
12398 The order of searching the available programs is the same as in
12399 `archive-zip-extract' (bug#8968).
12400
14cc04aa
CY
124012011-07-07 Chong Yidong <cyd@stupidchicken.com>
12402
12403 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12404 (menu-bar-options-menu): Tweak descriptions.
12405
0a1848ec
LMI
124062011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12407
12408 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12409 menu items into verb phrases (bug#1421). Also refill to fit under
12410 80 columns.
12411
f5bd0689
CY
124122011-07-07 Chong Yidong <cyd@stupidchicken.com>
12413
538e85c6
CY
12414 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12415 (Info-read-node-name): Doc fix (Bug#1084).
12416
f5bd0689
CY
12417 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12418 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12419 (end-of-sexp, beginning-of-sexp)
12420 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12421 (forward-symbol, forward-same-syntax, word-at-point)
12422 (sentence-at-point): Doc fix (Bug#1144).
12423
56ec5115
LMI
124242011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12425
f3f8e37f
LMI
12426 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12427 should cover it (bug#1281).
12428
0757af94 12429 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12430
e9fce1ac 12431 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12432 negotiation fails, then possibly try again with a non-encrypted
12433 connection (bug#9017).
12434
56ec5115
LMI
12435 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12436 be used.
12437
c2f9aec8
RS
124382011-07-07 Richard Stallman <rms@gnu.org>
12439
12440 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12441 property, and handle its changed format.
12442 Look for the correct line number.
12443 Use file's line contents (but not past first =) to find
12444 correct line in message.
12445
ef7b981d 124462011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12447
12448 * international/characters.el (build-unicode-category-table):
12449 Delete it.
0757af94 12450 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12451
0757af94 12452 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12453 to src/chartab.c.
12454 (get-char-code-property): Call unicode-property-table-internal to
12455 load a file. Call get-unicode-property-internal where necessary.
12456 (put-char-code-property): Call unicode-property-table-internal to
12457 load a file. Call put-unicode-property-internal where necessary.
12458 put-unicode-property-internal where necessary.
0757af94
SM
12459 (char-code-property-description):
12460 Call unicode-property-table-internal to load a file.
c805dec0
KH
12461
12462 * international/charprop.el:
12463 * international/uni-bidi.el:
12464 * international/uni-category.el:
12465 * international/uni-combining.el:
12466 * international/uni-comment.el:
12467 * international/uni-decimal.el:
12468 * international/uni-decomposition.el:
12469 * international/uni-digit.el:
12470 * international/uni-lowercase.el:
12471 * international/uni-mirrored.el:
12472 * international/uni-name.el:
12473 * international/uni-numeric.el:
12474 * international/uni-old-name.el:
12475 * international/uni-titlecase.el:
12476 * international/uni-uppercase.el: Regenerate.
12477
12478 * loadup.el: Load international/charprop.el before
12479 international/characters.
12480
e14b388a
CY
124812011-07-07 Chong Yidong <cyd@stupidchicken.com>
12482
12483 * window.el (next-buffer, previous-buffer): Signal an error if
12484 called from a minibuffer window.
12485
12486 * bindings.el: Revert 2011-07-04 change.
12487
354cf0ba
RS
124882011-07-06 Richard Stallman <rms@gnu.org>
12489
12490 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12491 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12492 Treat markers like ints.
12493 (rmail-mime-entity): Doc fix.
12494
a48868a7
LMI
124952011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12496
4906cd3d
LMI
12497 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12498 defcustom again for backwards compatibility.
12499
e0457abe
LMI
12500 * simple.el (shell-command-on-region): Fill.
12501
d67f7e1f
LMI
12502 * dired-aux.el (dired-kill-line): Add a doc string.
12503
fe204702
LMI
12504 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12505 to "\\sw\\|\\s_" (bug#358).
12506
a48868a7
LMI
12507 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12508 (dired-unmark-backward): Ditto.
12509 (dired-flag-backup-files): Ditto.
12510
12511 * dired-x.el (dired-mark-sexp): Ditto.
12512
aa8a705c
RS
125132011-07-06 Richard Stallman <rms@gnu.org>
12514
12515 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12516 (rmail-mime-entity): New arg TRUNCATED.
12517 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12518 New functions.
12519 (rmail-mime-save): Warn if entity is truncated.
12520 (rmail-mime-toggle-hidden): Likewise, for showing.
12521 (rmail-mime-process-multipart): Record when an entity is truncated.
12522
a9a936b9
RS
12523 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12524 if ENTITY is a string.
12525
1f2b92cb
LMI
125262011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12527
f4f73198 12528 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12529 of faces when `M-C-x'-ing their definitions (bug#8378).
12530 Also clean up the code slightly.
f4f73198 12531
12b16734 12532 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12533 because that makes the colors go away.
12b16734 12534
f0691d22
LMI
12535 * mail/sendmail.el (send-mail-function): Change the default to
12536 `sendmail-query-once'.
9e87df06 12537 (sendmail-query-once): Add an autoload cookie.
f0691d22 12538
1f2b92cb
LMI
12539 * net/network-stream.el (network-stream-open-starttls): Try using
12540 a plain connection even if the server offered STARTTLS, and we
12541 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12542 capability. This should make smtpmail.el work in slightly more
12543 configurations.
12544
1cdd2a1b
MA
125452011-07-06 Michael Albinus <michael.albinus@gmx.de>
12546
12547 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12548 New defun.
12549 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12550
fbcc67e2
MM
125512011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12552
12553 * progmodes/sql.el: Version 3.0
0757af94 12554 (sql-product-alist): Add product :completion-object,
fbcc67e2 12555 :completion-column, and :statement attributes.
0757af94 12556 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12557 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12558 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12559 ansi keywords.
12560 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12561 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12562 (sql-oracle-show-reserved-words): New function for development.
12563 (sql-product-font-lock): Simplify for source code buffers.
12564 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12565 New functions.
12566 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12567 (sql-mode-map): Add statement movement functions.
12568 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12569 New variable.
fbcc67e2
MM
12570 (sql-statement-regexp, sql-beginning-of-statement)
12571 (sql-end-of-statement, sql-signum): New functions.
0757af94 12572 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12573 (sql-show-sqli-buffer): Bug fix.
12574 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12575 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12576 with sql-interactive-mode.
12577 (sql-save-connection): Save buffer local settings.
0757af94 12578 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12579 (sql-product-interactive): Bug fix.
12580 (sql-preoutput-hold): New variable.
12581 (sql-interactive-remove-continuation-prompt): Bug fixes.
12582 (sql-debug-redirect): New variable.
12583 (sql-str-literal): New function.
12584 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12585 Redesign.
fbcc67e2
MM
12586 (sql-oracle-save-settings, sql-oracle-restore-settings)
12587 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12588 (sql-completion-object, sql-completion-column)
12589 (sql-completion-sqlbuf): New variables.
12590 (sql-build-completions-1, sql-build-completions)
12591 (sql-try-completion): New functions.
12592 (sql-read-table-name): Use them.
12593 (sql-contains-names): New buffer local variable.
12594 (sql-list-all, sql-list-table): Use it.
12595 (sql-oracle-completion-types): New variable.
12596 (sql-oracle-completion-object, sql-sqlite-completion-object)
12597 (sql-postgres-completion-object): New functions.
12598
d4eaeab1
GM
125992011-07-06 Glenn Morris <rgm@gnu.org>
12600
12601 * window.el (pop-to-buffer): Doc fix.
12602
322b7dab 126032011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12604
12605 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12606
322b7dab 126072011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12608
322b7dab 12609 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12610
322b7dab 12611 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12612
605dd5bf
CY
126132011-07-05 Chong Yidong <cyd@stupidchicken.com>
12614
12615 * button.el (button): Inherit from link face. Suggested by Dan
12616 Nicolaescu.
12617
7dbfa719
SM
126182011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12619
3db614b0
SM
12620 * progmodes/gdb-mi.el: Fit in 80 columns.
12621 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12622 switch-to-buffer.
12623
7dbfa719
SM
12624 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12625 if imenu is simply not configured (bug#8941).
12626
919d884a
KM
126272011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12628
12629 * allout.el (allout-post-undo-hook): New allout outline-change
12630 event hook to signal undo activity.
12631 (allout-post-command-business): Run allout-post-undo-hook if an
12632 undo just occurred.
7dbfa719
SM
12633 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12634 * allout-widgets.el (allout-widgets-after-undo-function):
12635 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12636 in the vicinity of an undo.
12637 (allout-widgets-mode): Include allout-widgets-after-undo-function
12638 on the new allout-post-undo-hook.
12639
450a0f09
SM
126402011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12641
12642 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12643 Let define-derived-mode define it.
12644 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12645 cycles of abbrev-table inheritance (bug#8998).
12646
2de69e00
RW
126472011-07-05 Roland Winkler <winkler@gnu.org>
12648
12649 * textmodes/bibtex.el: Add support for biblatex.
12650 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12651 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12652 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12653 (bibtex-entry-alist, bibtex-field-alist): New variables.
12654 (bibtex-entry-field-alist): Obsolete alias for
12655 bibtex-BibTeX-entry-alist.
12656 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12657 (bibtex-set-dialect): New command.
12658 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12659 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12660 Bind via bibtex-set-dialect.
2de69e00
RW
12661 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12662 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12663 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12664 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12665 Define via bibtex-set-dialect.
450a0f09
SM
12666 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12667 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12668 (bibtex-vec-push, bibtex-vec-incr): New functions.
12669 (bibtex-format-entry, bibtex-field-list)
12670 (bibtex-print-help-message, bibtex-validate)
12671 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12672
2dcdbdd9
SM
126732011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12674
12675 * progmodes/compile.el (compilation-goto-locus):
12676 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12677 * bs.el (bs-cycle-next, bs-cycle-previous):
12678 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12679 * bindings.el (mode-line-other-buffer):
12680 * autoinsert.el (auto-insert):
12681 * arc-mode.el (archive-extract):
12682 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12683
b27640fe
JB
126842011-07-05 Juanma Barranquero <lekktu@gmail.com>
12685
12686 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12687 Fix check of `emacs-lock-unlockable-modes'.
12688 Coerce true values of `emacs-lock--try-unlocking' to t.
12689
53bbe3ad
JB
126902011-07-05 Juanma Barranquero <lekktu@gmail.com>
12691
12692 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12693 * emacs-lock.el: New file.
12694
1d3cdbc7
JD
126952011-07-05 Julien Danjou <julien@danjou.info>
12696
12697 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12698 than `boundp' to check if face is set.
12699
9173deec
JB
127002011-07-05 Juanma Barranquero <lekktu@gmail.com>
12701
12702 * register.el (registerv-make):
12703 * window.el (window-min-height): Fix typos in docstrings.
12704
869795d6
JD
127052011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12706
9173deec 12707 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12708 Update doc string.
12709
b768cdcd
JB
127102011-07-04 Juanma Barranquero <lekktu@gmail.com>
12711
12712 * server.el (server-execute): Catch quit and call
12713 `server-return-error' to pass the error back to emacsclient and
12714 close the connection (bug#8942).
12715
13aa217b
KM
127162011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12717
12718 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12719 insecure exception for current topic. Also note that auto-saves
12720 are handled differently.
12721
5d3385a0 12722 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12723 State variables for tracking auto-save inhibition situation.
12724
12725 (allout-write-contents-hook-handler): Rename from
12726 'allout-write-file-hook-handler', and describe how it depends on
12727 write-contents-functions sensitivity to non-nil value to prevent
12728 file write.
12729
12730 (allout-auto-save-hook-handler): Remove. auto-save does not check
12731 this in individual buffers, only in the starting buffer, so this
12732 is not the right way for us to inhibit auto-save in a buffer
12733 according to its condition.
12734
12735 (allout-mode): Use new allout-write-contents-hook-handler, and
12736 only with write-contents-functions. Remove auto-save provisions -
12737 they're implemented elsewhere.
12738
12739 (allout-before-change-handler): If undo is in progress, note that
12740 for attention of allout-post-command-business.
12741
12742 (allout-post-command-business): If the command we're following was
12743 an undo, check for change in the status of encrypted items and
12744 adjust auto-save inhibitions accordingly.
12745
12746 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12747 according to whether there are or aren't any plain-text topics
12748 pending encryption.
12749
2dcdbdd9 12750 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12751 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12752 if there are plain-text topics pending encryption.
13aa217b
KM
12753
12754 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12755 buffer-saved-size and some allout state to not inhibit auto-saves
12756 if there are no longer any plain-text topics pending encryption.
12757
0757af94
SM
12758 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12759 No longer provide for exemption of the current topic.
13aa217b 12760
ac89b32c
JL
127612011-07-04 Juri Linkov <juri@jurta.org>
12762
12763 Add 7z operations to delete and save changed members (bug#8968).
12764 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12765 New defcustoms.
12766 (archive-7z-write-file-member): New function.
12767 (archive-7z-summarize): Fix the number of dashes in the
12768 listing output.
12769
8fa39615
SM
127702011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12771
12772 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12773 (bug#8958).
12774
2f11b3f1
CY
127752011-07-04 Chong Yidong <cyd@stupidchicken.com>
12776
d66fef2b
CY
12777 * bindings.el: Ignore next-buffer and previous-buffer in
12778 minibuffer-local-map.
12779
2f11b3f1
CY
12780 * font-lock.el (font-lock-builtin-face): Change light background
12781 color to dark slate blue (Bug#6693).
12782
f932a347
WD
127832011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12784
12785 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12786
c8af70e1
SM
127872011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12788
12789 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12790 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12791 Add switch-to-buffer.
12792
f158badc
LMI
127932011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12794
12795 * isearch.el (isearch-search-fun-function): Clarify further the
12796 meaning of the function returned.
12797
6d95bd46
MA
127982011-07-04 Michael Albinus <michael.albinus@gmx.de>
12799
12800 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12801
12802 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12803 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12804 Use it.
12805 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12806 `tramp-default-remote-path' does not exist.
12807 (tramp-send-command-and-read): New optional argument NOERROR.
12808 (tramp-open-connection-setup-interactive-shell)
12809 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12810 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12811 (tramp-process-sentinel): Flush also process' connection property.
12812 (tramp-sh-handle-start-file-process): Do not set process
12813 sentinel. It is done now ...
12814 (tramp-maybe-open-connection): ... here. (Bug#8929)
12815
909e6b67
MK
128162011-07-04 MON KEY <monkey@sandpframing.com>
12817
12818 * play/animate.el (animate-string): Doc fixes and allow changing
12819 the buffer name (bug#5417).
12820
128212011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12822
c8af70e1 12823 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12824
f34755dc
PE
128252011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12826
396cec72
PE
12827 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12828 This is simpler and helps future-proof the code.
12829 (timer-until): Use time-subtract and float-time.
08235028 12830 (timer--time-less-p): Use time-less-p.
f34755dc 12831
56e6cc31
JB
128322011-07-04 Juanma Barranquero <lekktu@gmail.com>
12833
3abb79e5
JB
12834 * type-break.el (timep): Use the value of `float-time' to avoid a
12835 byte-compiler warning.
12836
56e6cc31
JB
12837 * server.el (server-eval-and-print): Return any result, even nil.
12838
7b9430b4
PE
128392011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12840
12841 * type-break.el: Accept time formats that the builtins accept.
12842 (timep, type-break-time-difference): Accept any format that
12843 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12844 This is simpler and helps future-proof the code.
12845 (type-break-time-difference): Round rather than ignoring
12846 subseconds components.
12847
3034e9e7
LMI
128482011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12849
12850 * info.el (Info-apropos-matches): Make non-interactive, since it
12851 doesn't seem to do anything useful as a command (bug#8829).
12852
1485f4c0
CY
128532011-07-03 Chong Yidong <cyd@stupidchicken.com>
12854
12855 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12856 Move from faces.el.
1485f4c0
CY
12857 (frame-default-terminal-background): New function.
12858
12859 * custom.el (custom-push-theme): Don't record faces in `changed'
12860 theme; this doesn't work correctly for per-frame face settings.
12861 (disable-theme): Use face-set-after-frame-default to reset faces.
12862 (custom--frame-color-default): New function.
12863
9fa3dd45
LMI
128642011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12865
c8af70e1 12866 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12867 (bug#8769).
12868
6cbbc20c
KR
128692011-03-29 Kevin Ryde <user42@zip.com.au>
12870
12871 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12872 `perl-Test2' extend to match possible "fail #N" rep count
12873 (bug#8377).
12874
c7f98048
LMI
128752011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12876
65676592
LMI
12877 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12878 `smtpmail-via-smtp' now returns the error instead of nil.
12879
c7f98048
LMI
12880 * isearch.el (isearch-search-fun-function): Clarify the doc string
12881 (bug#8101).
12882
56e6cc31 128832011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12884
12885 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12886 unnecessary spaces (bug#8987).
12887
2b216704
LMI
128882011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12889
12890 * net/network-stream.el (open-network-stream): Use the
12891 :end-of-capability command thoughout.
12892
128932011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12894
12895 * net/network-stream.el (open-network-stream): Add the
12896 :end-of-capability command parameter, used by pop3.el.
12897
36adf6ce
LMI
128982011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12899
1ca0da0e
LMI
12900 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12901
fc00f69c
LMI
12902 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12903 for list)" (bug#6475).
12904
28fd8759 12905 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12906 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12907 an error (bug#6297).
12908
0dd8b6da
LMI
12909 * man.el (Man-reference-regexp): Allow matching possible
12910 word-wrapped references (bug#6289).
12911
ce1438d6
LMI
12912 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12913 for consistency with the other vc buffers (bug#6197).
12914 (vc-checkin): Ditto.
12915
12916 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12917
36adf6ce
LMI
12918 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12919
e83cc1f7
LMI
129202011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12921
8a20ca4c
LMI
12922 * custom.el (defcustom): Clarify that :set is only used in the
12923 Customize user interface (bug#6089).
12924
83319045
LMI
12925 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12926 associated with a file, refuse to run instead of erroring out
12927 (bug#6084).
12928
a8392169
LMI
12929 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12930 the doc string, since it appears that using `fill-column' always
12931 controls the width (bug#7845).
12932
e83cc1f7
LMI
12933 * simple.el (shell-command-on-region): Say where the error output
12934 went if `shell-command-default-error-buffer' is set (bug#6857).
12935
e47ca23b
KM
129362011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12937
12938 * allout.el (allout-yank-processing): Adjust cursor position for
12939 backwards-deleted space.
12940
12941 (allout-rebullet-heading): Register changes with
12942 allout-exposure-changed-hook, so the modified topic is properly
12943 decorated.
12944
5cf56143
LMI
129452011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12946
08549772
LMI
12947 * minibuffer.el (completion-in-region): Document PREDICATE
12948 (bug#7136).
12949
48e96771
LMI
12950 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12951 of keyword/argument pairs (bug#6904).
12952
c8af70e1
SM
12953 * replace.el (multi-occur):
12954 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12955
e17d05e2
LMI
129562011-07-02 Drew Adams <drew.adams@oracle.com>
12957
12958 * dired.el (dired-mark-if): Make the message about whether it's
12959 marking or unmarking clearer (bug#8523).
12960
063b0e45
LMI
129612011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12962
12963 * disp-table.el (display-table-print-array): New function.
12964 (describe-display-table): Use it to print the vectors more pretty
12965 (Bug#8859).
12966
28545e04
MR
129672011-07-02 Martin Rudalics <rudalics@gmx.at>
12968
12969 * window.el (window-state-get-1): Don't assign clone numbers.
12970 Add clone-of item to list of window parameters.
12971 (window-state-put-2): Don't process clone numbers.
12972 (display-buffer-alist): Fix doc-string.
12973
3349e122
SM
129742011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12975
12976 * subr.el (remq): Don't allocate if it's not needed.
12977 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12978 (keymap--merge-bindings): New functions.
12979 (keymap-canonicalize): Use them to refine the canonicalization.
12980 * minibuffer.el (minibuffer-local-completion-map)
12981 (minibuffer-local-must-match-map): Move initialization from C.
12982 (minibuffer-local-filename-completion-map): Move initialization from C;
12983 don't inherit from anything here.
12984 (minibuffer-local-filename-must-match-map): Make obsolete.
12985 (completing-read-default): Use make-composed-keymap to combine
12986 minibuffer-local-filename-completion-map with either
12987 minibuffer-local-must-match-map or
12988 minibuffer-local-filename-completion-map.
12989
d224ac83
GM
129902011-07-01 Glenn Morris <rgm@gnu.org>
12991
3de63bf8
GM
12992 * type-break.el (type-break-time-sum): Use dolist.
12993
d224ac83
GM
12994 * textmodes/flyspell.el (flyspell-word-search-backward):
12995 Replace CL function.
12996
1a1e3f32
SM
129972011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12998
fe3f64d5
SM
12999 * mouse.el (mouse--strip-first-event): New function.
13000 (function-key-map): Use it to map fringe clicks to normal clicks
13001 by default.
13002
eb604e34
SM
13003 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13004 (vc-bzr-revision-completion-table): Add support for annotate and date.
13005
1a1e3f32
SM
13006 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13007 inherit from parent.
13008
5bd35902
LMI
130092011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13010
ace6c69c 13011 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 13012 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 13013
191e2bed
LMI
13014 * dired.el (dired-mode): Fix up the doc string as suggested by
13015 Drew Adams (bug#8817).
13016
5bd35902
LMI
13017 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13018 cookie, since the manual says that it should be possible to add
13019 this function to `find-file-hook' (bug#8709).
13020
eee8207a
TZ
130212011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13022
13023 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13024 here. Noted Ted Zlatanov as the maintainer.
13025 (cfengine-common-settings, cfengine-common-syntax): New functions
13026 to set up common things between `cfengine-mode' and
13027 `cfengine3-mode'.
13028 (cfengine3-mode): New mode.
13029 (cfengine3-defuns cfengine3-defuns-regex
13030 (cfengine3-class-selector-regex cfengine3-category-regex)
13031 (cfengine3-vartypes cfengine3-font-lock-keywords)
13032 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 13033 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 13034
36b148cf
MA
130352011-07-01 Michael Albinus <michael.albinus@gmx.de>
13036
13037 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13038
13039 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13040
0bf4ba9a
MR
130412011-07-01 Martin Rudalics <rudalics@gmx.at>
13042
13043 * window.el (same-window-buffer-names, same-window-regexps)
13044 (same-window-p, special-display-frame-alist)
13045 (special-display-popup-frame, special-display-function)
13046 (special-display-buffer-names, special-display-regexps)
13047 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13048 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13049 (split-window-preferred-function, split-height-threshold)
13050 (split-width-threshold, even-window-heights)
13051 (display-buffer-mark-dedicated, window-splittable-p)
13052 (split-window-sensibly, window-safely-shrinkable-p):
13053 Un-obsolete.
13054 (display-buffer): Don't spread args with function specifier
13055 because special-display-popup-frame won't like it.
13056
35837f51
PE
130572011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13058
d0672f86
PE
13059 Time-stamp simplifications and fixes.
13060 These improve accuracy slightly, and future-proof the code
13061 against some potential changes to current-time format.
13062
b9444d97
PE
13063 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13064 by using time-since and float-time.
13065
0ef923dc
PE
13066 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13067 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13068 + NNN microseconds".
13069
2f81380d
PE
13070 * type-break.el (type-break-time-sum): Rewrite using time-add.
13071
845b5c3e
PE
13072 * play/hanoi.el (hanoi-current-time-float): Remove.
13073 All uses replaced by float-time.
13074
ee6f1be0
PE
13075 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13076 This yields a more-accurate answer.
13077 (rng-time-to-float): Remove; no longer needed.
13078
fe955043
PE
13079 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13080
5777162a
PE
13081 * calendar/timeclock.el (timeclock-seconds-to-time):
13082 Defalias to seconds-to-time, since they're the same thing.
13083
3103f8b6 13084 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 13085 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
13086 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13087
0e61a35f
SM
130882011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13089
13090 * window.el (bury-buffer): Don't iconify the only frame.
13091 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13092 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13093
ddd63a1e
CY
130942011-07-01 Chong Yidong <cyd@stupidchicken.com>
13095
0e61a35f
SM
13096 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13097 Add mouse-yank-primary.
ddd63a1e 13098
055f4923
TZ
130992011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13100
13101 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13102
6a2fb145
SM
131032011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13104
13105 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13106 (find-library-name): Use it to find relative load names when provided
13107 absolute file name (bug#8803).
13108
fd4983f2
LMI
131092011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13110
887d14ad
LMI
13111 * textmodes/flyspell.el (flyspell-word): Consider words that
13112 differ only in case as potential doublons (bug#5687).
13113
c53dc7fc
LMI
13114 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13115 Remove two rather uninteresting debugging-like messages to make
13116 debbugs.el more silent.
13117
fd4983f2
LMI
13118 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13119 a password-like phrase.
13120
7a71b18d 131212011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
13122
13123 * progmodes/cc-guess.el: New file.
13124
6a2fb145 13125 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
13126
13127 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13128 derived from `c-basic-common-init'.
13129
13130 * progmodes/cc-mode.el (top-level): Require cc-guess.
13131 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13132
1fa280a3
LM
131332011-06-30 Lawrence Mitchell <wence@gmx.li>
13134
13135 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13136
e6597158
AM
131372011-06-30 Alan Mackenzie <acm@muc.de>
13138
1fa280a3
LM
13139 * progmodes/cc-engine.el (c-guess-continued-construct):
13140 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
13141 lock is disabled. Name this case as "CASE G".
13142
68ba37fb
KM
131432011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13144
13145 * allout.el (allout-yank-processing): Fix injection of extra space
13146 between bullet and non-whitespace character in first topic when
13147 pasting, ensuring that the actual spacing in the pasted topic
13148 following the bullet char is preserved. This extra space was
13149 causing pasted encrypted topics to get a decrypted status even
13150 when the content was actually still encrypted. Now the decryption
13151 status from before the paste is preserved.
13152
13153 (allout-flag-region): Set all allout overlays so they evaporate
13154 when reduced to zero length (evanescent), to prevent overlay
13155 leakage.
13156
887a0b34
GM
131572011-06-30 Glenn Morris <rgm@gnu.org>
13158
94b9acce
GM
13159 * w32-fns.el (w32-charset-info-alist): Declare.
13160
1d9b46d4
GM
13161 * find-dired.el (find-grep-options): Simplify.
13162
cc232200
GM
13163 * term/ns-win.el (ns-set-resource): Declare.
13164
28e77c46
GM
13165 * ses.el (row, col): Declare dynamic variables honestly.
13166
887a0b34
GM
13167 * textmodes/reftex-parse.el (index-tags): Declare.
13168
658d8eb8
CY
131692011-06-30 Chong Yidong <cyd@stupidchicken.com>
13170
13171 * cus-edit.el (customize-push-and-save): New function.
13172
13173 * files.el (hack-local-variables-confirm): Use it.
13174
1fa280a3
LM
13175 * custom.el (load-theme): New arg NO-CONFIRM.
13176 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
13177 (custom-enabled-themes): Doc fix.
13178
13179 * cus-theme.el (customize-create-theme)
13180 (custom-theme-merge-theme): Callers to load-theme changed.
13181
bb617717
LMI
131822011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13183
d61bdd5d
LMI
13184 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13185 short URLs have at least one dot in them (bug #7614).
13186
bb617717
LMI
13187 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13188 nil, because using a pty is apparently too slow (bug #895).
13189
2f31f37a
LMI
131902011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13191
13192 * mail/sendmail.el (sendmail-query-once): New function.
13193 (sendmail-query-once-function): New variable.
13194
3076b24e
GM
131952011-06-29 Glenn Morris <rgm@gnu.org>
13196
faf2a174
GM
13197 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13198
3076b24e
GM
13199 * ses.el (top-level): Require cl when compiling.
13200 (ses-set-localvars): Fix error statement.
13201 Call it at compile time to silence a storm of warnings.
13202
5386012d
MR
132032011-06-29 Martin Rudalics <rudalics@gmx.at>
13204
13205 * window.el (normalize-live-buffer): Rename to
13206 window-normalize-buffer.
13207 (normalize-live-frame): Rename to window-normalize-frame.
13208 (normalize-any-window): Rename to window-normalize-any-window.
13209 (normalize-live-window): Rename to window-normalize-live-window.
13210 (make-window-atom): Rename to window-make-atom.
13211 (window-resize-reset): Rename to window--resize-reset.
13212 (window-resize-reset-1): Rename to window--resize-reset-1.
13213 (resize-mini-window): Rename to window--resize-mini-window.
13214 (resize-subwindows-skip-p): Rename to
13215 window--resize-subwindows-skip-p.
13216 (resize-subwindows-normal): Rename to
13217 window--resize-subwindows-normal.
13218 (resize-subwindows): Rename to window--resize-subwindows.
13219 (resize-other-windows): Rename to window--resize-siblings.
13220 (resize-this-window): Rename to window--resize-this-window.
13221 (resize-root-window): Rename to window--resize-root-window.
13222 (resize-root-window-vertically): Rename to
13223 window--resize-root-window-vertically.
13224 (normalize-buffer-to-display): Rename to
13225 window-normalize-buffer-to-display.
13226 (normalize-buffer-to-switch-to): Rename to
13227 window-normalize-buffer-to-switch-to.
13228 Correspondingly update all callers of the functions listed
13229 above.
13230 (display-buffer-alist, display-buffer-normalize-arguments)
13231 (display-buffer-normalize-options, display-buffer)
13232 (display-buffer-alist-set): Use "function" instead of
13233 "fun-with-args".
13234
1176868d
CY
132352011-06-28 Chong Yidong <cyd@stupidchicken.com>
13236
13237 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13238 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13239 debbugs.gnu.org. Mention acknowledgment email.
13240
20a7a65f
LMI
132412011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13242
13243 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13244 buffer multibyteness, since it shouldn't matter.
13245
5f45cca5
MR
132462011-06-28 Martin Rudalics <rudalics@gmx.at>
13247
13248 * window.el (display-buffer-in-side-window): Handle dedicated
13249 windows as in display-buffer-reuse-window.
13250 (display-buffer-normalize-alist): Use value of override
13251 specifier.
13252 (display-buffer-normalize-specifiers): Use value of
13253 other-window-means-other-frame specifier.
13254 (display-buffer-alist): Rewrite some texts in widgets.
13255 (display-buffer): Spread arguments when calling function
13256 specified by fun-with-args.
13257
ad85fe1f
DD
132582011-06-28 Deniz Dogan <deniz@dogan.se>
13259
1fa280a3
LM
13260 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13261 Unnest `let'.
da68c4c8 13262
ad85fe1f
DD
13263 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13264 selectors (Bug#5732).
ec49bd31 13265 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13266
a08cc025
JA
132672011-06-27 Jari Aalto <jari.aalto@cante.net>
13268
13269 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13270 (eshell-ls-date-format): New defcustom.
13271 (eshell-ls-file): Use it.
13272
e2b551c5
SM
132732011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13274
13275 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13276
8982b231
KY
132772011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13278
13279 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13280 (ange-ftp-make-tmp-name): New arg.
13281 (ange-ftp-file-local-copy): Use it.
13282
36c9fa27
J
132832011-06-27 Jambunathan K <kjambunathan@gmail.com>
13284
13285 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13286 no-conversion (Bug#8870).
13287
d68443dc
MR
132882011-06-27 Martin Rudalics <rudalics@gmx.at>
13289
13290 * window.el (window-right, window-left, window-child)
13291 (window-child-count, window-last-child)
13292 (window-iso-combination-p, walk-window-tree-1)
13293 (window-atom-check-1, window-tree-1, delete-window)
13294 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13295 new naming conventions - window-vchild, window-hchild,
13296 window-next and window-prev are now called window-top-child,
13297 window-left-child, window-next-sibling and window-prev-sibling
13298 respectively.
d615d6d2
MR
13299 (resize-window-reset): Rename to window-resize-reset.
13300 (resize-window-reset-1): Rename to window-resize-reset-1.
13301 (resize-window): Rename to window-resize.
13302 (window-min-height, window-min-width)
13303 (resize-mini-window, resize-this-window, resize-root-window)
13304 (resize-root-window-vertically, adjust-window-trailing-edge)
13305 (enlarge-window, shrink-window, maximize-window)
13306 (minimize-window, delete-window, quit-restore-window)
13307 (split-window, balance-windows, balance-windows-area-adjust)
13308 (balance-windows-area, window-state-put-2)
13309 (display-buffer-even-window-sizes, display-buffer-set-height)
13310 (display-buffer-set-width, set-window-text-height)
13311 (fit-window-to-buffer): Rename all "resize-window" prefixed
13312 calls to use the "window-resize" prefix convention.
13313 (display-buffer-alist): Fix symbol for label specifier.
13314 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13315 corresponding specifier.
13316 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13317
b6458526
VB
133182011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13319
13320 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13321 convention.
13322 (ses-call-printer): Does not pass an empty string to formatter when the
13323 cell is empty to keep from barking printer Calc math-format-value.
13324
d31fd9ac
RS
133252011-06-27 Richard Stallman <rms@gnu.org>
13326
43d5bf84
RS
13327 * battery.el (battery-mode-line-limit): New variable.
13328 (battery-update): Handle it.
13329
d31fd9ac
RS
13330 * mail/rmailmm.el (rmail-mime-process-multipart):
13331 Handle truncated messages.
13332
819a6054
GM
133332011-06-27 Glenn Morris <rgm@gnu.org>
13334
13335 * progmodes/flymake.el (flymake-err-line-patterns):
13336 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13337
cedc73f2
VB
133382011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13339
819a6054 13340 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13341 (ses--clean-!, ses--clean-_): New functions.
13342 (ses-range): Add configurability of readout order, and conversion
13343 to Calc vector.
13344
5e5d49b6
VB
13345 * ses.el (ses-repair-cell-reference-all): New function.
13346 (ses-cell-symbol): Set macro as safe, so that it can be used in
13347 formulas.
13348
56e6cc31 13349 * ses.el: Update cycle detection algorithm.
90ca8b49 13350 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13351 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13352 (ses-set-localvars): New function.
13353 (ses-make-cell): Add property-list as a cell element.
13354 (ses-cell-property-get-fun, ses-cell-property-get)
13355 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13356 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13357 New functions.
90ca8b49
VB
13358 (ses-cell-property-set, ses-cell-property-pop)
13359 (ses-cell-property-get-handle): New macro.
13360 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13361 New aliases, used for code readability.
13362 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13363 cycle detection.
13364 (ses-self-reference-early-detection): New defcustom.
fac916bf 13365 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13366 (ses-mode): Use ses-set-localvars.
13367 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13368 before lauching the update processing.
13369 (ses-initialize-Dijkstra-attempt): New function.
13370 (ses-recalculate-cell): Update for cycle detection based on
13371 Dijkstra algorithm.
13372
2bb63e81
VB
13373 * ses.el: Fix commenting and indenting convention.
13374
c9d29fb8
SM
133752011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13376
13377 * bs.el (bs-cycle-next): Complete last change.
13378
d8e4b68b
JB
133792011-06-27 Drew Adams <drew.adams@oracle.com>
13380
13381 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13382
40098786
LMI
133832011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13384
c9d29fb8
SM
13385 * net/network-stream.el (network-stream-open-starttls):
13386 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13387 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13388
40098786
LMI
13389 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13390 to binary to possibly avoid line encoding issues on Windows (among
13391 other things).
13392
468d09d4
LMI
133932011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13394
13395 * net/network-stream.el (open-network-stream): Return an :error
13396 saying what the problem was, if possible.
13397
13398 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13399 server.
13400
13401 * net/network-stream.el (network-stream-open-starttls): If we
13402 wanted to use STARTTLS, and the server offered it, but we weren't
13403 able to because we had no STARTTLS support, then close the connection.
13404 (open-network-stream): Return an :error element, if present.
13405
16f07dd7
CY
134062011-06-26 Chong Yidong <cyd@stupidchicken.com>
13407
88821ca0
CY
13408 * hl-line.el (hl-line-sticky-flag): Doc fix.
13409 (global-hl-line-sticky-flag): New option (Bug#8323).
13410 (global-hl-line-highlight): Obey it.
13411
16f07dd7
CY
13412 * vc/vc.el (vc-revert-show-diff): Default to t.
13413
6b5ccddf
KM
134142011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13415
c9d29fb8
SM
13416 * allout-widgets.el (allout-widgets-post-command-business):
13417 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13418 undecorated when an isearch is continued past, and isearch
13419 automatically collapses them. This leads to "widget leaks", where
13420 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13421 hidden widgets can slow down cursor travel, substantially.
13422 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13423 so we're doing without this nicety.
13424
13425 (allout-widgets-tally-string): Don't try to do a hash-table-count
13426 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13427 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13428 *Messages* when allout-widgets-maintain-tally is t.
13429
355f2e07
MR
134302011-06-26 Martin Rudalics <rudalics@gmx.at>
13431
13432 * window.el (display-buffer-normalize-argument): Rename to
13433 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13434 LABEL argument. Respect special-display-function when popping up
13435 a new frame. Fix code searching for a window showing the buffer
13436 on another frame.
c9d29fb8
SM
13437 (display-buffer-normalize-specifiers):
13438 Call display-buffer-normalize-arguments.
355f2e07
MR
13439 (display-buffer-in-window): Don't undedicate the window if its
13440 buffer remains the same.
13441 Reported by Drew Adams <drew.adams@oracle.com>.
13442 (display-buffer-alist): Add choice for same-window macro
13443 specfier.
13444 (display-buffer): Mention special meaning of LABEL argument in
13445 doc-string. Fix quoting. Don't pop up a new frame even as
13446 fallback.
13447
7ca8fc42
JB
134482011-06-26 Juanma Barranquero <lekktu@gmail.com>
13449
13450 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13451 avoid deleting the current window in some cases (bug#8911).
13452
bc312254
AS
134532011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13454
13455 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13456 (Bug#8934)
13457
2db18f3f
LMI
134582011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13459
c9d29fb8
SM
13460 * net/network-stream.el (network-stream-open-starttls):
13461 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13462 (network-stream-open-tls): Ditto.
13463
6302e0d3
LL
134642011-06-26 Leo Liu <sdl.web@gmail.com>
13465
13466 * register.el (registerv): New struct.
13467 (registerv-make): New function.
c9d29fb8
SM
13468 (jump-to-register, describe-register-1, insert-register):
13469 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13470 struct. (Bug#8415)
13471
5fdd4046
CY
134722011-06-26 Chong Yidong <cyd@stupidchicken.com>
13473
2afef60a
CY
13474 * vc/vc.el (vc-revert-show-diff): New defcustom.
13475 (vc-diff-internal): New arg specifying diff buffer.
13476 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13477 reuse an existing *vc-diff* buffer (Bug#8927).
13478
5fdd4046
CY
13479 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13480
e93db24a
GM
134812011-06-26 Glenn Morris <rgm@gnu.org>
13482
13483 * progmodes/f90.el (f90-critical-indent): New option.
13484 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13485 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13486 (f90-mode): Doc fix.
13487 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13488 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13489 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13490 (f90-match-end): Handle block, critical.
13491
eefff499
GM
134922011-06-25 Glenn Morris <rgm@gnu.org>
13493
f6ba4cc9
GM
13494 * calendar/diary-lib.el (diary-included-files): Doc fix.
13495 (diary-include-files): New function, extracted from
13496 diary-include-other-diary-files and diary-mark-included-diary-files.
13497 (diary-include-other-diary-files, diary-mark-included-diary-files):
13498 Just call diary-include-files.
13499 (diary-mark-entries): Reset diary-included-files on first call.
13500
16712304
GM
13501 * calendar/diary-lib.el (diary-mark-entries)
13502 (diary-mark-included-diary-files):
13503 Visit included diary-files in temp buffers.
13504
5d8e0d43
GM
13505 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13506 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13507 (f90-start-block-re, f90-imenu-generic-expression)
13508 (f90-looking-at-program-block-start, f90-no-block-limit):
13509 Add support for submodules.
13510
ccf7a5d5
GM
13511 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13512 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13513
11fdef7d 135142011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13515
13516 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13517 buffer-file-type before setting its value, to avoid disastrous
eefff499 13518 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13519
74f53697
JB
135202011-06-25 Juanma Barranquero <lekktu@gmail.com>
13521
13522 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13523
13524 * ses.el (ses-unload-function):
13525 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13526
13527 * proced.el (proced-unload-function):
13528 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13529
18a4ce5e
AR
135302011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13531
13532 * server.el (server-create-window-system-frame): Add parameters arg.
13533 (server-process-filter): Doc fix. Handle frame-parameters.
13534
519d22cc
JB
135352011-06-25 Juanma Barranquero <lekktu@gmail.com>
13536
13537 Fix bug#8730, bug#8781.
13538
13539 * loadhist.el (unload--set-major-mode): New function.
13540 (unload-feature): Use it.
13541
13542 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13543 (python-unload-function): New function.
13544
c206f5b0
SM
135452011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13546
13547 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13548
f9ad64f3
GS
135492011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13550
13551 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13552 the candidates list.
13553
7d0da90e
JB
135542011-06-24 Juanma Barranquero <lekktu@gmail.com>
13555
13556 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13557
14b4e83d
RS
135582011-06-23 Richard Stallman <rms@gnu.org>
13559
13560 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13561 (rmail-variables): Set next-error-move-function.
13562 (rmail-what-message): Take argument POS.
13563 (rmail-next-error-move): New function.
13564
273d2baf
SM
135652011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13566
13567 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13568 messages for adjacent non-terminals.
13569
56c2cc9a
RS
135702011-06-23 Richard Stallman <rms@gnu.org>
13571
13572 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13573 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13574 (rmail-start-mail): Don't specify use of rmail-mail-return;
13575 that's done by mail-bury now.
13576 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13577
d59eb518
MA
135782011-06-23 Michael Albinus <michael.albinus@gmx.de>
13579
13580 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13581 SIZE is a number.
13582
02cfc6d6
MR
135832011-06-23 Martin Rudalics <rudalics@gmx.at>
13584
13585 * window.el (get-lru-window, get-mru-window)
13586 (get-largest-window): Never return a minibuffer window.
13587 (display-buffer-pop-up-window): Fix a bug that could lead to
13588 reusing the minibuffer window.
13589 (display-buffer): Pass original specifier argument to
13590 display-buffer-function instead of the normalized one.
13591 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13592
4e323265
LL
135932011-06-22 Leo Liu <sdl.web@gmail.com>
13594
13595 * minibuffer.el (completing-read-function)
13596 (completing-read-default): Move from minibuf.c
13597
7a70468f
RS
135982011-06-22 Richard Stallman <rms@gnu.org>
13599
50718fc2
RS
13600 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13601 to Rmail even if not started by a special Rmail command.
13602
7a70468f
RS
13603 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13604 Copy the buffer currently showing just one message.
13605
297dde5a
RW
136062011-06-22 Roland Winkler <winkler@gnu.org>
13607
13608 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13609 (bibtex-clean-entry): First delete the old key so that a
13610 customized algorithm for generating the new key does not get
13611 confused by the old key.
13612 (bibtex-url): Obey regexp of first step.
13613 (bibtex-search-entries): Do not use add-to-list with local
13614 list-var.
13615
97bb1093
LMI
136162011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13617
13618 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13619 stored a user name, then query for the password first, instead of
13620 waiting for SMTP to give an error message and the trying again.
13621
1c0f1a19
JD
136222011-06-22 Lawrence Mitchell <wence@gmx.li>
13623
13624 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13625 BUFFER in call-process.
13626
396f7c9d
LMI
136272011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13628
13629 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13630 QUIT twice.
ddb7ffee
LMI
13631 (smtpmail-try-auth-methods): Require user name and password from
13632 auth-source.
396f7c9d 13633
8998d1b3
MR
136342011-06-22 Martin Rudalics <rudalics@gmx.at>
13635
13636 * window.el (display-buffer-default-specifiers)
13637 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13638 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13639 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13640
13641 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13642 (special-display-frame-alist, special-display-popup-frame):
13643 Remove duplicate declarations. These are now in window.el.
13644
4ea31e07
LMI
136452011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13646
c9d29fb8
SM
13647 * mail/smtpmail.el (smtpmail-via-smtp):
13648 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13649 server supports it. SMTP servers that support STARTTLS commonly
13650 require it.
13651
13652 * net/network-stream.el (network-stream-open-starttls): Support
13653 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13654 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13655
95f41d9a
LMI
13656 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13657 upgrades with `open-network-stream', and rely solely on
13658 auth-source for all credentials. Big changes throughout the file,
13659 but in particular:
c9d29fb8
SM
13660 (smtpmail-auth-credentials): Remove.
13661 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13662 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13663 MAIL FROM, too.
95f41d9a 13664
c9d29fb8
SM
13665 * net/network-stream.el (network-stream-open-starttls):
13666 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13667 STARTTLS.
13668 (auth-source): Require.
13669 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13670 (network-stream-certificate): Change cert-cert to cert and
13671 cert-key to key.
4ea31e07 13672
065ec2c7
MA
136732011-06-21 Michael Albinus <michael.albinus@gmx.de>
13674
13675 * net/tramp-cache.el (top): Don't load the persistency file when
13676 "emacs -Q" has been called.
13677
cd93b359
DR
136782011-06-21 Tim Harper <timcharper@gmail.com>
13679
d8e4b68b
JB
13680 * term/ns-win.el (ns-initialize-window-system):
13681 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13682 resource to NO as it is not yet supported by the NS port.
13683
ae9c0411
JB
136842011-06-21 Juanma Barranquero <lekktu@gmail.com>
13685
13686 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13687 (list-dynamic-libraries): ...not here.
13688
7f3f739f
LL
136892011-06-21 Leo Liu <sdl.web@gmail.com>
13690
13691 * subr.el (sha1): Implement sha1 using secure-hash.
13692
327c8fb1
MR
136932011-06-21 Martin Rudalics <rudalics@gmx.at>
13694
13695 * window.el (display-buffer-alist): In default value do not
13696 enforce searching a window on any but the selected frame.
13697 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13698 (display-buffer-select-window): Remove function.
13699 (display-buffer-in-window): When a window on another frame gets
13700 reused, do not select it any more but just raise its frame if
13701 necessary (Bug#8851) and (Bug#8856).
13702 (display-buffer-normalize-options): Handle pop-up-frames related
13703 options more faithfully.
13704 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13705 window if it is on another frame.
c9d29fb8
SM
13706 (display-buffer-alist, display-buffer-default-specifiers):
13707 Don't make new frame unsplittable by default.
9e9de014
MR
13708 (display-buffer-normalize-argument): Fix doc-string typo and use
13709 'same-frame-other-window instead of 'other-window when associating
13710 with display-buffer-macro-specifiers.
327c8fb1 13711
7cf3f556
VB
137122011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13713
13714 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13715 New functions.
13716 (5x5-mode-map, 5x5-mode-menu): Bind them.
13717 (5x5-draw-grid): Tweak the solver's rendering.
13718
60a406cf
SM
137192011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13720
13721 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13722 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13723
d8e4b68b 137242011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13725
13726 * menu-bar.el: Use function variable instead of switch-to-buffer.
13727 (menu-bar-select-buffer-function): New variable.
60a406cf 13728 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13729
478d6f95
SM
137302011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13731
13732 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13733 variable's status.
13734
ca530739
JD
137352011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13736
13737 * x-dnd.el (x-dnd-version-from-flags)
13738 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13739 and long as number (Bug#8899).
13740 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13741
bcd70d97
SM
137422011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13743
60a406cf 13744 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13745 (completion-try-completion, completion-all-completions): Compute the
13746 metadata argument if it's missing; make it optional (bug#8795).
13747
60a406cf 13748 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13749 (widget-complete): Use new :completion-function property.
13750 (widget-completions-at-point): New function.
13751 (default): Use :completion-function instead of :complete.
60a406cf
SM
13752 (widget-default-completions): Rename from widget-default-complete;
13753 Rewrite.
bcd70d97
SM
13754 (widget-string-complete, widget-file-complete, widget-color-complete):
13755 Remove functions.
13756 (file, symbol, function, variable, coding-system, color):
13757 * international/mule-cmds.el (default-input-method, charset)
13758 (language-info-custom-alist):
13759 * cus-edit.el (face): Use new property :completions.
13760
13761 * progmodes/pascal.el (pascal-completions-at-point): New function.
13762 (pascal-mode): Use it.
13763 (pascal-mode-map): Use completion-at-point.
13764 (pascal-toggle-completions): Make obsolete.
13765 (pascal-complete-word, pascal-show-completions):
13766 * progmodes/octave-mod.el (octave-complete-symbol):
13767 Redefine as obsolete alias.
13768 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13769 Signal absence of completion info for old Octave,
13770 (inferior-octave-complete): Redefine as obsolete alias.
13771 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13772 (meta-completions-at-point): Rename from meta-complete-symbol and
13773 adapt it for use on completion-at-point-functions.
13774 (meta-common-mode): Use it.
13775 (meta-looking-at-backward, meta-match-buffer): Remove.
13776 (meta-complete-symbol): Redefine as obsolete alias.
13777 (meta-common-mode-map): Use completion-at-point.
13778 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13779 (makefile-mode-map): Use completion-at-point.
13780 (makefile-completions-at-point): Rename from makefile-complete and
13781 adapt it for use on completion-at-point-functions.
13782 (makefile-mode): Use it.
13783 (makefile-complete): Redefine as obsolete alias.
13784
aebf69c8
DD
137852011-06-20 Deniz Dogan <deniz@dogan.se>
13786
13787 * net/rcirc.el: Delete trailing whitespaces once and for all.
13788
bfbbb27d
DC
137892011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13790
13791 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13792
d264a46b
CY
137932011-06-19 Chong Yidong <cyd@stupidchicken.com>
13794
4ca009e5
CY
13795 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13796
d264a46b
CY
13797 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13798
fbf5b3ce
MR
137992011-06-19 Martin Rudalics <rudalics@gmx.at>
13800
13801 * window.el (display-buffer-other-window-means-other-frame):
13802 Call display-buffer-normalize-alist.
13803 (display-buffer-normalize-specifiers-1): Rename to
13804 display-buffer-normalize-argument. New argument other-frame.
13805 Rewrite.
13806 (display-buffer-normalize-specifiers-2): Rename to
13807 display-buffer-normalize-options.
13808 (display-buffer-normalize-alist-1): New function.
13809 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13810 display-buffer-normalize-alist.
13811 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13812 (display-buffer-normalize-options-inhibit): New variable.
13813 (display-buffer-normalize-specifiers): Rewrite calling
13814 display-buffer-normalize-alist,
13815 display-buffer-normalize-argument, and
13816 display-buffer-normalize-options. Don't call the latter if
13817 display-buffer-normalize-options-inhibit is non-nil.
13818 (frame-auto-delete): New option.
13819 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13820 (window-list-no-nils, window-state-ignored-parameters)
13821 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13822 (window-state-put-1, window-state-put-2, window-state-put):
13823 New functions.
9a028c23
MR
13824 (display-buffer-normalize-options): Move special-display-p group
13825 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13826
6d10d800
CY
138272011-06-18 Chong Yidong <cyd@stupidchicken.com>
13828
6420d28b
CY
13829 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13830 groups (Bug#8776).
13831 (rx-submatch-n): New function.
13832 (rx): Document it.
13833
ddb8b596
CY
13834 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13835 (Bug#8768).
13836
13837 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13838
77080289
CY
13839 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13840
61dfb316
CY
13841 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13842 anytime existing face settings are present (Bug#8889).
13843
6d10d800
CY
13844 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13845 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13846 Remove unused argument.
13847
be3fb2b8
MR
138482011-06-18 Martin Rudalics <rudalics@gmx.at>
13849
bcd70d97
SM
13850 * window.el (display-buffer-default-specifiers):
13851 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13852 pop-up-window-min-width, and another reuse-window specifier
13853 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13854 (display-buffer-normalize-specifiers-2):
13855 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13856 pop-up-windows is unset. Add a reuse-window specifier for the
13857 case popping up a new window fails.
13858 (special-display-popup-frame): Remove double quoting.
28dec25a 13859 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13860
1c6d8c76
SM
138612011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13862
13863 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13864 according to comint-completion-addsuffix.
13865
13866 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13867 (pcomplete-suffix-list): Mark as obsolete.
13868 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13869 pcomplete-seen in the closure.
13870 (pcomplete-comint-setup): Setup completion-at-point as well.
13871 (pcomplete--entries): New function.
13872 (pcomplete--env-regexp): New var.
13873 (pcomplete-entries): Rewrite to work with partial-completion and
13874 without relying on pcomplete-suffix-list.
13875 (pcomplete-pare-list): Remove, unused.
13876
25aef8b8
MR
138772011-06-17 Martin Rudalics <rudalics@gmx.at>
13878
13879 * window.el (display-buffer-alist): Set pop-up-window-min-height
13880 and pop-up-window-min-width in default value. Reported by
13881 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13882 other-window-means-other-frame.
13883 (display-buffer-macro-specifiers): Comment out entry for
13884 other-window specifier.
13885 (display-buffer-other-window-means-other-frame): New function.
13886 (display-buffer-normalize-specifiers-1): New arguments
13887 buffer-name and label. Treat other-window case specially.
13888 (display-buffer-normalize-specifiers-2): Treat other-window case
13889 specially.
13890 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13891 (display-buffer-normalize-specifiers):
13892 Call display-buffer-normalize-specifiers-3.
25aef8b8 13893
dbad4f69
MR
138942011-06-17 Martin Rudalics <rudalics@gmx.at>
13895
13896 * window.el (same-window-p): Fix two typos introduced when
13897 adding with-no-warnings.
d1067961
MR
13898 (display-buffer-normalize-specifiers-1): Don't check
13899 pop-up-frames for 'unset initialization.
13900 (display-buffer-normalize-specifiers-2): Major rewrite using
13901 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13902 (pop-up-frames, display-buffer-reuse-frames)
13903 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13904 Suggested by David Engster <deng@randomsample.de>.
13905 (even-window-heights): Initialize to 'unset.
13906 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13907 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13908 other window case.
dbad4f69 13909
9b9c9e3a
MR
139102011-06-16 Martin Rudalics <rudalics@gmx.at>
13911
bcd70d97
SM
13912 * window.el (display-buffer-normalize-specifiers-1):
13913 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13914 second argument of display-buffer (Bug#8865).
981d5c09
MR
13915 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13916 (switch-to-buffer-other-window-same-frame)
13917 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13918 Adams (Bug#8875).
9c2755e9
MR
13919 (display-buffer): Don't check noninteractive when calling
13920 display-buffer-pop-up-frame.
13921 (display-buffer-pop-up-frame): Never pop up a frame in
13922 noninteractive mode (Bug#8857).
67222e1d
MR
13923 (enlarge-window, shrink-window): Don't report an error when the
13924 window can't be resized as requested (Bug#8862).
9b9c9e3a 13925
2b75be67
SM
139262011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13927
9ffdd3ba
SM
13928 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13929
cb581a67
SM
13930 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13931
2b75be67
SM
13932 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13933
8c0e3589
AM
139342011-06-15 Alan Mackenzie <acm@muc.de>
13935
cb581a67
SM
13936 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13937 for declarators, disable knr checking to speed up for normal files.
13938 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13939
b96e6cde
LMI
139402011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13941
4bba86e6
LMI
13942 * net/network-stream.el (open-network-stream): Add the keyword
13943 :always-query-capabilities for the case where you want to force a
13944 `plain' network connection, but the protocol still requires the
13945 capabilitiy command (i.e., SMTP and EHLO).
13946
2b75be67 13947 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13948 consistency with other `-live-p' functions.
13949
efdcdbf8
SM
139502011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13951
13952 * window.el (same-window-buffer-names, same-window-regexps)
13953 (special-display-frame-alist, special-display-popup-frame)
13954 (special-display-function, special-display-buffer-names)
13955 (special-display-regexps, pop-up-frame-alist)
13956 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13957 (pop-up-windows, split-window-preferred-function)
13958 (split-height-threshold, split-width-threshold, even-window-heights)
13959 (display-buffer-mark-dedicated): Don't encourage the use of
13960 display-buffer-alist from Elisp code.
13961
c5cde042
DN
139622011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13963
13964 * progmodes/python.el (python-mode): Derive from prog-mode.
13965 * progmodes/ps-mode.el (ps-mode):
13966 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13967 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13968 * progmodes/ld-script.el (ld-script-mode): Likewise.
13969
baa1c9ab
MR
139702011-06-15 Martin Rudalics <rudalics@gmx.at>
13971
13972 * window.el (display-buffer-alist): Trim default value to avoid
13973 popping up a new frame (Bug#8857) or reusing an arbitrary window
13974 on another frame.
13975 (display-buffer): Do not fall back on popping up a new frame in
13976 batch mode (Bug#8857).
13977
c5dd5a51
CY
139782011-06-14 Chong Yidong <cyd@stupidchicken.com>
13979
13980 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13981 (custom-theme-summary): New function.
13982 (customize-themes): Use it.
13983
d647b7c4
GM
139842011-06-13 Glenn Morris <rgm@gnu.org>
13985
13986 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13987
9481c002
MR
139882011-06-13 Martin Rudalics <rudalics@gmx.at>
13989
357f93d2
MR
13990 * help.el (help-window): Remove variable.
13991 (help-window-point-marker, temp-buffer-max-height)
13992 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13993 (help-print-return-message): Don't set help-window.
13994 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13995 (help-window-setup-finish): Remove.
13996 (help-window-display-message, help-window-setup)
13997 (with-help-window): Major rewrite based on new
13998 display-buffer-window variable.
13999
14000 * help-mode.el (help-mode-finish): Remove help-window related
14001 code.
14002
14003 * view.el (view-exits-all-viewing-windows): Remove reference to
14004 view-return-to-alist in doc-string.
14005 (view-return-to-alist): Make obsolete.
14006 (view-buffer): Call pop-to-buffer-same-window and remove
14007 undo-window code.
14008 (view-buffer-other-window): Call pop-to-buffer-other-window and
14009 simplify code. Ignore second argument.
14010 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14011 simplify code. Ignore second argument.
14012 (view-return-to-alist-update): Make obsolete.
14013 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14014 Rewrite using quit-restore window parameters.
2b75be67
SM
14015 (view-mode-exit): Rename second argument to EXIT-ONLY.
14016 Rewrite using quit-restore-window.
357f93d2
MR
14017 (View-exit, View-exit-and-edit, View-leave, View-quit)
14018 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14019 appropriate arguments.
14020 (view-end-message): Use quit-restore window parameter.
14021
9481c002
MR
14022 * window.el (display-buffer-function): Rewrite doc-string.
14023 (display-buffer-window, display-buffer-alist): New variables.
14024 (display-buffer-split-specifiers)
14025 (display-buffer-side-specifiers)
14026 (display-buffer-macro-specifiers): New constants.
14027 (display-buffer-even-window-sizes, display-buffer-set-height)
14028 (display-buffer-set-width, display-buffer-select-window)
14029 (display-buffer-in-window, display-buffer-reuse-window)
14030 (display-buffer-split-window-1, display-buffer-split-window)
14031 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14032 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14033 (display-buffer-in-side-window, normalize-buffer-to-display)
14034 (display-buffer-normalize-specifiers-1)
14035 (display-buffer-normalize-specifiers-2)
2b75be67
SM
14036 (display-buffer-normalize-specifiers, display-buffer-frame):
14037 New functions.
9481c002
MR
14038 (display-buffer): Major rewrite.
14039 (display-buffer-other-window, display-buffer-other-frame)
14040 (pop-to-buffer, switch-to-buffer-other-window)
14041 (switch-to-buffer-other-frame): Rewrite.
14042 (display-buffer-same-window, display-buffer-same-frame)
14043 (display-buffer-same-frame-other-window)
14044 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14045 (pop-to-buffer-other-window)
14046 (pop-to-buffer-same-frame-other-window)
14047 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14048 (switch-to-buffer-other-window-same-frame): New functions.
14049 (same-window-p, special-display-p): Rewrite disabling warnings.
14050 Make obsolete.
14051 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14052 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14053 Make obsolete
14054 (same-window-buffer-names, same-window-regexps)
14055 (special-display-frame-alist, special-display-popup-frame)
14056 (special-display-function, special-display-buffer-names)
14057 (special-display-regexps, pop-up-frame-alist)
14058 (pop-up-frame-function, split-window-preferred-function)
14059 (split-height-threshold, split-width-threshold)
14060 (even-window-heights): Make obsolete.
14061
9db51aca
GM
140622011-06-12 Glenn Morris <rgm@gnu.org>
14063
14064 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 14065 Misc simplifications.
9db51aca 14066
39cffb44
MR
140672011-06-12 Martin Rudalics <rudalics@gmx.at>
14068
14069 * window.el (window-safely-shrinkable-p): Restore function which
14070 was inadvertently removed in change from 2011-06-11. Declare as
14071 obsolete.
14072
2b75be67
SM
14073 * calendar/calendar.el (calendar-generate-window):
14074 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
14075 window-safely-shrinkable-p.
14076
a8955be7
GM
140772011-06-12 Glenn Morris <rgm@gnu.org>
14078
14079 * progmodes/fortran.el (fortran-mode-syntax-table):
14080 * progmodes/f90.el (f90-mode-syntax-table):
14081 Set % to punctuation. (Bug#8820)
14082 (f90-find-tag-default): Remove, no longer needed.
14083
f0d4059d
DC
140842011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14085
14086 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14087
1100a63c
CY
140882011-06-11 Chong Yidong <cyd@stupidchicken.com>
14089
14090 * image.el (image-animated-p): Return animation delay in seconds.
14091 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14092 (image-animate-timeout): Remove DELAY argument. Don't assume
14093 every subimage has the same delay; get it from image-animated-p.
14094 (image-animate): Caller changed.
14095
def722bf
MA
140962011-06-11 Michael Albinus <michael.albinus@gmx.de>
14097
14098 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14099 to ignored backtrace functions.
14100
0a2bb1a9
GM
141012011-06-11 Glenn Morris <rgm@gnu.org>
14102
14103 * calendar/appt.el (appt-disp-window-function): Doc fix.
14104 (appt-check): Handle overlapping appointments. (Bug#8337)
14105
6198ccd0
MR
141062011-06-11 Martin Rudalics <rudalics@gmx.at>
14107
14108 * window.el (window-tree-1, window-tree): New functions, moving
14109 the latter to window.el.
14110 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14111 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14112 (bw-refresh-edges): Remove.
14113 (balance-windows-1, balance-windows-2): New functions.
14114 (balance-windows): Rewrite in terms of window tree functions,
14115 balance-windows-1 and balance-windows-2.
14116 (bw-adjust-window): Remove.
14117 (balance-windows-area-adjust): New function with functionality of
14118 bw-adjust-window but using resize-window.
2b75be67
SM
14119 (set-window-text-height): Rewrite doc-string.
14120 Use normalize-live-window and resize-window.
14121 (enlarge-window-horizontally, shrink-window-horizontally):
14122 Rename argument to DELTA.
6198ccd0
MR
14123 (window-buffer-height): New function.
14124 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14125 Rewrite using new window resize routines.
2b75be67
SM
14126 (kill-buffer-and-window, mouse-autoselect-window-select):
14127 Use ignore-errors instead of condition-case.
6198ccd0
MR
14128 (quit-window): Call delete-frame instead of delete-windows-on
14129 for the only buffer on frame.
14130
9397e56f
MR
141312011-06-10 Martin Rudalics <rudalics@gmx.at>
14132
14133 * loadup.el (top-level): Load window before files for the sake
14134 of replace-buffer-in-windows.
14135
14136 * files.el (read-buffer-to-switch)
14137 (switch-to-buffer-other-window)
2b75be67
SM
14138 (switch-to-buffer-other-frame, display-buffer-other-frame):
14139 Move to window.el.
9397e56f
MR
14140
14141 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14142 (previous-buffer): Move to window.el.
14143
14144 * bindings.el (unbury-buffer): Move to window.el.
14145
14146 * window.el (delete-other-windows-vertically): Move after
14147 definition of delete-other-windows.
14148 (other-window, delete-windows-on, replace-buffer-in-windows):
14149 Move here from window.c.
14150 (record-window-buffer, unrecord-window-buffer)
14151 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14152 (switch-to-next-buffer): New functions.
14153 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14154 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
14155 (previous-buffer): Move here from simple.el.
14156 Call switch-to-prev-buffer.
9397e56f
MR
14157 (bury-buffer): Move here from buffer.c. Switch to previous
14158 buffer when window cannot be deleted.
14159 (unbury-buffer): Move here from bindings.el.
14160 (ctl-x-map): Move binding for other-window from window.c to
14161 here.
14162 (read-buffer-to-switch, switch-to-buffer-other-window)
14163 (switch-to-buffer-other-frame): Move here from files.el.
14164 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
14165 (switch-to-buffer): Move here from buffer.c.
14166 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 14167
562dd5e9
MR
141682011-06-10 Martin Rudalics <rudalics@gmx.at>
14169
14170 * window.el (window-min-height, window-min-width): Move here
14171 from window.c. Add defcustoms and rewrite doc-strings.
14172 (resize-mini-window, resize-window): New functions.
14173 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14174 Move here from window.c.
14175 (maximize-window, minimize-window): New functions.
14176 (delete-window, delete-other-windows, split-window): Move here
14177 from window.c.
14178 (window-split-min-size): New function.
14179 (split-window-keep-point): Mention split-window-above-each-other
14180 instead of split-window-vertically.
2b75be67 14181 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
14182 Rename split-window-vertically to split-window-above-each-other
14183 and provide defalias for old definition.
14184 (split-window-side-by-side, split-window-horizontally):
14185 Rename split-window-horizontally to split-window-side-by-side
14186 and provide defalias for the old definition.
562dd5e9
MR
14187 (ctl-x-map): Move bindings for delete-window,
14188 delete-other-windows and enlarge-window here from window.c.
14189 Replace bindings for split-window-vertically and
14190 split-window-horizontally by bindings for
14191 split-window-above-each-other and split-window-side-by-side.
14192
14193 * cus-start.el (all): Remove entries for window-min-height and
14194 window-min-width. Add entries for window-splits and
14195 window-nest.
14196
f0da764a
GM
141972011-06-09 Glenn Morris <rgm@gnu.org>
14198
80675c21
GM
14199 * calendar/appt.el (appt-mode-line): New function.
14200 (appt-check, appt-disp-window): Use it.
14201
f0da764a
GM
14202 * files.el (hack-one-local-variable-eval-safep):
14203 Allow minor-modes with explicit +/-1 arguments.
14204
59f623b7
TZ
142052011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14206
14207 * term/xterm.el (xterm): Add defgroup.
14208 (xterm-extra-capabilities): Add defcustom to supply known xterm
14209 capabilities, skip querying them, or query them (default).
14210 (terminal-init-xterm): Use it.
14211 (terminal-init-xterm-modify-other-keys): New function to set up
14212 modifyOtherKeys support to simplify `terminal-init-xterm'.
14213
9aab8e0d
MR
142142011-06-09 Martin Rudalics <rudalics@gmx.at>
14215
14216 * window.el (resize-window-reset, resize-window-reset-1)
14217 (resize-subwindows-skip-p, resize-subwindows-normal)
14218 (resize-subwindows, resize-other-windows, resize-this-window)
14219 (resize-root-window, resize-root-window-vertically)
14220 (window-deletable-p, window-or-subwindow-p)
14221 (frame-root-window-p): New functions.
14222
e8b08aee
GM
142232011-06-09 Glenn Morris <rgm@gnu.org>
14224
14225 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14226 (ange-ftp-get-files): Use it.
14227
254c37a5
AK
142282011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14229
14230 * mail/sendmail.el (mail-recover-1, mail-recover):
14231 * files.el (recover-file, recover-session):
14232 Handle dired-listing-switches not being just a single short option.
14233
35d7dbd3
GM
142342011-06-09 Glenn Morris <rgm@gnu.org>
14235
14236 * calendar/appt.el (appt-display-message, appt-disp-window):
14237 Handle lists of appointments.
14238
387522b2
MR
142392011-06-08 Martin Rudalics <rudalics@gmx.at>
14240
2b75be67
SM
14241 * window.el (one-window-p): Move down in code.
14242 Rewrite doc-string.
14243 (window-current-scroll-bars): Rewrite doc-string.
14244 Normalize live window argument.
387522b2
MR
14245 (walk-windows, get-window-with-predicate, count-windows):
14246 Rewrite doc-string. Use window-list-1.
14247 (window-in-direction-2, window-in-direction, get-mru-window):
14248 New functions.
14249
d8e4b68b 142502011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14251
14252 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14253 Doc fix (Bug#8713).
14254
142552011-06-08 Chong Yidong <cyd@stupidchicken.com>
14256
14257 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14258
142592011-06-08 Juanma Barranquero <lekktu@gmail.com>
14260
14261 * loadhist.el (unload-feature-special-hooks):
14262 Add `comint-output-filter-functions'.
14263
0de12c52
IK
142642011-06-08 Ivan Kanis <gnu@kanis.fr>
14265
14266 * calendar/appt.el (appt-check): Move some initializations into the let.
14267
f3d1777e
MR
142682011-06-08 Martin Rudalics <rudalics@gmx.at>
14269
14270 * window.el (window-height): Defalias to window-total-height.
14271 (window-width): Defalias to window-body-width.
14272
18af70d0
CY
142732011-06-07 Chong Yidong <cyd@stupidchicken.com>
14274
14275 * image-mode.el (image-toggle-animation): New command.
14276 (image-mode-map): Bind it to RET.
14277 (image-mode): Update message.
14278 (image-toggle-display-image): Avoid a spurious cache flush.
14279 (image-transform-rotation): Doc fix.
14280 (image-transform-properties): Return quickly in the normal case.
14281 (image-animate-loop): Rename from image-animate-max-time.
14282
2b75be67 14283 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14284 (create-animated-image): Remove unnecessary function.
14285 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14286 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14287 (image-animate-timer): Use car-safe.
14288 (image-animate-timeout): Rename argument.
14289
190b47e6
MR
142902011-06-07 Martin Rudalics <rudalics@gmx.at>
14291
14292 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14293 window.c. Rename first argument to ALL-FRAMES.
14294 Rephrase doc-strings.
14295 (get-buffer-window-list): Rewrite using window-list-1.
14296 Rephrase doc-string.
a1511caf
MR
14297 (window-safe-min-height, window-safe-min-width): New constants.
14298 (window-size-ignore, window-min-size, window-min-size-1)
14299 (window-sizable, window-sizable-p, window-size-fixed-1)
14300 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14301 (window-max-delta-1, window-max-delta, window-resizable)
14302 (window-resizable-p, window-total-height, window-total-width)
14303 (window-body-width): New functions.
14304 (window-full-height-p, window-full-width-p): Rewrite using
14305 window-total-size.
14306 (window-body-height): Rewrite using window-body-size.
190b47e6 14307
85cc1f11
MR
143082011-06-06 Martin Rudalics <rudalics@gmx.at>
14309
14310 * window.el (window-right, window-left, window-child)
14311 (window-child-count, window-last-child, window-any-p)
14312 (normalize-live-buffer, normalize-live-frame)
14313 (normalize-any-window, normalize-live-window)
14314 (window-iso-combination-p, window-iso-combined-p)
14315 (window-iso-combinations)
14316 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14317 (windows-with-parameter, window-with-parameter)
14318 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14319 (window-atom-check, window-side-check, window-check):
14320 New functions.
85cc1f11
MR
14321 (ignore-window-parameters, window-sides, window-sides-vertical)
14322 (window-sides-slots): New variables.
14323 (window-size-fixed): Move down in code. Minor doc-string fix.
14324
e7156492
AS
143252011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14326
14327 * comint.el (comint-dynamic-complete-as-filename)
14328 (comint-dynamic-complete-filename): Correctly call
14329 completion-in-region.
14330
7e821d0d
DD
143312011-06-05 Deniz Dogan <deniz@dogan.se>
14332
14333 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14334 in last change.
14335
ac09b8a1
DD
143362011-06-05 Deniz Dogan <deniz@dogan.se>
14337
14338 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14339 (rcirc): Use it to prompt for encryption.
14340
34699b85
RW
143412011-06-05 Roland Winkler <winkler@gnu.org>
14342
14343 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14344 (bibtex-search-entries): New command bound to C-c C-a.
14345 (bibtex-display-entries): New function.
14346
004dedd3
RW
143472011-06-05 Roland Winkler <winkler@gnu.org>
14348
14349 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14350 (bibtex-insert-kill): After yanking insert newline if necessary.
14351 (bibtex-initialize): Call bibtex-string-files-init only once.
14352 (bibtex-mode): Do not call easy-menu-add.
14353 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14354 (bibtex-yank): Set arg properly if nil.
14355
022fe7ce
RW
143562011-06-05 Roland Winkler <winkler@gnu.org>
14357
2b75be67
SM
14358 * textmodes/bibtex.el (bibtex-search-entry-globally):
14359 New variable.
022fe7ce
RW
14360 (bibtex-search-entry): Use it.
14361
b7c3692a
RW
143622011-06-05 Roland Winkler <winkler@gnu.org>
14363
14364 * textmodes/bibtex.el (bibtex-entry-format): New option
14365 sort-fields.
14366 (bibtex-format-entry, bibtex-reformat): Honor this option.
14367 (bibtex-parse-entry): Return fields in proper order.
14368
8eda563d
JB
143692011-06-05 Juanma Barranquero <lekktu@gmail.com>
14370
14371 * doc-view.el (doc-view-remove-if): Move computation of result out
14372 of `dolist' to silence misleading lexical-binding warning.
14373
7dbe3dbc
CY
143742011-06-04 Chong Yidong <cyd@stupidchicken.com>
14375
14376 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14377 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14378
0c33dd17
MA
143792011-06-04 Michael Albinus <michael.albinus@gmx.de>
14380
14381 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14382 "SunOS 5.10".
14383
f8f91c2b
MA
143842011-06-04 Michael Albinus <michael.albinus@gmx.de>
14385
14386 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14387 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14388 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14389 (tramp-parse-putty):
14390 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14391 (tramp-completion-function-alist-ssh)
14392 (tramp-completion-function-alist-telnet)
14393 (tramp-completion-function-alist-su)
14394 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14395 cookie.
14396
14397 * net/tramp-ftp.el:
14398 * net/tramp-sh.el:
14399 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14400 load "tramp.el" `tramp-set-completion-function'.
14401
e17d9003
SM
144022011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14403
14404 * shell.el: Require and use pcomplete.
14405 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14406 (shell-completion-vars): Set pcomplete-default-completion-function.
14407
6c4cab03
DD
144082011-06-04 Deniz Dogan <deniz@dogan.se>
14409
14410 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14411 `memq' (Bug#8799).
14412
ea9fafe0
SM
144132011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14414
14415 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14416
b3e945d3
JB
144172011-06-02 Juanma Barranquero <lekktu@gmail.com>
14418
14419 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14420 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14421 * vc/log-view.el (log-view-beginning-of-defun):
14422 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14423 (smerge-refine-forward, smerge-refine-chopup-region):
14424 Silence warning for unused `dotimes' counter variables.
14425
7d520089
SM
144262011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14427
14428 * net/tramp.el (tramp-with-progress-reporter): Rename from
14429 with-progress-reporter. Use `declare'.
14430 * net/tramp-smb.el:
14431 * net/tramp-sh.el:
14432 * net/tramp-gvfs.el: Update all uses.
14433
a1c2400f
JB
144342011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14435
14436 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14437 buffer isn't killed before making it current.
14438
2403c841
SM
144392011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14440
14441 Silence various byte-compiler warnings.
14442 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14443 `access-type' and new obsolescence format.
14444 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14445 new format.
14446 (byte-compile-check-variable): New `access-type' argument.
14447 Only warn if the access-type is obsolete.
14448 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14449 (byte-compile-variable-set): Adjust callers.
14450 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14451 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14452 setting it as obsolete.
14453 * simple.el (minibuffer-completing-symbol):
14454 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14455 access as obsolete.
14456 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14457 obsolete yet.
14458 * international/quail.el (quail-mouse-choose-completion): Remove unused
14459 code referring to obsolete var.
14460 (quail-choose-completion-string): Remove.
14461 * server.el (server-clients-with, server-kill-buffer-query-function)
14462 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14463 * proced.el (proced-send-signal):
14464 * emacs-lisp/lisp.el (lisp-complete-symbol):
14465 Replace completion-annotate-function with completion-extra-properties.
14466
2462470b
SM
144672011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14468
fb5b2591
SM
14469 * simple.el (goto-line): Use read-number.
14470 (overriding-map-is-bound): Remove.
14471 (saved-overriding-map): Change default.
14472 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14473 Take the map as argument.
14474 (universal-argument, negative-argument, digit-argument): Use it.
14475 (restore-overriding-map): Adjust.
14476 (do-auto-fill): Use fill-forward-paragraph.
14477 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14478
fd6fa53f
SM
14479 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14480 (minibuffer-inactive-mode): New major mode.
14481 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14482 the *Messages* buffer" hack.
14483 (mouse-popup-menubar): Don't burp if the event is a normal key.
14484
2462470b
SM
14485 Miscellaneous tweaks.
14486 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14487 lexical scoping as in subr.el's dolist and dotimes.
14488 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14489 Silence compiler warning.
14490 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14491 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14492 * international/ccl.el (ccl-compile): Trivial simplification.
14493 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14494 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14495 `printflag' argument.
14496 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14497 Purecopy the whole obsolescence data.
14498
108bf785
LL
144992011-06-01 Leo Liu <sdl.web@gmail.com>
14500
14501 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14502 improve doc-string as suggested by Marco Pessotto
14503 <melmothx@gmail.com>.
14504 (rcirc-print): Fix last change.
14505
30a23501
SM
145062011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14507
14508 * minibuffer.el (complete-with-action): Return nil for the metadata and
14509 boundaries of non-functional tables.
14510 (completion-table-dynamic): Return nil for the metadata.
14511 (completion-table-with-terminator): Add default case, using
14512 complete-with-action.
14513 (completion--metadata): New function.
14514 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14515 to try and avoid pathological performance problems.
14516 (completion--embedded-envvar-table): Return `category' metadata.
14517
bcd54f83
LMI
145182011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14519
14520 * subr.el (process-alive-p): New tiny convenience function.
14521
e227544d
SM
145222011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14523
14524 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14525 content but also its previous major mode.
14526
e8296fdc
HE
145272011-05-31 Helmut Eller <eller.helmut@gmail.com>
14528
4d61f28d 14529 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14530 *Backtrace* buffer when we exit with C-M-c.
14531
620c53a6
SM
145322011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14533
14534 * minibuffer.el: Add metadata method to completion tables.
14535 (completion-category-overrides): New defcustom.
14536 (completion-metadata, completion--field-metadata)
14537 (completion-metadata-get, completion--styles)
14538 (completion--cycle-threshold): New functions.
14539 (completion-try-completion, completion-all-completions):
14540 Add `metadata' argument to choose completion-styles.
14541 (completion--do-completion): Use metadata to choose cycling.
14542 (completion-all-sorted-completions): Use metadata for sorting.
14543 Remove :completion-cycle-penalty which is not needed any more.
14544 (completion--try-word-completion): Add `metadata' argument.
14545 (minibuffer-completion-help): Check metadata for annotation function
14546 and sorting.
14547 (completion-file-name-table): Return `category' metadata.
14548 (minibuffer-completing-file-name): Make obsolete.
14549 * simple.el (minibuffer-completing-symbol): Make obsolete.
14550 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14551 completion-try-completion.
14552
1257e755
SM
145532011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14554
14555 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14556
3767e706
LL
145572011-05-30 Leo Liu <sdl.web@gmail.com>
14558
14559 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14560 (rcirc-print): Decode all incoming messages (bug#8744).
14561 (rcirc-decode-coding-system): Allow value nil for automatic coding
14562 system detection.
3767e706 14563
d1a5d56a
GM
145642011-06-01 Glenn Morris <rgm@gnu.org>
14565
14566 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14567
e8cbec34
CY
145682011-05-29 Chong Yidong <cyd@stupidchicken.com>
14569
14570 * image.el (image-animate-max-time): Allow nil and t values.
14571 Default to nil.
14572 (create-animated-image): Doc fix.
14573 (image-animate-start): Remove second arg; just use
14574 image-animate-max-time.
14575 (image-animate-timeout): Doc fix. Args changed.
14576
14577 * image-mode.el (image-toggle-display-image): Ensure that the
14578 image spec passed to the animate timer is the same object as in
58179cce 14579 the buffer's display property (Bug#6981).
e8cbec34
CY
14580 (image-transform-properties): Doc fix.
14581
14582 * image.el (image-animate-max-time): Default to nil.
14583
159daf87
MR
145842011-05-29 Martin Rudalics <rudalics@gmx.at>
14585
14586 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14587 entire buffer list (Bug#8184).
14588
d66c4c7c
CY
145892011-05-29 Chong Yidong <cyd@stupidchicken.com>
14590
14591 * image.el (imagemagick-types-inhibit)
14592 (imagemagick-register-types): Doc fix.
14593
80aec780
DD
145942011-05-29 Deniz Dogan <deniz@dogan.se>
14595
14596 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14597 default.
14598
1dd3c2d9
CY
145992011-05-29 Chong Yidong <cyd@stupidchicken.com>
14600
14601 * select.el: Don't perform clipboard-manager saving in hooks;
14602 leave the hooks empty.
14603
60e56523
LL
146042011-05-28 Leo Liu <sdl.web@gmail.com>
14605
14606 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14607 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14608 (occur-edit-mode): New major mode (Bug#8463).
14609 (occur-after-change-function): New function.
14610 (occur-engine): Give Occur tags a read-only property.
14611
2b1e1a22
KR
146122011-05-28 Kevin Ryde <user42@zip.com.au>
14613
14614 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14615
5d344e88
CY
146162011-05-28 Chong Yidong <cyd@stupidchicken.com>
14617
8e6ca83d
CY
14618 * bindings.el (help-echo): Make the initial non-indicator dash
14619 empty on graphical terminals (Bug#7295).
14620
5d344e88
CY
14621 * files.el (auto-mode-alist): Move config rule after the
14622 in-stripping one (Bug#8547).
14623
bfbbace7
CY
14624 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14625
fbeba6e2
CY
14626 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14627 setting (Bug#8740).
14628
60ed8c72
AA
146292011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14630
4ac619f0
AA
14631 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14632 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14633 (Bug#8539).
60ed8c72 14634
23db196e
CY
146352011-05-28 Chong Yidong <cyd@stupidchicken.com>
14636
14637 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14638
5012f24c
DK
146392011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14640
14641 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14642 (hs-hide-block-at-point, hs-find-block-beginning)
14643 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14644 (Bug#8279).
14645
6a639b16
GM
146462011-05-28 Glenn Morris <rgm@gnu.org>
14647
14648 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14649
d43eaf2c
CY
146502011-05-28 Chong Yidong <cyd@stupidchicken.com>
14651
5199bde1
CY
14652 * help-fns.el (describe-function-1): If the function is a derived
14653 major mode, print the parent mode.
14654
d43eaf2c
CY
14655 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14656 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14657
423428a8
SM
146582011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14659
0ff8e1ba 14660 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14661 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14662 * progmodes/etags.el (tags-completion-at-point-function):
14663 * info-look.el (info-lookup-completions-at-point): Mark as
14664 non-exclusive.
14665 (info-complete): Adjust accordingly.
14666
423428a8
SM
14667 * info-look.el: Convert to lexical-binding and completion-at-point.
14668 (info-lookup-completions-at-point): New function.
14669 (info-complete): Use it and completion-in-region.
14670
b74aa22b
DA
146712011-05-28 Drew Adams <drew.adams@oracle.com>
14672
14673 * isearch.el: Let M-e start with point at the first mismatched char.
14674 (isearch-fail-pos): New function.
14675 (isearch-edit-string): Use it.
14676
66e2e71d
DK
146772011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14678
14679 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14680
b1890b0f 146812011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14682
14683 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14684 traversal functions for avl-trees.
14685 (avl-tree--stack): New struct.
14686 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14687 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14688 (avl-tree--do-enter): Add optional `updatefun' arg.
14689 Change return value.
eb95d01d 14690 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14691 (avl-tree--do-delete): Add `test' and `nilflag' args.
14692 Change return value.
eb95d01d
TC
14693 (avl-tree-member): Add optional `nilflag'
14694 (avl-tree-member-p): New function.
14695 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14696 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14697 (avl-tree-stack-empty-p): New functions.
14698
3769ddcf
TC
14699 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14700 avl-tree--del-balance1 and make it work both ways.
14701 (avl-tree--del-balance2): Remove.
14702 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14703 make it work both ways.
14704 (avl-tree--enter-balance2): Remove.
14705 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14706 New macros.
14707 (avl-tree--mapc, avl-tree-map): Add direction argument.
14708
eb95d01d 147092011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14710
14711 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14712
a9f737ee
CY
147132011-05-27 Chong Yidong <cyd@stupidchicken.com>
14714
14715 * select.el: Support clipboard managers with built-in function
14716 x-clipboard-manager-save, via delete-frame-functions and
14717 kill-emacs-hook.
14718 (xselect-convert-to-targets): Add MULTIPLE target to list.
14719 (xselect-convert-to-save-targets): New function.
14720
c92a1e54
KH
147212011-05-27 Kenichi Handa <handa@m17n.org>
14722
14723 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14724 let-binding rfc2047-encode-encoded-words to nil.
14725
e145f188
GM
147262011-05-27 Glenn Morris <rgm@gnu.org>
14727
5ec8a862
GM
14728 * mail/emacsbug.el: Don't require url-util.
14729
4b29d9fb
GM
14730 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14731
e145f188
GM
14732 * files.el (set-auto-mode):
14733 Also respect mode: entries at the end of the file. (Bug#8586)
14734
7d15102b
GM
147352011-05-26 Glenn Morris <rgm@gnu.org>
14736
98f593b8
GM
14737 * files.el (hack-local-variables-prop-line, hack-local-variables):
14738 Downcase mode names, as seems to be traditional.
27b48e63 14739 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14740
7d15102b
GM
14741 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14742 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14743
51d5b4ec
JD
147442011-05-25 Julien Danjou <julien@danjou.info>
14745
14746 * textmodes/rst.el (rst-define-level-faces): Do not define face
14747 symbol if it is already defined.
14748
91513f63
VB
147492011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14750
14751 * play/5x5.el (5x5-new-game, 5x5-randomize):
14752 Reset 5x5-solver-output to nil when a new grid is cast.
14753 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14754 these debugging traces, as defmacro breaks the compiled code.
14755
4d90d6d0
DK
147562011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14757
14758 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14759
e1b90ef6
LL
147602011-05-24 Leo Liu <sdl.web@gmail.com>
14761
14762 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14763 (vc-bzr-sha1): Adapt.
14764
d8e4b68b 14765 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14766
14767 * bindings.el: Provide sha1 feature.
14768
db0406bb 147692011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14770
14771 * mail/sendmail.el: Require `rfc2047'.
14772 (mail-insert-from-field): Do not perform RFC2047 encoding.
14773 (mail-encode-header): New function.
14774 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14775 buffer to the return value of select-message-coding-system.
14776 Call mail-encode-header.
b8d747b9
KH
14777
14778 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14779
db0406bb 147802011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14781
4d90d6d0
DK
14782 * mail/supercite.el (sc-default-cite-frame):
14783 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14784
eb8a5e9b
GM
147852011-05-24 Glenn Morris <rgm@gnu.org>
14786
f8630703
GM
14787 * progmodes/python.el (brm-menu): Declare.
14788
8831bbed
GM
14789 * emulation/viper.el (viper-set-hooks): Declare.
14790
eb8a5e9b
GM
14791 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14792 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14793 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14794 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14795 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14796 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14797
a2a25d24
SM
147982011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14799
14800 Add an :exit-function for completion-at-point.
14801
14802 * minibuffer.el (completion--done): New fun.
14803 (completion--do-completion): Use it. New arg `expect-exact'.
14804 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14805 since completion--do-completion does it for us now.
14806 (minibuffer-force-complete): Use completion--done and
14807 completion--replace. Handle sole-completion case with more care.
14808 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14809 (completion-extra-properties): New var.
14810 (completion-annotate-function): Make obsolete.
14811 (minibuffer-completion-help): Adjust accordingly.
14812 Use completion-list-insert-choice-function.
14813 (completion-at-point, completion-help-at-point):
14814 Bind completion-extra-properties.
14815 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14816 * simple.el (completion-list-insert-choice-function): New var.
14817 (completion-setup-function): Preserve it.
14818 (choose-completion): Pay attention to it, shuffle the code a bit.
14819 (choose-completion-string): New arg `insert-function'.
14820
14821 * textmodes/bibtex.el: Convert to lexical binding.
14822 (bibtex-mode-map): Use completion-at-point.
14823 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14824 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14825 (bibtex-complete): Define as obsolete alias.
14826 (bibtex-complete-internal): Remove.
14827 (bibtex-format-entry): Remove unused sub-group in regexp.
14828 * shell.el (shell--command-completion-data)
14829 (shell-environment-variable-completion):
14830 * pcomplete.el (pcomplete-completions-at-point):
14831 * comint.el (comint--complete-file-name-data): Use :exit-function
14832 instead of completion-table-with-terminator so it also works for
14833 choose-completion.
14834
e44e373d
SM
148352011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14836
4f91a816
SM
14837 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14838
782fc819
SM
14839 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14840 (bug#8710).
14841
e44e373d
SM
14842 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14843
381987c3
KM
148442011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14845
14846 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14847 customization variable and implement: If non-nil, auto-fill will
14848 be inhibited while on topic's header line.
14849
b776bc70
VB
148502011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14851
14852 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14853 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14854 always have a solution in grid size = 5 cases.
14855 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14856 (5x5-solver-output, 5x5-log-buffer): New vars.
14857 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14858 Make these variables buffer local to achieve 5x5 multi-session-ness.
14859 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14860 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14861 (5x5-solve-suggest): New funs.
14862 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14863 randomize a grid so that we ensure that there is always a solution.
14864 (5x5-make-random-grid): Allow other movement than flipping.
14865
7de88b6e
KR
148662011-05-23 Kevin Ryde <user42@zip.com.au>
14867
14868 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14869 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14870 advice and passes PREDICATE.
14871
b1ef1257
SM
148722011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14873
bbca48fe
SM
14874 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14875 byte-compile-lambda if it's actually a lambda.
14876
b1ef1257
SM
14877 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14878 Fix function quoting. Use backquote better.
14879
92a9cc65
YS
148802011-05-22 Yuanle Song <sylecn@gmail.com>
14881
14882 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14883 matching (Bug#8516).
14884
f0fb8059
JA
148852011-01-22 Jari Aalto <jari.aalto@cante.net>
14886
14887 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14888 different face (Bug#8178).
14889
d5b44c93
CY
148902011-05-22 Chong Yidong <cyd@stupidchicken.com>
14891
14892 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14893 defface (Bug#8144).
14894
79106a44
SM
148952011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14896
9c848d8a
SM
14897 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14898 funcall as well (bug#8712). Warn when performing those conversions.
14899 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14900
79106a44
SM
14901 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14902
88dfa756
GM
149032011-05-22 Glenn Morris <rgm@gnu.org>
14904
14905 * files.el (hack-local-variables-prop-line): Small simplifications.
14906 (hack-local-variables, hack-local-variables-prop-line):
14907 If MODE-ONLY, return the mode, rather than just `t'.
14908
b7cf2c79
SM
149092011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14910
14911 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14912
3f1a8558
GM
149132011-05-21 Glenn Morris <rgm@gnu.org>
14914
7e4ccca3
GM
14915 * files.el (hack-local-variables-prop-line, hack-local-variables):
14916 If only interested in the mode, don't bother doing the other stuff.
14917
637d46ca
GM
14918 * image-mode.el (image-after-revert-hook):
14919 Redraw all frames on which the image is visible. (Bug#8567)
14920
973d955b
GM
14921 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14922
3f1a8558
GM
14923 * wid-edit.el (widget-checklist-match-inline):
14924 Fix 2011-04-19 change. (Bug#8649)
14925
96479927
SM
149262011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14927
1dcf791f
SM
14928 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14929 Also allow singlespace after single-letter capitals followed by a dot.
14930
96479927
SM
14931 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14932 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14933
35fd0881
N
149342011-05-20 Nix <nix@esperi.org.uk>
14935
14936 * files.el (basic-save-buffer-2):
14937 Fix handling of break-hardlink-on-save with non-existent files.
14938
82745640
DD
149392011-05-19 Deniz Dogan <deniz@dogan.se>
14940
14941 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14942 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14943
4a720484
GM
149442011-05-19 Glenn Morris <rgm@gnu.org>
14945
d1f21341
GM
14946 * progmodes/f90.el (f90-type-def-re):
14947 Handle "type, bind(c)". (Bug#8691)
14948
4a720484
GM
14949 * emacs-lisp/autoload.el (batch-update-autoloads):
14950 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14951
2fb0a219
MA
149522011-05-18 Michael Albinus <michael.albinus@gmx.de>
14953
14954 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14955 property for the correct connection in case of multihops.
14956
e565dd37
GM
149572011-05-18 Glenn Morris <rgm@gnu.org>
14958
c2571358 14959 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14960 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14961
e565dd37
GM
14962 Rationalize calendar handling of day and month abbrev-arrays.
14963 * calendar/calendar.el (calendar-customized-p): New function.
14964 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14965 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14966 Add :set function.
14967 (calendar-abbrev-length, calendar-day-abbrev-array)
14968 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14969 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14970 Elements may no longer be nil.
14971 (calendar-day-name, calendar-month-name):
14972 Update for changed nature of abbrev arrays.
14973 * calendar/diary-lib.el (diary-name-pattern):
14974 Update for changed nature of abbrev arrays.
14975 (diary-mark-entries-1): Update calendar-make-alist calls.
14976 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14977 * calendar/cal-html.el (cal-html-day-abbrev-array):
14978 Simply inherit from calendar-day-abbrev-array.
14979
1d99a745
SM
149802011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14981
14982 * progmodes/grep.el (grep-mode): Disable default
14983 compilation-directory-matcher setting (bug#8684).
14984
7c1d9aa0
MA
149852011-05-17 Michael Albinus <michael.albinus@gmx.de>
14986
14987 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14988 instead of "head" and "tail". There were problems with SunOS 5.9,
14989 and it performs better.
14990
3952e9d8
GM
149912011-05-17 Glenn Morris <rgm@gnu.org>
14992
2dd12e7f
GM
14993 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14994
e4157b9c
GM
14995 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14996 Replace obsolete function.
14997
8e249bbd
GM
14998 * shell.el (pcomplete-parse-arguments-function): Declare.
14999
3952e9d8
GM
15000 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15001 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15002 (appt-check): Doc fixes.
15003 (appt-disp-window-function, appt-delete-window-function):
15004 Remove needless special case in custom :type.
15005 (appt-display-count): Default to 0, not nil.
15006 (appt-check): Reset appt-display-count to 0, not nil.
15007
c71a0d48 150082011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 15009
c71a0d48
GM
15010 * progmodes/python.el (python-font-lock-keywords):
15011 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 15012
31d55be9
SM
150132011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15014
15015 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15016
3bfacb2f
KR
150172011-05-16 Kevin Ryde <user42@zip.com.au>
15018
15019 * info-look.el (makefile-automake-mode): New setups, looking in
15020 automake manual, then makefile-mode.
15021 (makefile-mode): Remove automake manual, have it just in
15022 makefile-automake-mode since there's various things different or
15023 not relevant to plain make.
15024 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15025 believe a hypothetical automake-mode would go to makefile-mode,
15026 not the other way around.
15027
c8e83751
CY
150282011-05-15 Chong Yidong <cyd@stupidchicken.com>
15029
5e9e35cd
CY
15030 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15031 hunk-end tags (Bug#8672).
15032
c8e83751
CY
15033 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15034 vc-annotate-show-diff-revision-at-line (Bug#8671).
15035
50b23e5a
GM
150362011-05-14 Glenn Morris <rgm@gnu.org>
15037
7210a739
GM
15038 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15039 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
15040 (change-log-font-lock-keywords): Also handle multiple author lines
15041 with leading tabs. (Bug#8644)
7210a739 15042
4691905a
GM
15043 * calendar/appt.el (appt-check): Rename some local variables.
15044 Some simplification/reordering.
15045
50b23e5a
GM
15046 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15047 (feedmail-sendmail-f-doesnt-sell-me-out)
15048 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15049 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15050 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
15051 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15052 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
15053 (feedmail-binmail-gnulinuxish-template):
15054 Rename from feedmail-binmail-linuxish-template.
15055 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15056 Use insert-buffer-substring.
15057
215cda7c
BC
150582011-05-14 Bill Carpenter <bill@carpenter.org>
15059
15060 * mail/feedmail.el (feedmail-patch-level): Increase.
15061 (feedmail-debug): New custom group.
15062 (feedmail-confirm-outgoing-timeout)
15063 (feedmail-sendmail-f-doesnt-sell-me-out)
15064 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15065 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15066 (feedmail-sender-line, feedmail-from-line)
15067 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 15068 (feedmail-spray-this-address)
215cda7c
BC
15069 (feedmail-spray-address-fiddle-plex-list)
15070 (feedmail-queue-use-send-time-for-date)
15071 (feedmail-queue-use-send-time-for-message-id)
15072 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15073 (feedmail-buffer-eating-function):
15074 Doc fixes.
15075 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15076 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15077 (feedmail-message-action-scroll-down): New functions.
15078 (feedmail-queue-directory, feedmail-queue-draft-directory):
15079 Use expand-file-name.
15080 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15081 Remove C-v help entry.
15082 (feedmail-queue-buffer-file-name): New variable.
15083 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15084 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15085 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15086 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15087 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15088 (feedmail-message-action-toggle-spray)
15089 (feedmail-run-the-queue-no-prompts)
15090 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15091 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15092 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15093 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15094 (feedmail-envelope-deducer, feedmail-fiddle-from)
15095 (feedmail-fiddle-sender, feedmail-default-date-generator)
15096 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15097 (feedmail-fiddle-spray-address)
15098 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15099 (feedmail-fiddle-list-of-fiddle-plexes)
15100 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15101 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15102 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15103 Change default. Doc fix.
15104 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15105 (feedmail-binmail-linuxish-template): New constant.
15106 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15107 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15108 (feedmail-send-it): Add debug call.
15109 Use feedmail-queue-buffer-file-name, and
15110 feedmail-send-it-immediately-wrapper.
15111 (feedmail-message-action-send): Add debug call.
15112 Use feedmail-send-it-immediately-wrapper.
15113 (feedmail-queue-express-to-queue): Add debug call.
15114 Run feedmail-queue-express-hook.
15115 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15116 (feedmail-message-action-help-blat):
15117 Rename from feedmail-queue-send-edit-prompt-help-first.
15118 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15119 Check line-endings. Handle errors better.
15120 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15121 Doc fix. Add debug call.
15122 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15123 Use feedmail-queue-send-edit-prompt-inner.
15124 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15125 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15126 from feedmail-queue-send-edit-prompt.
15127 (feedmail-queue-send-edit-prompt-help)
15128 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15129 (feedmail-tidy-up-slug): Add debug call.
15130 Respect feedmail-queue-slug-suspect-regexp.
15131 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15132 (feedmail-dump-message-to-queue): Add debug call.
15133 Expand queue-directory.
15134 (feedmail-dump-message-to-queue): Change message slightly.
15135 Use feedmail-say-chatter.
15136 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15137 (feedmail-send-it-immediately-wrapper): New function.
15138 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15139 Insert empty string rather than newline. Handle full-frame case.
15140 Use catch/throw. Use feedmail-say-chatter.
15141 (feedmail-fiddle-from): Try mail-host-address.
15142 (feedmail-default-message-id-generator): Doc fix.
15143 Bind system-time-locale. Handle missing end.
15144 (feedmail-fiddle-x-mailer): Add debug call.
15145 Handle feedmail-x-mailer-line being nil.
15146 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15147 Add debug call. Use buffer-substring-no-properties.
15148 (feedmail-say-debug, feedmail-say-chatter): New functions.
15149 (feedmail-find-eoh): Give an explicit error.
15150
42c7e61e
UJ
151512011-05-13 Ulf Jasper <ulf.jasper@web.de>
15152
c2571358 15153 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 15154 family from helvetica to sans.
c2571358 15155 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15156 etc/images/newsticker.
15157
c2571358 15158 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
15159 family from helvetica to sans.
15160
15161 * net/newst-plainview.el (newsticker-new-item-face)
15162 (newsticker-old-item-face, newsticker-immortal-item-face)
15163 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 15164 (newsticker-statistics-face): Change default family from
42c7e61e 15165 helvetica to sans.
c2571358 15166 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15167 etc/images/newsticker.
15168
5d3385a0
JB
15169 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15170 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
15171 auto-marking.
15172
8497a297
DV
151732011-05-13 Didier Verna <didier@xemacs.org>
15174
15175 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
15176 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15177 TODO entries.
8497a297
DV
15178 (lisp-lambda-list-keyword-parameter-indentation)
15179 (lisp-lambda-list-keyword-parameter-alignment)
15180 (lisp-lambda-list-keyword-alignment): New customizable user options.
15181 (lisp-indent-defun-method): Improve docstring.
15182 (extended-loop-p): Fix comment.
15183 (lisp-indent-lambda-list-keywords-regexp): New variable.
15184 (lisp-indent-lambda-list): New function.
15185 (lisp-indent-259): Use it.
15186 (lisp-indent-defmethod): Support for more than one
15187 method qualifier and properly indent methods lambda-lists.
15188 (defgeneric): Provide a missing common-lisp-indent-function property.
15189
f278f87f
SM
151902011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15191
15192 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15193 bounds for the empty string (bug#8667).
15194
5233edd7
GM
151952011-05-13 Glenn Morris <rgm@gnu.org>
15196
5237a44f
GM
15197 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15198
8340026c 15199 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 15200 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 15201
5233edd7 15202 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 15203 (appt-time-msg-list): Doc fix.
a5464014 15204 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15205
92d10796
AS
152062011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15207
15208 * progmodes/ld-script.el (ld-script-keywords)
15209 (ld-script-builtins): Update keywords list.
15210
914a0ae1
SM
152112011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15212
c89be45f
SM
15213 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15214
914a0ae1
SM
15215 * shell.el (shell-completion-vars): New function.
15216 (shell-mode):
15217 * simple.el (read-shell-command): Use it.
15218 (blink-matching-open): No need for " [...]" in minibuffer-message.
15219
98dc3df3
GM
152202011-05-12 Glenn Morris <rgm@gnu.org>
15221
15222 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15223 (appt-check): Simplify.
15224
d2fc7e3d 152252011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15226
4d61f28d 15227 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15228 literal "/dev/null".
15229
d2fc7e3d 152302011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15231
15232 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15233 Fix typo.
15234
d2fc7e3d 152352011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15236
3f254caa
SM
15237 * progmodes/which-func.el (which-function):
15238 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15239 which might not be defined (Bug#8260).
15240
d45885f7
GM
152412011-05-12 Glenn Morris <rgm@gnu.org>
15242
15243 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15244 Let byte-compile-initial-macro-environment always take precedence.
15245
488086f4
SM
152462011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15247
15248 * net/rcirc.el: Add support for SSL/TLS connections.
15249 (rcirc-server-alist): New field `encryption'.
15250 (rcirc): Check `encryption' settings.
15251 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15252 Merge make-local-variable into `set'.
15253 (rcirc--connection-open-p): New function.
15254 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15255 the process is not a network process (e.g. running gnutls-cli).
15256 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15257 Make rcirc-(en|de)code-coding-system local here.
15258 (rcirc-mode): Merge make-local-variable into `set'.
15259 (rcirc-parent-buffer): Make permanent buffer-local.
15260 (rcirc-multiline-minor-mode): Don't do it here.
15261 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15262 there's no server buffer.
15263
7d3b9d44
GM
152642011-05-11 Glenn Morris <rgm@gnu.org>
15265
f64049c6
GM
15266 * newcomment.el (comment-kill): Prefix "unused" local.
15267
93c9df73
GM
15268 * term/w32console.el (get-screen-color): Declare.
15269
7d3b9d44
GM
15270 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15271 Handle symbol elements of byte-compile-initial-macro-environment.
15272
9e2dd53f
LL
152732011-05-10 Leo Liu <sdl.web@gmail.com>
15274
488086f4
SM
15275 * bookmark.el (bookmark-bmenu-mode-map):
15276 Bind bookmark-bmenu-search to `/'.
8b340240 15277
9e2dd53f 15278 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15279 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15280 (Footnote-unicode): New function.
15281 (footnote-style-alist): Add unicode style to the list.
15282 (footnote-style): Doc fix.
9e2dd53f 15283
79b70037
GM
152842011-05-10 Jim Meyering <meyering@redhat.com>
15285
15286 Fix doubled-word typos.
15287 * international/quail.el (quail-insert-kbd-layout): and and -> and
15288 * kermit.el: and and -> and
15289 * net/ldap.el (ldap-search-internal): to to -> to
15290 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15291 * progmodes/js.el (js-mode): and and -> and
15292 * textmodes/artist.el (artist-move-to-xy): at at -> at
15293 (artist-draw-region-trim-line-endings): if if -> if
15294 And Safetyc -> Safety.
15295 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15296
b8f82dc1 152972011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15298 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15299
15300 * files.el (hack-one-local-variable-eval-safep):
15301 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15302
4f99f44b
GM
153032011-05-10 Glenn Morris <rgm@gnu.org>
15304
15305 * calendar/diary-lib.el (diary-list-entries-hook)
15306 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15307 (diary-nongregorian-marking-hook, diary-list-entries)
15308 (diary-include-other-diary-files, diary-mark-entries)
15309 (diary-mark-included-diary-files): Doc fixes.
15310
84f29e6b
JB
153112011-05-09 Juanma Barranquero <lekktu@gmail.com>
15312
15313 * misc.el: Require tabulated-list.el during compilation.
15314
9bedd73a
CY
153152011-05-09 Chong Yidong <cyd@stupidchicken.com>
15316
488086f4
SM
15317 * progmodes/compile.el (compilation-start):
15318 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15319 (compilation-filter-hook): Doc fix.
15320
797c735c
DD
153212011-05-09 Deniz Dogan <deniz@dogan.se>
15322
15323 * wdired.el: Remove outdated installation comment. Fix usage
15324 comment.
15325
5f4b1dfe
JB
153262011-05-09 Juanma Barranquero <lekktu@gmail.com>
15327
15328 * misc.el: Implement new command `list-dynamic-libraries'.
15329 (list-dynamic-libraries--loaded-only-p): New variable.
15330 (list-dynamic-libraries--refresh): New function.
15331 (list-dynamic-libraries): New command.
15332
4c44026c
CY
153332011-05-09 Chong Yidong <cyd@stupidchicken.com>
15334
488086f4
SM
15335 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15336 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15337 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15338 higher priority to avoid clobbering by gnu.
15339
027f966d
CY
153402011-05-08 Chong Yidong <cyd@stupidchicken.com>
15341
15342 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15343 if the face has existing theme settings (Bug#8454).
15344
085f5d7d
CY
153452011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15346
488086f4
SM
15347 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15348 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15349
2a86a00c
RS
15350 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15351 special file names `.' and `..' (Bug#8259).
15352
d9c54a06
CY
153532011-05-08 Chong Yidong <cyd@stupidchicken.com>
15354
488086f4
SM
15355 * progmodes/grep.el (grep-mode-font-lock-keywords):
15356 Remove buffer-changing entries.
d9c54a06
CY
15357 (grep-filter): New function.
15358 (grep-mode): Add it to compilation-filter-hook.
15359
15360 * progmodes/compile.el (compilation-filter-hook)
15361 (compilation-filter-start): New defvars.
15362 (compilation-filter): Call compilation-filter-hook prior to
15363 updating the process mark.
15364
c4662635
SM
153652011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15366
15367 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15368
b0512a1d
EZ
153692011-05-07 Eli Zaretskii <eliz@gnu.org>
15370
605c9376
EZ
15371 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15372 mailclient-send-it even if window-system is nil. (Bug#8595)
15373
c4662635
SM
15374 * term/w32console.el (terminal-init-w32console):
15375 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15376 background-mode. (Bug#8597)
15377
d1dc2cc2
SM
153782011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15379
15380 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15381 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15382 New functions.
15383 (defgeneric, eieio--defmethod): Use them.
15384 (eieio-defgeneric): Remove.
15385 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15386
915d1300
GM
153872011-05-07 Glenn Morris <rgm@gnu.org>
15388
a3961c3e
GM
15389 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15390 Use let rather than let*.
15391 (timeclock-find-discrep): Remove unused local.
15392
314347b9
GM
15393 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15394
915d1300
GM
15395 * calendar/appt.el (appt-time-msg-list): Doc fix.
15396
275b59b0
NF
153972011-05-06 Noah Friedman <friedman@splode.com>
15398
15399 * apropos.el (apropos-print-doc): Only use
15400 emacs-lisp-docstring-fill-column when it is bound to an integer,
15401 per that variable's documentation.
15402
6c19f744
SM
154032011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15404
15405 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15406 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15407
60f884b2
GM
154082011-05-06 Glenn Morris <rgm@gnu.org>
15409
5006e634
GM
15410 * calendar/appt.el (appt-message-warning-time): Doc fix.
15411 (appt-warning-time-regexp): New option.
15412 (appt-make-list): Respect appt-message-warning-time.
15413
548d0a63
GM
15414 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15415 New options.
15416 (diary-add-to-list): Strip comments from the displayed string.
15417 (diary-mode): Set comment-start and comment-end.
15418
60f884b2
GM
15419 * vc/diff-mode.el (smerge-refine-subst): Declare.
15420 (diff-refine-hunk): Don't require smerge-mode when compiling.
15421
989681bb
JB
154222011-05-06 Juanma Barranquero <lekktu@gmail.com>
15423
15424 * simple.el (list-processes): Return nil as the docstring says.
15425
a6bc05e1
MA
154262011-05-05 Michael Albinus <michael.albinus@gmx.de>
15427
15428 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15429 to "".
15430 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15431 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15432 determining of binary transfer. (Bug#7383)
15433
23c22e9a
MA
154342011-05-05 Michael Albinus <michael.albinus@gmx.de>
15435
c4662635
SM
15436 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15437 Fix port computation bug. (Bug#8618)
23c22e9a 15438
0bff894f
GM
154392011-05-05 Glenn Morris <rgm@gnu.org>
15440
b8296902
GM
15441 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15442
1f522ce8
GM
15443 * simple.el (shell-dynamic-complete-functions)
15444 (comint-dynamic-complete-functions): Declare.
15445
cf5bee67
GM
15446 * net/network-stream.el (gnutls-negotiate):
15447 * simple.el (tabulated-list-print): Fix declarations.
15448
15449 * progmodes/gud.el (syntax-symbol, syntax-point):
15450 Remove unnecessary and incorrect declarations.
15451
0bff894f
GM
15452 * emacs-lisp/check-declare.el (check-declare-scan):
15453 Handle byte-compile-initial-macro-environment in bytecomp.el
15454
9869b3ae
SM
154552011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15456
15457 Fix earlier half-done eieio-defmethod change (bug#8338).
15458 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15459 Streamline and change calling convention.
15460 (defmethod): Adjust accordingly and simplify.
15461 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15462 new eieio--defmethod.
15463 (slot-boundp): Minor CSE simplification.
15464
9c1d5ac5
MZ
154652011-05-05 Milan Zamazal <pdm@zamazal.org>
15466
15467 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15468 (glasses-make-readable): Use glasses-separate-capital-groups.
15469
455c834e
JB
154702011-05-05 Juanma Barranquero <lekktu@gmail.com>
15471
15472 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15473 (warning-series): Doc fix.
15474 (display-warning): Don't try to create the buffer if we just found it.
15475
9ed7c8cb
CY
154762011-05-04 Chong Yidong <cyd@stupidchicken.com>
15477
15478 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15479 (autoload-find-generated-file): New function.
15480 (generate-file-autoloads): Bind generated-autoload-file to
15481 buffer-file-name.
9869b3ae
SM
15482 (update-file-autoloads, update-directory-autoloads):
15483 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15484 output file (Bug#7989).
15485 (batch-update-autoloads): Doc fix.
15486
0898ca10
JB
154872011-05-04 Juanma Barranquero <lekktu@gmail.com>
15488
15489 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15490
31dfb76c
GM
154912011-05-04 Glenn Morris <rgm@gnu.org>
15492
f330b642
GM
15493 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15494 function, so it follows changes in calendar-date-style.
15495 (diary-fancy-date-matcher): New function.
15496 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15497 (diary-fancy-font-lock-fontify-region-function):
15498 Use diary-fancy-date-pattern as a function.
15499
31dfb76c
GM
15500 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15501 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15502
48e79d6a
TZ
155032011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15504
15505 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15506 instead of positional arguments. Allow :keylist and :crlfiles
15507 arguments.
15508 (open-gnutls-stream): Call it.
15509
15510 * net/network-stream.el (network-stream-open-starttls): Adjust to
15511 call `gnutls-negotiate' with :process and :hostname arguments.
15512
dd5a5ee0
SM
155132011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15514
ef80fc09
SM
15515 * minibuffer.el (completion--message): New function.
15516 (completion--do-completion, minibuffer-complete)
15517 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15518 (completion--do-completion): Don't ignore completion-auto-help when in
15519 icomplete-mode.
15520
dd5a5ee0
SM
15521 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15522 internal encoding (e.g. tibetan zero is not whitespace).
15523 (global-whitespace-mode): Prefer save-current-buffer.
15524 (whitespace-trailing-regexp): Remove useless save-match-data.
15525 (whitespace-empty-at-bob-regexp): Minor simplification.
15526
b7d22a83
CY
155272011-05-03 Chong Yidong <cyd@stupidchicken.com>
15528
15529 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15530
5192af46
AM
155312011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15532
15533 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15534 Use `concat' to create string for insertion.
5192af46 15535
5767d190
SM
155362011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15537
15538 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15539 Avoid open-line which runs post-self-insert-hook.
15540 (bibtex-fill-entry): Remove unused `end' var.
15541
bf242939
AM
155422011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15543
5767d190
SM
15544 * textmodes/ispell.el (ispell-add-per-file-word-list):
15545 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15546
25666126
LL
155472011-05-03 Leo Liu <sdl.web@gmail.com>
15548
15549 * isearch.el (isearch-yank-pop): New command.
5767d190 15550 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15551 (isearch-forward): Mention it.
15552
52d3c2d0
SM
155532011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15554
1bcace58
SM
15555 * simple.el (minibuffer-complete-shell-command): Remove.
15556 (minibuffer-local-shell-command-map): Use completion-at-point.
15557 (read-shell-command): Setup completion vars here instead.
15558 (read-expression-map): Bind TAB to symbol completion.
15559
52d3c2d0
SM
15560 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15561 error directly rather via storing it into `results'.
15562
35813471
LL
155632011-05-02 Leo Liu <sdl.web@gmail.com>
15564
15565 * vc/diff.el: Fix description.
15566
e793a940
LMI
155672011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15568
15569 * server.el (server-eval-at): New function.
15570
8de66e05
LMI
155712011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15572
15573 * net/network-stream.el (open-network-stream): Take a :nowait
15574 parameter and pass it on to `make-network-process'.
15575 (network-stream-open-plain): Ditto.
15576
dcb79f20
AS
155772011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15578
15579 * faces.el (face-spec-set-match-display): Don't match toolkit
15580 options on terminal frames.
15581
14a7fbd8
SM
155822011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15583
7eabc1be
SM
15584 * progmodes/pascal.el: Use lexical binding.
15585 (pascal-mode-map): Remove author preferences.
15586
14a7fbd8
SM
15587 * pcomplete.el (pcomplete-std-complete): Don't abuse
15588 completion-at-point.
15589
50f84510
JB
155902011-04-28 Juanma Barranquero <lekktu@gmail.com>
15591
6e087a44
JB
15592 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15593 removing code that has been dead since 1991 or so.
15594
50f84510
JB
15595 * startup.el (command-line): When warning about "_emacs", use a
15596 delayed warning to allow the user to filter it out.
15597
0ba690bd
DD
155982011-04-28 Deniz Dogan <deniz@dogan.se>
15599
15600 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15601 user has not joined.
15602
08abfaad
SM
156032011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15604
15605 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15606 aren't any completions at point.
15607
638f053a
JB
156082011-04-28 Juanma Barranquero <lekktu@gmail.com>
15609
15610 * subr.el (display-delayed-warnings): New function.
15611 (delayed-warnings-hook): New variable.
15612
8fff8daa
SM
156132011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15614
08abfaad
SM
15615 * minibuffer.el (completion-at-point, completion-help-at-point):
15616 Don't presume that a given completion-at-point-function will always
15617 use the same calling convention.
15618
8fff8daa
SM
15619 * pcomplete.el (pcomplete-completions-at-point):
15620 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15621 pcomplete-seen is non-nil.
15622 (pcomplete-comint-setup): Also recognize the new comint/shell
15623 completion functions.
15624 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15625 pcomplete-seen is non-nil.
15626
841a1577 156272011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15628
841a1577 15629 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15630 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15631 the first character in the entry. This allows for code to add its
211ec907
UJ
15632 own uid to the entry.
15633 (icalendar--convert-float-to-ical): Add export of
15634 `diary-float'-entries save for those with the optional DAY
15635 argument.
15636
2a782793
DC
156372011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15638
15639 * subr.el (shell-quote-argument): Use alternate escaping strategy
15640 when we spot a variable reference in a string.
15641
0438ce91
DC
156422011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15643
15644 * cus-start.el (all): Define customization for debug-on-event.
15645
841a1577 156462011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15647
15648 * subr.el (shell-quote-argument): Escape correctly under Windows.
15649
d090ed6c
SM
156502011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15651
15652 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15653
bfd31217
MA
156542011-04-25 Michael Albinus <michael.albinus@gmx.de>
15655
d090ed6c
SM
15656 * net/tramp.el (tramp-process-actions): Add POS argument.
15657 Delete region between POS and (pos).
bfd31217 15658
d090ed6c
SM
15659 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15660 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15661 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15662
15663 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15664 position in `tramp-process-actions' call.
15665
15666 * net/trampver.el: Update release number.
15667
e92f3bd3
SM
156682011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15669
850256b5
SM
15670 * custom.el (defcustom): Obey lexical-binding.
15671
e92f3bd3
SM
15672 Fix octave-inf completion problems reported by Alexander Klimov.
15673 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15674 Inherit from octave-mode-syntax-table.
15675 (inferior-octave-mode): Set info-lookup-mode.
15676 (inferior-octave-completion-at-point): New function.
15677 (inferior-octave-complete): Use it and completion-in-region.
15678 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15679 comint-filename-completion.
15680 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15681 symbol elements which shouldn't be word elements.
15682 (octave-font-lock-keywords, octave-beginning-of-defun)
15683 (octave-function-header-regexp): Adjust regexps accordingly.
15684 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15685
cd22b309
JB
156862011-04-25 Juanma Barranquero <lekktu@gmail.com>
15687
15688 * net/gnutls.el (gnutls-errorp): Declare before first use.
15689
8b492194
TZ
156902011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15691
15692 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15693 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15694 default trustfile exists before going to use it. Add missing
5a5fa834 15695 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15696 Reported by Claudio Bley <claudio.bley@gmail.com>.
15697 (open-gnutls-stream): Add usage example.
15698
15699 * net/network-stream.el (network-stream-open-starttls): Give host
15700 parameter to `gnutls-negotiate'.
15701 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15702 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15703
841a1577 157042011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15705
cd22b309
JB
15706 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15707 Use correct match group (bug#8438).
05842630 15708
3ba7869c
CY
157092011-04-24 Chong Yidong <cyd@stupidchicken.com>
15710
512e3ae1
CY
15711 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15712 (package-menu--generate): New arg specifying packages to show.
15713 (package-menu-refresh, package-menu-execute, list-packages):
15714 Callers changed.
15715 (package-show-package-list): New function, replacing deleted
15716 package--list-packages (renamed because it is non-internal).
15717
15718 * finder.el (finder-list-matches): Use package-show-package-list
15719 instead of deleted package--list-packages.
15720
e92f3bd3
SM
15721 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15722 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15723 (vc-annotate-mode-map): Bind it to RET.
15724
7031be6d
UR
157252011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15726
15727 * progmodes/etags.el (next-file): Don't use set-buffer to change
15728 buffers (Bug#8478).
15729
4ef177aa
CY
157302011-04-24 Chong Yidong <cyd@stupidchicken.com>
15731
c8d173eb
CY
15732 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15733
4ef177aa
CY
15734 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15735 (apropos-accumulator): Doc fix.
15736 (apropos-function, apropos-macro, apropos-command)
15737 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15738 (apropos-plist): Add face property.
15739 (apropos-symbols-internal): Fix indentation.
15740 (apropos-print): Simplify help, and recognize apropos-multi-type.
15741 (apropos-print-doc): Use button-type-get to extract the button's
15742 face property. Fill docstring (Bug#8352).
15743
4ffd0d6b 157442011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15745
15746 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15747
c6c32125 15748 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15749 (mpuz-mode-map): Use mapc.
c6c32125
JB
15750 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15751 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15752 Fix typos in docstrings.
15753
58d468b4
JB
15754 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15755 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15756
6470c3c6
JB
15757 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15758
4ffd0d6b 157592011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15760
15761 * minibuffer.el (completion--do-completion): Avoid the "Next char
15762 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15763
3ad8bad0
CY
15764 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15765 mouse-2 into unread-command-events, it is interpreted correctly.
15766
71d73c9c 15767 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15768 (image-toggle-display): Doc fix.
71d73c9c 15769
841a1577 157702011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15771
4ffd0d6b
GM
15772 * textmodes/page.el (what-page): Use line-number-at-pos to
15773 calculate line number (Bug#6825).
6e1dbaa9 15774
c2fb1b60
JB
157752011-04-22 Juanma Barranquero <lekktu@gmail.com>
15776
15777 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15778 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15779 Pass argument NO-DEFAULT to `find-tag-interactive'.
15780
e02f48d7
JB
157812011-04-22 Juanma Barranquero <lekktu@gmail.com>
15782
15783 Lexical-binding cleanup.
15784
15785 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15786 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15787 * progmodes/ada-prj.el (ada-prj-initialize-values)
15788 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15789 (ada-prj-show-value):
15790 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15791 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15792 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15793 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15794 * progmodes/bug-reference.el (bug-reference-push-button):
15795 * progmodes/fortran.el (fortran-line-length):
15796 * progmodes/glasses.el (glasses-change):
15797 * progmodes/octave-mod.el (octave-fill-paragraph):
15798 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15799 (python-pdbtrack-grub-for-buffer, python-sentinel):
15800 * progmodes/sql.el (sql-save-connection):
15801 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15802 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15803 Mark unused parameters.
15804
15805 * progmodes/compile.el (compilation--flush-directory-cache)
15806 (compilation--flush-parse, compile-internal): Mark unused parameters.
15807 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15808 (compilation-next-error-function): Remove unused variable `timestamp'.
15809
15810 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15811 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15812
15813 * progmodes/dcl-mode.el (dcl-end-of-command):
15814 Remove unused variable `start'.
15815 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15816 (dcl-option-value-basic, dcl-option-value-offset)
15817 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15818 Mark unused parameters.
15819 (dcl-save-local-variable): Remove unused variable `val'.
15820 (mode): Declare.
15821
15822 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15823 Mark unused parameters.
15824 (delphi-ignore-changes): Move before first use.
15825 (delphi-charset-token-at): Remove unused variable `start'.
15826 (delphi-else-start): Remove unused variable `if-count'.
15827 (delphi-comment-block-start, delphi-comment-block-end):
15828 Remove unused variable `kind'.
15829 (delphi-indent-line): Remove unused variable `new-point'.
15830
15831 * progmodes/ebrowse.el (ebrowse-files-list)
15832 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15833 Mark unused parameters. Don't quote `lambda'.
15834 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15835 Don't quote `lambda'.
15836 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15837 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15838 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15839 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15840 Use `ignore-errors'.
15841 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15842 (ebrowse-view/find-file-and-search-pattern)
15843 (ebrowse-view/find-member-declaration/definition):
15844 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15845 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15846 Rename parameter PREFIX-ARG to PREFIX.
15847 (ebrowse-tags-read-name): Remove unused variables `start' and
15848 `member-info'.
15849 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15850 to `tags-file'.
15851
15852 * progmodes/etags.el (local-find-tag-hook): Declare.
15853 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15854 Mark unused parameters.
15855
15856 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15857 (executable-interpret): Mark unused parameter.
15858
15859 * progmodes/flymake.el (flymake-process-sentinel)
15860 (flymake-after-change-function)
15861 (flymake-create-temp-with-folder-structure)
15862 (flymake-get-include-dirs-dot): Mark unused parameters.
15863 (flymake-safe-delete-directory): Remove unused variable `err'.
15864
15865 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15866 (speedbar-timer-fn, speedbar-line-text)
15867 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15868 (speedbar-center-buffer-smartly): Declare functions.
15869 (gdb-find-watch-expression): Remove unused variable `array'.
15870 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15871 (gdb-starting): Mark unused parameters.
15872 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15873 (gdb-table-string): Remove unused variable `res'.
15874 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15875 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15876 (gdb-display-buffer): Remove unused variable `cur-size'.
15877
15878 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15879 allow lexical-binding compilation.
15880 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15881 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15882 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15883 Mark unused parameters.
15884 (gud-gdb-marker-filter): Remove unused variable `match'.
15885 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15886 lambda expressions and funcall them, instead of using `fset'.
15887
15888 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15889 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15890
15891 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15892 variable `header-beg'; use `let'.
15893
15894 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15895 `restart', `last-sexp' and `at-do'.
15896
15897 * progmodes/js.el (js--debug): Mark unused parameter.
15898 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15899 (js--splice-into-items): Remove unused variable `item'.
15900 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15901
15902 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15903 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15904 (makefile-complete): Remove unused variable `try'.
15905 (makefile-fill-paragraph, makefile-match-function-end):
15906 Mark unused parameters.
15907
15908 * progmodes/octave-inf.el (inferior-octave-complete):
15909 Remove unused variable `proc'.
15910 (inferior-octave-output-digest): Mark unused parameter.
15911
15912 * progmodes/perl-mode.el (perl-calculate-indent):
15913 Remove unused variable `err'.
15914
15915 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15916 (prolog-indent-line): Mark unused parameters.
15917 (prolog-indent-line): Remove unused variable `beg'.
15918
15919 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15920 (reporter-dont-compact-list): Declare.
15921
15922 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15923 Remove unused variable `char'.
15924 (sh-debug): Mark unused parameter.
15925 (sh-get-indent-info): Remove unused variable `start'.
15926 (sh-calculate-indent): Remove unused variable `var'.
15927
15928 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15929 (simula-electric-keyword): Remove unused variable `null'.
15930 (simula-search-backward, simula-search-forward): Remove unused
15931 variables `begin' and `end'.
15932
15933 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15934 Remove unused variable `pos'.
15935 (vera-electric-tab, vera-comment-uncomment-region):
15936 Mark unused parameters.
15937 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15938
7ede3b65
CY
159392011-04-22 Chong Yidong <cyd@stupidchicken.com>
15940
15941 * emacs-lisp/package.el (package--builtins, package-alist)
15942 (package-load-descriptor, package-built-in-p, package-activate)
15943 (define-package, package-installed-p)
15944 (package-compute-transaction, package-buffer-info)
15945 (package--push): Doc fix. Distinguish more clearly between
15946 version strings and version lists.
15947
121656e9
JB
159482011-04-21 Juanma Barranquero <lekktu@gmail.com>
15949
15950 Lexical-binding cleanup.
15951
15952 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15953 (5x5-make-mutate-best):
15954 * play/fortune.el (fortune-in-buffer):
15955 * play/gomoku.el (gomoku-init-display):
15956 * play/solitaire.el (solitaire, solitaire-do-check):
15957 * play/tetris.el (tetris-default-update-speed-function):
15958 Mark unused parameters.
15959
15960 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15961 (bubbles--shift): Remove unused variable `char-org'.
15962 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15963 (bubbles--show-images): Remove unused variable `char'.
15964
15965 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15966 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15967 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15968 (decipher-analyze-buffer): Use ?\s.
15969 (decipher-make-checkpoint): Remove unused variable `mapping'.
15970
15971 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15972
15973 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15974 Remove unused variable `result'; use `let'.
15975
15976 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15977 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15978 (gametree-children-shown-p, gametree-compute-reduced-score):
15979 Use `ignore-errors'.
15980
15981 * play/handwrite.el (ps-lpr-switches): Declare.
15982 (handwrite): Remove unused variables `pmin' and `lastp'.
15983
15984 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15985
15986 * play/landmark.el (landmark-init-display)
15987 (landmark-update-naught-weights): Mark unused parameters.
15988 (landmark-y): Remove unused variable `noise'. Simplify.
15989 (landmark-human-plays): Remove unused variable `score'.
15990
15991 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15992 (mpuz-try-proposal): Remove unused variable `game'.
15993
15994 * play/zone.el (life-patterns): Declare.
15995
80f499c7
JB
159962011-04-20 Juanma Barranquero <lekktu@gmail.com>
15997
15998 * vc/vc.el (ediff-vc-internal): Declare function.
15999
024ff170
SM
160002011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16001
c0a193ea
SM
16002 * shell.el: Use lexical-binding and std completion UI.
16003 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16004 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16005 comint-preoutput-filter-functions rather than on
16006 comint-output-filter-functions.
16007 (shell-command-completion, shell--command-completion-data)
16008 (shell-filename-completion, shell-environment-variable-completion)
16009 (shell-c-a-p-replace-by-expanded-directory): New functions.
16010 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16011 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16012 (shell-dynamic-complete-environment-variable): Use them.
16013 (shell-dynamic-complete-as-environment-variable)
16014 (shell-dynamic-complete-as-command): Remove.
16015 (shell-match-partial-variable): Match past point.
16016 * comint.el: Clean up use of completion-at-point-functions.
16017 (comint-completion-at-point): New function.
16018 (comint-mode): Use it completion-at-point-functions.
16019 (comint-dynamic-complete): Make it obsolete.
16020 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16021 (comint-c-a-p-replace-by-expanded-history): New function.
16022 (comint-dynamic-complete-functions)
16023 (comint-replace-by-expanded-history): Use it.
16024 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16025 termination strings. Try harder to avoid second try-completion.
16026 (completion-in-region-mode-map): Disable bindings that don't work yet.
16027
2dbaa080
SM
16028 * comint.el: Use lexical-binding. Require CL.
16029 (comint-dynamic-complete-functions): Use comint-filename-completion.
16030 (comint-completion-addsuffix): Tweak custom type.
16031 (comint-filename-completion, comint--common-suffix)
16032 (comint--common-quoted-suffix, comint--table-subvert)
16033 (comint--complete-file-name-data): New functions.
16034 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16035 (comint-dynamic-list-filename-completions): Use them.
16036 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 16037
2dbaa080
SM
16038 * minibuffer.el (completion-in-region-mode):
16039 Keep completion-in-region-mode--predicate global.
16040 (completion-in-region--postch):
16041 Assume completion-in-region-mode--predicate is not null.
16042
c79a6f38
SM
16043 * progmodes/flymake.el (flymake-start-syntax-check-process):
16044 Obey `dir'. Simplify.
16045
024ff170
SM
16046 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16047 we're in VC after all.
16048
1c6c854e
CS
160492011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16050
16051 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 16052 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
16053 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16054
bed7f140
SM
160552011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16056
332e62ab
SM
16057 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16058 add sanity check.
16059
bed7f140
SM
16060 * obsolete/erc-hecomplete.el: Make obsolete.
16061 * obsolete/: Standardize obsolescence info in the header.
16062
f195c582
GM
160632011-04-20 Glenn Morris <rgm@gnu.org>
16064
16065 * calendar/solar.el (solar-horizontal-coordinates):
16066 Use the longitude argument rather than `calendar-longitude'.
16067 (solar-date-next-longitude): Remove unused locals.
16068
cb79b8c0
VJL
160692011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16070
16071 * whitespace.el: New version 13.2.1.
16072
160732011-04-20 felix <EmacsWiki> (tiny change)
16074
d8e4b68b 16075 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
16076 switching between major modes on a file.
16077
602ea69d
SM
160782011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16079
16080 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16081 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16082 multi-line comments as well.
16083
06b60517
JB
160842011-04-19 Juanma Barranquero <lekktu@gmail.com>
16085
16086 Lexical-binding cleanup.
16087
16088 * arc-mode.el (archive-mode-revert):
16089 * cmuscheme.el (scheme-interactively-start-process):
16090 * custom.el (custom-initialize-delay):
16091 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16092 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16093 * emacs-lock.el (emacs-lock-clear-sentinel):
16094 * ezimage.el (defezimage):
16095 * follow.el (follow-avoid-tail-recenter):
16096 * fringe.el (set-fringe-mode-1):
16097 * generic-x.el (bat-generic-mode-compile):
16098 * help-mode.el (help-info-variable, help-do-xref)
16099 (help-mode-revert-buffer):
16100 * help.el (view-emacs-todo):
16101 * iswitchb.el (iswitchb-completion-help):
16102 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16103 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16104 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16105 * locate.el (locate-update):
16106 * longlines.el (longlines-encode-region)
16107 (longlines-after-change-function):
16108 * outline.el (outline-isearch-open-invisible):
16109 * ps-def.el (declare-function, charset-dimension, char-width)
16110 (encode-char):
16111 * ps-mule.el (ps-mule-plot-string):
16112 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16113 (recentf-edit-list-select, recentf-edit-list-validate)
16114 (recentf-open-files-action):
16115 * rect.el (delete-whitespace-rectangle-line)
16116 (rectangle-number-line-callback):
16117 * register.el (window-configuration-to-register)
16118 (frame-configuration-to-register):
16119 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16120 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16121 (xselect-convert-to-targets, xselect-convert-to-delete)
16122 (xselect-convert-to-filename, xselect-convert-to-charpos)
16123 (xselect-convert-to-lineno, xselect-convert-to-colno)
16124 (xselect-convert-to-os, xselect-convert-to-host)
16125 (xselect-convert-to-user, xselect-convert-to-class)
16126 (xselect-convert-to-name, xselect-convert-to-integer)
16127 (xselect-convert-to-atom, xselect-convert-to-identity):
16128 * subr.el (declare, ignore, process-kill-without-query)
16129 (text-clone-maintain):
16130 * terminal.el (te-get-char, te-tic-sentinel):
16131 * tool-bar.el (tool-bar-make-keymap):
16132 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16133 * type-break.el (type-break-mode, type-break-noninteractive-query):
16134 * view.el (View-back-to-mark):
16135 * wid-browse.el (widget-browse-action, widget-browse-widget)
16136 (widget-browse-widgets, widget-browse-sexp):
16137 * widget.el (define-widget-keywords):
16138 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16139 Mark unused parameters.
16140
16141 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16142 (align-areas): Remove unused variable `look'.
16143 (align-region): Remove unused variables `real-end' and `pos-list'.
16144
16145 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16146
16147 * bindings.el (mode-line-modified, mode-line-remote):
16148 Mark unused parameters.
16149 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16150
16151 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16152 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16153
16154 * comint.el (comint-history-isearch-pop-state)
16155 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16156 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16157 (comint-substitute-in-file-name): Doc fix.
16158
16159 * completion.el (cmpl-statistics-block): Mark unused parameter.
16160 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16161 (save-completions-to-file, load-completions-from-file):
16162 Remove unused local variable `e'.
16163
16164 * composite.el (compose-chars): Remove unused variable `len'.
16165 (lgstring-insert-glyph): Remove unused variable `g'.
16166 (compose-glyph-string): Remove unused variables `ascent',
16167 `descent', `lbearing' and `rbearing'.
16168 (compose-glyph-string-relative): Remove unused variables
16169 `lbearing', `rbearing' and `wadjust'.
16170 (compose-gstring-for-graphic): Remove unused variables `header',
16171 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16172 (compose-gstring-for-terminal): Remove unused variables `header'
16173 and `nchars'. Use `let', not `let*'.
16174
16175 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16176 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16177 (Custom-buffer-done, custom-buffer-create-internal)
16178 (custom-browse-visibility-action, custom-browse-group-tag-action)
16179 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16180 (widget-magic-mouse-down-action, custom-toggle-parent)
16181 (custom-add-parent-links, custom-toggle-hide-variable)
16182 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16183 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16184 (custom-face-menu-create, custom-variable-menu-create, get)
16185 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16186 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16187 (customize-apropos): Remove unused variable `tests'.
16188 (custom-group-value-create): Remove unused variable `hidden-p'.
16189 (sort-fold-case): Declare.
16190
16191 * cus-theme.el (custom-reset-standard-faces-list)
16192 (custom-reset-standard-variables-list): Declare.
16193 (customize-create-theme, custom-theme-revert, custom-theme-write)
16194 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16195 Mark unused parameters.
16196
16197 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16198
16199 * delim-col.el (delimit-columns-max): Move defvar before first use.
16200
16201 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 16202 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
16203
16204 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16205 (auto-insert): Declare.
16206 (desktop-restore-file-buffer): Rename desktop-* parameters;
16207 mark unused ones.
16208 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16209 (desktop-buffer): Rename desktop-* parameters.
16210
16211 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16212 (dframe-reposition-frame-xemacs, dframe-help-echo)
16213 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16214 Mark unused parameters.
16215
16216 * dired-aux.el (backup-extract-version-start, overwrite-query)
16217 (overwrite-backup-query, rename-regexp-query)
16218 (rename-non-directory-query): Declare.
16219 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16220 (dired-add-entry): Remove unused variable `orig-file-name'.
16221 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16222 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16223 `dired-copy-preserve-time' directly.
16224 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16225 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16226
16227 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16228 (dired-virtual-revert, dired-make-relative-symlink):
16229 Mark unused parameters.
16230 (manual-program): Declare.
16231 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16232 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16233 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16234
16235 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16236
16237 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16238
16239 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16240 Declare.
16241
16242 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16243
16244 * electric.el (Electric-command-loop): Rename parameter
16245 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16246
16247 * expand.el (expand-in-literal): Remove unused variable `here'.
16248
16249 * facemenu.el (facemenu-add-new-color):
16250 Remove unused variable `docstring'.
16251
16252 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16253 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16254 (face-attr-construct): Mark unused parameter. Doc fix.
16255 (read-color): Remove unused variable `hex-string'.
16256
16257 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16258 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16259 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16260 (display-buffer-other-frame): Remove unused variable `old-window'.
16261 (kill-buffer-hook): Declare.
16262 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16263 Mark unused parameters.
16264 (after-find-file): Pass 1 to `auto-save-mode', not t.
16265
16266 * files-x.el (auto-insert): Declare.
16267 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16268
16269 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16270 variable `buf'. Mark unused parameter.
06b60517
JB
16271 (find-lisp-insert-directory): Mark unused parameter.
16272
16273 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16274 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16275 (format-common-tail): Remove, unused.
16276 (format-deannotate-region): Remove unused variable `loc'.
16277 (format-annotate-region): Remove unused variable `p'.
16278 (format-annotate-single-property-change): Remove unused variables
16279 `default' and `tail'.
16280
16281 * forms.el (read-file-filter): Declare.
16282 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16283
16284 * frame.el (frame-creation-function-alist): Mark unused parameter.
16285 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16286
16287 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16288 Remove unused parameters.
16289 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16290 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16291
16292 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16293 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16294 (hfy-prepare-tag-map): Mark unused parameters.
16295 (htmlfontify-buffer): Use `called-interactively-p'.
16296
16297 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16298 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16299 (ibuffer-do-occur): Mark unused parameters.
16300 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16301 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16302
16303 * ibuffer.el: Don't quote `lambda'.
16304 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16305 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16306 Mark unused parameters.
16307
16308 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16309 (ido-completing-read): Mark unused parameters.
16310 (ido-copy-current-word): Mark unused parameters;
16311 remove unused variable `name'.
16312 (ido-sort-merged-list): Remove unused parameter `dirs'.
16313
16314 * ielm.el (ielm-input-sender): Mark unused parameter.
16315 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16316 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16317 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16318 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16319 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16320
16321 * image-dired.el (image-dired-display-thumbs): Remove unused
16322 variables `curr-file' and `count'.
16323 (image-dired-remove-tag): Remove unused variable `start'.
16324 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16325 variable `curr-file'
16326 (image-dired-rotate-original): Remove unused variable `temp-file'.
16327 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16328 Remove unused variable `file'.
16329 (image-dired-gallery-generate): Remove unused variable `curr'.
16330 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16331
16332 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16333
16334 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16335
16336 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16337
16338 * isearch.el (minibuffer-history-symbol): Declare.
16339 (isearch-edit-string): Remove unused variable `err'.
16340 (isearch-message-prefix, isearch-message-suffix):
16341 Mark unused parameters.
16342
16343 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16344
16345 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16346
16347 * makesum.el (double-column): Remove unused variable `cnt'.
16348
16349 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16350 (ido-ignore-item-temp-list): Declare.
16351
16352 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16353 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16354 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16355 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16356 `mouse-col-delta'.
16357
16358 * mouse-sel.el (mouse-extend-internal):
16359 Remove unused variable `orig-window-frame'.
16360
16361 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16362 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16363 Move declarations before first use.
16364 (pcomplete-opt): Mark unused parameters; doc fix.
16365
16366 * proced.el (proced-revert): Mark unused parameter.
16367 (proced-send-signal): Remove unused variable `err'.
16368
16369 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16370 Rename parameter PREFIX-ARG to ARG.
16371 (ps-basic-plot-string, ps-basic-plot-whitespace):
16372 Mark unused parameters.
16373
16374 * replace.el (replace-count): Define.
16375 (occur-revert-function): Mark unused parameters.
16376 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16377 (isearch-case-fold-search, isearch-string): Declare.
16378 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16379 bind `case-fold-search'. Remove unused variables `beg' and `end',
16380 and simplify.
16381 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16382 COUNT and bind `replace-count'.
16383 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16384 to COUNT.
16385
16386 * savehist.el (print-readably, print-string-length): Declare.
16387
16388 * shadowfile.el (shadow-expand-cluster-in-file-name):
16389 Remove unused variable `cluster'.
16390 (shadow-copy-file): Remove unused variable `i'.
16391 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16392 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16393 (shadow-define-literal-group, shadow-define-regexp-group)
16394 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16395
16396 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16397 (shell): Use `called-interactively-p'.
16398 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16399
16400 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16401 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16402 (delete-backward-char): Remove unused variable `ocol'.
16403 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16404 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16405 (event-apply-hyper-modifier, event-apply-shift-modifier)
16406 (event-apply-control-modifier, event-apply-meta-modifier):
16407 Mark unused parameters.
16408 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16409 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16410
16411 * speedbar.el (speedbar-ignored-directory-expressions)
16412 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16413 (speedbar-find-file, speedbar-dir-follow)
16414 (speedbar-directory-buttons-follow, speedbar-tag-find)
16415 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16416 (speedbar-buffers-line-directory, speedbar-buffer-click):
16417 Mark unused parameters.
16418 (speedbar-tag-file): Remove unused variable `mode'.
16419 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16420
16421 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16422
16423 * talk.el (talk): Remove unused variable `display'.
16424
16425 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16426 (tar-write-region-annotate): Mark unused parameter.
16427
16428 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16429 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16430 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16431 warning by another.
16432
16433 * time-stamp.el (time-stamp-string-preprocess):
16434 Remove unused variable `require-padding'.
16435
16436 * tree-widget.el (widget-glyph-enable): Declare.
16437 (tree-widget-action): Mark unused parameter.
16438
16439 * w32-fns.el (x-get-selection): Mark unused parameter.
16440 (autoload-make-program, generated-autoload-file): Declare.
16441
16442 * wdired.el (wdired-revert): Mark unused parameters.
16443 (wdired-xcase-word): Remove unused variable `err'.
16444
16445 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16446 (whitespace-help-scroll): Remove unused variable `data-help'.
16447
16448 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16449 (widget-image-insert, widget-after-change, default)
16450 (widget-default-format-handler, widget-default-notify)
16451 (widget-default-prompt-value, widget-info-link-action)
16452 (widget-url-link-action, widget-function-link-action)
16453 (widget-variable-link-action, widget-file-link-action)
16454 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16455 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16456 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16457 (widget-insert-button-action, widget-delete-button-action, visibility)
16458 (widget-documentation-link-action, widget-documentation-string-action)
16459 (widget-const-prompt-value, widget-regexp-match, symbol)
16460 (widget-coding-system-prompt-value)
16461 (widget-key-sequence-value-to-external, sexp)
16462 (widget-sexp-value-to-internal, character, vector, cons)
16463 (widget-choice-prompt-value, widget-boolean-prompt-value)
16464 (widget-color--choose-action): Mark unused parameters.
16465 (widget-item-match-inline, widget-choice-match-inline)
16466 (widget-checklist-match, widget-checklist-match-inline)
16467 (widget-group-match): Rename parameter VALUES to VALS.
16468 (widget-field-value-set): Remove unused variable `size'.
16469 (widget-color-action): Remove unused variables `value' and `start'.
16470
16471 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16472 variable `dir'. Doc fix.
06b60517
JB
16473 (windmove-find-other-window): Don't pass it.
16474
16475 * window.el (count-windows): Mark unused parameter.
16476 (bw-adjust-window): Remove unused variable `err'.
16477
16478 * woman.el (woman-file-name): Remove unused variable `default'.
16479 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16480 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16481 (global-font-lock-mode): Declare.
16482 (woman-decode-region): Mark unused parameter.
16483 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16484
16485 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16486 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16487 (x-dnd-handle-moz-url): Remove unused variable `title'.
16488 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16489
16490 * xml.el (xml-parse-tag, xml-parse-attlist):
16491 Remove unused variable `pos'.
16492
bc4f7f3d
GM
164932011-04-19 Glenn Morris <rgm@gnu.org>
16494
16495 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16496 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16497 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16498 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16499 * calendar/cal-html.el (cal-html-insert-minical):
16500 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16501 (calendar-mark-date-pattern):
16502 Prefix "unused" locals.
16503
16504 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16505 optional argument `style'.
16506
16507 * calendar/appt.el (appt-make-list):
16508 * calendar/cal-china.el (calendar-chinese-date-string):
16509 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16510 (diary-hebrew-yahrzeit):
16511 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16512 * calendar/calendar.el (calendar-generate-window):
16513 * calendar/time-date.el (time-to-days):
16514 Remove unused local variables.
16515
16a43933
CY
165162011-04-18 Chong Yidong <cyd@stupidchicken.com>
16517
16518 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16519 glyphless-char-display table.
16520 (tabulated-list-glyphless-char-display): New var.
16521
7eed1860
SS
165222011-04-18 Sam Steingold <sds@gnu.org>
16523
16524 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16525 to acknowledgments.
16526
4d2d1ccd
GM
165272011-04-17 Glenn Morris <rgm@gnu.org>
16528
16529 * calendar/diary-lib.el (diary-sexp-entry):
16530 * calendar/holidays.el (holiday-sexp):
16531 Set debug-on-error rather than the removed stack-trace-on-error.
16532
239da61d
GM
165332011-04-16 Glenn Morris <rgm@gnu.org>
16534
16535 * progmodes/f90.el: Use lexical-binding.
16536 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16537
8b05752a
SM
165382011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16539
daca8ba5
SM
16540 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16541 (mail-mode): Setup mailalias completion here instead.
16542 * mail/mailalias.el: Use lexical-binding.
16543 (pattern, mailalias-done): Declare dynamic.
16544 (mail-completion-at-point-function): New function, from mail-complete.
16545 (mail-complete): Use it.
16546 (mail-completion-expand): New function.
16547 (mail-get-names): Use it.
16548 (mail-directory, mail-directory-process, mail-directory-stream):
16549 Don't use `pattern' for lexically bound arg.
16550
6f542485
SM
16551 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16552
037e7c3f
SM
16553 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16554 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16555 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16556
8b05752a
SM
16557 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16558 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16559 (byte-interactive-p): Define them again, for use when inlining
16560 old code.
16561
49093f60
JB
165622011-04-15 Juanma Barranquero <lekktu@gmail.com>
16563
16564 * loadup.el: Use `string-to-number', not `string-to-int'.
16565
b5b8e7de
SM
165662011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16567
16568 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16569 gud-gdb-complete-command.
16570 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16571 (gud-gdb-completion-at-point): New function.
16572 (gud-gdb-completions): Remove.
16573
f42efeb5
MA
165742011-04-14 Michael Albinus <michael.albinus@gmx.de>
16575
49093f60
JB
16576 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16577 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16578 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16579 whether `executable-find' is bound.
f42efeb5
MA
16580
16581 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16582
e240cc21
SM
165832011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16584
16585 * minibuffer.el (completion-in-region-mode-predicate)
16586 (completion-in-region-mode--predicate): New vars.
16587 (completion-in-region, completion-in-region--postch)
16588 (completion-in-region-mode): Use them.
16589 (completion--capf-wrapper): Also return the hook function.
16590 (completion-at-point, completion-help-at-point):
16591 Adjust and provide a predicate.
c2bd2ab0
SM
16592
16593 Preserve arg names for advice of subr and lexical functions (bug#8457).
16594 * help-fns.el (help-function-arglist): Consolidate the subr and
16595 new-byte-code cases. Add argument `preserve-names' to extract names
16596 from the docstring when needed.
16597 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16598 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16599 (ad-arglist): Use help-function-arglist's new arg.
16600 (ad-definition-type): Use cond.
16601
c183f693
JB
166022011-04-13 Juanma Barranquero <lekktu@gmail.com>
16603
06641a47
JB
16604 * autorevert.el (auto-revert-handler):
16605 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16606 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16607 Don't quote lambda.
16608
c183f693
JB
16609 * image-mode.el (image-transform-set-scale):
16610 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16611
1e3b6001
G
166122011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16613
16614 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16615 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16616 Upgrades via gnutls-cli are too slow to be done opportunistically.
16617
2d6af8dd
JB
166182011-04-12 Juanma Barranquero <lekktu@gmail.com>
16619
16620 * dframe.el (dframe-current-frame): Remove spurious quote.
16621
c0749a51
GM
166222011-04-12 Glenn Morris <rgm@gnu.org>
16623
088d0d61
GM
16624 * calendar/cal-tex.el (cal-tex-end-document):
16625 Try to automatically use latin1 input if needed.
16626
c0749a51
GM
16627 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16628 Don't try to cons a mark onto an empty element.
16629
5c90fde0
LL
166302011-04-11 Leo Liu <sdl.web@gmail.com>
16631
16632 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16633 buffers.
16634 (ido-kill-buffer-at-head): Support killing virtual buffers.
16635
369e974d
CY
166362011-04-10 Chong Yidong <cyd@stupidchicken.com>
16637
16638 * minibuffer.el (completion-show-inline-help): New var.
16639 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16640 (minibuffer-force-complete, minibuffer-complete-word):
16641 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16642
16643 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16644 to avoid interference from inline help (Bug#5849).
16645
37f1c930
LL
166462011-04-10 Leo Liu <sdl.web@gmail.com>
16647
099c39a4
JB
16648 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16649 Fix typo.
37f1c930 16650
a32d4040
CY
166512011-04-09 Chong Yidong <cyd@stupidchicken.com>
16652
16653 * image-mode.el (image-toggle-display-image): Signal an error if
16654 not in Image mode.
16655 (image-transform-mode, image-transform-resize)
16656 (image-transform-set-rotation): Doc fix.
daca8ba5 16657 (image-transform-set-resize): Delete.
a32d4040
CY
16658 (image-transform-set-scale, image-transform-fit-to-height)
16659 (image-transform-fit-to-width): Handle image-toggle-display-image
16660 and image-transform-resize directly.
16661
099c39a4 166622011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16663
16664 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16665 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16666 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16667 (doc-view-mode-map): Add bindings for the new functions.
16668
099c39a4 166692011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16670
4d61f28d 16671 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16672 Fix typo in docstring.
16673
3726838a
EZ
166742011-04-08 Eli Zaretskii <eliz@gnu.org>
16675
04f33f1e
EZ
16676 * files.el (file-size-human-readable): Produce one digit after
16677 decimal, like "ls -lh" does.
16678
16679 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16680 the file size representation.
16681
3726838a
EZ
16682 * simple.el (list-processes): If async subprocesses are not
16683 available, error out with a clear error message.
16684
cbb59342
CY
166852011-04-08 Chong Yidong <cyd@stupidchicken.com>
16686
16687 * help.el (help-form-show): New function, to be called from C.
16688 Put help-form output in a buffer named differently than *Help*.
16689
e3971c44
EZ
166902011-04-08 Eli Zaretskii <eliz@gnu.org>
16691
16692 * files.el (file-size-human-readable): New function.
16693
16694 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16695 computing the representation inline. Don't require `cl'.
16696
12544bbe
GM
166972011-04-08 Glenn Morris <rgm@gnu.org>
16698
a1de6c6a
GM
16699 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16700
3c4671f4
GM
16701 * net/browse-url.el (browse-url-firefox):
16702 Test system-type, not system-configuration.
16703
b605679c
GM
16704 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16705 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16706 Use log-edit-empty-buffer-p. (Bug#7598)
16707
56442f0c
GM
16708 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16709 (rlogin-mode-map): Initialize in the defvar.
16710 (rlogin): Use ignore-errors.
16711
12544bbe
GM
16712 * replace.el (occur-mode-map): Some fixes for menu items.
16713
eb237b0f
AH
167142011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16715
16716 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16717
7d668f2c
CY
167182011-04-06 Chong Yidong <cyd@stupidchicken.com>
16719
e67a13ab
CY
16720 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16721 issuing unused warnings.
16722
16723 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16724 macro directly.
16725
7d668f2c
CY
16726 * simple.el: Lisp reimplement of list-processes. Based on an
16727 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16728 (process-menu-mode): New major mode.
16729 (list-processes--refresh, list-processes):
16730 (process-menu-visit-buffer): New functions.
16731
16732 * files.el (save-buffers-kill-emacs): Don't assume any return
16733 value of list-processes, which is undocumented anyway.
16734
a83ec3c9
CY
167352011-04-06 Chong Yidong <cyd@stupidchicken.com>
16736
16737 * emacs-lisp/tabulated-list.el: New file.
16738
e91a96fe
CY
16739 * emacs-lisp/package.el: Use Tabulated List mode.
16740 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16741 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16742 table format using Tabulated List mode variables.
16743 (package--push): New macro, replacing package-list-maybe-add.
16744 (package-menu--generate): Use package--push. Renamed from
16745 package--generate-package-list.
16746 (package-menu-refresh, list-packages): Use it.
daca8ba5 16747 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16748 Return insertion data instead of inserting it directly.
099c39a4
JB
16749 (package-menu-describe-package, package-menu-execute):
16750 Use tabulated-list-get-id.
e91a96fe
CY
16751 (package-menu-mark-delete, package-menu-mark-install)
16752 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16753 (package-menu-mark-obsolete-for-deletion):
16754 Use tabulated-list-put-tag.
e91a96fe
CY
16755 (package--list-packages, package-menu-revert)
16756 (package-menu-get-package, package-menu-get-version)
16757 (package-menu-sort-by-column): Functions deleted.
16758 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16759 (package-menu--status-predicate, package-menu--version-predicate)
16760 (package-menu--name-predicate)
16761 (package-menu--description-predicate): Handle arguments in the
16762 Tabulated List format.
16763 (package-list-packages-no-fetch): Call list-packages.
16764
3e214b50
JB
167652011-04-06 Juanma Barranquero <lekktu@gmail.com>
16766
16767 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16768 (after-find-file): Don't bind it.
3e214b50
JB
16769 (revert-buffer-in-progress-p): New variable.
16770 (revert-buffer): Bind it.
16771 Pass nil for `after-find-file-from-revert-buffer'.
16772
16773 * saveplace.el (save-place-find-file-hook): Use new variable
16774 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16775
3f0f1700
GM
167762011-04-06 Glenn Morris <rgm@gnu.org>
16777
c0274801
GM
16778 * Makefile.in (AUTOGEN_VCS): New variable.
16779 (autoloads): Use $AUTOGEN_VCS.
16780
3f0f1700
GM
16781 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16782 * calendar/calendar.el (calendar-mode-map):
16783 Check for toolkit scroll bars. (Bug#8305)
16784
41ea9e48
CY
167852011-04-05 Chong Yidong <cyd@stupidchicken.com>
16786
16787 * minibuffer.el (completion-in-region--postch)
16788 (completion-in-region-mode): Remove unnecessary messages.
16789
6194c800
JB
167902011-04-05 Juanma Barranquero <lekktu@gmail.com>
16791
33256f14
JB
16792 * font-lock.el (font-lock-refresh-defaults):
16793 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16794 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16795
6194c800
JB
16796 * info.el (Info-directory-list, Info-read-node-name-2)
16797 (Info-split-parameter-string): Doc fixes.
16798 (Info-virtual-nodes): Reflow docstring.
16799 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16800 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16801 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16802 Fix typos in docstrings.
16803 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16804 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16805 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16806 (Info-restore-desktop-buffer): Mark unused parameters.
16807 (Info-directory-find-file, Info-directory-find-node)
16808 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16809 (Info-virtual-index-find-node, Info-apropos-find-file)
16810 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16811 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16812 (Info-virtual-index): Remove unused local variable `nodename'.
16813
b87a8200 168142011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16815
b87a8200
DD
16816 * net/rcirc.el: Update my e-mail address.
16817 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16818
3b2ff876
CY
168192011-04-05 Chong Yidong <cyd@stupidchicken.com>
16820
16821 * startup.el (command-line): Save the cursor's theme-face
16822 directly, instead of using face-override-spec.
16823
16824 * custom.el (load-theme): Minor optimization in assigning faces.
16825
8d17e7ca
JB
168262011-04-04 Juanma Barranquero <lekktu@gmail.com>
16827
16828 * help-fns.el (describe-variable): Complete all variables having
16829 documentation, including keywords.
16830 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16831
2fbc1934
JB
168322011-04-04 Juanma Barranquero <lekktu@gmail.com>
16833
16834 Convert to lexical-binding.
16835
16836 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16837 (bs--get-marked-string, bs--get-modified-string)
16838 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16839 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16840 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16841
16842 * ehelp.el (electric-help-execute-extended)
16843 (electric-help-ctrl-x-prefix):
16844 * hexl.el (hexl-revert-buffer-function):
16845 * linum.el (linum-after-change, linum-after-scroll):
16846 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16847
16848 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16849
74f50695
DU
168502011-04-04 Daiki Ueno <ueno@unixuser.org>
16851
16852 * epa-dired.el:
16853 * epa-mail.el:
16854 * epa-hook.el:
16855 * epa-file.el:
16856 * epa.el:
16857 * epg.el: Use lexical binding.
16858
c11325f7
CY
168592011-04-03 Chong Yidong <cyd@stupidchicken.com>
16860
0d9e9a12
CY
16861 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16862
c11325f7 16863 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16864 dictionary case for flyspell-mark-duplications-exceptions.
16865 Use regexp matching for languages.
c11325f7
CY
16866 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16867 default dictionary (Bug#7926).
16868
da91b5f2
CY
168692011-04-02 Chong Yidong <cyd@stupidchicken.com>
16870
099c39a4
JB
16871 * emacs-lisp/package.el (package--with-work-buffer):
16872 Recognize https URLs.
da91b5f2 16873
099c39a4
JB
16874 * net/network-stream.el: Move from gnus/proto-stream.el.
16875 Change prefix to network-stream throughout.
da91b5f2
CY
16876 (open-protocol-stream): Merge into open-network-stream, leaving
16877 open-protocol-stream as an alias. Handle nil BUFFER args.
16878
16879 * subr.el (open-network-stream): Move to net/network-stream.el.
16880
afa8e9f6
GM
168812011-04-02 Glenn Morris <rgm@gnu.org>
16882
1d2e369d
GM
16883 * find-dired.el (find-exec-terminator): New option.
16884 (find-ls-option): Test for -ls support.
16885 (find-ls-subdir-switches): Test for -b in find-ls-option.
16886 (find-dired, find-grep-dired): Doc fixes.
16887 (find-dired): Use find-exec-terminator.
16888
8abb7da8 16889 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16890 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16891 (find-name-arg): Remove purecopy.
8abb7da8 16892
f3ca7378
GM
16893 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16894 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16895 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16896 accordingly. Don't add the null-device if not needed.
16897
afa8e9f6
GM
16898 * files.el (save-some-buffers): Doc fix.
16899
35eae264
EZ
169002011-04-02 Eli Zaretskii <eliz@gnu.org>
16901
16902 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16903
26b51db5
JB
169042011-04-01 Juanma Barranquero <lekktu@gmail.com>
16905
16906 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16907 Use `dolist' rather than `mapcar'.
16908
7200d79c
SM
169092011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16910
03408648 16911 Add lexical binding.
7200d79c 16912
03408648
SM
16913 * subr.el (apply-partially): Use new closures rather than CL.
16914 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16915 (dolist, dotimes): Use slightly different expansion for lexical code.
16916 (functionp): Move to C.
16917 (letrec): New macro.
16918 (with-wrapper-hook): Use it and apply-partially instead of CL.
16919 (eval-after-load): Preserve lexical-binding.
16920 (save-window-excursion, with-output-to-temp-buffer): Turn them
16921 into macros.
7200d79c 16922
03408648
SM
16923 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16924
16925 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16926 than the arglist.
16927 (help-add-fundoc-usage): Don't add `Not documented'.
16928 (help-function-arglist): Handle closures, subroutines, and new
16929 byte-code-functions.
16930 (help-make-usage): Remove leading underscores.
16931 (describe-function-1): Handle closures.
16932 (describe-variable): Use special-variable-p for completion.
16933
16934 * files.el (lexical-binding): Declare safe.
f488fb65 16935
03408648
SM
16936 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16937 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16938 (pcase): Add `let' pattern.
16939 Change memoization so it actually works.
16940 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16941 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16942 <let>: New case.
f488fb65 16943
03408648
SM
16944 * emacs-lisp/macroexp.el: Use lexical binding.
16945 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16946 Don't convert ' to #' without checking that it's indeed quoting
16947 a lambda.
16948
16949 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16950 Use eval-sexp-add-defvars.
03408648
SM
16951 (eval-sexp-add-defvars): New fun.
16952
16953 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16954
16955 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16956 Don't autoload.
16957 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16958 than the internal `byte-compile-lambda'.
16959 (defmethod): Don't hide code under quotes.
16960 (eieio-defmethod): New `code' argument.
16961
16962 * emacs-lisp/eieio-comp.el: Remove.
16963
16964 * emacs-lisp/edebug.el (edebug-eval-defun)
16965 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16966 (edebug-toggle): Avoid `eval'.
16967
16968 * emacs-lisp/disass.el (disassemble-internal): Handle new
16969 `closure' objects.
16970 (disassemble-1): Handle new byte codes.
16971
16972 * emacs-lisp/cl.el (pushnew): Silence warning.
16973
16974 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16975 (cl-byte-compile-throw): Remove.
16976 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16977
16978 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16979 closures.
16980
16981 * emacs-lisp/cconv.el: New file.
16982
16983 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16984 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16985 (byte-compile-initial-macro-environment):
16986 Handle declare-function here.
16987 (byte-compile--lexical-environment): New var.
16988 (byte-stack-ref, byte-stack-set, byte-discardN)
16989 (byte-discardN-preserve-tos): New lap codes.
16990 (byte-interactive-p): Don't use any more.
16991 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16992 New macros.
16993 (byte-compile-lapcode): Use them and handle new lap codes.
16994 (byte-compile-obsolete): Remove.
16995 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16996 (byte-compile-arglist-warn): Check late def of inlinable funs.
16997 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16998 since they should have been expanded by now.
16999 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17000 (byte-compile-from-buffer): Remove unused second arg.
17001 (byte-compile-preprocess): New function.
17002 (byte-compile-toplevel-file-form): New function to distinguish
17003 file-form calls from outside from file-form calls from hunk-handlers.
17004 (byte-compile-file-form): Simplify.
17005 (byte-compile-file-form-defsubst): Remove.
17006 (byte-compile-file-form-defmumble): Simplify now that
17007 byte-compile-lambda always returns a byte-code-function.
17008 (byte-compile): Preprocess.
17009 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17010 Remove, not used any more.
17011 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17012 (byte-compile-make-args-desc): New funs.
17013 (byte-compile-lambda): Handle lexical functions. Always return
17014 a byte-code-function.
17015 (byte-compile-reserved-constants): New var, to make up room for
17016 closed-over variables.
17017 (byte-compile-constants-vector): Obey it.
17018 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17019 (byte-compile-macroexpand-declare-function): New function.
17020 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17021 byte-code-functions.
17022 (byte-compile-form): Check obsolescence here.
17023 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17024 (byte-compile-variable-ref): Remove.
17025 (byte-compile-dynamic-variable-op): New fun.
17026 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17027 (byte-compile-variable-set): New funs.
17028 (byte-compile-discard): Add 2 args.
17029 (byte-compile-stack-ref, byte-compile-stack-set)
17030 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17031 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17032 macroexpand-all instead.
17033 (byte-compile-quote-form): Remove.
17034 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17035 (byte-compile-bind, byte-compile-unbind): New funs.
17036 (byte-compile-let): Handle let* and lexical binding.
17037 (byte-compile-let*): Remove.
17038 (byte-compile-catch, byte-compile-unwind-protect)
17039 (byte-compile-track-mouse, byte-compile-condition-case):
17040 Handle a new :fun-body form, used for lexical scoping.
17041 (byte-compile-save-window-excursion)
17042 (byte-compile-with-output-to-temp-buffer): Remove.
17043 (byte-compile-defun): Simplify.
17044 (byte-compile-stack-adjustment): New fun.
17045 (byte-compile-out): Use it.
17046 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17047
17048 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17049 handler any more.
17050
17051 * emacs-lisp/byte-opt.el: Use lexical binding.
17052 (byte-inline-lapcode): Remove (to bytecomp).
17053 (byte-compile-inline-expand): Pay attention to inlining to/from
17054 lexically bound code.
17055 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17056 any more.
17057 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17058 any more and don't call compiler-macros.
17059 (byte-compile-splice-in-already-compiled-code): Remove.
17060 (byte-code): Don't inline any more.
17061 (disassemble-offset): Receive `bytes' as argument rather than via
17062 dynamic scoping.
17063 (byte-compile-tag-number): Declare before first use.
17064 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17065 `return' even if make-spliceable.
17066 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17067 obsolete interactive-p.
17068 (byte-optimize-lapcode): Optimize new lap-codes.
17069 Don't trip up on new form of `byte-constant' lap code.
17070
17071 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17072
17073 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17074
17075 * custom.el (custom-initialize-default, custom-declare-variable):
17076 Use `defvar'.
17077
17078 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17079 New variables.
17080 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17081 (COMPILE_FIRST): Add macroexp and cconv.
17082 * makefile.w32-in: Mirror changes in Makefile.in.
17083
17084 * vc/cvs-status.el:
17085 * vc/diff-mode.el:
17086 * vc/log-edit.el:
17087 * vc/log-view.el:
17088 * vc/smerge-mode.el:
17089 * textmodes/bibtex-style.el:
090bd7cb 17090 * textmodes/css-mode.el:
03408648
SM
17091 * startup.el:
17092 * uniquify.el:
da91b5f2
CY
17093 * minibuffer.el:
17094 * newcomment.el:
17095 * reveal.el:
17096 * server.el:
17097 * mpc.el:
17098 * emacs-lisp/smie.el:
17099 * doc-view.el:
17100 * dired.el:
03408648
SM
17101 * abbrev.el: Use lexical binding.
17102
0f0c1f27
EZ
171032011-04-01 Eli Zaretskii <eliz@gnu.org>
17104
17105 * info.el (info-display-manual): New function.
17106
c82b2579
SM
171072011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17108
17109 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17110
221ddf68
TH
171112011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17112
17113 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 17114 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 17115
cba6e77e
GM
171162011-03-31 Glenn Morris <rgm@gnu.org>
17117
e040639f
GM
17118 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17119
cba6e77e
GM
17120 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17121
6d0f1c9e
CS
171222011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17123
17124 * progmodes/python.el (python-default-interpreter)
17125 (python-python-command-args, python-jython-command-args)
17126 (python-which-shell, python-which-args, python-which-bufname)
17127 (python-file-queue, python-comint-output-filter-function)
17128 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17129 variables and functions.
17130
3e2d70fd
SM
171312011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17132
17133 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17134 (completion-in-region-mode): New minor mode.
17135 (completion-in-region): Use it.
17136 (completion-in-region--data, completion-in-region-mode-map): New vars.
17137 (completion-in-region--postch): New function.
17138 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17139 New vars.
17140 (completion--capf-wrapper): New function.
17141 (completion-at-point): Use it to track well-behavedness of
17142 hook functions.
17143 (completion-help-at-point): New command.
17144
f3e4086c
JM
171452011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17146
17147 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17148 syntax class to search for whitespace on a single line
17149 (Message-ID: <4D938140.4030905@redhat.com>).
17150
eb7ffc14
LL
171512011-03-30 Leo Liu <sdl.web@gmail.com>
17152
17153 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17154 New commands.
17155 (edit-abbrevs-map): Bind them here.
17156 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17157
d806ab68
KM
171582011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17159
17160 * allout.el (allout-hide-by-annotation, allout-flag-region):
17161 Reduce possibility of overlay leakage by making them volatile.
17162
17163 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17164 hash is not shared between buffers. Mode initialization is
17165 responsible for giving it a useful starting value.
17166 (allout-item-span): Reduce possibility of overlay leakage by
17167 making them volatile.
17168 (allout-widgets-count-buttons-in-region): Add diagnostic function
17169 for tracking down button overlay leaks.
17170
ea622834
LL
171712011-03-29 Leo Liu <sdl.web@gmail.com>
17172
17173 * ido.el (ido-read-internal): Use the default history var
17174 minibuffer-history if no HISTORY is specified.
17175
b62f8267
G
171762011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17177
03408648
SM
17178 * net/imap.el (imap-shell-open, imap-process-connection-type):
17179 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
17180 Kerberos, SSL, other subprocesses.
17181
947b6566
LL
171822011-03-28 Leo Liu <sdl.web@gmail.com>
17183
17184 * abbrev.el (abbrev-table-empty-p): New function.
17185 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17186 nonempty ones. (Bug#5937)
17187
5ffb62aa
JD
171882011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17189
17190 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17191
7a097943
LL
171922011-03-27 Leo Liu <sdl.web@gmail.com>
17193
17194 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17195 for foreground and background colors.
17196 (ansi-color-make-color-map): Adapt.
17197
c5b40130
LL
171982011-03-25 Leo Liu <sdl.web@gmail.com>
17199
1f48f7d2
LL
17200 * midnight.el (midnight-time-float): Remove. Note it calculates
17201 the microsecond component incorrectly and seconds-to-time does the
17202 same job.
625897ec 17203 Remove redundant (require 'timer).
1f48f7d2 17204
c5b40130
LL
17205 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17206 (ido-completions): Remove unused arguments. (Bug#8329)
17207
d86d2721
SM
172082011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17209
17210 * minibuffer.el (completion--flush-all-sorted-completions):
17211 Remove itself from hook.
17212 (completion-at-point): Let the functions perform the completion
17213 immediately and return nil or t.
17214 * comint.el (comint-dynamic-complete-functions): Now identical to
17215 completion-at-point-functions.
17216 (comint-dynamic-list-input-ring): Remove unused var `index'.
17217 (comint--match-partial-filename, comint--unquote&expand-filename):
17218 New funs, split from comint-match-partial-filename.
17219 (comint-dynamic-complete): Use completion-at-point.
17220 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17221
e8974c48
DA
172222011-03-24 Drew Adams <drew.adams@oracle.com>
17223
17224 * thingatpt.el: Support `defun'.
17225
def71b5e
LL
172262011-03-23 Leo Liu <sdl.web@gmail.com>
17227
cb5af48e
LL
17228 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17229
def71b5e
LL
17230 * help-mode.el (help-mode-finish): Tweak regexp.
17231
927c53e7
GM
172322011-03-23 Glenn Morris <rgm@gnu.org>
17233
18d05bed
GM
17234 * eshell/esh-opt.el (eshell-eval-using-options):
17235 Do not bind unused local variable `eshell-option-stub'.
17236
927c53e7
GM
17237 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17238
9d0da923
JB
172392011-03-22 Juanma Barranquero <lekktu@gmail.com>
17240
17241 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17242 keymap variable in `with-no-warnings' to avoid a warning when the
17243 keymap has been already `defconst'ed.
17244
4b978a67
LL
172452011-03-22 Leo Liu <sdl.web@gmail.com>
17246
17247 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17248 encode all chars in abbrevs; otherwise use emacs-mule or
17249 utf-8-emacs. (Bug#8308)
17250
5fd62452
JB
172512011-03-22 Juanma Barranquero <lekktu@gmail.com>
17252
0b1596c6
JB
17253 * simple.el (backward-delete-char-untabify):
17254 Avoid warning about using `delete-backward-char'.
17255
5fd62452
JB
17256 * image.el (image-type-file-name-regexps): Make it variable.
17257 `imagemagick-register-types' modifies it, and the user may want
17258 to add new extensions for known image types.
17259 (imagemagick-register-types): Throw error if not using ImageMagick.
17260
0b4e93f1
LL
172612011-03-22 Leo Liu <sdl.web@gmail.com>
17262
17263 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17264 located before rcirc-prompt-end-marker.
17265 (rcirc-complete): Error if point is not after rcirc prompt.
17266 Handle the case when table is nil.
9882e214 17267 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17268
fccee4ab
CY
172692011-03-22 Chong Yidong <cyd@stupidchicken.com>
17270
17271 * custom.el (custom--inhibit-theme-enable): Make it affect only
17272 custom-theme-set-variables and custom-theme-set-faces.
17273 (provide-theme): Ignore custom--inhibit-theme-enable.
17274 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17275 (custom-enabling-themes): Delete variable.
d86d2721
SM
17276 (enable-theme): Accept only loaded themes as arguments.
17277 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17278 (custom-enabled-themes): Forbid themes from setting this.
17279 Eliminate use of custom-enabling-themes.
17280 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17281
af896da6
LL
172822011-03-21 Leo Liu <sdl.web@gmail.com>
17283
17284 * ido.el (ido-read-internal): Add ido-selected to history instead
17285 of user input.
17286
78f64af0
SM
172872011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17288
17289 * subr.el (deferred-action-list, deferred-action-function):
17290 Mark obsolete.
17291
b16ac1ec
LL
172922011-03-21 Leo Liu <sdl.web@gmail.com>
17293
810f7698
LL
17294 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17295 change on 2011-02-13 (bug#8309).
17296
b16ac1ec
LL
17297 * minibuffer.el (read-file-name-function): Change default value.
17298 (read-file-name--defaults): Rename from read-file-name-defaults.
17299 (read-file-name-default): Rename from read-file-name.
17300 (read-file-name): Call read-file-name-function.
17301
4e05e67e
GM
173022011-03-21 Glenn Morris <rgm@gnu.org>
17303
17304 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17305 Doc fixes.
17306
4359915b
CY
173072011-03-21 Chong Yidong <cyd@stupidchicken.com>
17308
17309 * cus-theme.el: Add missing provide statement.
17310 (customize-create-theme): Extract theme value correctly.
17311 (custom-theme-visit-theme): Autoload.
17312 (customize-create-theme): Prompt before inserting default faces.
17313
1fe275ee
JB
173142011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17315
17316 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17317 units and musical notes.
17318
cd394be1 173192011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17320
17321 * ido.el (ido-read-internal): Use completing-read-default.
17322 (ido-completing-read): Fix compatibility with completing-read.
17323
7d476bde
CO
173242011-03-20 Christian Ohler <ohler@gnu.org>
17325
17326 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17327 (ert-delete-all-tests): Use `called-interactively-p' rather than
17328 `interactive-p'.
17329 (ert--make-xrefs-region): Respect END.
17330
fe0fb33e
CY
173312011-03-19 Chong Yidong <cyd@stupidchicken.com>
17332
ff854b0b
CY
17333 * dired-aux.el (dired-create-directory): Signal an error if the
17334 directory already exists (Bug#8246).
17335
fe0fb33e
CY
17336 * facemenu.el (list-colors-display): Call list-faces-display
17337 inside with-help-window.
17338 (list-colors-print): Use display property to align the final
17339 column, instead of checking window-width.
17340
576bce32
EZ
173412011-03-19 Eli Zaretskii <eliz@gnu.org>
17342
4d61f28d 17343 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17344 windows-nt systems.
17345 (emerge-protect-metachars): Quote correctly for ms-dos and
17346 windows-nt systems.
17347
89c41d68 173482011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17349
17350 * info.el (info-initialize): Replace all uses of `:' with
17351 path-separator for compatibility with non-Unix systems.
17352 Cache quoting of path-separator. (Bug#8258)
17353
b14e3e21 173542011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17355
17356 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17357 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17358 (mouse-avoidance-mode): Fix typos in docstrings.
17359
4525ce3e
CY
173602011-03-19 Chong Yidong <cyd@stupidchicken.com>
17361
17362 * startup.el (package-subdirectory-regexp): Move from package.el.
17363 Omit \\` and \\', and let callers add them.
17364
17365 * emacs-lisp/package.el (package-strip-version)
17366 (package-load-all-descriptors): Add \\` and \\' to
17367 package-subdirectory-regexp before using it.
17368 (package-untar-buffer): New arg DIR; ensure that file untars only
17369 into this expected directory. Remove superfluous delete-region.
17370 (package-unpack): Caller changed.
17371 (package-tar-file-info): Use package-subdirectory-regexp.
17372
a904a09a 173732011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17374
a904a09a
SM
17375 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17376 diff-mode-shared-map (bug#8284).
17377 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17378
173792011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17380
17381 * calendar/time-date.el (format-seconds): Use assoc instead of
17382 assoc-string, since assoc-string doesn't exist in XEmacs.
17383
171fc304
JB
173842011-03-17 Juanma Barranquero <lekktu@gmail.com>
17385
17386 * custom.el (custom-known-themes): Reflow docstring.
17387 (custom-theme-load-path): Fix typo in docstring.
17388 (load-theme): Fix typo in error message.
17389 (custom-available-themes, custom-variable-theme-value):
17390 Use `let', not `let*'.
17391
d71990a1
JB
173922011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17393
17394 * calc/README: Mention inclusion of musical notes.
17395
17396 * calc/calc-units.el (calc-lu-quant): Rename from
17397 `calc-logunits-quantity'.
17398 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17399 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17400 (calc-db): Rename from `calc-dblevel'.
17401 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17402 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17403 (calc-np): Rename from `calc-nplevel'.
17404 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17405 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17406 (calc-lu-plus): Rename from `calc-logunits-add'.
17407 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17408 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17409 (calc-lu-minus): Rename from `calc-logunits-sub'.
17410 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17411 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17412 (calc-lu-times): Rename from `calc-logunits-mul'.
17413 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17414 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17415 (calc-lu-divide): Rename from `calc-logunits-div'.
17416 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17417 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17418
17419 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17420 functions being autoloaded.
17421
17422 * calc/calc.el (calc-lu-power-reference): Rename from
17423 `calc-logunits-power-reference'.
17424 (calc-lu-field-reference): Rename from
17425 `calc-logunits-field-reference'.
17426
7a71b18d
GM
17427 * calc/calc-help.el (calc-l-prefix-help):
17428 Mention musical note functions.
d71990a1 17429
40c2934b
SM
174302011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17431
17432 * minibuffer.el (completion-all-sorted-completions):
17433 Use :completion-cycle-penalty text property if present.
17434
b0911414
KM
174352011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17436
17437 * allout.el (allout-yank-processing): Adjust for new rebulleting
17438 regime so bullet being yanked is used without prompting the user
17439 for a choice.
17440
8a05b668
JB
174412011-03-16 Juanma Barranquero <lekktu@gmail.com>
17442
17443 * startup.el (command-line): Warn the user that _emacs is deprecated.
17444
5ba5fb81
JB
174452011-03-16 Juanma Barranquero <lekktu@gmail.com>
17446
17447 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17448 (delphi-verbose, delphi-comment-face, delphi-string-face)
17449 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17450 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17451 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17452 (delphi-new-comment-line, delphi-font-lock-defaults)
17453 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17454 Fix typos in docstrings.
17455
2dab465b
KM
174562011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17457
5ba5fb81 17458 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17459 Invert the roles of character and string values for INSTEAD, so a
17460 string is used for the more common case of a defaulting prompt.
17461
0adf5618
SM
174622011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17463
17464 * progmodes/ruby-mode.el (ruby-backward-sexp):
17465 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17466 * play/gamegrid.el (gamegrid-make-face):
17467 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17468 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17469 * notifications.el (notifications-notify):
17470 * net/xesam.el (xesam-search-engines):
17471 * net/quickurl.el (quickurl-list-insert):
17472 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17473
d72700e5
CY
174742011-03-15 Chong Yidong <cyd@stupidchicken.com>
17475
17476 * startup.el (command-line): Update package subdirectory regexp.
17477
49c5410a
SM
174782011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17479
c6eee9aa
SM
17480 * allout.el (allout-abbreviate-flattened-numbering)
17481 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17482
49c5410a
SM
17483 * subr.el (read-char-choice): Only show the cursor after the prompt,
17484 not after the answer.
17485
047b2bb9
KR
174862011-03-15 Kevin Ryde <user42@zip.com.au>
17487
17488 * help-fns.el (variable-at-point): Skip leading quotes, if any
17489 (bug#8253).
17490
0a57d256
SM
174912011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17492
17493 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17494 warning message.
17495
77c992bc
MA
174962011-03-14 Michael Albinus <michael.albinus@gmx.de>
17497
17498 * shell.el (shell): When called interactively, offer to change the
17499 shell file name on remote hosts.
17500
eebc475d
TZ
175012011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17502
17503 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17504 integration for LDAP parameters. The host, base, user or binddn,
17505 and secret tokens can be specified in a netrc file, for instance.
17506 This is optional because an `auth-source' parameter must be
17507 specified in the search attributes.
17508
9d05d1ba
JB
175092011-03-13 Juanma Barranquero <lekktu@gmail.com>
17510
17511 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17512
09d9db2c
GM
175132011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17514
17515 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17516 into declaration. Remove redundant and harmful binding.
17517
175182011-03-12 Eli Zaretskii <eliz@gnu.org>
17519
17520 * files.el (file-ownership-preserved-p): Pass `integer' as an
17521 explicit 2nd argument to `file-attributes'. If the file's owner
17522 is the Administrators group on Windows, and the current user is
17523 Administrator, consider that a match.
17524
17525 * server.el (server-ensure-safe-dir): Consider server directory
17526 safe on MS-Windows if its owner is the Administrators group while
17527 the current Emacs user is Administrator. Use `=' to compare
17528 numerical UIDs, since they could be integers or floats.
17529
219bd536
JB
175302011-03-12 Juanma Barranquero <lekktu@gmail.com>
17531
17532 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17533
f3afd36b
MA
175342011-03-12 Michael Albinus <michael.albinus@gmx.de>
17535
17536 Sync with Tramp 2.2.1.
17537
17538 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17539
17540 * net/trampver.el: Update release number.
17541
3aaaa6f1
SM
175422011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17543
94642599
SM
17544 * progmodes/compile.el (compilation--previous-directory): Fix up
17545 various nil/dead-marker mismatches (bug#8014).
17546 (compilation-directory-properties, compilation-error-properties):
17547 Don't call it at a position past the one we're about to change.
17548
3aaaa6f1
SM
17549 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17550 Disable obsolescence warnings in the file that declares it.
17551
14239447
KM
175522011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17553
099c39a4
JB
17554 * allout-widgets.el (allout-widgets-tally):
17555 Initialize allout-widgets-tally as a hash table rather than nil to
17556 prevent mode-line redisplay warnings. Also, clarify the module
17557 description and fix a comment typo.
14239447 17558
135e287c
JB
175592011-03-11 Juanma Barranquero <lekktu@gmail.com>
17560
17561 * help-fns.el (describe-variable): Don't complete keywords.
17562 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17563
ffbf300e
CY
175642011-03-10 Chong Yidong <cyd@stupidchicken.com>
17565
ba08b241
CY
17566 * emacs-lisp/package.el (package-version-join): Impose a standard
17567 string representation for pre/alpha/beta version lists.
17568 (package-unpack-single): Standardize the directory name by passing
17569 it through package-version-join.
17570 (package-strip-rcs-id): Accept any version string that does not
17571 signal an error in version-to-list.
ffbf300e 17572
f346fd6b
MA
175732011-03-10 Michael Albinus <michael.albinus@gmx.de>
17574
17575 * simple.el (delete-trailing-whitespace): Return nil for the
17576 benefit of `write-file-functions'.
17577
ccb55d27
GM
175782011-03-10 Glenn Morris <rgm@gnu.org>
17579
5ceaac0c
GM
17580 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17581
02da65ff
GM
17582 * vc/vc-git.el (vc-git-program): New option.
17583 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17584 (vc-git--call): Use it.
17585
b2f603cc
GM
17586 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17587
5772caab
GM
17588 * cus-edit.el (Custom-newline): If no button at point, look
17589 for a subgroup button at start-of-line. (Bug#2298)
17590
ccb55d27
GM
17591 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17592
ec6ecaed
JD
175932011-03-10 Julien Danjou <julien@danjou.info>
17594
17595 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17596 `cursor-type' is nil.
17597
9d5aa01d
JB
175982011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17599
17600 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17601
b6a5875b
KM
176022011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17603
7a71b18d 17604 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17605 preserves the existing header prefix, rebulleting it if necessary,
17606 rather than replacing it. This is necessary for proper operation
17607 of cooperative addons like allout-widgets.
1154d12e
JB
17608 (allout-make-topic-prefix, allout-rebullet-heading):
17609 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17610 value as alternate bullet to be used, instead of prompting the user
17611 for a bullet character.
b6a5875b 17612
ee545c35
MA
176132011-03-09 Michael Albinus <michael.albinus@gmx.de>
17614
d86d2721
SM
17615 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17616 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17617 `tramp-default-port'.
17618
c47971d7
DD
176192011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17620
17621 * net/rcirc.el (rcirc-handler-001): Remove useless
17622 with-rcirc-process-buffer.
17623 (rcirc-check-auth-status): Swap arguments to string-match.
17624
13522cb4
GM
176252011-03-09 Glenn Morris <rgm@gnu.org>
17626
0be6f4f1
GM
17627 * shell.el (shell-mode):
17628 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17629
13522cb4
GM
17630 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17631 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17632
515de2e3
CY
176332011-03-08 Chong Yidong <cyd@stupidchicken.com>
17634
17635 * emacs-lisp/package.el (package-refresh-contents)
17636 (package-menu-execute): Use condition-case-no-debug.
17637
b511b994
MA
176382011-03-08 Michael Albinus <michael.albinus@gmx.de>
17639
17640 * simple.el (shell-command-to-string): Use `process-file'.
17641
17642 * emacs-lisp/package.el (package-tar-file-info): Handle also
17643 remote files.
17644
d86d2721
SM
17645 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17646 Use `equal' for upload base check.
b511b994 17647
25bbfb31
AM
176482011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17649
17650 * textmodes/texinfo.el (texinfo-environments):
17651 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17652
be996521
GM
176532011-03-08 Glenn Morris <rgm@gnu.org>
17654
e9c8529f
GM
17655 * cus-start.el (cursor-in-non-selected-windows):
17656 Fix :set quoting oddness. (Bug#8192)
17657
be996521
GM
17658 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17659 in some setf expressions. (Bug#2159)
17660
2bb5649e
CY
176612011-03-08 Chong Yidong <cyd@stupidchicken.com>
17662
17663 * custom.el (custom-available-themes): Return themes in
17664 alphabetical order.
17665
33383987 17666See ChangeLog.15 for earlier changes.
e3d51b27
MR
17667
17668;; Local Variables:
17669;; coding: utf-8
e3d51b27
MR
17670;; End:
17671
acaf905b 17672 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17673
17674 This file is part of GNU Emacs.
17675
17676 GNU Emacs is free software: you can redistribute it and/or modify
17677 it under the terms of the GNU General Public License as published by
17678 the Free Software Foundation, either version 3 of the License, or
17679 (at your option) any later version.
17680
17681 GNU Emacs is distributed in the hope that it will be useful,
17682 but WITHOUT ANY WARRANTY; without even the implied warranty of
17683 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17684 GNU General Public License for more details.
17685
17686 You should have received a copy of the GNU General Public License
17687 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.