Implement ANSI SGR parameters 22-27.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
2f29c200
WJ
12012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
2
3 Implement ANSI SGR parameters 22-27 (bug#12146).
4 * ansi-color.el (ansi-colors): Doc fix.
5 (ansi-color-context, ansi-color-context-region): Doc fix.
6 (ansi-color--find-face): New function.
7 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8 Rename the local variable `face' to `codes' since it is now a list of
9 ansi codes. Doc fix.
10 (ansi-color-get-face): Remove.
11 (ansi-color-parse-sequence): New function, derived from
12 ansi-color-get-face.
13 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
14 codes 22-27.
15
b4f5e9df
SM
162012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
17
18 * subr.el (read-passwd): Allow use from a minibuffer.
19
ba025fbd
EZ
202012-08-14 Eli Zaretskii <eliz@gnu.org>
21
22 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
23 inside comments and strings as identifiers.
24
25 * progmodes/gud.el (gud-tooltip-print-command): Quote the
26 expression to evaluate. This allows to evaluate expressions with
27 embedded whitespace.
28 (gud-tooltip-tips): Add a blank before the newline in the
29 message-box text, for the benefit of message-box emulation on
30 MS-Windows.
31
32 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
33 messages from GDB, pop them up in a tooltip to give feedback to
34 user.
b4f5e9df
SM
35 (gdb-tooltip-print-1): Quote the expression to evaluate.
36 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
37 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
38 if the TTY name is nil or empty (which happens when communicating
39 with the inferior via pipes, e.g. on MS-Windows).
40 (gdb-internals): If GDB sends a "&\n" empty debugging message,
41 don't send that to the GUD buffer.
42
c548f821
GM
432012-08-14 Glenn Morris <rgm@gnu.org>
44
45 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
46 Optimize away setq-default with no args, as for setq. (Bug#12195)
47
55802e4a
CY
482012-08-14 Chong Yidong <cyd@gnu.org>
49
4abcdac8
CY
50 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
51
55802e4a
CY
52 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
53 (Bug#12085).
54
3c3cda1a
GM
552012-08-14 Glenn Morris <rgm@gnu.org>
56
57 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
58
e1873bd0
MA
592012-08-14 Michael Albinus <michael.albinus@gmx.de>
60
61 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
62 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
63 Use cached shell name.
64
925411b4
FEG
652012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
66
67 * progmodes/python.el (python-shell-send-string):
3c3cda1a 68 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 69
e636fafe
DG
702012-08-14 Dmitry Gutov <dgutov@yandex.ru>
71
72 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
73 (ruby-percent-literal-beg-re): New constant.
74 (ruby-syntax-general-delimiters-goto-beg): Rename to
75 `ruby-syntax-enclosing-percent-literal', improve literal type check.
76 (ruby-syntax-propertize-general-delimiters): Rename to
77 `ruby-syntax-propertize-percent-literal', it's a shorter and more
78 popular term. Adjust comments everywhere.
79 (ruby-syntax-propertize-percent-literal): Only propertize when not
80 inside a simple string or comment. When the literal is unclosed,
81 leave the text after it unpropertized.
f063063a
DG
82 (ruby-syntax-methods-before-regexp): New constant.
83 (ruby-syntax-propertize-function): Use it to recognize regexps.
84 Don't look at the text after regexp, just use the whitelist.
e636fafe 85
e5b19827
AS
862012-08-14 Andreas Schwab <schwab@linux-m68k.org>
87
88 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
89 non-nil always load the compiled file if it exists. (Bug#12197)
90
a9f6f311
CY
912012-08-14 Chong Yidong <cyd@gnu.org>
92
93 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
94 (hi-lock-set-pattern): When deciding whether to use font lock or
95 overlays, look at font-lock-mode instead of font-lock-fontified
96 (Bug#12168).
97 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
98 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
99
7d806b1e
DU
1002012-08-14 Daiki Ueno <ueno@unixuser.org>
101
102 * subr.el (internal--after-with-selected-window): Fix typo
103 (Bug#12193).
104
5beed586
FEG
1052012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
106
107 Use `completion-table-dynamic' for completion functions.
108 * progmodes/python.el
109 (python-shell-completion--do-completion-at-point)
e636fafe
DG
110 (python-shell-completion--get-completions):
111 Remove functions.
5beed586
FEG
112 (python-shell-completion-complete-at-point): New function.
113 (python-completion-complete-at-point): Use it.
114
92cb3b04
J
1152012-08-13 Jambunathan K <kjambunathan@gmail.com>
116
117 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
118 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
119
89660017
SM
1202012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
121
3c98c962
SM
122 * subr.el (function-get): Refine `autoload' arg so it can also
123 autoload functions for gv.el (bug#12191).
124 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
125 autoloads macros.
126
aa7c6dbe
SM
127 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
128 Prefer pcase-let over destructuring-bind.
129 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
130 Also, remove whitespace as we go, rather than after accumulating the
131 various places.
132
89660017
SM
133 * subr.el (internal--before-with-selected-window)
134 (internal--after-with-selected-window): Fix typo seleted->selected.
135 (with-selected-window): Adjust callers.
136 Reported by Dmitry Gutov <dgutov@yandex.ru>.
137
31cd32c9
BG
1382012-08-13 Bastien Guerry <bzg@gnu.org>
139
140 * window.el (special-display-popup-frame): Small docstring
141 enhancement. (Bug#12172)
142
1b15d8ad
AS
1432012-08-13 Andreas Schwab <schwab@linux-m68k.org>
144
31e54db0
AS
145 * tar-mode.el (tar-header-data-end): Only ignore size for files of
146 type 1-6.
147 (tar-header-block-summarize, tar-get-descriptor): Handle pax
148 extended headers.
149
1b15d8ad
AS
150 * files.el (hack-local-variables-filter): Remove useless eval.
151
35cb9c06
MR
1522012-08-13 Martin Rudalics <rudalics@gmx.at>
153
154 * subr.el (with-selected-window): Fix last change.
155
1439443b
SM
1562012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
157
158 * subr.el (internal--before-with-seleted-window)
159 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
160 (with-selected-window): Use them, to replace dependency on
161 tty-top-frame.
1439443b 162
0d9e2599
NN
1632012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
164
165 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
166 binding for `newline'.
167 (ruby-move-to-block): When moving backward, stop at block opening,
168 not indentation.
169 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
170 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
171 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
172 `ruby-toggle-block'.
173
ba10c48c
SM
1742012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
175
176 * ibuffer.el (ibuffer-do-toggle-read-only):
177 * dired.el (dired-toggle-read-only):
178 * buff-menu.el (Buffer-menu-toggle-read-only):
179 * bindings.el (mode-line-toggle-read-only):
180 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
181
9229c658
AS
1822012-08-12 Andreas Schwab <schwab@linux-m68k.org>
183
184 * descr-text.el (describe-char): Put the overlays over the
185 "displayed as" character.
186
0fd09128
JB
1872012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
188
189 * calc/calc-units.el (math-default-units-table): Give an
190 initial value.
191 (math-put-default-units): Add options to put composite units and
192 unit systems in the default units table.
193 (calc-convert-units): Send composite units to
194 `math-put-default-units' when appropriate.
195
9ff9402d 1962012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 197
fbb5e336
GM
198 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
199
7aacaf15
GM
200 * tutorial.el (help-with-tutorial):
201 * emacs-lisp/copyright.el (copyright-update-directory):
202 * emacs-lisp/autoload.el (autoload-find-generated-file)
203 (autoload-find-file): Disable local eval: (for insurance).
204
f40b9f10
GM
205 * files.el (hack-local-variables-filter): If an eval: form is not
206 known to be safe, and enable-local-variables is :safe, then ignore
207 the form totally, as is done for non-eval forms. (Bug#12155)
208
daa9f1a6
SM
2092012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
210
211 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
212 (rx-form): Simplify.
213
9cd80478
DG
2142012-08-09 Dmitry Gutov <dgutov@yandex.ru>
215
0d9e2599
NN
216 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
217 ?, _, and : are symbol constituents, ! is not (but kinda should be).
218 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
219 (ruby-syntax-propertize-function): Adjust for changes in
220 `ruby-syntax-propertize-heredoc'.
221
2222012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
223
9cd80478
DG
224 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
225 binding (use `M-;' instead).
9cd80478 226 (ruby-singleton-class-p): New function.
0d9e2599 227 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 228
d301b413
SM
2292012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
230
231 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
232
1530c98e
CY
2332012-08-10 Chong Yidong <cyd@gnu.org>
234
235 * progmodes/python.el (python-shell-get-process-name): Don't mess
236 with same-window-buffer-names.
237
238 * eshell/eshell.el (eshell-add-to-window-buffer-names)
239 (eshell-remove-from-window-buffer-names): Make obsolete.
240 (eshell-buffer-name, eshell-unload-hook): Don't use them.
241 (eshell): Just use pop-to-buffer-same-window instead.
242
e1293765
CY
2432012-08-10 Chong Yidong <cyd@gnu.org>
244
245 * bindings.el: Bind M-= back to count-words-region.
246
247 * simple.el (count-words-region): Accept a prefix arg for acting
248 on the entire buffer.
249 (count-words--buffer-message): New helper function.
250
e1894109
SM
2512012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
252
253 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
254 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
255 (event-start, event-end): Use posn-at-point to return a more
256 informative posn.
257 (posnp): New function.
258 * mouse.el (popup-menu-normalize-position): Use it.
259
c69f56a2
MY
2602012-08-10 Masatake YAMATO <yamato@redhat.com>
261
262 * mouse.el (popup-menu-normalize-position): New function.
263 (popup-menu): Use `popup-menu-normalize-position' to normalize
264 the form for POSITION argument.
265
266 * term/x-win.el (x-menu-bar-open):
267 Use the value returend from (posn-at-point) as position
268 passed to `popup-menu'.
269
31673780
JB
2702012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
271
272 * calc/calccomp.el (math-compose-expr): Add extra argument
273 indicating that parentheses should be put around products in
274 denominators. Give multiplication precedence over division during
275 composition.
276
dab7711b
CY
2772012-08-09 Chong Yidong <cyd@gnu.org>
278
dee4ef93
CY
279 * man.el (Man-switches, Man-sed-command, Man-awk-command)
280 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
281 (Man-untabify-command, manual-program): Convert to defcustom
282 (Bug#10429).
283
73e2bbc5
CY
284 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
285
3e861c8a
CY
286 * descr-text.el (describe-char): Don't insert extra newlines
287 (Bug#10127).
288
a9f5a649
CY
289 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
290 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
291
dab7711b
CY
292 * align.el (align-region): Delete temporary markers (Bug#10047).
293 Plus some code cleanups.
294
e0cc4efa
FEG
2952012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
296
297 * progmodes/python.el (python-pdbtrack-tracked-buffer)
298 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
299 (python-shell-internal-last-output): Use make-local-variable
300 instead of make-variable-buffer-local.
301
489af14f
FEG
3022012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
303
304 * progmodes/python.el: Enhancements to forward-sexp.
305 (python-nav-forward-sexp): Rename from
306 python-nav-forward-sexp-function.
c69f56a2
MY
307 (python-nav--forward-sexp, python-nav--backward-sexp):
308 New functions.
489af14f 309
0fc50303
JB
3102012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
311
312 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
313 modes and simplification modes.
314
5d65606a
SM
3152012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
316
317 * delsel.el (delete-selection-pre-hook): Don't propagate the
318 file-supersession signals (bug#12161).
319
4250fdf5
SM
3202012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
321
322 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
323 (cl-map-extents): Add compatibility aliases (bug#12135).
324
d9f9b465
MA
3252012-08-08 Michael Albinus <michael.albinus@gmx.de>
326
327 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
328 tests by `ignore-error'.
329 (tramp-find-shell): Open also a new shell, when cache is already
330 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
331
ce0fcefa
JL
3322012-08-08 Juri Linkov <juri@jurta.org>
333
334 * bookmark.el: Add `defaults' property to the bookmark record.
335 (bookmark-current-buffer): Doc fix.
336 (bookmark-make-record): Add `defaults' property with default values
337 to the bookmark record.
338 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
339 with `bookmark-insert-current-bookmark'.
340 (bookmark-set): Get `defaults' property from the bookmark record
341 and use it in `read-from-minibuffer'.
342 (bookmark-insert-current-bookmark): Remove function.
343
344 * info.el (Info-bookmark-make-record): Add `defaults' property
345 with values of canonical Info node name, the current Info file
346 name and the current Info node name. (Bug#12107)
347
53fa8652
JL
3482012-08-08 Juri Linkov <juri@jurta.org>
349
350 * files.el (basic-save-buffer): Use `buffer-name' as the default
351 of `read-file-name' when buffer is not visiting a file (bug#12128).
352
242c0a95
JL
3532012-08-08 Juri Linkov <juri@jurta.org>
354
355 * info.el (Info-isearch-search): Doc fix.
356 (Info-search): Change search-failed message from "initial node" to
357 "end of node" (bug#12078).
358 (Info-isearch-search): Change `isearch-string-state' to
359 `isearch--state-string'.
360
32ac3a6b
GM
3612012-08-08 Glenn Morris <rgm@gnu.org>
362
363 * language/persian.el: Remove file.
f8c1afd5 364 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
365 * loadup.el: Remove language/persian.
366
2c2d9c9c
OF
3672012-08-08 Óscar Fuentes <ofv@wanadoo.es>
368
369 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
370
2d79ec42
FEG
3712012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
372
373 * progmodes/python.el Fixed defsubst warning.
374 (python-syntax-context) Rename from python-info-ppss-context.
375 (python-syntax-context-type): Rename from
376 python-info-ppss-context-type.
377 (python-syntax-comment-or-string-p): Rename from
378 python-info-ppss-comment-or-string-p.
379
2bd255dd
JB
3802012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
381
382 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
383
c395097f
AS
3842012-08-07 Andreas Schwab <schwab@linux-m68k.org>
385
6125983e
AS
386 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
387 a defcustom that is quoted with backquote.
388
4250fdf5
SM
389 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
390 Fix handling of interactive spec when the body uses return.
651eaf36
AS
391 (math-do-arg-check, math-define-function-body): Use backquote forms.
392 * calc/calc-ext.el (math-defcache): Likewise.
393 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
394 * allout.el (allout-new-exposure): Likewise.
395 * calc/calcalg2.el (math-tracing-integral): Likewise.
396 * info.el (Info-last-menu-item): Likewise.
397 * emulation/vip.el (vip-loop): Likewise.
398 * textmodes/artist.el (artist-funcall): Likewise.
399 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
400 Construct menu-item directly.
401
4250fdf5
SM
402 * progmodes/autoconf.el (font-lock-syntactic-keywords):
403 Don't declare.
c395097f 404
5fb50dd3
CY
4052012-08-07 Chong Yidong <cyd@gnu.org>
406
407 * simple.el (deactivate-mark): Preserve text properties when
408 saving the primary selection (Bug#8384).
409
54eea618
KR
4102012-08-07 Kevin Ryde <user42@zip.com.au>
411
412 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
413 (woman-parse-numeric-value): On a bad .IP line, issue a warning
414 and continue processing (Bug#12110).
415
638eaeb9
SM
4162012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
417
418 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
419 syntax-propertize-function (bug#10095).
420
ea376861
SM
4212012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
422
f91b35be
SM
423 * help-fns.el (help-fns--key-bindings, help-fns--signature)
424 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
425 describe-function-1.
426 (describe-function-1): Use them. Move compiler macro after sig.
427 (help-fns--compiler-macro): Use function-get. Assume we're already in
428 standard-output. Adjust layout to new call order.
429
ea376861
SM
430 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
431 re-binding a symbol that has a symbol-macro (bug#12119).
432
d5be7bd0
MB
4332012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
434
435 * language/persian.el: New file. (Bug#11812)
436 * loadup.el: Add language/persian.el.
437
90749b53
CY
4382012-08-06 Chong Yidong <cyd@gnu.org>
439
440 * window.el (window--maybe-raise-frame): New function.
441 (window--display-buffer): Split off from here.
442 (display-buffer-reuse-window, display-buffer-pop-up-frame)
443 (display-buffer-pop-up-window, display-buffer-use-some-window):
444 Obey an inhibit-switch-frame action alist entry.
445 (display-buffer): Update doc.
446
447 * replace.el (occur-after-change-function): Avoid losing focus by
448 using the inhibit-switch-frame display parameter (Bug#12139).
449
ba7b0154
FEG
4502012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
451
452 Make internal shell process buffer names start with space.
453 * progmodes/python.el (python-shell-make-comint): Add optional
454 argument INTERNAL.
455 (run-python-internal): Use it.
456 (python-shell-internal-get-or-create-process): Check for new
457 internal buffer names.
458
5eaeacb5
GM
4592012-08-06 Glenn Morris <rgm@gnu.org>
460
e296d94b 461 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
462 Do less getting and setting of environment variables.
463
b7ccbdc2
CY
4642012-08-05 Chong Yidong <cyd@gnu.org>
465
777fe95e
CY
466 * proced.el (proced): Add substitution string to docstring to
467 trigger autoloading of the proced library on C-h f (Bug#1768).
468
4250fdf5
SM
469 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
470 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
471
472 * imenu.el (imenu-generic-expression): Move documentation here
473 from imenu--generic-function.
474 (imenu--generic-function): Refer to imenu-generic-expression.
475
9e3b7800 4762012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
477
478 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
479 indentation declaration.
480 (viper-loop): Add indentation declaration (Bug#7025).
481
e5d9c0d1
CY
4822012-08-05 Chong Yidong <cyd@gnu.org>
483
f0422feb
CY
484 * help-fns.el (describe-variable): Add hyperlink for
485 directory-local variables files. Improve buffer-local and
486 permanent-local reporting; suggested by MON KEY (Bug#6644).
487
488 * help-mode.el (help-dir-local-var-def): New button type.
489
e5d9c0d1
CY
490 * files.el (kill-buffer-hook): Provide a defvar.
491
a4f2deaa
GM
4922012-08-05 Glenn Morris <rgm@gnu.org>
493
494 * eshell/esh-ext.el (eshell/addpath):
495 Also update eshell-path-env. (Bug#12013)
496
a9dd5754
CY
4972012-08-05 Chong Yidong <cyd@gnu.org>
498
a4f2deaa 499 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 500
d014c740
CY
501 * fringe.el (fringe-styles): Add docstring.
502 (fringe--check-mode): New function.
503 (set-fringe-mode, set-fringe-style): Use it.
504 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
505
a9dd5754
CY
506 * files.el (set-auto-mode): Fix invalid setq call.
507
7c2dc8bd
SM
5082012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
509
510 * isearch.el: Misc simplification; use defstruct.
511 (isearch-mode-map): Dense maps now work like sparse ones.
512 (isearch--state): New defstruct.
513 (isearch-string-state, isearch-message-state, isearch-point-state)
514 (isearch-success-state, isearch-forward-state)
515 (isearch-other-end-state, isearch-word-state, isearch-error-state)
516 (isearch-wrapped-state, isearch-barrier-state)
517 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
518 replaced by defstruct's accessors.
519 (isearch--set-state): Rename from isearch-top-state and change
520 calling convention.
521 (isearch-push-state): Use new isearch--get-state.
522 (isearch-toggle-word): Disable regexp when enabling word.
523 (isearch-message-prefix): Remove unused arg _c-q-hack.
524 (isearch-message-suffix): Remove unused arg _ellipsis.
525
7fcc0070
AS
5262012-08-04 Andreas Schwab <schwab@linux-m68k.org>
527
528 * simple.el (list-processes--refresh): For a server use :host or
529 :local as the address.
97ad0769 530 (list-processes): Doc fix.
7fcc0070 531
00340faf
MN
5322012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
533
534 * lisp/mpc.el: Support password in host argument.
535 (mpc--proc-connect): Parse and use new password element.
536 Set mpc-proc variable instead of returning process.
537 (mpc-proc): Adjust accordingly.
538
6dad7178
EZ
5392012-08-03 Eli Zaretskii <eliz@gnu.org>
540
18949c2f
EZ
541 * whitespace.el (whitespace-display-mappings): Use Unicode
542 codepoints, instead of emacs-mule codepoints. See
543 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
544 for the details.
545
6dad7178
EZ
546 * files.el (file-truename): Don't skip symlink-chasing part on
547 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
548 Windows into the loop that recursively chases symlinks.
549 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
550 MS-DOS.
551
385b0198
CY
5522012-08-03 Chong Yidong <cyd@gnu.org>
553
6200f3c4
CY
554 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
555
385b0198
CY
556 * sort.el (sort-regexp-fields): Doc fix.
557
b9e74744
TH
5582012-08-03 Tassilo Horn <tsdh@gnu.org>
559
560 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
561 labels regex position point at the expected place.
562
41013cb4
MK
5632012-08-03 MON KEY <monkey@sandpframing.com>
564
565 * net/imap.el (imap-interactive-login, imap-authenticate)
566 (imap-mailbox-lsub, imap-mailbox-list)
567 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
568 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
569 (imap-parse-response): Doc fix.
570
0ffee616
JT
5712012-08-03 João Távora <joaotavora@gmail.com>
572
573 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
574 if sexp scanning does not move point (Bug#5734).
575
cfcc9cc8
TH
5762012-08-02 Tassilo Horn <tsdh@gnu.org>
577
578 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
579 Add listings, minted, and ctable packages.
580 (reftex-label-alist-builtin): Move listings, minted, and ctable
581 entries before LaTeX.
a01bbb84 582 (reftex-label-alist): Docfix.
cfcc9cc8 583
66ec2442
BG
5842012-08-02 Bastien Guerry <bzg@gnu.org>
585
586 * replace.el (occur): Fix docstring (bug#12122).
587
837b365b
GM
5882012-08-02 Glenn Morris <rgm@gnu.org>
589
590 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
591
e098de97
PE
5922012-08-02 Paul Eggert <eggert@cs.ucla.edu>
593
594 Obsolete alias inactivate-current-input-method-function (Bug#10150).
595 * international/mule-cmds.el: Create
596 inactivate-current-input-method-function as an obsolete alias for
597 deactivate-current-input-method-function. See Katsumi Yamaoka in
598 <http://bugs.gnu.org/10150#46>.
599
a0f95636
JB
6002012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
601
602 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
603 of nested `if's.
604
0d26d7c4
GM
6052012-08-01 Glenn Morris <rgm@gnu.org>
606
607 * progmodes/autoconf.el (autoconf-definition-regexp):
608 Add AH_TEMPLATE, adjust submatch numbering.
609 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
610 (autoconf-current-defun-function): Update for above change.
611 (autoconf-current-defun-function): First skip to end of current word.
612
b686ba06
RS
6132012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
614
615 * calendar/cal-html.el (cal-html-insert-agenda-days):
616 Fix typo. (Bug#12018)
617
0d49da68
FEG
6182012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
619
620 Shell processes: enhancements to startup and CEDET compatibility.
621 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
622 (python-shell-make-comint): accept-process-output at startup.
623 (run-python-internal): Set inferior-python-mode-hook to nil.
624 (python-shell-internal-get-or-create-process): call sit-for.
625 (python-preoutput-result): Add obsolete alias.
626 (python-shell-internal-send-string): Use it.
627 (python-shell-send-setup-code): Remove call to
628 accept-process-output.
629
f1a71c6e
AS
6302012-07-31 Andreas Schwab <schwab@linux-m68k.org>
631
632 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
633 (Bug#12108)
634
d2605269
JB
6352012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
636
637 * calc-mode.el (calc-basic-simplification-mode): Rename from
638 `calc-limited-simplification-mode'.
639 (calc-alg-simplification-mode): New function.
d66060f8 640 (calc-set-simplify-mode): Adjust message.
f1a71c6e 641
d2605269
JB
642 * calc.el (calc-set-mode-line): Adjust mode line display for
643 basic simplification mode.
644
645 * calc-help.el (calc-m-prefix-help): Update help message.
646
647 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
648 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
649
a3827a43
BG
6502012-07-31 Bastien Guerry <bzg@gnu.org>
651
652 * man.el (man): Fix comment. (bug#12101)
653
502e3f89
MR
6542012-07-31 Martin Rudalics <rudalics@gmx.at>
655
656 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
657 Don't return a non-nil value when no suitable buffer was found.
658
d7714961
FEG
6592012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
660
661 * progmodes/python.el (run-python-internal): Disable font lock for
662 internal shells.
663
1f45e27e
SM
6642012-07-30 Stefan Merten <smerten@oekonux.de>
665
666 * rst.el: Silence `checkdoc-ispell'.
667 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
668 (rst-official-version, rst-official-cvs-rev)
669 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
670 (rst-mode-map): New key binding.
671
0aee6912
PE
6722012-07-30 Paul Eggert <eggert@cs.ucla.edu>
673
674 Update .PHONY listings in makefiles.
675 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
676 autoloads, update-subdirs, updates, bzr-update, update-authors,
677 compile-onefile, compile-calc, backup-compiled-files,
678 compile-after-backup, compile-one-process, mh-autoloads,
679 bootstrap-clean, distclean, maintainer-clean.
680
9052f9f0
JB
6812012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
682
1823ac5a
JB
683 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
684 (calc-set-mode-line): Don't display "AlgSimp ".
685
686 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
687 (calc-lim-simplify-mode): New function.
688 (calc-set-simplify-mode): Default to 'alg.
689 (calc-default-simplify-mode): Make algebraic simplifications
690 the default.
691
692 * calc/calc-ext.el (calc-init-extensions): Remove binding for
693 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
694
8d7c7eed 695 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
696 indicate new simplification modes.
697
1823ac5a
JB
698 * calc/README: Mention new default simplification mode.
699
9052f9f0
JB
700 * calc/calc.el (math-normalize-error): New variable.
701 (math-normalize): Set `math-normalize-error' to t
702 when there's an error.
703
704 * calc/calc-alg.el (math-simplify): Don't simplify when
705 `math-normalize' returns an error.
706
20ba0cb4
EZ
7072012-07-29 Eli Zaretskii <eliz@gnu.org>
708
709 * international/mule-cmds.el (set-locale-environment): Revert last
710 change, since display-graphic-p returns nil when this function is
711 called during startup. Instead...
712
713 * term/w32console.el (terminal-init-w32console): ...setup the
714 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
715
a5dcc929
JL
7162012-07-29 Juri Linkov <juri@jurta.org>
717
718 * simple.el (goto-line): Don't display default line number in the
719 prompt because it should be displayed by `read-number' (bug#9952).
720 Add the current line number to the defaults of `goto-line' to
721 allow its easier modification by users with `M-n' (bug#9201).
722
723 * subr.el (read-number): Support multiple default values like in
724 other minibuffer reading functions. Replace `read' with
725 `string-to-number' for consistency with `number-to-string'.
726
72b255c7
PE
7272012-07-29 Paul Eggert <eggert@cs.ucla.edu>
728
729 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
730 * emulation/viper-init.el (viper-deactivate-input-method-action):
731 Rename from viper-inactivate-input-method-action.
732 (viper-deactivate-input-method):
733 Rename from viper-inactivate-input-method.
734 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
735 * international/mule-cmds.el (deactivate-input-method):
736 Rename from inactivate-input-method.
737 Also run input-method-deactivate-hook.
738 (deactivate-current-input-method-function):
739 Rename from inactivate-current-input-method-function.
740 (input-method-deactivate-hook): New hook.
741 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
742 (inactivate-input-method): Mark obsolete.
743
72b255c7
PE
744 * international/quail.el (quail-activate):
745 Also run quail-deactivate-hook.
746 (quail-deactivate): Rename from quail-inactivate.
747 * international/robin.el (robin-activate):
748 Also run robin-deactivate-hook.
749 (robin-deactivate): Rename from robin-inactivate.
750
2549c068
CY
7512012-07-29 Chong Yidong <cyd@gnu.org>
752
753 * simple.el (indicate-copied-region): New function.
754 (kill-ring-save): Split off from here.
755
756 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
757 (kill-rectangle): Set deactivate-mark to t on read-only error.
758
759 * register.el (copy-to-register, copy-rectangle-to-register):
760 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
761 (append-to-register, prepend-to-register):
762 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
763
764 * simple.el (async-shell-command-buffer): New defcustom.
765 (shell-command): Use it. (Bug#4719)
766
01bd1b0d
EZ
7672012-07-28 Eli Zaretskii <eliz@gnu.org>
768
769 * international/mule-cmds.el (set-locale-environment): In a
770 console session on MS-Windows, set up keyboard and terminal
771 encoding from the OEM codepage, not the ANSI codepage.
772 (Bug#12055)
773
a55739d3
CY
7742012-07-28 Chong Yidong <cyd@gnu.org>
775
776 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
777 gdb-get-location.
778
0e1a094f 7792012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
780
781 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
782 the alist (bug#12029).
783
20329d73
EZ
7842012-07-28 Eli Zaretskii <eliz@gnu.org>
785
786 * makefile.w32-in (custom-deps, finder-data, updates, compile)
787 (compile-always, compile-first)
788 ($(lisp)/calendar/cal-loaddefs.el)
789 ($(lisp)/calendar/diary-loaddefs.el)
790 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
791 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
792 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
793 instead of on update-subdirs.
794 (bootstrap-clean): Delete $(lisp)/subdirs.el.
795
345a2258
CY
7962012-07-28 Chong Yidong <cyd@gnu.org>
797
1eee6341
CY
798 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
799 directory if vc-deduce-backend returns nil (Bug#7350).
800
345a2258
CY
801 * simple.el (delete-trailing-lines): New option.
802 (delete-trailing-whitespace): Obey it (Bug#11879).
803
049a0936
DE
8042012-07-28 David Engster <deng@randomsample.de>
805
806 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
807 Explanation of new 'symbol-qnames feature in doc-strings.
808 (xml-maybe-do-ns): Return expanded names as plain symbols if
809 'symbol-qnames was provided in XML-NS argument (Bug#11916).
810 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
811
aa81af71
FEG
8122012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
813
814 Consistent completion in inferior python with emacs -nw.
815 * progmodes/python.el (inferior-python-mode): replace "<tab>"
816 binding in inferior-python-mode-map with "\t".
817 (python-shell-completion-complete-at-point)
818 (python-completion-complete-at-point): Remove interactive spec.
819
e827b1eb
JB
8202012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
821
822 * calc/calccomp.el (math-compose-expr): Undo previous change.
823
a90dfb95
FEG
8242012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
825
4250fdf5 826 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
827 run-python.
828 (python-shell-make-comint): Fix pop-to-buffer call.
829 (run-python): Autoload. New arg SHOW.
830 (python-shell-get-or-create-process): Do not pop python process
831 buffer.
832
32770973 8332012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
834
835 * notifications.el (notifications-on-action-signal)
836 (notifications-on-closed-signal): Use also the bus address for the map.
837 (notifications-notify, notifications-close-notification)
838 (notifications-get-capabilities): Add optional argument BUS.
839
86332df2
TH
8402012-07-27 Tassilo Horn <tsdh@gnu.org>
841
4250fdf5
SM
842 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
843 Add support for the lstlisting and minted environments, and for the
86332df2
TH
844 ctable macro.
845 * textmodes/reftex.el (reftex-compile-variables): Also recognize
846 labels written in keyvals syntax.
847
ca1302a4
JB
8482012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
849
850 * calc/calccomp.el (math-compose-expr): Use parentheses when
851 there is a product in the denominator of a fraction.
852
f8b91036
EZ
8532012-07-26 Eli Zaretskii <eliz@gnu.org>
854
855 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
856 ($(lisp)/calendar/diary-loaddefs.el)
857 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
858 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
859 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
860 rewritten while the autoload files are built at the same time,
861 which needs to load subdirs.el.
862
c8e5a42c
MR
8632012-07-26 Martin Rudalics <rudalics@gmx.at>
864
865 * mouse.el (popup-menu): Fix doc-string and re-indent code.
866 (mouse-drag-line): Don't exit tracking when a switch-frame or
867 switch-window event occurs (Bug#12006).
868
670d85ea
SM
8692012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
870
871 * mouse.el (popup-menu): Fix last change.
872
7abaf5cc
SM
8732012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
874
875 Autoload from Lisp with more care. Follow aliases when looking for
876 function properties.
877 * subr.el (autoloadp): New function.
878 (symbol-file): Use it.
879 (function-get): New function.
880 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
881 autoload-do-load.
882 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
883 (lisp-indent-function):
884 * emacs-lisp/gv.el (gv-get):
885 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
886 * emacs-lisp/byte-opt.el (byte-optimize-form):
887 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
888 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
889 Use function-get.
890 * emacs-lisp/cl.el: Don't propagate function properties any more.
891
892 * speedbar.el (speedbar-add-localized-speedbar-support):
893 * emacs-lisp/disass.el (disassemble-internal):
894 * desktop.el (desktop-load-file):
895 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
896 (describe-function-1):
897 * emacs-lisp/find-func.el (find-function-noselect):
898 * emacs-lisp/elp.el (elp-instrument-function):
899 * emacs-lisp/advice.el (ad-has-proper-definition):
900 * apropos.el (apropos-safe-documentation, apropos-macrop):
901 * emacs-lisp/debug.el (debug-on-entry):
902 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
903 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
904 * calc/calc.el (name): Use autoloadp & autoload-do-load.
905
b1364986
AA
9062012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
907
908 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
909 function, not an obsolete variable (Bug#12046).
910
67ada220
AS
9112012-07-25 Andreas Schwab <schwab@linux-m68k.org>
912
913 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
914
f08088e3
CS
9152012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
916
917 * emacs-lisp/pp.el (pp-display-expression): Select old selected
918 window only if it is still live (Bug#12034).
919
8137e7b3
MR
9202012-07-25 Martin Rudalics <rudalics@gmx.at>
921
922 * subr.el (redirect-frame-focus): Add advertised calling
923 convention (Bug#12030).
924
09ae5da1
PE
9252012-07-25 Paul Eggert <eggert@cs.ucla.edu>
926
927 Prefer typical American spelling for "acknowledgment".
928 * vc/add-log.el (change-log-acknowledgment): Rename from
929 change-log-acknowledgement, with an alias for the old name.
930
3cc5a3a8
JB
9312012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
932
933 * calc-alg.el (math-simplify-divide): Don't cross multiply
934 in an equation when the lhs is a variable.
935
b7af7f62
JD
9362012-07-24 Julien Danjou <julien@danjou.info>
937
938 * net/netrc.el (netrc-find-service-number, netrc-store-data):
939 Remove, unused.
940
ec1b09b1
EZ
9412012-07-23 Eli Zaretskii <eliz@gnu.org>
942
943 * startup.el (command-line): Don't display an empty user name in
944 the error message about non-existent home directory, when
945 init-file-user was set to an empty string. See
946 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
947 for the details and context.
948
b525fd8a
VB
9492012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
950
951 * ses.el (ses-cell-formula-aset): New macro.
952 (ses-cell-references-aset): New macro.
953 (ses-cell-p): New function.
954 (ses-rename-cell): Do no longer rely on complex operations like
955 ses-cell-set-formula or ses-set-cell to change the cell and handle
956 the undo at the same time, but rather use lower level new macros
957 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
958 the undo directly. Refresh the mode line.
959
2c73e345
LL
9602012-07-21 Leo Liu <sdl.web@gmail.com>
961
670d85ea
SM
962 * progmodes/cc-cmds.el (c-defun-name):
963 Use match-string-no-properties instead for consistency.
2c73e345 964
542dfbde
LL
9652012-07-20 Leo Liu <sdl.web@gmail.com>
966
3646bcd6
LL
967 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
968 (Bug#7879)
969
542dfbde
LL
970 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
971
25721031
CY
9722012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
973
974 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
975 * progmodes/bug-reference.el, misearch.el: Provide themselves
976 (bug#11915).
977
978 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
979 of narrowed buffer (bug#11966).
980
316e68a7
VB
9812012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
982
983 * ses.el (ses-rename-cell): Set new name also in reference list of
984 cells of which the renamed cell depends.
985
bbf0e7d9
MY
9862012-07-20 Masatake YAMATO <yamato@redhat.com>
987
988 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
989 to check whether menu-bar is shown or not. If not shown,
990 show the menu-bar as a popup menu instead of using tmm.
991 * mouse.el (popup-menu): Accept `point' as `position' argument.
992
c28662a8
DG
9932012-07-20 Dmitry Gutov <dgutov@yandex.ru>
994
995 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
996 up inside string symbol literal (bug#11923).
997
87ab808f
EZ
9982012-07-20 Eli Zaretskii <eliz@gnu.org>
999
1000 * startup.el (fancy-startup-text): Read the whole tutorial, not
1001 just its first 256 bytes. Prevents gibberish in display of the
1002 tutorial title.
1003
89dea803
DA
10042012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1005
1006 Drop idle buffer compaction due to an absence of the
1007 proved efficiency.
1008 * compact.el: Remove.
1009
8a4e6db8
SS
10102012-07-19 Sam Steingold <sds@gnu.org>
1011
1012 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1013 vc-bzr-pull & vc-bzr-merge-branch.
1014 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1015 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1016 for consistency with compilation-error-regexp-alist.
1017 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1018 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1019 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1020 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1021
5db81e33
SM
10222012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1023
1024 * emacs-lisp/chart.el: Use lexical-binding.
1025 (chart-emacs-storage): Don't hardcode the list of entries.
1026
5b835e1d
DA
10272012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1028
1029 Next round of tweaks caused by Fgarbage_collect changes.
1030 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1031
9cd47b72
DA
10322012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1033
1034 Compact buffers when idle.
1035 * compact.el: New file.
1036
1d6fc0df
SM
10372012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1038
1039 * subr.el (eventp): Presume that if it looks vaguely like an event,
1040 it's an event (bug#10190).
1041
1d29cc7d
FEG
10422012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
1043
1044 Enhancements to ppss related code (thanks Stefan).
1045 * progmodes/python.el (python-indent-context)
1046 (python-indent-calculate-indentation, python-indent-dedent-line)
1047 (python-indent-electric-colon, python-nav-forward-block)
1048 (python-mode-abbrev-table)
1d6fc0df 1049 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
1050 for ppss context.
1051 (python-info-continuation-line-p): Cleanup.
1052 (python-info-ppss-context): Do not catch 'quote.
1053 (python-info-ppss-context-type)
1054 (python-info-ppss-comment-or-string-p): Simplify.
1055
d583cbe6
FEG
10562012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
1057
1058 * progmodes/python.el: Enhancements to eldoc support.
1059 (python-info-current-symbol): New function.
1060 (python-eldoc-at-point): Use python-info-current-symbol.
1061 (python-info-current-defun): Fix cornercase on first defun scan.
1062 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1063 and signal error when no inferior python process is available.
1064
eceb6feb
DG
10652012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1066
1067 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1068 assume it's always t.
1069 (vc-git-registered): Remove caching, the function is only called
1070 once.
1071 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1072
4c8ff0fe
CY
10732012-07-18 Chong Yidong <cyd@gnu.org>
1074
19fb7186
CY
1075 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1076
9587c688
CY
1077 * simple.el (count-words): Report on narrowing (Bug#9959).
1078
0fe776a1
CY
1079 * bindings.el: Bind M-= to count-words.
1080
4c8ff0fe
CY
1081 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1082
7f5331cc
MY
10832012-07-18 Masatake YAMATO <yamato@redhat.com>
1084
1085 * progmodes/sh-script.el (sh-imenu-generic-expression):
1086 Capture a function with `function' keyword and without parentheses
1087 like "function FOO" (bug#11856).
1088
2dc2a609
TH
10892012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1090
1091 * window.el (split-window-sensibly): Make WINDOW argument
1092 optional.
1093
439f7677
CY
10942012-07-18 Chong Yidong <cyd@gnu.org>
1095
9aeb25a6
CY
1096 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1097
439f7677
CY
1098 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1099 and make C-x 8 RET exit isearch (Bug#11439).
1100
1101 * international/iso-transl.el: Move isearch-mode-map key
1102 definitions to isearch.el.
1103
12999ea8
SM
11042012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1107 (eieio-defclass): Use gv-define-setter when possible.
1108
3ab6e069
DA
11092012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1110
1111 Reflect recent changes in Fgarbage_collect.
1112 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1113 reflect new format of data returned by Fgarbage_collect.
1114
0a60bc10
FEG
11152012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1116
1117 New utility functions + python-info-ppss-context fix (Bug#11910).
1118 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1119 (python-info-ppss-comment-or-string-p): New functions.
1120 (python-info-ppss-context): Small fix for string check.
1121
6dafa0d5
JL
11222012-07-17 Juri Linkov <juri@jurta.org>
1123
1124 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1125 (dired-do-async-shell-command): Don't add `*' at the end of the
1126 command (Bug#11815).
1127 (dired-do-shell-command): Doc fix.
1128 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1129 Join the individual commands using either "&" or ";" as the
1130 separator depending on the values of these trailing characters.
1131 At the end re-add the trailing "&". (Bug#10598)
1132
1133 * simple.el (async-shell-command): Sync the interactive spec with
1134 `shell-command'. Doc fix.
1135 (shell-command): Doc fix.
1136
b19dd9d1
JL
11372012-07-17 Juri Linkov <juri@jurta.org>
1138
1139 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1140
bcdc27d7 11412012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 1142
bcdc27d7 1143 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
1144 * progmodes/python.el (python-nav-beginning-of-statement):
1145 Rename from python-nav-statement-start.
bcdc27d7
FEG
1146 (python-nav-end-of-statement): Rename from
1147 python-nav-statement-end.
1148 (python-nav-beginning-of-block): Rename from
1149 python-nav-block-start.
1150 (python-nav-end-of-block): Rename from python-nav-block-end.
1151
191da00e
FEG
11522012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1153
7f5331cc
MY
1154 * progmodes/python.el (python-shell-send-string-no-output):
1155 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
1156 future interactions (Bug#11868).
1157
4dc7c8d5 11582012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 1159
88ecaf8f
SM
1160 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1161
ef501ef0
SM
1162 * emacs-lisp/elint.el (elint-find-args-in-code):
1163 Use help-function-arglist, so as to handle lexical byte-code.
1164
aa7aaf8f
SM
1165 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1166 change (bug#11826).
1167
45fd731c
SM
11682012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1169
2143fa32
SM
1170 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1171 Avoid spuriously marking the buffer as modified because of c-is-sws.
1172
efc26dbe
SM
1173 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1174 as not-a-comment (bug#11946).
1175
f5695c9a
SM
1176 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1177 for uninterned vars.
1178
1179 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1180 Use read-event since we don't really want to read chars but bytes.
1181
45fd731c
SM
1182 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1183 $$..$$ but also $..$ using regexps (bug#11953).
1184 Use tex-verbatim for \url and \path.
1185 (tex-font-lock-keywords): Define as defconst like the others.
1186 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1187
ddfc8813
RK
11882012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1189
1190 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1191 alias for insert-char.
1192
758e556a
FEG
11932012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1194
1195 * progmodes/python.el: Simplified imenu implementation.
1196 (python-nav-jump-to-defun): Remove command.
1197 (python-mode-map): Use `imenu' instead.
1198 (python-nav-list-defun-positions-cache)
1199 (python-imenu-include-defun-type, python-imenu-make-tree)
1200 (python-imenu-subtree-root-label, python-imenu-index-alist):
1201 Remove vars.
1202 (python-nav-list-defun-positions, python-nav-read-defun)
1203 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1204 (python-imenu-make-tree, python-imenu-create-index):
1205 Remove functions.
758e556a
FEG
1206 (python-mode): Update to interact with imenu by setting
1207 `imenu-extract-index-name-function' only.
1208
032d23ab
FEG
12092012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1210
1211 * progmodes/python.el: Enhancements to navigation commands.
1212 (python-nav-backward-sentence)
1213 (python-nav-forward-sentence): Remove.
1214 (python-nav-backward-statement, python-nav-forward-statement)
1215 (python-nav-statement-start, python-nav-statement-end)
1216 (python-nav-backward-block, python-nav-forward-block)
1217 (python-nav-block-start, python-nav-block-end)
1218 (python-nav-forward-sexp-function)
1219 (python-info-current-line-comment-p)
1220 (python-info-current-line-empty-p): New functions.
1221 (python-indent-context): Use `python-nav-statement-start'.
1222
01795a1b
MA
12232012-07-16 Michael Albinus <michael.albinus@gmx.de>
1224
9328d9aa
MA
1225 * eshell/em-ls.el (eshell/ls): Use `apply'.
1226
1227 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1228 multi-hops, instead of Tramp internals.
1229
01795a1b
MA
1230 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1231
1232 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1233 when F1 and F2 are located on different hosts.
1234
63408057
CY
12352012-07-14 Chong Yidong <cyd@gnu.org>
1236
1237 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1238 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1239 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1240 (xterm-mouse--read-event-sequence-1000)
1241 (xterm-mouse--read-event-sequence-1006): New functions. For old
1242 mouse protocol, handle M-mouse-X events correctly.
1243 (xterm-mouse-event): New arg specifying mouse protocol.
1244 (turn-on-xterm-mouse-tracking-on-terminal)
1245 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1246 sequence to toggle extended coordinates on newer XTerms.
1247 This appears to be harmless on terminals which do not support this.
63408057 1248
cd276f6e
LL
12492012-07-14 Leo Liu <sdl.web@gmail.com>
1250
28ca98ac
LL
1251 Add fringe bitmap indicators for flymake. (Bug#11253)
1252 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1253 (flymake-make-overlay): New arg BITMAP.
1254 (flymake-error-bitmap, flymake-warning-bitmap)
1255 (flymake-fringe-indicator-position): New user variables.
1256
cd276f6e
LL
1257 * fringe.el: New bitmap exclamation-mark.
1258
04408072
JD
12592012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1260
1261 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1262 also (Bug#7879).
1263
b5cf7fc4
CY
12642012-07-14 Chong Yidong <cyd@gnu.org>
1265
1266 * electric.el (electric-pair-post-self-insert-function): Fix pair
1267 insertion in empty-region case (Bug#11520).
1268
be755c79
RT
12692012-07-14 Chong Yidong <cyd@gnu.org>
1270
45fd731c
SM
1271 * bindings.el: Consolidate ctl-x-r-map bindings.
1272 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1273
1274 * rect.el, register.el: Move bindings to bindings.el.
1275
12762012-07-14 Reuben Thomas <rrt@sc3d.org>
1277
1278 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1279
7f5b3198
AS
12802012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1281
1282 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1283
97662200
JB
12842012-07-13 Juanma Barranquero <lekktu@gmail.com>
1285
80185fed
JB
1286 * bindings.el (top): Use `mapc' instead of `mapcar'.
1287
97662200
JB
1288 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1289
2bb1ae55
MA
12902012-07-13 Michael Albinus <michael.albinus@gmx.de>
1291
1292 * progmodes/sql.el (sql-comint): Suppress the check for program on
1293 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1294 (Bug#11908)
1295
dea31bd3
CY
12962012-07-13 Chong Yidong <cyd@gnu.org>
1297
1298 * bindings.el: Assign a non-nil permanent-local property to
1299 per-buffer variables which lack a default value (Bug#11930).
1300
1301 * help-fns.el (describe-variable): In the "automatically becomes
1302 local" notice, take note of permanent-local variables.
1303
b68b3337
CY
13042012-07-13 Chong Yidong <cyd@gnu.org>
1305
1306 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1307 to allow printing the message when called from Lisp.
1308
1309 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1310 Remove toggle-read-only.
1311
1312 * bs.el (bs-toggle-readonly):
45fd731c
SM
1313 * buff-menu.el (Buffer-menu-toggle-read-only):
1314 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1315
1316 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1317 Remove with-no-warnings around toggle-read-only.
1318 (ffap-read-only, ffap-read-only-other-window)
1319 (ffap-read-only-other-frame): Callers changed.
1320
1321 * help-mode.el: Don't require view package.
1322 (help-mode-finish): Set buffer-read-only instead of calling
1323 toggle-read-only.
1324
1325 * bindings.el (mode-line-toggle-read-only):
1326 * dired.el (dired-toggle-read-only):
1327 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1328 with non-nil second arg.
1329
1330 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1331 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1332 directly.
1333
56bc1586
EZ
13342012-07-12 Eli Zaretskii <eliz@gnu.org>
1335
1336 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1337 not incf.
1338
a464a6c7
SM
13392012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1340
1341 More CL cleanups and reduction of use of cl.el.
1342 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1343 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1344 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1345 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1346 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1347 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1348 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1349 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1350 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1351 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1352 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1353 * eshell/em-cmpl.el, eshell/em-banner.el:
1354 * calendar/parse-time.el: Use cl-lib.
1355 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1356 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1357 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1358 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1359 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1360 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1361 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1362 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1363 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1364 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1365 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1366 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1367 `lambda' rather than with `quote'.
1368 (eshell-do-opt): Adjust accordingly.
1369 (eshell-process-option): Simplify.
1370 * eshell/esh-var.el:
1371 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1372 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1373 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1374 to `pcase--dontcare'.
1375 * emacs-lisp/cl.el (labels): Mark obsolete.
1376 (cl--letf, letf): Move to cl-lib.
1377 (cl--letf*, letf*): Remove.
1378 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1379 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1380 (cl-progv): Rewrite.
1381 (cl--letf, cl-letf): Move from cl.el.
1382 (cl-letf*): New macro.
1383 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1384
7ad4afe1
MA
13852012-07-11 Michael Albinus <michael.albinus@gmx.de>
1386
1387 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1388
9af57756
CY
13892012-07-11 Chong Yidong <cyd@gnu.org>
1390
1391 * vc/log-edit.el (log-edit-vc-backend): New variable.
1392 (log-edit): Doc fix.
1393
1394 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1395 argument of log-edit to set up all local variables.
1396 (vc-start-logentry): New optional arg specifying VC backend.
1397
1398 * vc/vc.el (vc-checkin): Use it.
1399 (vc-deduce-fileset): Handle Log Edit buffers.
1400 (vc-diff): Make first argument optional too.
1401
1402 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1403
8477cc7a
MA
14042012-07-10 Michael Albinus <michael.albinus@gmx.de>
1405
1406 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1407 command, just in case. The function is not needed anymore.
1408 (eshell-external-command): Do not call `eshell-remote-command'.
1409
19faa8e8
SM
14102012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1411
f58e0fd5
SM
1412 Reduce use of (require 'cl).
1413 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1414 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1415 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1416 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1417 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1418 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1419 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1420 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1421 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1422 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1423 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1424 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1425 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1426 (byte-compile-unfold-bcf, byte-compile-check-variable):
1427 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1428 (byte-compile-nilconstp):
1429 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1430 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1431
2519d43a
SM
1432 * emacs-lisp/gv.el (cond): Make it a valid place.
1433 (if): Simplify slightly.
1434
19faa8e8
SM
1435 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1436 (pcase--self-quoting-p): New function.
1437 (pcase--u1): Use it.
1438
c4907a5e
GM
14392012-07-10 Glenn Morris <rgm@gnu.org>
1440
1441 * emacs-lisp/authors.el (authors-fixed-entries):
1442 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1443
c4444d16
PE
14442012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1445
1446 Rename configure.in to configure.ac (Bug#11603).
1447 * emacs-lisp/authors.el (authors-canonical-file-name):
1448 * progmodes/autoconf.el (autoconf-mode):
1449 Prefer configure.ac to configure.in.
1450
d75be97d
CY
14512012-07-08 Chong Yidong <cyd@gnu.org>
1452
01ac65bd
CY
1453 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1454 Implement the mouse-1-click-follows-link handling properly.
1455
1456 * info.el (Info-link-keymap): Use follow-link mechanism for
1457 header-line links (Bug#374).
1458
d75be97d
CY
1459 * simple.el (deactivate-mark): Do not set the primary selection
1460 if another program has acquired it (Bug#11772).
1461
87a92845 14622012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1463
1464 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1465 (woman-decode-region): Replace escaped-escapes without destroying
1466 bold or underline (Bug#11552).
87a92845 1467 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1468
621b9d6c
CY
14692012-07-07 Chong Yidong <cyd@gnu.org>
1470
1471 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1472 (interprogram-cut-function, interprogram-paste-function):
1473 Mention that we typically mean the clipboard.
621b9d6c 1474
133a11fc
GM
14752012-07-06 Glenn Morris <rgm@gnu.org>
1476
0d27a45e
GM
1477 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1478
133a11fc
GM
1479 * files.el (toggle-read-only): Restrict message to interactive use.
1480
07b151f1
MA
14812012-07-06 Michael Albinus <michael.albinus@gmx.de>
1482
1483 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1484
1485 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1486
211b896b
GM
14872012-07-06 Glenn Morris <rgm@gnu.org>
1488
50394322
GM
1489 * Makefile.in (compile-one-process): Rename from "recompile".
1490
211b896b
GM
1491 * Makefile.in (bzr-update): "compile" is the same as "recompile
1492 autoloads", but parallelizable, so use that instead.
1493
4737eec9
DG
14942012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1495
1496 * window.el (quit-window): Always restore window height when
8137e7b3 1497 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1498
226c3633 14992012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1500
1501 * simple.el (kill-whole-line): Doc tweak.
1502
226c3633 15032012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1504
1505 * files.el (file-relative-name): Compare file names
1506 case-insensitively if on MS-Windows or MS-DOS, or if
1507 read-file-name-completion-ignore-case is non-nil. Don't use
1508 case-fold-search for this purpose. (Bug#11827)
1509
4dc7c8d5
SM
15102012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1511
1512 * calendar/cal-dst.el (calendar-current-time-zone):
1513 Return calendar-current-time-zone-cache if non-nil.
1514
15152012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 15162012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1517
19faa8e8
SM
1518 * calendar/cal-dst.el (calendar-current-time-zone):
1519 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1520
60198fc9
GM
15212012-07-06 Glenn Morris <rgm@gnu.org>
1522
1523 * Makefile.in (cvs-update): Remove old alias.
1524
957b3189
MA
15252012-07-05 Michael Albinus <michael.albinus@gmx.de>
1526
1527 Sync with Tramp 2.2.6-pre.
1528
1529 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1530 compatible declaration.
1531
19faa8e8
SM
1532 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1533 Protect `list-load-path-shadows' call.
957b3189
MA
1534
1535 * net/tramp-compat.el (top): Require packages, which aren't
1536 autoloaded anymore for XEmacs. Protect call of
1537 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1538 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1539 it hurts at least for SXEmacs.
1540 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1541 standard-value for `temporary-file-directory'.
1542
1543 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1544 Redirect stderr to /dev/null.
1545 (tramp-sh-handle-write-region): uid and gid can be floats.
1546 Reported by Russell Sim <russell.sim@gmail.com>.
1547 (tramp-sh-handle-vc-registered): Hide errors.
1548 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1549 and `start-file-process'.
1550 (tramp-maybe-open-connection): Check also whether `non-essential'
1551 is bound.
1552
566df3fc
CY
15532012-07-04 Chong Yidong <cyd@gnu.org>
1554
1555 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1556 (xml-parse-tag): Likewise, and avoid changing entity tables.
1557 (xml-syntax-table): Define from scratch, making sure not to give
1558 x2000 and other Unicode spaces whitespace syntax, since those are
1559 not spaces in XML.
1560 (xml-parse-fragment): Delete unused function.
1561 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1562 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1563 (xml-entity-ref, xml-pe-reference-re)
1564 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1565 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1566 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1567 (xml-entity-value-re): Use syntax references in regexps where
1568 possible; no need to define inside a let-binding.
1569 (xml-parse-dtd): Use xml-pe-reference-re.
1570 (xml-entity-or-char-ref-re): New defconst.
1571 (xml-parse-string, xml-substitute-special): Use it.
1572
30eabd7a
SM
15732012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1574
0781098a
SM
1575 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1576 (find-file--read-only): New function.
1577 (find-file-read-only, find-file-read-only-other-window)
1578 (find-file-read-only-other-frame): Use it.
1579 (insert-file-contents-literally): Don't `fset'.
1580 (get-free-disk-space): Use locate-dominating-file.
1581
b5771c0d
SM
1582 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1583 function is already compiled.
1584
30eabd7a
SM
1585 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1586
b4886f6e
MA
15872012-07-03 Michael Albinus <michael.albinus@gmx.de>
1588
1589 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1590 files on the same host.
1591
b9d82339
AS
15922012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1593
1594 * help-fns.el (describe-function-1): Only call
1595 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1596
a76e6535
CY
15972012-07-03 Chong Yidong <cyd@gnu.org>
1598
1599 * xml.el: Protect parser against XML bombs.
1600 (xml-entity-expansion-limit): New variable.
1601 (xml-parse-string, xml-substitute-special): Use it.
1602 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1603
b544fef2
GM
16042012-07-03 Glenn Morris <rgm@gnu.org>
1605
1606 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1607 Allow linking to specific messages in debbugs reports (eg 123#5).
1608
a7aef6f5
CY
16092012-07-02 Chong Yidong <cyd@gnu.org>
1610
1611 * xml.el: Fix entity and character reference expansion, allowing
1612 them to expand into markup as per XML spec.
1613 (xml-default-ns): New variable.
1614 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1615 (xml-parse-region): Make first two arguments optional.
1616 Discard text properties.
1617 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1618 All callers changed.
a7aef6f5
CY
1619 (xml-parse-tag): Call xml-parse-tag-1. For backward
1620 compatibility, this function should not modify buffer contents.
1621 (xml-parse-tag-1): Fix opening-tag regexp.
1622 (xml-parse-string): Rewrite, handling entity and character
1623 references properly.
1624 (xml--entity-replacement-text): Signal an error if a parameter
1625 entity is undefined.
1626
3df31c9f
SM
16272012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1628
2b5208f1
SM
1629 * comint.el (comint-output-filter): Filter out repeated prompts.
1630
3df31c9f
SM
1631 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1632 and file-name-absolute-p.
1633 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1634 internal calls.
1635
e3ac1281
PE
16362012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1637
1638 Spelling fixes.
1639 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1640 Rename from byte-compile--refiy-function. All uses changed.
1641
fbf2e7ad
CY
16422012-07-01 Chong Yidong <cyd@gnu.org>
1643
1644 * xml.el (xml--parse-buffer): New function. Move most of
1645 xml-parse-region here.
1646 (xml-parse-region): Copy region into a temporary buffer, since
1647 parameter entity substitution requires changing buffer contents.
1648 Use xml--parse-buffer.
1649 (xml-parse-file): Use xml--parse-buffer.
1650 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1651 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1652
9bf0aa15
GM
16532012-06-30 Glenn Morris <rgm@gnu.org>
1654
bbce2853
GM
1655 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1656
9bf0aa15
GM
1657 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1658 Remove outdated and unnecessary dbus declarations.
1659
0d23c240
EZ
16602012-06-30 Eli Zaretskii <eliz@gnu.org>
1661
1662 * emacs-lisp/timer.el (timer-until): Subtract results of
1663 float-time, instead of taking float-time of the result of
1664 time-subtract, since float-time signals an error for negative time
1665 arguments.
1666
b3218de1
CY
16672012-06-30 Chong Yidong <cyd@gnu.org>
1668
1669 * xml.el (xml-*-re): Convert defvars into defconsts, and
1670 eval-and-compile them so eval-and-compile works on derivatives.
1671 (xml--entity-replacement-text): Use eval-and-comple.
1672
a40c87a0
MA
16732012-06-30 Michael Albinus <michael.albinus@gmx.de>
1674
1675 * vc/vc-git.el (vc-git-registered): Use cache property
1676 `git-registered'.
1677 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1678 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1679 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1680
ac87de97
DG
16812012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1682
1683 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1684 removed (likely outside Emacs). (Bug#11757)
ac87de97 1685
ac10fe06
SM
16862012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1687
3df31c9f 1688 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1689
7f3fbd5d
CY
16902012-06-30 Chong Yidong <cyd@gnu.org>
1691
1692 * xml.el: Implement XML parameter entities.
1693 (xml-parameter-entity-alist): New variable.
1694 (xml-parse-region, xml-parse-fragment): Preserve previous values
1695 of xml-entity-alist and xml-parameter-entity-alist, so that
1696 repeated calls on different documents do not change them.
1697 (xml-parse-tag): Fix doctype regexp.
1698 (xml--entity-replacement-text): New function.
1699 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1700 properly requires url retrieval which is unimplemented.
1701 (xml-escape-string): Doc fix.
1702
3cfbebba
SM
17032012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1704
1705 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1706
2af3565e
DA
17072012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1708
1709 * fringe.el (fringe-mode): Doc fix.
1710
929df0e7
MA
17112012-06-29 Michael Albinus <michael.albinus@gmx.de>
1712
1713 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1714 is non-nil.
1715 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1716 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1717
c8d3a25c 17182012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1719
c8d3a25c
GM
1720 * calendar/cal-dst.el (calendar-current-time-zone):
1721 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1722
c8d3a25c 17232012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1724
1725 * progmodes/which-func.el (which-func-format):
1726 Add mouse-face. (Bug#11698)
1727
c8d3a25c
GM
17282012-06-29 Leo Liu <sdl.web@gmail.com>
1729
1730 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1731
17322012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1733
1734 * minibuffer.el (minibuffer-confirm-exit-commands):
1735 Add completion-at-point (bug#11725).
1736
17372012-06-29 Glenn Morris <rgm@gnu.org>
1738
1739 * progmodes/f90.el (f90-font-lock-keywords-2):
1740 Add some preprocessor elements. (Bug#10499)
1741
17422012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1743
1744 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1745 Use syntax-propertize (bug#11739).
1746
2badeec4
JB
17472012-06-28 Juanma Barranquero <lekktu@gmail.com>
1748
1749 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1750
ae4969c2
JD
17512012-06-28 Julien Danjou <julien@danjou.info>
1752
1753 * term.el (term-handle-colors-array): Use a set of new faces to
1754 color the terminal. Also uses :inverse-video property.
1755 (term-default-fg-color): Set to nil by default, deprecate in favor
1756 of `term-face'.
1757 (term-default-bg-color): Set to nil by default, deprecate in favor
1758 of `term-face'.
1759 (term-current-face): Use `term-face' by default.
1760 (term-bold-attribute): Variable deleted.
1761
1c9bd870
GM
17622012-06-28 Glenn Morris <rgm@gnu.org>
1763
1764 * simple.el (completion-list-mode-finish):
1765 Don't use toggle-read-only. (Since completion-list-mode has
1766 a special mode-class, it wasn't doing anything extra anyway.)
1767
c207708c
SM
17682012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1769
1770 Make inlining of other-mode interpreted functions work (bug#11799).
1771 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1772 (byte-compile): Use it to fix compilation of lexical-binding closures.
1773 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1774 function, if needed.
1775
3fd56834
SM
17762012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1777
04901786
SM
1778 * help-mode.el (help-make-xrefs): Don't just withstand
1779 cyclic-variable-indirection but any error in documentation-property.
1780
1ec4b7b2
SM
1781 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1782 memory use.
1783 * bindings.el (bindings--define-key): New function.
1784 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1785 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1786 * bindings.el: Use it to purecopy define-key bindings.
1787
e309e2a5
SM
1788 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1789
d5c6faf9
SM
1790 * emacs-lisp/cl.el (flet): Mark obsolete.
1791 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1792 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1793 * progmodes/js.el (js-c-fill-paragraph):
1794 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1795 (ebrowse-switch-member-buffer-to-derived-class):
1796 * play/5x5.el (5x5-solver): Use cl-flet.
1797
6e9590e2
SM
1798 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1799 (cl--symbol-function): New macro.
1800 (cl--letf, cl--letf*): Use it.
1801
3fd56834
SM
1802 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1803 Strip "toggle-" if any.
1804
35ff222c
GM
18052012-06-27 Glenn Morris <rgm@gnu.org>
1806
1ba6038a
GM
1807 * info.el (Info-default-directory-list): Move here from paths.el.
1808 * paths.el: Remove file, which is now empty.
1809 * loadup.el: No longer load "paths".
1810
0ea0e51b
GM
1811 * custom.el (custom-initialize-delay): Doc fix.
1812
35ff222c
GM
1813 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1814 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1815 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1816 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1817 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1818 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1819 * eshell/eshell.el (eshell-defgroup): Remove alias.
1820
c89926a5
CY
18212012-06-27 Chong Yidong <cyd@gnu.org>
1822
1823 * help.el (help-enable-auto-load): New variable.
1824
1825 * help-fns.el (help-fns--autoloaded-p): New function.
1826 (describe-function-1): Refer to a function as "autoloaded" if it
1827 was autoloaded at any time in the past. Perform autoloading if
1828 help-enable-auto-load is non-nil.
1829
cc06e7e7
EZ
18302012-06-26 Eli Zaretskii <eliz@gnu.org>
1831
1832 * makefile.w32-in (compile, compile-always): Depend on
1833 update-subdirs, not on subdirs.el. Otherwise, several different
1834 sub-targets of 'bootstrap' running in parallel could
1835 simultaneously write to subdirs.el, producing a garbled file.
1836
d2c32364
SS
18372012-06-26 Sam Steingold <sds@gnu.org>
1838
1839 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1840 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1841 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1842 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1843 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1844 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1845 * textmodes/tex-mode.el: Use it.
1846 Did not touch cedet and org because they are maintained elsewhere.
1847
5cf983b2
MR
18482012-06-26 Martin Rudalics <rudalics@gmx.at>
1849
1850 * calendar/calendar.el (calendar-exit): Don't try to delete or
1851 iconify last frame. See:
1852 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1853
8c4f2952
JD
18542012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1855
1856 * server.el (server-process-filter): Remember dir in the
1857 process's `server-client-directory' properties.
1858
772b2e2c
CY
18592012-06-24 Chong Yidong <cyd@gnu.org>
1860
1861 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1862 non-tag text.
1863
711b11e1
JB
18642012-06-23 Juanma Barranquero <lekktu@gmail.com>
1865
1866 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1867
dc5d230c
SM
18682012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1869
1870 * help-fns.el (describe-variable): Don't croak when doc is not found.
1871 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1872 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1873 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1874 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1875 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1876 ((lambda ..) ..).
1877 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1878
136e1c1d
CY
18792012-06-23 Chong Yidong <cyd@gnu.org>
1880
e8c1cabf
CY
1881 * info.el (Info-mouse-follow-link): Accept symbol values of
1882 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1883 (Info-fontify-node): Use Info-link-keymap for all navigation
1884 buttons, with link-args property to perform the desired action.
1885 (Info-link-keymap): Doc fix.
1886 (Info-next-link-keymap, Info-prev-link-keymap)
1887 (Info-up-link-keymap): Delete now-unused keymaps.
1888
0e9e6c6a
CY
18892012-06-23 Chong Yidong <cyd@gnu.org>
1890
05e89fea
CY
1891 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1892
0e9e6c6a
CY
1893 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1894 system abbrevs.
1895
1896 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1897
e33c6771
SM
18982012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1899
b68581e2
SM
1900 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1901 (bug#11719).
1902
e33c6771
SM
1903 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1904 the requote function doesn't work properly (bug#11714).
1905
7117e105
GM
19062012-06-23 Glenn Morris <rgm@gnu.org>
1907
1908 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1909
36cec983
SM
19102012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1911
1912 Further GV/CL cleanups.
1913 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1914 gv-expander.
1915 (gv--defun-declaration): New function.
1916 (defun-declarations-alist): Use it.
1917 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1918 (gv-place): Autoload.
1919 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1920 original definition of dotimes and dolist.
1921 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1922 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1923 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1924 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1925 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1926 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1927 to the function's definition.
1928 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1929 * window.el:
1930 * files.el:
1931 * faces.el:
1932 * env.el: Don't use CL.
1933
d35af63c
PE
19342012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1935
1936 Support higher-resolution time stamps (Bug#9000).
1937
1938 * calendar/time-date.el (with-decoded-time-value): New arg
1939 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1940 (encode-time-value): New optional arg PICO. New type 3.
1941 (time-to-seconds) [!float-time]: Support the new picoseconds
1942 component if it's used.
1943 (seconds-to-time, time-subtract, time-add):
1944 Support ps-resolution time stamps as well.
1945
1946 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1947 (timerp): Timer vectors now have length 9, not 8.
1948 (timer--time): Support new-style (4-part) time stamps.
1949 (timer-next-integral-multiple-of-time): Time stamps now have
1950 picosecond resolution, so take a bit more care about rounding.
1951 (timer-relative-time, timer-inc-time): New optional arg psecs.
1952 (timer-set-time-with-usecs): Set psecs to 0.
1953 (timer--activate): Check psecs component, too.
1954
1955 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1956
ac77b21a
SM
19572012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1958
f143bfe3
SM
1959 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1960 Move the non-essential binding to the post/pre-command-hook where it is
1961 more obviously correct.
1962
ac77b21a
SM
1963 * subr.el (read-passwd): Don't use a history at all.
1964 * savehist.el (savehist-save): Remove password saved accidentally
1965 because of the above bug.
1966
76386c5a
BG
19672012-06-22 Bastien Guerry <bzg@gnu.org>
1968
1969 * files.el (toggle-read-only): Display a message telling whether
1970 the buffer is read-only or not (bug#11726).
1971
2ee3d7f0
SM
19722012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 * emacs-lisp/gv.el: New file.
1975 * subr.el (push, pop): Extend to generalized variables.
1976 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1977 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1978 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1979 gv-define-simple-setter, and gv-define-expander.
1980 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1981 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1982 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1983 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1984 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1985 gv-letplace.
1986 (cl-defstruct): Don't define setf-method any more.
1987 * emacs-lisp/cl.el (flet): Don't autoload.
1988 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1989 (define-setf-expander, defsetf, define-modify-macro)
1990 (cl-struct-setf-expander): Move from cl-lib.el.
1991 * emacs-lisp/syntax.el:
1992 * emacs-lisp/ewoc.el:
1993 * emacs-lisp/smie.el:
1994 * emacs-lisp/cconv.el:
1995 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1996 (timer--time): Use gv-define-simple-setter.
1997 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1998 to avoid coding-system problems in subr.el. Adjust all users.
1999 (macroexp--maxsize, macroexp-small-p): New functions.
2000 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2001 * scroll-bar.el (scroll-bar-mode):
2002 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2003 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2004 * winner.el (winner-configuration, winner-make-point-alist)
2005 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2006 * files.el (locate-file-completion-table): Avoid list*.
2007
c5695d1d
CY
20082012-06-22 Chong Yidong <cyd@gnu.org>
2009
2010 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2011 (dired-create-files): Doc fix (Bug#11329).
2012 (dired-do-copy): Doc fix (Bug#11334).
2013 (dired-mark-read-string): Doc fix (Bug#11553).
2014
2ee3d7f0
SM
2015 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2016 Doc fix (Bug#11326).
c5695d1d
CY
2017 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2018 (dired-dwim-target): Doc fix.
2019
2020 * wdired.el (wdired-mode): Doc fix.
2021
89b5595a
GM
20222012-06-22 Glenn Morris <rgm@gnu.org>
2023
575db3f1
GM
2024 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2025 (pcmpl-rpm-cache-stamp-file): New constant.
2026 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2027 (pcmpl-rpm-packages): Optionally cache list of packages.
2028
a4c8dd51
GM
2029 * pcmpl-rpm.el (pcmpl-rpm): New group.
2030 (pcmpl-rpm-query-options): New option.
2031 (pcmpl-rpm-packages): No need to inline it.
2032 Use pcmpl-rpm-query-options.
2033
89b5595a
GM
2034 * calendar/calendar.el (calendar-in-read-only-buffer):
2035 Avoid some needless mode changes.
2036
e76f0800
CY
20372012-06-21 Chong Yidong <cyd@gnu.org>
2038
2039 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2040 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 2041 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 2042
297a8f1d
CY
20432012-06-20 Chong Yidong <cyd@gnu.org>
2044
2045 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2046
d34c18b1
DR
20472012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2048
2049 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2050 (bug#11201).
2051
32f7f28e
CY
20522012-06-20 Chong Yidong <cyd@gnu.org>
2053
2054 * term.el (term-window-width): Handle the case of a missing right
2055 fringe (Bug#8837).
2056 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
2057 (term-mode): Use define-derived-mode. Minor cleanups.
2058 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
2059 (term-move-columns, term-insert-char, term-emulate-terminal)
2060 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 2061
493c6688
MA
20622012-06-20 Michael Albinus <michael.albinus@gmx.de>
2063
d34c18b1
DR
2064 * net/ange-ftp.el (ange-ftp-get-passwd):
2065 Bind `enable-recursive-minibuffers'.
493c6688
MA
2066 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2067
3f06ecf4
DR
20682012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2069
2070 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2071
68f12411
GM
20722012-06-19 Glenn Morris <rgm@gnu.org>
2073
2074 * progmodes/python.el (python-mode): Derive from prog-mode.
2075
b3820318
KG
20762012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2077
2078 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2079 (edt-user-menu-bar-update-buffers): New functions.
2080 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2081
c6bf3022
CY
20822012-06-19 Chong Yidong <cyd@gnu.org>
2083
2084 * subr.el (with-selected-window): Preserve the selected window's
2085 terminal's top-frame (Bug#4702).
2086
2087 * window.el (save-selected-window): Likewise.
2088
25f09295
SM
20892012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2090
2091 * progmodes/python.el (python-rx-constituents): Move backquote.
2092 (python-skeleton-define, python-define-auxiliary-skeleton):
2093 Use `declare'.
2094
6b11952a
MA
20952012-06-18 Michael Albinus <michael.albinus@gmx.de>
2096
2097 * minibuffer.el (read-file-name-default): Revert the patch from
2098 2012-06-17.
2099
ee4b1330
SM
21002012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2101
2102 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2103 (pcase--u1, pcase--q1): Don't use apply-partially.
2104
35647f79
GM
21052012-06-18 Glenn Morris <rgm@gnu.org>
2106
2107 * progmodes/python.el (python-proc, python-buffer)
2108 (python-send-receive, python-send-string): Fix obsolete versions.
2109
24b0cff0
MR
21102012-06-18 Martin Rudalics <rudalics@gmx.at>
2111
2112 * window.el (special-display-p): Completely remove stringp
2113 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2114
29855149
MA
21152012-06-17 Michael Albinus <michael.albinus@gmx.de>
2116
2117 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2118
2119 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2120
2121 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2122 * net/tramp-sh.el (tramp-maybe-open-connection):
2123 Throw if `non-essential' is non-nil.
2124
07463363
MR
21252012-06-17 Martin Rudalics <rudalics@gmx.at>
2126
2127 * window.el (special-display-p): Signal an error if BUFFER-NAME
2128 is not a string (Bug#11713).
2129
48d1354e
PE
21302012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2131
2132 * progmodes/python.el (python-info-beginning-of-backslash):
2133 Rename from python-info-beginning-of-backlash, as a spelling fix.
2134
eb4a8a9a
CY
21352012-06-17 Chong Yidong <cyd@gnu.org>
2136
2137 * term.el (term-emulate-terminal): If term-check-size is called,
2138 move point to the process mark without resetting point (Bug#4635).
2139
ddfbf826 21402012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
2141
2142 * international/mule-cmds.el (mule-menu-keymap)
2143 (set-language-environment, set-locale-environment): Doc tweaks.
2144
9b0e3eba
AA
21452012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2146
2147 * cus-face.el (custom-face-attributes): Add wave-style underline
2148 attribute.
2149 * faces.el (set-face-attribute): Update docstring to describe
2150 wave-style underline attribute.
2151
771e3eae
CY
21522012-06-16 Chong Yidong <cyd@gnu.org>
2153
2154 * term/xterm.el (terminal-init-xterm): Discard input before
2155 querying background mode (Bug#10959).
2156
7ae2ea10
SM
21572012-06-16 Stefan Merten <smerten@oekonux.de>
2158
2159 * textmodes/rst.el: Added and corrected some comments.
2160 (rst-re-alist-def): Improve symbol syntax.
2161 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
2162 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2163 (rst-official-version, rst-official-cvs-rev): Update version
2164 information.
7ae2ea10 2165
b6974efa
JB
21662012-06-15 Juanma Barranquero <lekktu@gmail.com>
2167
2168 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2169 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2170
8826d473
GM
21712012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2172
2173 * progmodes/python.el: New python.el merge.
2174 (python-guess-indent): Obsolete var.
2175 (python-indent-guess-indent-offset): New defcustom.
2176 (python-indent): Obsolete var.
2177 (python-indent-offset): New defcustom.
2178 (python-python-command, python-jython-command): Delete var.
2179 (python-shell-interpreter): New defcustom.
2180 (python-pdbtrack-do-tracking-p): Delete var.
2181 (python-pdbtrack-activate): New defcustom.
2182 (python-use-skeletons): Obsolete var.
2183 (python-skeleton-autoinsert): New defcustom.
2184 (inferior-python-filter-regexp, python-continuation-offset)
2185 (python-honour-comment-indentation, python-indent-string-contents)
2186 (python-jython-packages, python-mode-hook)
2187 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2188 (python-shell-prompt-alist)
2189 (python-source-modes): Delete defcustoms.
2190 (python-check-buffer-name, python-eldoc-setup-code)
2191 (python-eldoc-string-code, python-ffap-setup-code)
2192 (python-ffap-string-code, python-fill-comment-function)
2193 (python-fill-decorator-function, python-fill-paren-function)
2194 (python-fill-string-function, python-imenu-include-defun-type)
2195 (python-imenu-make-tree, python-imenu-subtree-root-label)
2196 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2197 (python-shell-compilation-regexp-alist)
2198 (python-shell-completion-module-string-code)
2199 (python-shell-completion-pdb-string-code)
2200 (python-shell-completion-setup-code)
2201 (python-shell-completion-string-code)
2202 (python-shell-enable-font-lock, python-shell-exec-path)
2203 (python-shell-extra-pythonpaths)
2204 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2205 (python-shell-process-environment)
2206 (python-shell-prompt-block-regexp)
2207 (python-shell-prompt-output-regexp)
2208 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2209 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2210 (python-shell-virtualenv-path): New defcustoms.
2211 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2212 (inferior-python-mode-syntax-table, python--prompt-regexp)
2213 (python-buffer, python-command python-python-command)
2214 (python-default-template, python-imports, python-indent-index)
2215 (python-indent-list, python-indent-list-length)
2216 (python-mode-running, python-pdbtrack-is-tracking-p)
2217 (python-preoutput-continuation, python-preoutput-leftover)
2218 (python-preoutput-result, python-preoutput-skip-next-prompt)
2219 (python-prev-dir/file, python-recursing)
2220 (python-saved-check-command, python-version-checked)
2221 (python-which-func-length-limit)
2222 (view-return-to-alist): Delete vars.
2223 (python-check-custom-command, python-dotty-syntax-table)
2224 (python-imenu-index-alist, python-indent-current-level)
2225 (python-indent-dedenters, python-indent-levels)
2226 (python-nav-beginning-of-defun-regexp)
2227 (python-nav-list-defun-positions-cache)
2228 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2229 (python-shell-internal-buffer)
2230 (python-skeleton-available): New vars.
2231 (def-python-skeleton): Delete macro.
2232 (python-skeleton-define): New macro.
2233 (python-define-auxiliary-skeleton, python-rx): New macros.
2234 (python-insert-class): Delete command.
2235 (python-skeleton-class): New command.
2236 (python-insert-def): Delete command.
2237 (python-skeleton-def): New command.
2238 (python-insert-for): Delete command.
2239 (python-skeleton-for): New command.
2240 (python-insert-if): Delete command.
2241 (python-skeleton-if): New command.
2242 (python-insert-try/except, python-insert-try/finally): Delete commands.
2243 (python-skeleton-try): New command.
2244 (python-insert-while): Delete command.
2245 (python-skeleton-while): New command.
2246 (python-backspace): Delete command.
2247 (python-indent-dedent-line-backspace): New command.
2248 (python-electric-colon): Delete command.
2249 (python-indent-electric-colon): New command.
2250 (python-guess-indent): Delete command.
2251 (python-indent-guess-indent-offset): New command.
2252 (python-shift-left): Delete command.
2253 (python-indent-shift-left): New command.
2254 (python-shift-right): Delete command.
2255 (python-indent-shift-right): New command.
2256 (python-find-function): Delete command.
2257 (python-nav-jump-to-defun): New command.
2258 (python-next-statement): Delete command.
2259 (python-nav-forward-sentence): New command.
2260 (python-previous-statement): Delete command.
2261 (python-nav-backward-sentence): New command.
2262 (python-fill-paragraph): Delete command.
2263 (python-fill-paragraph-function): New command.
2264 (python-send-buffer): Delete command.
2265 (python-shell-send-buffer): New command.
2266 (python-send-defun): Delete command.
2267 (python-shell-send-defun): New command.
2268 (python-send-region, python-send-region-and-go): Delete commands.
2269 (python-shell-send-region)
2270 (python-shell-switch-to-shell): New commands.
2271 (python-send-string): Delete command.
2272 (python-shell-send-string): New command.
2273 (python-switch-to-python): Delete command.
2274 (python-shell-switch-to-shell): New command.
2275 (python-describe-symbol): Delete command.
2276 (python-eldoc-at-point): New command.
2277 (python--set-prompt-regexp, python-args-to-list)
2278 (python-after-info-look, python-check-version)
2279 (python-check-comint-prompt, python-find-imports)
2280 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2281 (python-unload-function, python-expand-template)
2282 (python-maybe-jython, python-preoutput-filter)
2283 (python-pdbtrack-get-source-buffer)
2284 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2285 (python-pdbtrack-toggle-stack-tracking)
2286 (python-pdbtrack-track-stack-file, python-initial-text)
2287 (python-first-word, python-comment-line-p, python-send-command)
2288 (python-setup-brm, python-sentinel, python-set-proc)
2289 (python-skip-out, python-input-filter, python-outdent-p)
2290 (python-outline-level, python-backslash-continuation-line-p)
2291 (python-end-of-block, python-end-of-statement, python-mark-block)
2292 (python-beginning-of-block, python-beginning-of-statement)
2293 (python-blank-line-p, python-beginning-of-string)
2294 (python-open-block-statement-p): Delete functions.
2295 (python-indent-line, python-indent-line-1): Delete functions.
2296 (python-indent-line): New function.
2297 (python-indentation-levels): Delete function.
2298 (python-indent-calculate-levels): New function.
2299 (python-proc): Delete function.
2300 (python-shell-get-process): New function.
2301 (python-send-receive): Delete function.
2302 (python-shell-send-string-no-output): New function.
2303 (python-module-path): Delete function.
2304 (python-ffap-module-path): New function.
2305 (python-completion-at-point)
2306 (python-symbol-completions): Delete functions.
2307 (python-completion-complete-at-point): New function.
2308 (python-load-file): Delete function.
2309 (python-shell-send-file): New function.
2310 (python-calculate-indentation): Delete function.
2311 (python-indent-calculate-indentation): New function.
2312 (python-skip-comments/blanks): Delete function.
2313 (python-util-forward-comment): New function.
2314 (python-continuation-line-p): Delete function.
2315 (python-info-continuation-line-p): New function.
2316 (python-which-func, python-current-defun): Delete function.
2317 (python-info-current-defun): New function.
2318 (python-beginning-of-defun): Delete function.
2319 (python-nav-beginning-of-defun): New function.
2320 (python-close-block-statement-p)
2321 (python-block-end-p): Delete function.
2322 (python-info-closing-block): New function.
2323 (python-comint-output-filter-function)
2324 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2325 (python-fill-comment, python-fill-decorator, python-fill-paren)
2326 (python-fill-string, python-imenu-make-element-tree)
2327 (python-imenu-make-tree, python-imenu-tree-assoc)
2328 (python-indent-context, python-indent-dedent-line)
2329 (python-indent-line-function)
2330 (python-indent-post-self-insert-function)
2331 (python-indent-toggle-levels)
2332 (python-info-assignment-continuation-line-p)
2333 (python-info-beginning-of-backlash)
2334 (python-info-block-continuation-line-p)
2335 (python-info-closing-block-message)
2336 (python-info-line-ends-backslash-p)
2337 (python-info-looking-at-beginning-of-defun)
2338 (python-info-ppss-context, python-info-ppss-context-type)
2339 (python-nav-list-defun-positions, python-nav-read-defun)
2340 (python-nav-sentence-end, python-nav-sentence-start)
2341 (python-pdbtrack-comint-output-filter-function)
2342 (python-pdbtrack-set-tracked-buffer)
2343 (python-shell-calculate-exec-path)
2344 (python-shell-calculate-process-environment)
2345 (python-shell-completion--do-completion-at-point)
2346 (python-shell-completion--get-completions)
2347 (python-shell-completion-complete-at-point)
2348 (python-shell-completion-complete-or-indent)
2349 (python-shell-get-or-create-process)
2350 (python-shell-get-process-name)
2351 (python-shell-internal-get-or-create-process)
2352 (python-shell-internal-get-process-name)
2353 (python-shell-internal-send-string, python-shell-make-comint)
2354 (python-shell-parse-command, python-shell-send-setup-code)
2355 (python-skeleton-add-menu-items)
2356 (python-util-clone-local-variables, python-util-position)
2357 (run-python-internal, python-indentation-levels)
2358 (python-nav-beginning-of-defun)
2359 (python-completion-complete-at-point): New functions.
2360 (run-python): Change arguments. New API requirements.
2361
4302f5ba
SM
23622012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2363
f38ea36d
SM
2364 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2365 (bug#11649).
2366
2367 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2368 (macroexp--expand-all): Use it.
2369
4302f5ba
SM
2370 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2371 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2372 Use `cl-function' instead.
2373
33377562
JB
23742012-06-14 Juanma Barranquero <lekktu@gmail.com>
2375
2376 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2377 Suggested by Stefan Monnier while discussing bug#11657.
2378
54c5ba1a
SS
23792012-06-14 Sam Steingold <sds@gnu.org>
2380
2381 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2382
f9f1b1fe
AS
23832012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2384
2385 * play/doctor.el (doctor-doc): Remove parameter and use
2386 doctor-sent instead of sent.
2387 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2388
a81068ba
SM
23892012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2390
5a315f9c
SM
2391 * files.el: Require cl-lib.
2392 (file-name-non-special): Replace case -> cl-case.
2393
2394 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2395
a81068ba
SM
2396 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2397 mapping from #' to function*.
2398
8cca9703
CY
23992012-06-13 Chong Yidong <cyd@gnu.org>
2400
2401 * mouse.el (mouse-drag-track): Do not set the mark if the user
2402 releases the mouse without selecting anything (Bug#11588).
2403
a12ac9d7
SM
24042012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2405
ccf1dc18
SM
2406 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2407 as well (bug#11646).
2408
ef62b23d
SM
2409 * loadup.el: Count byte-code functions as well.
2410
c4c8444a
SM
2411 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2412 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2413
a12ac9d7
SM
2414 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2415 (bug#11649). Add cl-defun and cl-defmacro.
2416
87e6e64f
DA
24172012-06-13 Drew Adams <drew.adams@oracle.com>
2418
2419 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2420 Fix last change.
2421
682cefaf
MA
24222012-06-13 Michael Albinus <michael.albinus@gmx.de>
2423
2424 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2425 Otherwise, it blocks in batch mode.
2426
773e1f08
JB
24272012-06-13 Juanma Barranquero <lekktu@gmail.com>
2428
2429 * help-mode.el (bookmark-make-record-default): Declare.
2430
60057926
CY
24312012-06-13 Chong Yidong <cyd@gnu.org>
2432
2433 * emacs-lisp/package.el (list-packages): Compute a list of
2434 packages that are newly-available since the last list-packages
2435 invocation.
2436 (package-menu--new-package-list): New var.
2437 (package-menu--generate, package-menu--print-info)
2438 (package-menu--status-predicate, package-menu-mark-install):
2439 Handle new status label "new".
2440
ad4d226c
SM
24412012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2444 conversion to backquotes.
2445
f1a4e679
CY
24462012-06-12 Chong Yidong <cyd@gnu.org>
2447
2448 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2449 Rename from gud-inhibit-global-bindings.
2450
2451 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2452
2453 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2454 hook from nxml-glyph-set-hook.
2455
2456 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2457 declaration.
2458
2459 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2460
2461 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2462 Convert to defcustom.
2463
0c9e42b5
DA
24642012-06-12 Drew Adams <drew.adams@oracle.com>
2465
2466 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2467 New functions.
2468 (help-mode): Use them.
2469
09e06855
GM
24702012-06-11 Glenn Morris <rgm@gnu.org>
2471
2472 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2473 Use preprocessor face for directives.
2474 (fortran-directive-re): Doc fix.
2475
71adb94b
SM
24762012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2eb87922
SM
2478 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2479 conversion to backquotes (bug#11652).
2480
71adb94b
SM
2481 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2482 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2483 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2484 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2485 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2486 (cl-ninth, cl-tenth): Mark them as inlinable.
2487 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2488 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2489 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2490 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2491 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2492 (cl-list*, cl-adjoin): Don't put an autoload manually.
2493 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2494 (cl--compiler-macro-list*): Add autoload cookie.
2495 (cl--compiler-macro-cXXr): New function.
2eb87922 2496
71adb94b
SM
2497 * help-fns.el (help-fns--compiler-macro): New function extracted from
2498 describe-function-1; follow aliases and use `compiler-macro' property.
2499 (describe-function-1): Use it.
2500
a6674402
CY
25012012-06-11 Chong Yidong <cyd@gnu.org>
2502
2503 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2504 is uninstalled, if imagemagick is installed.
2505
bb3faf5b
SM
25062012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2507
2508 * emacs-lisp/cl-lib.el: Use lexical-binding.
2509 (cl-map-extents, cl-maclisp-member): Remove.
2510 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2511 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2512 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2513 * emacs-lisp/cl-extra.el: Use lexical-binding.
2514 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2515 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2516 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2517 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2518 * emacs-lisp/cl-seq.el: Use lexical-binding.
2519 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2520 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2521 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2522 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2523 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2524 CL's internals.
2525
2fe4b125
MA
25262012-06-11 Michael Albinus <michael.albinus@gmx.de>
2527
2528 Sync with Tramp 2.2.6-pre.
2529
2530 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2531 `print-length' and `print-level' to nil, in order to avoid
2532 truncation. Reported by Christopher Schmidt
2533 <christopher@ristopher.com>.
2534
2535 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2536
2537 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2538 New defmacro.
2539 (tramp-compat-copy-directory): Add optional argument
2540 COPY-CONTENTS. It is not handled yet.
2541
2542 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2543 (tramp-ftp-file-name-p): Simplify.
2544
2545 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2546 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2547 connection vector.
2548
2549 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2550 (tramp-methods): Do not use `tramp-password-end-of-line'.
2551 (tramp-completion-function-alist-putty): Handle UNIX case.
2552 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2553 (tramp-do-file-attributes-with-stat)
2554 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2555 gid as real numbers. They could run out of integer range on cygwin.
2556 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2557 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2558 (tramp-open-connection-setup-interactive-shell):
2559 Use `tramp-cleanup'. Move check for busyboxes ...
2560 (tramp-find-shell): ... here. Simplify implementation.
2561 Set "remote-shell" property also for alternative shells.
2562 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2563 If failing, a regular file would be written otherwise.
2564 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2565 (tramp-find-inline-encoding): Cache the coding commands in the
2566 process cache. Apply test command on the remote side, if defined.
2567 (tramp-find-inline-compress): Cache the compress commands in the
2568 process cache.
2569 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2570 when requested. Handle hops.
2571 (tramp-current-connection): New defvar.
87e6e64f
DA
2572 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2573 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2574 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2575 (tramp-get-inline-compress, tramp-get-inline-coding):
2576 Read connection properties from the process cache.
2fe4b125
MA
2577
2578 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2579 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2580 New defconsts.
2fe4b125
MA
2581 (tramp-smb-prompt): Extend for powershell prompt.
2582 (tramp-smb-file-name-handler-alist): Add handlers for
2583 `process-file', `shell-command' and `start-file-process'.
2584 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2585 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2586 (tramp-smb-file-name-p): Simplify.
2587 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2588 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2589 (tramp-smb-shell-quote-argument): New defuns.
2590 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2591 Implement using "tar". By this, time-stamps are preserved.
2592 (tramp-smb-handle-copy-file): Handle also the case of directories.
2593 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2594 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2595 Use `tramp-get-connection-buffer').
2fe4b125
MA
2596 (tramp-smb-handle-rename-file): Use "rename", when source and
2597 target are on the same share.
87e6e64f
DA
2598 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2599 Use `tramp-smb-server-version'.
2fe4b125
MA
2600 (tramp-smb-wait-for-output): Remove prompt.
2601
2602 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2603 (tramp-methods, tramp-rsh-end-of-line):
2604 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2605 (tramp-save-ad-hoc-proxies): New defcustom.
2606 (tramp-completion-function-alist): Adapt docstring.
2607 (tramp-default-password-end-of-line): Remove defcustom.
2608 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2609 (tramp-user-regexp, tramp-file-name-regexp-unified)
2610 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2611 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2612 (tramp-remote-file-name-spec-regexp): New defconst.
2613 (tramp-file-name-structure): Extend structure for hops.
2614 (tramp-get-method-parameter): Move up.
2615 (tramp-file-name-p, tramp-dissect-file-name)
2616 (with-parsed-tramp-file-name): Handle hops.
2617 (tramp-file-name-hop): New defun.
2618 (tramp-make-tramp-file-name): New optional arg HOP.
2619 (tramp-message-show-progress-reporter-message): New defvar.
2620 (tramp-with-progress-reporter): Use it. We cannot use
2621 `tramp-message-show-message' here, because this suppresses also
2622 error buffers.
2623 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2624 `tramp-message-show-message' is nil.
2625 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2626 (tramp-cleanup): New defun.
2627 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2628 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2629 an error unchanged.
2630 (tramp-completion-handle-file-name-all-completions): Handle hops.
2631 Fix an error when called from ido.
2632 (tramp-completion-dissect-file-name): Use better local variable
2633 name. Add hop to the vector.
2634 (tramp-handle-insert-file-contents): Use progress-reporter for the
2635 whole scenario.
2636 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2637 to `t'.
2638 (tramp-check-for-regexp): Simplify search.
2639 (tramp-enter-password): Remove it. Move implementation ...
2640 (tramp-action-password): ... here.
2641 (tramp-mode-string-to-int, tramp-local-host-p)
2642 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2643 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2644 Set tramp-autoload cookie.
2fe4b125
MA
2645
2646 * net/trampver.el: Update release number.
2647
26482012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2649 Michael Albinus <michael.albinus@gmx.de>
2650
2651 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2652 (tramp-parse-group, tramp-parse-file)
2653 (tramp-parse-shostkeys-sknownhosts): New defuns.
2654 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2655 (tramp-parse-shosts-group, tramp-parse-sconfig)
2656 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2657 (tramp-parse-sknownhosts, tramp-parse-hosts)
2658 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2659 Use them.
2660 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2661 (tramp-parse-putty-group): Don't narrow.
2662 (tramp-parse-putty): Make a loop.
2663 (tramp-file-name-handler): Catch the `suppress' signal.
2664
72834e10
CY
26652012-06-11 Chong Yidong <cyd@gnu.org>
2666
2667 * image.el (imagemagick-register-types): Put the ImageMagick entry
2668 at the end of image-type-file-name-regexps.
2669
a4712e11
JB
26702012-06-11 Johan Bockgård <bojohan@gnu.org>
2671
2672 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2673 (pcase, pcase-let*, pcase-dolist): Use them.
2674
82ad98e3
SM
26752012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 * emacs-lisp/pcase.el (pcase--let*): New function.
2678 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2679 (pcase--expand): Use macroexp-let².
2680
f80efb86
SM
26812012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2682
2683 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2684 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2685 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2686 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2687 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2688 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2689
31ca4639 26902012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2691
31ca4639
CY
2692 * mail/rmail.el (rmail-yank-current-message): Leave point at
2693 correct position. (Bug#11660)
94f0aa34 2694
31ca4639 26952012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2696
31ca4639 2697 * allout-widgets.el: Fix code header.
9e1b8ec4 2698
31ca4639 26992012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2700
f80efb86
SM
2701 * cus-edit.el (customize-changed-options-previous-release):
2702 Bump to 24.1.
31ca4639 2703
642b6d30
AS
27042012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2705
2706 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2707
4f5d2ba1
CY
27082012-06-09 Chong Yidong <cyd@gnu.org>
2709
2710 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2711
e75852fd
MR
27122012-06-09 Martin Rudalics <rudalics@gmx.at>
2713
2714 * window.el (special-display-popup-frame): Don't use
2715 window--display-buffer (Bug#11651).
2716
1e48e282
EZ
27172012-06-09 Eli Zaretskii <eliz@gnu.org>
2718
8a26b487
EZ
2719 Fix parallel builds: make sure loaddefs.el is not being written
2720 while Lisp files are compiled.
2721 (compile): Don't depend on 'mh-autoloads'.
2722 (compile-CMD, compile-SH): Depend on 'autoloads'.
2723 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2724
1e48e282
EZ
2725 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2726
6175e34b
CY
27272012-06-09 Chong Yidong <cyd@gnu.org>
2728
2729 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2730 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2731 Doc fixes (Bug#11225).
2732
d9857e53
SM
27332012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2736 a function if there's a clear indication that it has a compiler-macro.
2737 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2738 (macro-declarations-alist): Add arglist to declaration functions.
2739 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2740 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2741 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2742 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2743 Also add autoload to find the compiler macro.
2744 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2745 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2746 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2747 (cl--compiler-macro-get): New functions, replacing calls to
2748 cl-define-compiler-macro.
2749 (cl-typep) [compiler-macro]: Use macroexp-let².
2750
f81298f8 27512012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2752
2753 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2754 string properly, fixes Bug#11473.
2755
4b56d0fe
CY
27562012-06-08 Chong Yidong <cyd@gnu.org>
2757
2758 * faces.el (set-face-attribute): Doc fix.
2759 (modify-face): Don't use :bold and :italic.
2760 (error, warning, success): Tweak definitions.
2761
2762 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2763 (custom-modified, custom-set, custom-changed, custom-themed)
2764 (custom-saved, custom-button, custom-button-mouse)
2765 (custom-button-pressed, custom-state, custom-comment-tag)
2766 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2767 (custom-group-subtitle): Use new-style face specs.
2768 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2769 (custom-set-face, custom-changed-face, custom-saved-face)
2770 (custom-button-face, custom-button-pressed-face)
2771 (custom-documentation-face, custom-state-face)
2772 (custom-comment-face, custom-comment-tag-face)
2773 (custom-variable-tag-face, custom-variable-button-face)
2774 (custom-face-tag-face, custom-group-tag-face-1)
2775 (custom-group-tag-face): Remove obsolete face alias.
2776
2777 * epa.el (epa-validity-high, epa-validity-medium)
2778 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2779 (epa-field-name, epa-field-body):
2780 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2781 (font-lock-keyword-face, font-lock-builtin-face)
2782 (font-lock-function-name-face, font-lock-variable-name-face)
2783 (font-lock-type-face, font-lock-constant-face):
2784 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2785 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2786 * speedbar.el (speedbar-button-face, speedbar-file-face)
2787 (speedbar-directory-face, speedbar-tag-face)
2788 (speedbar-selected-face, speedbar-highlight-face)
2789 (speedbar-separator-face):
2790 * whitespace.el (whitespace-newline, whitespace-space)
2791 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2792 (whitespace-line, whitespace-space-before-tab)
2793 (whitespace-space-after-tab, whitespace-indentation)
2794 (whitespace-empty):
2795 * emulation/cua-base.el (cua-global-mark):
2796 * eshell/em-prompt.el (eshell-prompt):
2797 * net/newst-plainview.el (newsticker-new-item-face)
2798 (newsticker-old-item-face, newsticker-immortal-item-face)
2799 (newsticker-obsolete-item-face, newsticker-date-face)
2800 (newsticker-statistics-face, newsticker-default-face):
2801 * net/newst-reader.el (newsticker-feed-face)
2802 (newsticker-extra-face, newsticker-enclosure-face):
2803 * net/newst-treeview.el (newsticker-treeview-face)
2804 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2805 (newsticker-treeview-immortal-face)
2806 (newsticker-treeview-obsolete-face)
2807 (newsticker-treeview-selection-face):
2808 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2809 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2810 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2811 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2812 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2813 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2814 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2815 (mpuz-text):
2816 * progmodes/vera-mode.el (vera-font-lock-number)
2817 (vera-font-lock-function, vera-font-lock-interface):
2818 * textmodes/table.el (table-cell): Use new-style face specs, and
2819 don't use the old :bold and :italic attributes.
2820
2821 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2822 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2823 (ebrowse-member-class, ebrowse-progress): Likewise.
2824 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2825 (ebrowse-file-name-face, ebrowse-default-face)
2826 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2827 (ebrowse-progress-face): Remove obsolete faces.
2828
2829 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2830 Inherit from error and warning faces respectively.
2831
2832 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2833 Likewise.
f80efb86
SM
2834 (flyspell-incorrect-face, flyspell-duplicate-face):
2835 Remove obsolete aliases.
4b56d0fe 2836
03310646
MA
28372012-06-08 Michael Albinus <michael.albinus@gmx.de>
2838
2839 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2840 Avoid infloop.
2841
513749ee
SM
28422012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2843
2844 * startup.el (argv, argi): Make lexically scoped.
2845 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2846 * emacs-lisp/cl-macs.el: Use lexical-binding.
2847 Rename cl-bind-* to cl--bind-*.
2848 * files.el: Don't require `cl' since it doesn't use it.
2849 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2850
595ef4ad
JB
28512012-06-08 Juanma Barranquero <lekktu@gmail.com>
2852
2853 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2854 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2855 instead of calling external sort utility.
2856 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2857
e9f66fcb
EZ
28582012-06-08 Eli Zaretskii <eliz@gnu.org>
2859
2860 * descr-text.el (describe-char): Mention how to insert the
2861 character, if the current input method doesn't support it.
2862 See the discussion in this thread for the details:
2863 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2864
3d10db47
SS
28652012-06-08 Sam Steingold <sds@gnu.org>
2866
2867 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2868 XF86Back to previous-buffer.
2869 (minibuffer-local-map): Bind them to next-history-element and
2870 previous-history-element respectively.
2871 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2872 help-go-back respectively.
2873 * info.el (Info-mode-map): Bind them to Info-history-forward and
2874 Info-history-back respectively.
2875 These are the keys next to Up on the ThinkPad keyboard.
2876
de7e2b36
SM
28772012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2880 * emacs-lisp/cl-macs.el: Provide itself.
2881 (cl--labels-convert-cache): New var.
2882 (cl--labels-convert): New function.
2883 (cl-flet, cl-labels): New implementation with new semantics, relying on
2884 lexical-binding.
2885 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2886 (cl-closure-vars, cl--function-convert-cache)
2887 (cl--function-convert): Move from cl-macs.el.
2888 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2889 rename by removing the "cl-" prefix.
2890 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2891
6fa6c4ae
SM
28922012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2893
2894 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2895 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2896 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2897 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2898 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2899 (cl-hash-table-count): Add old compatibility aliases.
2900
2901 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2902 Use macroexpand-all-environment instead.
2903 (cl--old-macroexpand): New var.
2904 (cl--sm-macroexpand): New function.
2905 (cl-symbol-macrolet): Use it during macro expansion.
2906 (cl--function-convert-cache): New var.
2907 (cl--function-convert): New function, extracted from
2908 cl-macroexpand-all.
2909 (cl-lexical-let): Use it.
2910
2911 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2912 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2913 (cl-member): Remove old alias.
2914
2915 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2916 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2917 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2918 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2919 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2920 (cl-macroexpand-cmacs): Remove var.
2921 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2922 Use macroexpand-all instead.
2923
4dd1c416
SM
29242012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2925
2926 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2927 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2928 (macroexp-copyable-p): New functions and macros.
2929 * emacs-lisp/edebug.el (edebug-unwrap):
2930 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2931 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2932 (pcase--let*): Remove.
2933 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2934 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2935 macroexp-const-p instead.
2936 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2937
2938 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2939 instead of "cl-" for internal definitions. Use macroexp-const-p.
2940 (cl-old-bc-file-form): Remove var.
2941 (cl-const-exprs-p): Remove fun.
2942 (cl-labels, cl-macrolet): Use backquote.
2943 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2944 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2945 (cl-define-setf-expander): Rename from cl-define-setf-method.
2946 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2947
2948 * international/mule-cmds.el: Don't require CL.
2949 (view-hello-file): Don't use `letf'.
2950
ed8bd4d7
SM
29512012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2952
7287f2f3
SM
2953 * tmm.el (tmm-prompt): Use string-prefix-p.
2954 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2955 (tmm-add-prompt): Use minibuffer-completion-help.
2956 (tmm-delete-map): Remove.
2957
ed8bd4d7
SM
2958 * subr.el (kbd): Make it its own function.
2959
7b4cdbf4
SM
29602012-06-07 Stefan Merten <smerten@oekonux.de>
2961
2962 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2963 Silence compiler warnings. Fix versions.
ed8bd4d7 2964 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2965 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2966 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2967 (rst-package-emacs-version-alist): Correct Emacs version to
2968 represent major merge with upstream.
ed8bd4d7 2969 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2970
2b48d721
GM
29712012-06-06 Glenn Morris <rgm@gnu.org>
2972
2973 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2974 Only print environment variables if set.
2975
fa779ab0
SM
29762012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2977
2978 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2979 (macroexp--cons): Rename from maybe-cons.
2980 (macroexp--accumulate): Rename from macroexp-accumulate.
2981 (macroexp--all-forms): Rename from macroexpand-all-forms.
2982 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2983 (macroexp--expand-all): Rename from macroexpand-all-1.
2984
628299e0
SS
29852012-06-06 Sam Steingold <sds@gnu.org>
2986
2987 * calendar/calendar.el (calendar-in-read-only-buffer):
2988 Call `special-mode' to enable the standard read-only keybindings.
2989
b7bb5838
SM
29902012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2991
2992 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2993 with "loading" messages (bug#11635).
2994
dfb308ba
MA
29952012-06-06 Michael Albinus <michael.albinus@gmx.de>
2996
2997 * files.el (enable-remote-dir-locals): New option.
2998 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2999
0372ee92
MA
3000 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3001 Ensure, that the temp directory is local.
3002
3003 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3004 `temporary-file-directory'.
3005
eed0bb91
MA
3006 * progmodes/python.el (python-send-region): Ensure, that the
3007 temporary file is created also in the remote case.
3008
7a58f64d
GM
30092012-06-06 Glenn Morris <rgm@gnu.org>
3010
f7dd4e98
GM
3011 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3012 (vc-rcs-update-changelog): Use it.
3013
090bd7cb 3014 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 3015
7a58f64d
GM
3016 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3017 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3018 (vc-sccs-diff): Replace use of the external vcdiff script.
3019
daed4003
GM
30202012-06-05 Glenn Morris <rgm@gnu.org>
3021
3022 * ledit.el: Move to obsolete/.
3023
48c455c7
SS
30242012-06-05 Sam Steingold <sds@gnu.org>
3025
ed9265fc 3026 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
3027 patch (Bug#11140).
3028
57a7d507
SM
30292012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3030
090bd7cb 3031 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 3032
53aacf21
SM
3033 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3034 compiler-macro expansion.
3035
57a7d507
SM
3036 Add native compiler-macro support.
3037 * emacs-lisp/macroexp.el (macroexpand-all-1):
3038 Support compiler-macros directly. Properly follow aliases and apply
3039 the compiler macros more thoroughly.
3040 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3041 macroexpand now properly follows aliases.
3042 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3043 (cl-compiler-macroexpand): Use new prop.
3044 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3045
3046 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3047
51a5f9d8
MR
30482012-06-05 Martin Rudalics <rudalics@gmx.at>
3049
3050 * window.el (get-lru-window, get-mru-window, get-largest-window):
3051 New argument NOT-SELECTED to avoid picking the selected window.
3052 (window--display-buffer-1, window--display-buffer-2): Replace by
3053 new function window--display-buffer
3054 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
3055 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3056 Use window--display-buffer.
51a5f9d8
MR
3057 (display-buffer-use-some-window): Remove temporary dedication
3058 hack by calling get-lru-window and get-largest-window with
3059 NOT-SELECTED argument non-nil. Call window--display-buffer.
3060
08f9f738
GM
30612012-06-05 Glenn Morris <rgm@gnu.org>
3062
3063 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3064 Replace external vcdiff script.
3065
e364a2b7
SM
30662012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3067
3068 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3069
041df390
CY
30702012-06-04 Chong Yidong <cyd@gnu.org>
3071
e364a2b7
SM
3072 * image.el (imagemagick-types-inhibit): Revert last change.
3073 Add INFO and M.
47b36b94 3074 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 3075
7c1898a7
SM
30762012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3077
3078 * emacs-lisp/cl-lib.el: Rename from cl.el.
3079 * emacs-lisp/cl.el: New compatibility file.
3080 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3081 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3082 to obey the "cl-" prefix.
3083 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3084
0c3461de
GM
30852012-06-03 Glenn Morris <rgm@gnu.org>
3086
1e266c88
GM
3087 * emacs-lisp/authors.el (authors-aliases): Addition.
3088
0c3461de
GM
3089 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3090 Fix :version.
3091
d8a52e15
SM
30922012-06-03 Stefan Merten <smerten@oekonux.de>
3093
3094 * textmodes/rst.el: Add comments.
3095 (rst-transition, rst-adornment): New faces.
3096 (rst-adornment-faces-alist): Make default safe to reevaluate.
3097 Fixes
3098 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3099 Improve customization tags.
3100 (rst-define-level-faces): Clarify meaning.
3101
5205d6f6
CY
31022012-06-03 Chong Yidong <cyd@gnu.org>
3103
3104 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
3105 (compilation-mode-line-run, compilation-mode-line-exit):
3106 New faces.
5205d6f6
CY
3107 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3108
757ee657
JD
31092012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3110
7c1898a7
SM
3111 * progmodes/which-func.el (which-func-update-ediff-windows):
3112 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 3113
5f2c76c6
CY
31142012-06-03 Chong Yidong <cyd@gnu.org>
3115
3116 * bindings.el: Remove explicit help text from format-mode-line.
3117 It is now supplied by mode-line-default-help-echo.
3118 (mode-line-front-space, mode-line-end-spaces)
3119 (mode-line-misc-info): New variables.
3120 (mode-line-modes, mode-line-position): Move the default value to
3121 the variable definition.
3122 (mode-line-default-help-echo): New defcustom.
383f7350
CY
3123 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3124 (mode-line-modified-help-echo): New functions.
3125 (mode-line-mule-info, mode-line-modified): Use them.
3126 (mode-line-eol-desc, propertized-buffer-identification):
3127 Consistency fixes for help text.
cbe46e5f
CY
3128 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3129 set-buffer-file-coding-system (Bug#289).
3130 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 3131
f2d6a3df
SM
31322012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * simple.el (execute-extended-command): Set real-this-command
3135 (bug#11506).
3136
37269466
CY
31372012-06-02 Chong Yidong <cyd@gnu.org>
3138
3139 Remove incorrect uses of "modeline" in comments, docstrings, and
3140 function/variable names (Bug#10329).
3141
3142 * cus-edit.el (mode-line):
3143 * dframe.el (dframe-mouse-hscroll):
3144 * emacs-lisp/re-builder.el:
3145 * emacs-lisp/easy-mmode.el (define-minor-mode):
3146 * frame.el (set-frame-name):
3147 * help.el (lookup-minor-mode-from-indicator):
3148 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3149 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3150 (c-toggle-hungry-state):
3151 * progmodes/antlr-mode.el (antlr-language-alist):
3152 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3153 * progmodes/vhdl-mode.el (vhdl-mode):
3154 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3155 * term/ns-win.el (ns-face-at-pos):
3156 * term/sup-mouse.el (sup-mouse-report):
3157 * textmodes/flyspell.el (flyspell-mode-line-string):
3158 * textmodes/ispell.el (ispell-highlight-face):
3159 * textmodes/reftex-global.el:
3160 * vc/vc-arch.el (vc-arch-mode-line-string):
3161 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3162 * vc/vc-git.el (vc-git-mode-line-string):
3163 * vc/vc-hooks.el (vc-display-status)
3164 (vc-default-mode-line-string):
3165 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3166
3167 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3168
3169 * dired.el (dired-sort-set-mode-line): Rename from
3170 dired-sort-set-modeline. All callers changed.
3171
3172 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3173 eshell-status-in-modeline.
3174
3175 * foldout.el (foldout-mode-line-string): Rename from
3176 foldout-modeline-string. All callers changed.
3177 (foldout-update-mode-line): Rename from foldout-update-modeline.
3178
3179 * subr.el (redraw-modeline): Make into obsolete alias.
3180
3181 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3182 timeclock-modeline-display. Make old name an alias.
3183 (timeclock-update-mode-line): Likewise. All callers changed.
3184 (timeclock-mode-line-display): No need to check before using
3185 add-hook.
3186 (timeclock-relative, timeclock-day-over-hook)
3187 (timeclock-use-elapsed, timeclock-mode-string)
3188 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3189
3190 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3191 crisp-mode-modeline-string.
3192
3193 * play/solitaire.el (solitaire-build-mode-line): Rename from
3194 solitaire-build-modeline. All callers changed.
3195
3196 * play/zone.el (zone-hiding-mode-line): Rename from
3197 zone-hiding-modeline. All callers changed.
3198 (zone): Remove unusued `modeline-hidden-level' property.
3199
3200 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3201 xscheme-modeline-initialize. All callers changed.
3202
3203 * strokes.el (strokes-lighter): Rename from
3204 strokes-modeline-string.
3205
3206 * textmodes/sgml-mode.el (html-face-tag-alist)
3207 (html-tag-face-alist): Use mode-line face instead of obsolete
3208 alias modeline.
3209
42152ee4
SM
32102012-06-02 Stefan Merten <smerten@oekonux.de>
3211
3212 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3213 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3214
95f520b5
CY
32152012-06-02 Chong Yidong <cyd@gnu.org>
3216
3217 * image.el (imagemagick-enabled-types): Rename from
3218 imagemagick-types-enable. Add many more types.
3219 (imagemagick-types-inhibit): Change default to nil.
3220 (imagemagick-filter-types): Caller changed.
3221
4a5f187a
SM
32222012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3223
03fef3e6
SM
3224 * emacs-lisp/cl-macs.el: Use backquotes.
3225 (cl-transform-function-property): Use eval-and-compile rather than
3226 abusing `require'.
3227 (defstruct): Use declare-function instead of with-no-warnings.
3228
4a5f187a
SM
3229 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3230 (byte-compile-output-docform): Re-add the print-circle bindings.
3231 (byte-compile-fix-header): Use #$ just because it's shorter.
3232 (byte-compile-output-file-form): Remove defun/defmacro.
3233
bd56924f
MR
32342012-06-01 Martin Rudalics <rudalics@gmx.at>
3235
3236 * simple.el (choose-completion): Remove now obsolete binding for
3237 owindow.
3238
046e38ce
MA
32392012-06-01 Michael Albinus <michael.albinus@gmx.de>
3240
3241 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3242 in order to avoid "Stack overflow in regexp matcher".
3243
32d72c2f
GM
32442012-05-31 Glenn Morris <rgm@gnu.org>
3245
3246 * image.el: For clarity, call imagemagick-register-types at
3247 top-level, rather than relying on a custom :initialize.
3248 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3249 (imagemagick-filter-types): New function. (Bug#7406)
3250 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3251 If disabling support, remove elements altogether rather
3252 than using an impossible regexp.
3253 (imagemagick-types-inhibit): Give it the default init function.
3254
dd41169b
SM
32552012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3256
4a5f187a
SM
3257 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3258 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3259
efc00ab1 32602012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3261
3262 * desktop.el (desktop-read): Clear previous and next buffers for
3263 all windows and bury *Messages* buffer (bug#11556).
3264
500fcedc
SM
32652012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3266
3267 Add `declare' for `defun'. Align `defmacro's with it.
3268 * emacs-lisp/easy-mmode.el (define-minor-mode)
3269 (define-globalized-minor-mode): Don't autoload the var definitions.
3270 * emacs-lisp/byte-run.el: Use lexical-binding.
3271 (defun-declarations-alist, macro-declarations-alist): New vars.
3272 (defmacro, defun): Use them.
3273 (make-obsolete, define-obsolete-function-alias)
3274 (make-obsolete-variable, define-obsolete-variable-alias):
3275 Use `declare'.
3276 (macro-declaration-function): Mark obsolete.
3277 * emacs-lisp/autoload.el: Use lexical-binding.
3278 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3279
6e8a1786
AM
32802012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3281
3282 * textmodes/ispell.el (ispell-with-no-warnings):
3283 Define as a macro.
500fcedc
SM
3284 (ispell-kill-ispell, ispell-change-dictionary):
3285 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3286 `interactive-p'.
3287
61b108cc
SM
32882012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3289
3290 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3291 (macro-declaration-function): Move var from C code.
3292 (macro-declaration-function): Define function with defalias.
3293 * emacs-lisp/macroexp.el (macroexpand-all-1):
3294 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3295 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3296 defun/defmacro any more.
3297 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3298 Provide fallback for unknown arglist.
3299 (byte-compile-arglist-warn): Change calling convention.
3300 (byte-compile-output-file-form): Move print-vars binding.
3301 (byte-compile-output-docform): Simplify accordingly.
3302 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3303 (byte-compile-defmacro-declaration): Remove.
3304 (byte-compile-file-form-defmumble): Generalize to defalias.
3305 (byte-compile-output-as-comment): Return byte-positions.
3306 Simplify callers accordingly.
3307 (byte-compile-lambda): Use `assert'.
3308 (byte-compile-defun, byte-compile-defmacro): Remove.
3309 (byte-compile-file-form-defalias):
3310 Use byte-compile-file-form-defmumble.
3311 (byte-compile-defalias-warn): Remove.
3312
6d3f7c2f
SM
33132012-05-29 Stefan Merten <smerten@oekonux.de>
3314
3315 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3316 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3317
3318 (rst-mode-abbrev-table): Merge definition.
3319 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3320 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3321
6dbaa1c7
UJ
33222012-05-29 Ulf Jasper <ulf.jasper@web.de>
3323
3324 * calendar/icalendar.el
3325 (icalendar-export-region): Export UID properly.
3326
d209e2fb 33272012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3328 * calendar/icalendar.el (icalendar-import-format):
3329 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3330 (icalendar-import-format-uid): New.
3331 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3332 Export UID.
3333
6876a58d
SM
33342012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3335
3336 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3337 different alternative patterns.
3338 (pcase-codegen): Be more careful to preserve identity.
3339 (pcase--u1): Don't forget to mark vars as used.
3340
3341 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3342 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3343 (byte-compile-from-buffer): ...rather than here.
3344
3345 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3346 functions from byte-compile-function-environment.
3347
46b7967e
TN
33482012-05-29 Troels Nielsen <bn.troels@gmail.com>
3349
3350 * window.el (window-deletable-p): Avoid deleting the root window
3351 of a frame with an active minibuffer.
3352
69d565e2
MR
33532012-05-29 Martin Rudalics <rudalics@gmx.at>
3354
3355 * simple.el (choose-completion): Use quit-window (Bug#11567).
3356
a149fa51
CY
33572012-05-29 Chong Yidong <cyd@gnu.org>
3358
3359 * whitespace.el (whitespace-cleanup): Fix usage of
3360 whitespace-empty-at-bob-regexp (Bug#11492).
3361
2b311310
AH
33622012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3363
3364 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3365 revert (Bug#11488).
3366
b9cb2387
JL
33672012-05-29 Juri Linkov <juri@jurta.org>
3368
3369 * isearch.el (isearch-mode-map): Bind `M-s _' to
3370 `isearch-toggle-symbol'. Bind `M-s c' to
3371 `isearch-toggle-case-fold'.
3372 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3373 (isearch-forward): Add `M-s _' to the docstring.
3374 (isearch-forward-symbol, isearch-toggle-case-fold)
3375 (isearch-symbol-regexp): New functions. (Bug#11381)
3376
d5e61c1c
JL
33772012-05-29 Juri Linkov <juri@jurta.org>
3378
3379 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3380 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3381 a function, call it to get the regexp.
3382 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3383 property `isearch-message-prefix' instead of the string "word ".
3384 (isearch-search-fun-default): For the case of `isearch-word',
3385 return a lambda that calls re-search-forward/re-search-backward
3386 with a regexp returned by `word-search-regexp' or by the function
3387 in `isearch-word'.
3388
8cbd80f7
JL
33892012-05-29 Juri Linkov <juri@jurta.org>
3390
3391 * isearch.el (isearch-search-fun-default): New function.
3392 (isearch-search-fun): Move default part to the new function
3393 `isearch-search-fun-default'.
3394 (isearch-search-fun-function): Set the default value to
3395 `isearch-search-fun-default'. (Bug#11381)
3396
3397 * comint.el (comint-history-isearch-end):
3398 Use `isearch-search-fun-default'.
3399 (comint-history-isearch-search): Use `isearch-search-fun-default'
3400 and remove spacial case for `isearch-word'.
3401 (comint-history-isearch-wrap): Remove spacial case for
3402 `isearch-word'.
3403
3404 * hexl.el (hexl-isearch-search-function):
3405 Use `isearch-search-fun-default'.
3406
3407 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3408 Use `word-search-regexp' for `isearch-word'.
3409
3410 * misearch.el (multi-isearch-search-fun):
3411 Use `isearch-search-fun-default'.
3412
3413 * simple.el (minibuffer-history-isearch-search):
3414 Use `isearch-search-fun-default' and remove spacial case for
3415 `isearch-word'.
3416 (minibuffer-history-isearch-wrap): Remove spacial case for
3417 `isearch-word'.
3418
3419 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3420 Remove spacial case for `isearch-word'.
3421 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3422
85c8c5b6
AM
34232012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3424
3425 Decrease XEmacs incompatibilities.
3426 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3427 Use `string-match'.
3428 (flyspell-delete-region-overlays): Use alternative definition for
3429 XEmacs.
3430 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3431 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3432 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3433 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3434 `define-obsolete-face-alias' under XEmacs, but old method.
3435
3436 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3437 `with-no-warnings' definition or Emacs alias.
3438 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3439 (ispell-word): Do not use `region-p' if XEmacs.
3440
8cab9efc
AM
34412012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3442
3443 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3444 Check for `ispell-dictionary-base-alist' instead of full
3445 `ispell-dictionary-alist'.
3446 (ispell-init-process): Show spellchecker when starting new Ispell
3447 process.
3448
fda91268
RZ
34492012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3450
3451 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3452 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3453
694ea8e3
JB
34542012-05-27 Juanma Barranquero <lekktu@gmail.com>
3455
3456 * version.el (motif-version-string, gtk-version-string)
3457 (ns-version-string): Declare.
3458
e4d4f539
JL
34592012-05-27 Juri Linkov <juri@jurta.org>
3460
3461 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3462 after the `eval-defun-1' specialcaseing
3463 like in `edebug-eval-defun' (bug#10181).
3464
3465 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3466 like in `eval-defun-1'.
3467
33017faf 34682012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3469
fda91268
RZ
3470 * mail/sendmail.el (mail-yank-region):
3471 Recognize rmail-yank-current-message in addition to insert-buffer.
3472 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3473 a *mail* buffer created through rmail-start-mail with sendmail as
3474 mail-user-agent.
3475
33017faf
GM
34762012-05-27 Chong Yidong <cyd@gnu.org>
3477
3478 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3479 Default to 256 (Bug#11267).
3480
3481 * help.el (describe-mode): Doc fix.
3482
04188bb9
GM
34832012-05-26 Glenn Morris <rgm@gnu.org>
3484
38264cc9
GM
3485 * w32-fns.el (w32-init-info): Remove.
3486 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3487
eb7afdad
GM
3488 * info.el (info-initialize): For self-contained NS builds, put the
3489 included info/ directory at the front. (Bug#2791)
3490
04188bb9
GM
3491 * paths.el (Info-default-directory-list): Make it a defcustom,
3492 mainly so that we can use custom-initialize-delay.
3493
a179e3f7
SM
34942012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3495
43416392
SM
3496 * subr.el (buffer-has-markers-at): Mark obsolete.
3497
a179e3f7 3498 * subr.el (lambda): Use declare.
43416392 3499
a179e3f7
SM
3500 * emacs-lisp/lisp-mode.el (lambda):
3501 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3502
34a008d9
AH
35032012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3504
3505 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3506
0a3b289f
GM
35072012-05-26 Glenn Morris <rgm@gnu.org>
3508
3509 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3510
758c81e8
GM
35112012-05-25 Glenn Morris <rgm@gnu.org>
3512
f9f334f0
GM
3513 * paths.el: Remove no-byte-compile.
3514 * loadup.el: No need to load paths.el uncompiled.
3515
87eb79c2
GM
3516 * image.el (imagemagick-types-inhibit): Doc fix.
3517
758c81e8
GM
3518 * version.el: Remove no-byte-compile and associated formatting.
3519 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3520 is ancient code from when there was an "inc-vers.el".
3521
e7e85dc0
SM
35222012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3523
3524 * progmodes/gdb-mi.el: Minor style changes.
3525 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3526 Turn into minor modes.
3527 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3528 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3529 (gdb-shell): Remove unneeded let-binding.
3530 (gdb-get-many-fields): Eliminate O(n²) behavior.
3531
f31237a4
EZ
35322012-05-25 Eli Zaretskii <eliz@gnu.org>
3533
3534 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3535 platforms that don't link in fontset.c.
3536
bc1b21bb
JL
35372012-05-25 Juri Linkov <juri@jurta.org>
3538
3539 Use the same diff color scheme as in modern VCSes (bug#10181).
3540
3541 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3542 to avoid confusion with `diff-added' that now uses green colors.
3543 (diff-removed): Use shades of red.
3544 (diff-added): Use shades of green.
3545 (diff-changed): Leave just the yellow color.
3546 (diff-use-changed-face): New variable.
3547 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3548 how to highlight context diff changes.
3549 (diff-refine-change): Use shades of yellow.
3550 (diff-refine-removed): New face that uses shades of red.
3551 (diff-refine-added): New face that uses shades of green.
3552 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3553 `diff-refine-removed' in the call to `smerge-refine-subst'
3554 depending on the value of `diff-use-changed-face'.
3555
3556 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3557 (smerge-other): Use shades of green.
3558 (smerge-base): Use shades of yellow.
3559 (smerge-refined-change): Empty face.
3560 (smerge-refined-removed): New face that uses shades of red.
3561 (smerge-refined-added): New face that uses shades of green.
3562 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3563 args `props-r' and `props-a', and use them. Doc fix.
3564 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3565 on its value use different faces `smerge-refined-change',
3566 `smerge-refined-removed', `smerge-refined-added' in the call to
3567 `smerge-refine-subst'.
3568
3569 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3570 Add face condition `min-colors 88' with shades of red.
3571 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3572 `min-colors 88' with shades of green.
3573 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3574 `min-colors 88' with shades of yellow.
3575
6df9112c
GM
35762012-05-24 Glenn Morris <rgm@gnu.org>
3577
ead5edc0
GM
3578 * paths.el (prune-directory-list, remote-shell-program): Move to...
3579 * files.el (prune-directory-list, remote-shell-program): ...here.
3580 For the latter, delay initialization, prefer ssh, just search PATH.
3581
f18b81e6
GM
3582 * paths.el (term-file-prefix): Move to faces.el (the only user).
3583 * faces.el (term-file-prefix): Move here, make it a defcustom.
3584
ee2f89a6
GM
3585 * paths.el (news-directory, news-path, news-inews-program):
3586 Move to gnus/nnspool.el.
61a583ca 3587
f8815e4c
GM
3588 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3589
c8f3b42c
GM
3590 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3591 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3592 Make the latter a defcustom, with a delayed initialization.
3593
6df9112c
GM
3594 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3595 These were deleted from Gnus itself late 2010.
3596
5dadff36
JB
35972012-05-22 Juanma Barranquero <lekktu@gmail.com>
3598
9e1701c6
JB
3599 * progmodes/which-func.el (which-func-ff-hook):
3600 Check against user-error, not error.
3601
bd7239f5 3602 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3603 cl-specs.el, which no longer exists.
3604
3290526d
GM
36052012-05-22 Glenn Morris <rgm@gnu.org>
3606
3607 * info.el (info-emacs-bug): New command.
3608 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3609 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3610
ff0c3cfb
GM
36112012-05-21 Glenn Morris <rgm@gnu.org>
3612
3613 * makefile.w32-in (update-subdirs-SH):
3614 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3615
5814f126
SM
36162012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3617
a52c0aa0
SM
3618 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3619
5814f126
SM
3620 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3621 Simplify Maven regexp, and make sure the file can't start with a space
3622 (bug#11517).
3623
b847032c
GM
36242012-05-21 Glenn Morris <rgm@gnu.org>
3625
3626 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3627 Scrap superfluous subshells.
3628
3858bfe7
SM
36292012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3632 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3633
d14b0029
JB
36342012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3635
3636 * calc/calc.el (calc-ensure-consistent-units): New variable.
3637
a52c0aa0
SM
3638 * calc/calc-units.el (math-consistent-units-p)
3639 (math-check-unit-consistency): New functions.
3640 (calc-quick-units, calc-convert-units):
3641 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3642 is non-nil.
d14b0029
JB
3643 (calc-extract-units): Fix typo.
3644
60c4db3a
SM
36452012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3646
77f3b62e
SM
3647 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3648
60c4db3a
SM
3649 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3650 (flyspell-default-deplacement-commands): Don't spell check after
3651 repeated window/frame switches (e.g. triggered by mouse-movement).
3652 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3653 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3654 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3655 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3656 Remove unused vars.
3657 (flyspell-get-casechars, flyspell-get-not-casechars):
3658 Simplify; Don't bother removing a ] just to add it back.
3659 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3660
d209e2fb 36612012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3662
3663 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3664 New functions.
bd7239f5 3665 (math-function-table): Add support for more C functions.
b1a10716 3666
3f1b25b5
AM
36672012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3668
090bd7cb
JB
3669 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3670 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3671 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3672
b581bb5c
SM
36732012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3674
3675 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3676 their respective macro declarations.
3677 * skeleton.el (define-skeleton):
3678 * progmodes/compile.el (define-compilation-mode):
3679 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3680 (define-ibuffer-filter):
3681 * emacs-lisp/generic.el (define-generic-mode):
3682 * emacs-lisp/easy-mmode.el (define-minor-mode)
3683 (define-globalized-minor-mode):
3684 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3685 * emacs-lisp/byte-run.el (defsubst):
3686 * custom.el (deftheme): Add doc-string metadata.
3687
70b8ef8f
SM
36882012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3689
3690 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3691
b1198e17
SM
36922012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3693
9abdc45d
SM
3694 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3695
b1198e17
SM
3696 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3697 * emacs-lisp/cl-macs.el: Idem.
3698 * emacs-lisp/cl-specs.el: Remove.
3699
4735906a
SM
37002012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3701
3702 Minor renaming of internal CL functions and variables.
3703 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3704 (cl--position): Rename from cl-position.
3705 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3706 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3707 (cl--random-state): Rename from *random-state*.
3708
ac348012
SM
37092012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3710
3711 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3712 parens around the arg list (bug#11499).
3713
a0a79cde
JL
37142012-05-17 Juri Linkov <juri@jurta.org>
3715
3716 * isearch.el (word-search-regexp, word-search-backward)
3717 (word-search-forward, word-search-backward-lax)
3718 (word-search-forward-lax): Move functions from search.c
3719 (bug#10145, bug#11381).
3720
65034a51
AM
37212012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3722
090bd7cb
JB
3723 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3724 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3725 Delay for otherchars as for normal word components.
65034a51 3726
1a72a195
SM
37272012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3728
3729 * minibuffer.el (completion--sifn-requote): Fix last change.
3730 (minibuffer-local-must-match-filename-map):
3731 Move define-obsolete-variable-alias before its var.
3732
fdb058c2
SM
37332012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3734
c41045e6
SM
3735 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3736
036dfb8b
SM
3737 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3738 behavior.
3739 (completion--string-equal-p): New function.
3740 (completion--twq-all): Use it to get better assertion failure data.
3741
2473256d
SM
3742 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3743 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3744 (shell--requote-argument): New functions.
3745 (shell-completion-vars): Use them.
3746 (shell--parse-pcomplete-arguments): Rename from
3747 shell-parse-pcomplete-arguments.
3748 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3749 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3750 Obey comint-file-name-quote-list.
3751
fdb058c2
SM
3752 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3753 (smie-indent-keyword): Use it.
3754
51fa99f1
SM
37552012-05-14 Stefan Merten <smerten@oekonux.de>
3756
3757 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3758
e18afed7 37592012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3760
3761 * net/rlogin.el (rlogin-mode-map): Fix last change.
3762
e18afed7 37632012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3764
3765 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3766 the following \r\n using a single `process-send-string', since the
3767 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3768 with two `process-send-string's (Bug#11444).
8633b1f4 3769
e18afed7 37702012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3771
fdb058c2
SM
3772 * shell.el (shell-parse-pcomplete-arguments):
3773 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3774
2d21d7f6
WJ
37752012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3776
e18afed7 3777 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3778 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3779 (image-transform-width, image-transform-fit-width): New functions.
3780 (image-transform-properties): Use them.
3781 (image-transform-check-size): New function.
3782 (image-toggle-display-image): Use it (for testing).
3783 (image-transform-set-rotation): Reduce angle mod 360.
3784 Delete obsolete comment.
3785
7102e6d0
WJ
37862012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3787
3788 * image-mode.el: Fix scaling (bug#11399).
3789 (image-transform-resize): Doc fix.
3790 (image-transform-properties): Default scale is 1 and height should
3791 be an integer.
3792
06bc5e6e
SM
37932012-05-13 Johan Bockgård <bojohan@gnu.org>
3794
3795 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3796 than hard-coding `car', to fix misbehavior when moving forward.
3797
0ae03b6a
CY
37982012-05-13 Chong Yidong <cyd@gnu.org>
3799
3800 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3801 (tabulated-list-entries, tabulated-list-padding)
3802 (tabulated-list-sort-key): Make permanent-local.
3803
3804 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3805 (electric-buffer-list): Put electric buffer menu
3806 command descriptions in this docstring, instead of the docstring
3807 of electric-buffer-menu-mode. Code cleanups.
3808 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3809 Electric-buffer-menu-mode.
3810 (electric-buffer-update-highlight): Minor code cleanup.
3811
205a7391
MA
38122012-05-13 Michael Albinus <michael.albinus@gmx.de>
3813
3814 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3815 (Bug#11447)
3816
e5bd0a28
SM
38172012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3818
3819 Move define-obsolete-variable-alias before the var's definition.
3820 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3821 * tooltip.el (tooltip-hook):
3822 * textmodes/reftex-toc.el (reftex-toc-map):
3823 * textmodes/reftex-sel.el (reftex-select-label-map)
3824 (reftex-select-bib-map):
3825 * textmodes/reftex-index.el (reftex-index-map)
3826 (reftex-index-phrases-map):
3827 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3828 * progmodes/meta-mode.el (meta-mode-map):
3829 * novice.el (disabled-command-hook):
3830 * loadhist.el (unload-hook-features-list):
3831 * frame.el (blink-cursor):
3832 * files.el (find-file-not-found-hooks, write-file-hooks)
3833 (write-contents-hooks):
3834 * emulation/tpu-edt.el (GOLD-map):
3835 * emacs-lock.el (emacs-lock-from-exiting):
3836 * emacs-lisp/generic.el (generic-font-lock-defaults):
3837 * emacs-lisp/chart.el (chart-map):
3838 * dos-fns.el (register-name-alist):
3839 * dired-x.el (dired-omit-files-p):
3840 * desktop.el (desktop-enable):
3841 * cus-edit.el (custom-mode-hook):
3842 * buff-menu.el (buffer-menu-mode-hook):
3843 * bookmark.el (bookmark-read-annotation-text-func)
3844 (bookmark-exit-hooks):
3845 * allout.el (allout-mode-deactivate-hook)
3846 (allout-exposure-change-hook, allout-structure-added-hook)
3847 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3848 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3849 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3850 comes before the corresponding variable's definition.
3851
ac59c2f6
CY
38522012-05-12 Chong Yidong <cyd@gnu.org>
3853
3854 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3855 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3856 (Buffer-menu-mode-map): Bind it.
3857 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3858
dee6c9a3
SM
38592012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3860
2171cea5
SM
3861 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3862 (prolog-upper-case-string, prolog-lower-case-string)
3863 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3864 (prolog-use-smie, prolog-smie-grammar): New vars.
3865 (prolog-smie-forward-token, prolog-smie-backward-token)
3866 (prolog-smie-rules): New funs.
3867 (prolog-comment-indent): Remove.
3868 (prolog-mode-variables): Use default comment indentation instead.
3869 Setup SMIE.
3870 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3871 (prolog-mode): Don't call them any more.
3872 (prolog-electric-colon, prolog-electric-dash)
3873 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3874
aa0382bd
SM
3875 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3876
dbacb4bd
SM
3877 * minibuffer.el (completion--twq-all): Again, allow case differences.
3878
13bdd94c
SM
3879 * term.el: Move keymap initialization code to be more idiomatic.
3880 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3881 (term-terminal-menu): Move initialization into declaration.
3882 (term-escape-char): Let the user set it in her .emacs.
3883
ff46c759
SM
3884 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3885 Provide SMIE-based indentation (not enabled by default yet).
3886 (sh-mode-map): Don't bind electric keys.
3887 Use electric-pair-mode instead of skeleton-pair.
3888 (sh-assignment-regexp): Fit within 80 columns.
3889 (sh-indent-supported): Specify actual shell name instead of boolean.
3890 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3891 (sh-maybe-here-document): Use it. Make obsolete.
3892 (sh-electric-here-document-mode) New minor mode.
3893 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3894 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3895 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3896 (sh-smie-rc-grammar, sh-use-smie): New vars.
3897 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3898 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3899 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3900 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3901 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3902 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3903 (sh-set-shell): Use smie-setup if requested.
3904
dee6c9a3
SM
3905 * term.el (term-set-escape-char): Properly set term-escape-char.
3906 See http://stackoverflow.com/questions/10524656.
3907
9f9aa044
CY
39082012-05-10 Chong Yidong <cyd@gnu.org>
3909
3910 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3911 Use url-generic-parse-url, and handle host names and Windows
3912 filenames properly.
3913 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3914 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3915 URL schemes to work on.
3916 (ffap--toggle-read-only): New function.
3917 (ffap-read-only, ffap-read-only-other-window)
3918 (ffap-read-only-other-frame): Use it.
3919 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3920 necessary for ffap-url-unwrap-remote.
3921
836d29b3
DA
39222012-05-10 Dave Abrahams <dave@boostpro.com>
3923
3924 * cus-start.el (create-lockfiles): Add it.
3925
00fd78ed
CY
39262012-05-09 Chong Yidong <cyd@gnu.org>
3927
3928 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3929 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3930
666b903b 39312012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3932
3933 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3934
666b903b 39352012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3936
3937 * ansi-color.el (ansi-color-process-output): Check for validity of
3938 comint-last-output-start before using it. This avoids a bad
3939 interaction with gdb-mi's input/output buffer.
3940
666b903b 39412012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3942
3943 * files.el (dir-locals-read-from-file):
3944 Mention dir-locals in any error message.
3945
666b903b 39462012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3947
3948 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3949 package (Bug#11410).
3950
f677562b
CY
3951 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3952 variables into description.
3953
666b903b 39542012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3955
3956 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3957 shell-delimiter-argument-list (bug#11348).
3958 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3959
b499d8d0
JB
39602012-05-09 Juanma Barranquero <lekktu@gmail.com>
3961
8f6b6da8
JB
3962 * textmodes/rst.el: Silence byte-compiler warnings.
3963 (rst-re-alist, rst-reset-section-caches): Move around.
3964 (rst-re): Use `characterp', not `char-valid-p'.
3965 (font-lock-beg, font-lock-end): Declare.
3966
4824146a
JB
3967 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3968 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3969
b499d8d0
JB
3970 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3971
ad89bb83
GM
39722012-05-08 Glenn Morris <rgm@gnu.org>
3973
3974 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3975
8bba5a75
SM
39762012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3977
49ed9c8e
SM
3978 * vc/log-edit.el: Add GNU coding standards highlighting.
3979 (log-edit-font-lock-gnu-style)
3980 (log-edit-font-lock-gnu-keywords): New vars.
3981 (log-edit-font-lock-keywords): New fun.
3982 (log-edit-mode): Don't fold case in font-lock.
3983 (log-edit-font-lock-keywords): Do not assume case-folding.
3984
07d00b56
SM
3985 * imenu.el: Misc cleanup. Make docstrings out of comments.
3986 Use lexical-binding.
3987 (imenu--index-alist, imenu--last-menubar-index-alist)
3988 (imenu-menubar-modified-tick): Use defvar-local.
3989 (imenu--split-menu): Remove unused var.
3990 (imenu--cleanup-seen): Declare as global.
3991 (imenu--cleanup): Use dolist.
3992
8bba5a75
SM
3993 * subr.el (defvar-local): Add debug spec and doc-string position.
3994
5075bdb5
GM
39952012-05-08 Glenn Morris <rgm@gnu.org>
3996
090bd7cb 3997 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3998 * language/english.el, language/georgian.el, language/greek.el:
3999 * language/japanese.el, language/khmer.el, language/korean.el:
4000 * language/lao.el, language/misc-lang.el, language/romanian.el:
4001 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4002 * language/thai.el, language/utf-8-lang.el:
4003 Remove no-byte-compile setting.
4004
5075bdb5
GM
4005 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4006
06f679a7
AH
40072012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4008
4009 * progmodes/make-mode.el (makefile-browse):
4010 Remove unnecessary interactive. (Bug#11324)
4011
03794570
GM
40122012-05-07 Glenn Morris <rgm@gnu.org>
4013
af8630f4
GM
4014 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4015
03794570
GM
4016 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4017
f0809a9d
SM
40182012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4019
28be5ce7
SM
4020 * loadup.el: Preload newcomment.el.
4021 * newcomment.el: Move autoload-only code to toplevel.
4022
f0809a9d
SM
4023 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4024 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4025 Handle new :right-align column property.
4026 (tabulated-list-print-col): Idem, plus use `display' text-property to
4027 try and preserve alignment for variable pitch fonts.
4028
1241b724
CY
40292012-05-07 Chong Yidong <cyd@gnu.org>
4030
4031 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4032 (tabulated-list-use-header-line): New var.
4033 (tabulated-list-init-header): Use it.
4034 (tabulated-list-print-fake-header): New function.
4035 (tabulated-list-print): Use it.
4036 (tabulated-list-sort-button-map): Add non-header-line commands.
4037 (tabulated-list-init-header): Add column name property to basic
4038 labels as well.
4039 (tabulated-list-col-sort): Handle non-header-line button case.
4040 (tabulated-list--sort-by-column-name): Fix a corner case.
4041
f0809a9d
SM
4042 * buff-menu.el (list-buffers--refresh):
4043 Handle Buffer-menu-use-header-line.
1241b724 4044
e5f9458f
CY
40452012-05-06 Chong Yidong <cyd@gnu.org>
4046
4047 * buff-menu.el: Convert to Tabulated List mode.
4048 (Buffer-menu-buffer+size-width): Make obsolete.
4049 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4050 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4051 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4052 documentation into docstring of buffer-menu.
4053 (Buffer-menu-toggle-files-only): Add an informative message.
4054 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4055 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4056 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4057 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4058 (Buffer-menu-execute, Buffer-menu-select)
4059 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4060 (Buffer-menu-bury): Use Tabulated List machinery.
4061 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4062 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 4063 Delete.
e5f9458f
CY
4064 (list-buffers--refresh): New function.
4065 (list-buffers-noselect): Use it.
4066 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4067 (Buffer-menu--pretty-file-name): New helper functions.
4068
4069 * loadup.el: Preload tabulated-list.
4070
4071 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4072 tabulated-list-sort-column.
4073 (tabulated-list-init-header): Add the initial aligning space even
4074 if tabulated-list-padding is zero.
4075
e129292c
CS
40762012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4077
4078 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4079 whose cdr is not a cons cell correctly (bug#11038).
4080
6632d361
CY
40812012-05-06 Chong Yidong <cyd@gnu.org>
4082
e129292c
CS
4083 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4084 Accept additional plist in column descriptors.
6632d361
CY
4085 (tabulated-list-init-header): Obey it.
4086 (tabulated-list-get-entry): New function.
4087 (tabulated-list-put-tag): Use it. Use string-width instead of
4088 length.
4089 (tabulated-list--column-number): New function.
4090 (tabulated-list-print): Use it.
e129292c
CS
4091 (tabulated-list-print-col): New function.
4092 Set `tabulated-list-column-name' property on each column's text.
6632d361 4093 (tabulated-list-print-entry): Use it.
e129292c
CS
4094 (tabulated-list-delete-entry, tabulated-list-set-col):
4095 New functions.
6632d361
CY
4096 (tabulated-list-sort-column): New command (Bug#11337).
4097
3cc99f68
CY
4098 * buff-menu.el (list-buffers): Move C-x C-b binding from
4099 buff-menu.el to bindings.el.
4100
4101 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4102 :advertised-binding feature.
4103
52b61776
TN
41042012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4105
4106 * progmodes/compile.el (compilation-internal-error-properties):
4107 Calculate start position correctly when end-col is set but
4108 end-line is not (Bug#11382).
4109
ebfe2597
WJ
41102012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4111
4112 * man.el (Man-unindent): Use text-property-default-nonsticky to
4113 prevent untabify from inheriting face properties (Bug#11408).
4114
6d3f7c2f
SM
41152012-05-05 Stefan Merten <smerten@oekonux.de>
4116
4117 * textmodes/rst.el: Major merge with upstream development up to
4118 Docutils SVN r7399 / rst.el V1.2.1.
4119
4120 Clarify maintainership and authors.
4121
4122 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4123 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4124 (rst-official-version, rst-official-cvs-rev, rst-version)
4125 (rst-package-emacs-version-alist): New functions and variables
4126 for version information.
4127
4128 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4129 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4130 (rst-mode-syntax-table, rst-mode): New and corrected functions
4131 and variables representing reStructuredText features.
4132
4133 (rst-re): New function for reStructuredText regexes. Use in
4134 many places.
4135
4136 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4137 (rst-mode-map): Rebind keys.
4138
4139 (rst-mode-lazy, rst-font-lock-keywords)
4140 (rst-font-lock-extend-region)
4141 (rst-font-lock-extend-region-internal)
4142 (rst-font-lock-extend-region-extend)
4143 (rst-font-lock-find-unindented-line-limit)
4144 (rst-font-lock-find-unindented-line-match)
4145 (rst-adornment-level, rst-font-lock-adornment-level)
4146 (rst-font-lock-adornment-match)
4147 (rst-font-lock-handle-adornment-pre-match-form)
4148 (rst-font-lock-handle-adornment-matcher): Major revision of
4149 font-locking. Integrate with other code. Use `jit-lock-mode'.
4150
4151 (rst-preferred-adornments, rst-adjust-hook)
4152 (rst-new-adornment-down, rst-preferred-bullets)
4153 (rst-preferred-bullets, rst-indent, rst-indent-width)
4154 (rst-indent-field, rst-indent-literal-normal)
4155 (rst-indent-literal-minimized, rst-indent-comment): Change,
4156 extend and improve customization.
4157
4158 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4159 (rst-normalize-cursor-position, rst-get-decoration)
4160 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4161 (rst-rstrip, rst-toc-insert-find-delete-contents)
4162 (rst-shift-fill-region, rst-compute-bullet-tabs)
4163 (rst-debug-print-tabs, rst-debug-mark-found)
4164 (rst-shift-region-guts, rst-shift-region-right)
4165 (rst-shift-region-left, rst-use-char-classes)
4166 (rst-font-lock-keywords-function)
4167 (rst-font-lock-indentation-point)
4168 (rst-font-lock-find-unindented-line-begin)
4169 (rst-font-lock-find-unindented-line-end)
4170 (rst-font-lock-find-unindented-line)
4171 (rst-font-lock-adornment-point, rst-font-lock-level)
4172 (rst-adornment-level-alist): Remove functions and variables.
4173
4174 (rst-compare-adornments, rst-get-adornment-match)
4175 (rst-suggest-new-adornment, rst-get-adornments-around)
4176 (rst-adornment-complete-p, rst-get-next-adornment)
4177 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4178 (rst-straighten-adornments): Standardize function names to
4179 use "adornment" instead of "decoration". Correct callers.
4180 Similar standardizing in many places.
4181
4182 (rst-update-section, rst-adjust, rst-promote-region)
4183 (rst-enumerate-region, rst-bullet-list-region)
4184 (rst-repeat-last-character): Correct use of `interactive'.
4185
4186 (rst-classify-adornment, rst-find-all-adornments)
4187 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4188 (rst-find-leftmost-column, rst-repeat-last-character):
4189 Refactor functions.
4190
4191 (rst-find-title-line, rst-reset-section-caches)
4192 (rst-get-adornments-around, rst-adjust-adornment-work)
4193 (rst-arabic-to-roman, rst-roman-to-arabic)
4194 (rst-insert-list-pos, rst-insert-list-new-item)
4195 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4196 New functions.
4197
4198 (rst-all-sections, rst-section-hierarchy)
4199 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4200 New variables.
4201
4202 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4203 configuration instead of only buffer. Change where necessary.
4204
4205 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4206 (rst-shift-region, rst-adaptive-fill): New functions for
4207 indentation and filling.
4208
4209 (rst-comment-line-break, rst-comment-indent)
4210 (rst-comment-insert-comment, rst-comment-region)
4211 (rst-uncomment-region): New functions for handling comments.
4212
4213 (rst-compile): Quote shell arguments.
4214
4215 (rst-compile-pdf-preview, rst-compile-slides-preview):
4216 Delete temporary files after use.
4217
a43f98b3
GM
42182012-05-05 Glenn Morris <rgm@gnu.org>
4219
48176e8b
GM
4220 * calendar/cal-html.el: Optionally include holidays in the output.
4221 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4222 (cal-html-holidays): New option.
4223 (cal-html-css-default): Add holiday entry.
4224 (holiday-in-range): Autoload it.
4225 (cal-html-htmlify-entry): Add optional class argument.
4226 (cal-html-htmlify-list): Add optional holidays argument.
4227 (cal-html-insert-agenda-days): Include holidays in the output.
4228 (cal-html-one-month): Maybe include holidays.
4229
a43f98b3
GM
4230 * calendar/holidays.el (holiday-in-range):
4231 Move here from cal-tex-list-holidays.
4232 * calendar/cal-tex.el (cal-tex-list-holidays):
4233 Make it an obsolete alias for holiday-in-range. Update all callers.
4234
fef9d149 42352012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4236
4237 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4238 Nextstep.
4239
248da2f4
RW
42402012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4241
4242 * files.el (file-auto-mode-skip): New var.
4243 (set-auto-mode-1): Use it.
4244
f95e9344
SM
42452012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4246
df96ab1e
SM
4247 * repeat.el: Use lexical-binding.
4248 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4249 (repeat-undo-count): Remove.
4250 (repeat):
4251 * progmodes/octave-mod.el (octave-abbrev-start):
4252 * progmodes/f90.el (f90-abbrev-start):
4253 * face-remap.el (text-scale-adjust):
4254 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4255
5342bb06
SM
4256 * emacs-lisp/pcase.el (pcase--let*): New function.
4257 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4258 a bit more.
4259 (pcase--split-pred): Be more clever about ruling out overlap between
4260 a predicate and some constant pattern.
4261 (pcase--q1): Use `null' instead of (eq foo nil).
4262
f95e9344
SM
4263 * subr.el (setq-local, defvar-local): New macros.
4264 (kbd): Redefine as an alias.
4265 (with-selected-window): Leave unrelated frames alone.
4266 (set-temporary-overlay-map): New function.
4267
71873e2b
SM
42682012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4269
4270 * subr.el (user-error): New function.
4271 * window.el (switch-to-buffer):
4272 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4273 (smerge-match-conflict):
4274 * simple.el (previous-matching-history-element)
4275 (next-matching-history-element, goto-history-element, undo-more)
4276 (undo-start):
4277 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4278 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4279 (next-file, tags-loop-scan, list-tags, complete-tag):
4280 * progmodes/compile.el (compilation-loop):
4281 * mouse.el (mouse-minibuffer-check):
4282 * man.el (Man-bgproc-sentinel, Man-goto-page):
4283 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4284 (Info-history-forward, Info-follow-reference, Info-menu)
4285 (Info-extract-menu-item, Info-extract-menu-counting)
4286 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4287 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4288 (Info-next-reference, Info-prev-reference, Info-index)
4289 (Info-index-next, Info-follow-nearest-node)
4290 (Info-copy-current-node-name):
4291 * imenu.el (imenu--make-index-alist)
4292 (imenu-default-create-index-function, imenu-add-to-menubar):
4293 * files.el (basic-save-buffer, recover-file):
4294 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4295 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4296 (checkdoc-message-text, checkdoc-defun):
4297 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4298 * cus-edit.el (customize-changed-options, customize-rogue)
4299 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4300 (custom-variable-mark-to-reset-standard)
4301 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4302 (custom-file):
4303 * completion.el (check-completion-length):
4304 * comint.el (comint-search-arg)
4305 (comint-previous-matching-input-string-position)
4306 (comint-previous-matching-input)
4307 (comint-replace-by-expanded-history-before-point, comint-send-input)
4308 (comint-copy-old-input, comint-backward-matching-input)
4309 (comint-goto-process-mark, comint-set-process-mark):
4310 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4311 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4312
8a61ee22
SM
43132012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4314
66408d1e
SM
4315 * dabbrev.el (dabbrev--ignore-case-p): New function.
4316 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4317 Use it.
4318
8a61ee22
SM
4319 * files.el (automount-dir-prefix): Mark as obsolete.
4320
3c74813a
GM
43212012-05-04 Glenn Morris <rgm@gnu.org>
4322
4323 * patcomp.el, play/bruce.el: Move to obsolete/.
4324
0bfcf5c5
PE
43252012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4326
4327 Fix minor Y10k bugs.
4328 * arc-mode.el (archive-unixdate):
4329 * autoinsert.el (auto-insert-alist):
4330 * calc/calc-forms.el (math-this-year):
4331 * emacs-lisp/copyright.el (copyright-current-year)
4332 (copyright-update-year, copyright):
4333 * tar-mode.el (tar-clip-time-string):
4334 * time.el (display-time-update):
4335 Don't assume years have 4 digits.
4336
78f3273a
CY
43372012-05-04 Chong Yidong <cyd@gnu.org>
4338
4339 * dos-w32.el (file-name-buffer-file-type-alist)
4340 (direct-print-region-use-command-dot-com):
4341 * ffap.el (ffap-menu-regexp):
4342 * find-file.el (ff-special-constructs):
4343 * follow.el (follow-debug):
4344 * forms.el (forms--debug):
4345 * iswitchb.el (iswitchb-all-frames):
4346 * ido.el (ido-all-frames):
4347 * emacs-lisp/timer.el (timer-max-repeats):
4348 * mail/feedmail.el (feedmail-mail-send-hook)
4349 (feedmail-mail-send-hook-queued):
4350 * mail/footnote.el (footnote-signature-separator):
4351 * mail/mailabbrev.el (mail-alias-separator-string)
4352 (mail-abbrev-mode-regexp):
4353 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4354 * progmodes/idlwave.el (idlwave-libinfo-file)
4355 (idlwave-default-completion-case-is-down)
4356 (idlwave-library-routines): Convert defvars to defcustoms.
4357
4358 * mail/rmail.el (rmail-decode-mime-charset):
4359 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4360 (idlwave-shell-fix-inserted-breaks)
4361 (idlwave-shell-activate-alt-keybindings)
4362 (idlwave-shell-use-breakpoint-glyph):
4363 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4364
f7ae6719
SM
43652012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4366
4367 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4368
47086495
WS
43692012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4370
4371 * progmodes/verilog-mode.el (font-lock-keywords):
4372 Fix mis-highligting auto. Reported by Craig Barner.
4373 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4374 defines from global name space. Reported by Dan Dever.
4375 (verilog-auto-reset, verilog-auto-reset-widths)
4376 (verilog-auto-tieoff): Support using unbased numbers for
4377 AUTORESET and AUTOTIEOFF.
4378 (verilog-submit-bug-report): Update variable list.
4379 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4380 parenthesis from not matching. Reported by Michael Rytting.
4381 (verilog-auto-template-lint): Fix hash error when linting modules
4382 with no used templates.
4383 (verilog-warn, verilog-warn-error)
4384 (verilog-warn-fatal): When non-interactive report multiple
4385 warnings before exiting. Suggested by Brad Dobbie.
4386 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4387 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4388 to report unused template errors. Reported by Brad Dobbie.
4389 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4390 nets, bug438. Reported by Vns Blore.
4391 (verilog-auto-inout-module, verilog-auto-reg)
4392 (verilog-read-decls, verilog-read-sub-decls-sig)
4393 (verilog-signals-edit-wire-reg, verilog-signals-with):
4394 Fix passing of Verilog data types in ANSI input/output ports
4395 such as "output logic" into the AUTOs. Special case "wire" and
4396 "reg" for backwards compatibility presuming Verilog 2001.
4397 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4398 (verilog-preprocess): Fix replication of preprocess output.
4399 Reported by Brad Dobbie.
4400 (verilog-auto-inst-interfaced-ports):
4401 Create verilog-auto-inst-interfaced-ports, bug429.
4402 Reported by Julian Gorfajn.
4403 (verilog-after-save-font-hook)
4404 (verilog-before-save-font-hook): New variable.
4405 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4406 (verilog-save-font-mods): Wrap disabling fontification, reported
4407 by David Rogoff.
4408 (verilog-do-indent, verilog-pretty-declarations-auto)
4409 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4410 Reported by Pierre-David Pfister.
4411 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4412 of class declarations, bug292. Reported by Kevin Heilman.
4413 (verilog-read-decls): Fix 'parameter type' not appearing in
4414 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4415 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4416 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4417 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4418 Reported by David Kravitz.
4419
44202012-05-03 Michael McNamara <mac@mail.brushroad.com>
4421
4422 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4423 assignment with tests in ifs and for loops.
4424 (verilog-extended-complete-re, verilog-complete-reg): Change so
4425 that DPI inport functions don't look like fuction declarations.
4426 (verilog-pretty-expr): Don't line up assignment
4427 operations to the test and increment in if and for loops
4428 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4429 that DPI inport functions don't look like fuction declarations.
47086495 4430
2e51d4b5
KH
44312012-05-03 Kenichi Handa <handa@m17n.org>
4432
4433 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4434 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4435 (Bug#11282).
4436
2bd785a2
SM
44372012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4438
4439 * emacs-lisp/bytecomp.el
4440 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4441 since cconv.el might have introduced :fun-body, internal-make-closure,
4442 and friends for bytecomp to handle (bug#11391).
4443 * custom.el (defcustom): Avoid ((λ ..) ..).
4444
99d27583
SM
44452012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4446
4447 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4448
55a71479
JB
44492012-05-02 Juanma Barranquero <lekktu@gmail.com>
4450
4451 * notifications.el (dbus-debug):
4452 * term/linux.el (gpm-mouse-enable):
4453 * term/screen.el (xterm-register-default-colors): Declare.
4454
7b97c764
CY
44552012-05-02 Chong Yidong <cyd@gnu.org>
4456
2bc356d7
CY
4457 * cus-start.el (gc-cons-percentage, exec-suffixes)
4458 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4459 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4460 (make-cursor-line-fully-visible, void-text-area-pointer)
4461 (font-list-limit): Add customization data.
4462
7b97c764
CY
4463 * allout.el (allout-exposure-change-functions)
4464 (allout-structure-added-functions)
4465 (allout-structure-deleted-functions)
4466 (allout-structure-shifted-functions): Rename abnormal hooks from
4467 *-hook, and convert to defcustoms.
5d3385a0
JB
4468 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4469 Convert to defcustoms.
7b97c764
CY
4470 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4471
4472 * allout-widgets.el: Hook callers changed.
4473
90207a15 44742012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4475
4476 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4477 the yanked message in preference to the default value of
4478 buffer-file-coding-system.
4479
90207a15 44802012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4481
5d3385a0
JB
4482 * window.el (display-buffer--action-function-custom-type):
4483 Fix entry.
d9558cad 4484
90207a15 44852012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4486
4487 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4488
d80ac57b
GM
44892012-05-01 Glenn Morris <rgm@gnu.org>
4490
976f7668
GM
4491 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4492
beb83b5a
GM
4493 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4494
d80ac57b
GM
4495 * cus-edit.el (custom-variable-documentation): Simplify with format.
4496
b593d6a9 44972012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4498 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4499
4500 * simple.el (suggest-key-bindings, execute-extended-command):
4501 Move from keyboard.c.
4502
782fbf2a
CY
45032012-05-01 Chong Yidong <cyd@gnu.org>
4504
4505 * follow.el: Eliminate advice.
4506 (set-process-filter, process-filter, sit-for): Advice deleted.
4507 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4508 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4509 Vars deleted.
782fbf2a
CY
4510 (follow-auto): Use a :set function.
4511 (follow-mode): Rewritten. Don't advise process filters.
4512 (follow-switch-to-current-buffer-all, follow-scroll-up)
4513 (follow-scroll-down): Assume follow-mode is bound.
4514 (follow-comint-scroll-to-bottom)
4515 (follow-align-compilation-windows): New functions.
4516 (follow--window-sorter): New function.
4517 (follow-all-followers): Use it to explicitly sort windows by their
4518 positions; don't make assumptions about next-window order.
4519 (follow-windows-start-end, follow-delete-other-windows-and-split)
4520 (follow-calc-win-start): Doc fix.
4521 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4522 vertical-motion unnecessarily.
4523 (follow-adjust-window): New function.
4524 (follow-post-command-hook): Use it.
4525 (follow-call-set-process-filter, follow-call-process-filter)
4526 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4527 (follow-stop-intercept-process-output, follow-generic-filter):
4528 Functions deleted.
4529 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4530 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4531 New functions, replacing advice on scroll-bar-* commands.
87233a14 4532 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4533
4534 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4535 (comint-postoutput-scroll-to-bottom): Use it.
4536 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4537
290af740
GM
45382012-05-01 Glenn Morris <rgm@gnu.org>
4539
4540 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4541 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4542 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4543 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4544 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4545 Remove no-byte-compile setting.
4546
6eac8dc9
SM
45472012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4548
4549 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4550 all-completions code to not return a number in the last cdr.
4551
9cc7819c
LL
45522012-04-30 Leo Liu <sdl.web@gmail.com>
4553
4554 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4555 read-only error.
4556
c93b886f
CY
45572012-04-29 Chong Yidong <cyd@gnu.org>
4558
4559 * follow.el (follow-calc-win-end): Rewrite to handle partial
4560 screen lines correctly (Bug#8390).
4561 (follow-avoid-tail-recenter): Minor cleanup.
4562
8b6c19f4
SM
45632012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 Avoid the obsolete `assoc' package.
4566 * speedbar.el (speedbar-refresh): Avoid adelete.
4567 (speedbar-file-lists): Simplify and avoid aput.
4568 * man.el (Man--sections, Man--refpages): New vars, replacing
4569 Man-sections-alist and Man-refpages-alist.
4570 (Man-build-section-alist, Man-build-references-alist):
4571 Use them; avoid aput.
4572 (Man--last-section, Man--last-refpage): New vars.
4573 (Man-follow-manual-reference): Use them.
4574 Use the `default' arg of completing-read.
4575 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4576
c5bb7569
CY
45772012-04-27 Chong Yidong <cyd@gnu.org>
4578
d1d2e2e8
CY
4579 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4580
15cd8efd
CY
4581 * startup.el (x-apply-session-resources): New function.
4582
4583 * term/ns-win.el (ns-initialize-window-system):
4584 * term/w32-win.el (w32-initialize-window-system):
4585 * term/x-win.el (x-initialize-window-system): Use it to properly
4586 set menu-bar-mode and other vars from X resources, even if the
4587 initial frame is not a window-system frame (Bug#2299).
4588
c5bb7569
CY
4589 * subr.el (read-key): Avoid running filter function when setting
4590 up temporary tool bar entries (Bug#9922).
4591
a8e7d6d7 45922012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4593
4594 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4595 (Bug#11344)
4596
a8e7d6d7 45972012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4598
4599 * select.el (xselect--encode-string): New function, split from
4600 xselect-convert-to-string.
4601 (xselect-convert-to-string): Use it.
4602 (xselect-convert-to-filename, xselect-convert-to-os)
4603 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4604 returned strings are properly encoded (Bug#11315).
4605
a8e7d6d7 46062012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4607
4608 * simple.el (delete-active-region): Move to killing custom group.
4609
a8e7d6d7 46102012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4611
4612 * progmodes/which-func.el (which-func-current): Quote %
4613 characters for mode-line processing.
4614
578c1d4b 46152012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4616
4617 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4618 reaching eob (Bug#11286).
4619
a8e7d6d7 46202012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4621
4622 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4623 (gdb): Make it buffer-local and init to zero.
4624 (gdb-control-commands-regexp): New variable.
4625 (gdb-send): Don't wrap in "-interpreter-exec console" if
4626 gdb-control-level is positive. Increment gdb-control-level
4627 whenever the command matches gdb-control-commands-regexp, and
4628 decrement it each time the command is "end". (Bug#11279)
4629
a8e7d6d7 46302012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4631
4632 * window.el (adjust-window-trailing-edge, enlarge-window)
4633 (shrink-window, window-resize):
4634 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4635 windows (Bug#11276).
4636
b3608390
CY
46372012-04-27 Chong Yidong <cyd@gnu.org>
4638
4639 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4640 fix "missing prefix" warning. All callers changed.
b3608390 4641
797e6e88
SM
46422012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4643
4644 * emacs-lisp/assoc.el: Move to obsolete/.
4645
e95a67dc
SM
46462012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4647
657c21e4 4648 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4649
4650 * term/ns-win.el (ns-define-service):
4651 * progmodes/pascal.el (pascal-goto-defun):
4652 * progmodes/js.el (js--read-tab):
4653 * progmodes/etags.el (tags-lazy-completion-table):
4654 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4655 * emacs-lisp/ewoc.el (ewoc--wrap):
4656 * emacs-lisp/assoc.el (aput, adelete, amake):
4657 * doc-view.el (doc-view-convert-current-doc):
4658 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4659
cb3e7ae0
CY
46602012-04-26 Chong Yidong <cyd@gnu.org>
4661
dce04f7f
CY
4662 * image.el (image-type-from-buffer): Only return supported image
4663 type (Bug#9045).
4664
cb3e7ae0
CY
4665 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4666 value, for symmetry with diff-end-of-hunk.
4667 (diff-split-hunk, diff-find-source-location)
4668 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4669 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4670 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4671 compute the relevant hunk or file properly (Bug#6005).
4672 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4673
0d42eb3e
SM
46742012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4675
4676 * vc/vc-mtn.el:
4677 * vc/vc-hg.el:
4678 * vc/vc-git.el:
4679 * vc/vc-dir.el:
4680 * vc/vc-cvs.el:
4681 * vc/vc-bzr.el:
4682 * vc/vc-arch.el:
4683 * vc/vc.el: Replace lexical-let by lexical-binding.
4684 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4685 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4686 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4687
f08ae1c9
CY
46882012-04-26 Chong Yidong <cyd@gnu.org>
4689
8b71081d
CY
4690 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4691 (diff-mode-shared-map): Bind it to / and [remap undo].
4692
f08ae1c9
CY
4693 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4694 (ediff-window-setup-function): Use it as the default, to set up
4695 windows based on whether the current frame is graphical (Bug#2138).
4696 (ediff-choose-window-setup-function-automatically): Make obsolete.
4697
4698 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4699
ef24141c
SM
47002012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4701
cc356a5d
SM
4702 * ffap.el: Remove old code for obsolete package.
4703 (ffap-complete-as-file-p): Remove.
4704
b4ff4f1f
SM
4705 Use completion-table-with-quoting for comint and pcomplete.
4706 * comint.el (comint--unquote&requote-argument)
4707 (comint--unquote-argument, comint--requote-argument): New functions.
4708 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4709 (comint-quote-filename): Use regexp-opt-charset.
4710 (comint--common-suffix, comint--common-quoted-suffix)
4711 (comint--table-subvert): Remove.
4712 (comint-unquote-function, comint-requote-function): New vars.
4713 (comint--complete-file-name-data): Use them with
4714 completion-table-with-quoting.
4715 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4716 * pcomplete.el (pcomplete-arg-quote-list)
4717 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4718 (pcomplete-unquote-argument-function): Default to non-nil.
4719 (pcomplete-unquote-argument): Simplify.
4720 (pcomplete--common-quoted-suffix): Remove.
4721 (pcomplete-requote-argument-function): New var.
4722 (pcomplete--common-suffix): New function.
4723 (pcomplete-completions-at-point): Use completion-table-with-quoting
4724 and completion-table-subvert.
4725
79c4eeb4
SM
4726 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4727 (minibuffer--double-dollars): Preserve properties.
4728 (completion--sifn-requote): New function.
4729 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4730
ef24141c
SM
4731 * minibuffer.el: Add support for completion of quoted/escaped data.
4732 (completion-table-with-quoting, completion-table-subvert): New funs.
4733 (completion--twq-try, completion--twq-all): New functions.
4734 (completion--nth-completion): New function.
4735 (completion-try-completion, completion-all-completions): Use it.
4736
784e7d6e
LL
47372012-04-25 Leo Liu <sdl.web@gmail.com>
4738
dd2ac746
SM
4739 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4740 Use compilation-message if available to find real filename.
784e7d6e 4741
07875ee7
CY
47422012-04-25 Chong Yidong <cyd@gnu.org>
4743
4744 * vc/diff-mode.el (diff-setup-whitespace): New function.
4745 (diff-mode): Use it.
4746
4747 * vc/diff.el (diff-sentinel):
4748 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4749 Whitespace mode variables based on diff style (Bug#8612).
4750
5055880d
LL
47512012-04-25 Leo Liu <sdl.web@gmail.com>
4752
daf75653
LL
4753 * progmodes/python.el (python-send-region): Add suffix .py to the
4754 temp file.
4755
5055880d
LL
4756 * files.el (auto-mode-alist): Use javascript-mode instead.
4757
db9b177b
AH
47582012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4759
ef24141c 4760 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4761
090bd7cb 4762 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4763 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4764 references, see Bug#9.
ef24141c 4765 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4766 when receiving a fault reply.
ef24141c 4767 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4768
090bd7cb 4769 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4770 (soap-inspect-simple-type): New function.
db9b177b 4771
090bd7cb 4772 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4773 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4774 (soap-decode-basic-type, soap-encode-basic-type):
4775 support unsignedInt and double basic types.
db9b177b 4776 (soap-resolve-references-for-simple-type)
ef24141c
SM
4777 (soap-parse-simple-type, soap-encode-simple-type): New function.
4778 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4779
090bd7cb 4780 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4781 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4782 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4783 the local name of "soapenc:Array".
4784 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4785 decoding integer, byte and anyURI xsd types.
4786
1fc6097b
CY
47872012-04-25 Chong Yidong <cyd@gnu.org>
4788
4789 * cus-edit.el (custom-buffer-create-internal): Update header text.
4790
afc6df87
EZ
47912012-04-25 Eli Zaretskii <eliz@gnu.org>
4792
4793 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4794 settings on 'system-type', not on 'window-system'. On MS-Windows,
4795 set interactive-mode on in GDB.
4796
dfbd787f
SM
47972012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4798
4799 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4800 (ruby-syntax-propertize-regexp): Remove.
4801 (ruby-syntax-propertize-function): Split regexp into chunks.
4802 Match following code directly.
4803
85222d44
DG
48042012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4805
51a8ea2a
DG
4806 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4807 (ruby-syntax-propertize-regexp): New function.
4808 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4809 by a special keyword.
4810
85222d44
DG
4811 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4812 (ruby-syntax-general-delimiters-goto-beg)
4813 (ruby-syntax-propertize-general-delimiters): New functions.
4814 (ruby-syntax-propertize-function): Use them to handle GDL.
4815 (ruby-font-lock-keywords): Move old handling of GDL...
4816 (ruby-font-lock-syntactic-keywords): .. to here.
4817 (ruby-calculate-indent): Adjust indentation for GDL.
4818
b613912b
MA
48192012-04-24 Michael Albinus <michael.albinus@gmx.de>
4820
b5380639
MA
4821 * notifications.el (top): Remove unneeded declarations.
4822 (notifications-specification-version): Change to "1.2".
e43042fe 4823 (notifications-interface, notifications-notify-method)
b613912b
MA
4824 (notifications-close-notification-method): Fix docstring.
4825 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4826 (notifications-notify): Add :action-items, :resident and
4827 :transient hints. Change "image_data" to "image-data" and
4828 "image_path" to "image-path".
b613912b
MA
4829 (notifications-get-capabilities): New defun.
4830
257440aa
LL
48312012-04-24 Leo Liu <sdl.web@gmail.com>
4832
4833 * progmodes/python.el: Move hideshow setup to the end.
4834
b1bac16e
MR
48352012-04-24 Martin Rudalics <rudalics@gmx.at>
4836
4837 * window.el (handle-select-window): Clear echo area since this is
4838 no more done by read_char (Bug#11304).
4839
d81bd059
SM
48402012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4841
4842 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4843 and `/ M' to filter-derived-mode.
4844 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4845 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4846 (ibuffer-mark-by-mode): Use default rather than initial-input.
4847 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4848
c4cf6d91
IA
48492012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4850
4851 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4852 (ibuffer-filter-by-derived-mode): New filter.
4853 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4854
7511ded8
CY
48552012-04-23 Andreas Politz <politza@fh-trier.de>
4856
4857 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4858
775c916b
CY
48592012-04-23 Chong Yidong <cyd@gnu.org>
4860
4861 * cus-edit.el (customize-apropos, customize-apropos-options):
4862 Disable matching of non-option variables (Bug#11176).
4863 (customize-option, customize-option-other-window)
4864 (customize-changed-options): Doc fix.
4865 (customize-apropos-options, customize-apropos-faces)
4866 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4867
4868 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4869 Fix word list splitting (Bug#11132).
46c71e23
CY
4870 (apropos-symbol, apropos-keybinding, apropos-label)
4871 (apropos-property, apropos-function-button)
4872 (apropos-variable-button, apropos-misc-button): New faces.
4873 (apropos-symbol-face, apropos-keybinding-face)
4874 (apropos-label-face, apropos-property-face, apropos-match-face):
4875 Variables removed (Bug#8396).
4876 (apropos-library-button, apropos-format-plist, apropos-print)
4877 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4878
2df41f9c
MA
48792012-04-23 Michael Albinus <michael.albinus@gmx.de>
4880
4881 * net/xesam.el (xesam-mode-map): Use let-bound map in
4882 initialization. (Bug#11292)
4883
da00640a
AM
48842012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4885
4886 Preserve ispell session localwords when switching back to
4887 original buffer.
4888
090bd7cb
JB
4889 * textmodes/ispell.el (ispell-buffer-session-localwords):
4890 New buffer-local variable to hold buffer session localwords.
ed9265fc 4891 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4892 localwords.
4893 (ispell-command-loop, ispell-change-dictionary)
4894 (ispell-buffer-local-words): Preserve session localwords when
4895 needed.
4896
090bd7cb
JB
4897 * textmodes/flyspell.el (flyspell-process-localwords)
4898 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4899
f621ccf5
AM
49002012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4901
090bd7cb
JB
4902 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4903 using obsolete `translation-table-for-input'.
ef24141c
SM
4904 (ispell-word, ispell-process-line, ispell-complete-word):
4905 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4906
c2d1019e
CY
49072012-04-22 Chong Yidong <cyd@gnu.org>
4908
4909 * cus-edit.el (custom-variable-menu)
4910 (custom-variable-reset-saved, custom-face-menu)
4911 (custom-face-reset-saved): If there is no saved value, make the
4912 "reset-saved" operation bring back the default (Bug#9509).
4913 (custom-face-state): Properly detect themed faces.
4914
eeddc531
CY
4915 * faces.el (face-spec-set): Stop supporting deprecated form of
4916 third arg.
4917
dcbf5805
MA
49182012-04-22 Michael Albinus <michael.albinus@gmx.de>
4919
4920 Move functions from C to Lisp. Make non-blocking method calls
4921 the default. Implement further D-Bus standard interfaces.
4922
ef24141c
SM
4923 * net/dbus.el (dbus-message-internal): Declare function.
4924 Remove unneeded function declarations.
dcbf5805
MA
4925 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4926 (dbus-message-type-method-return, dbus-message-type-error)
4927 (dbus-message-type-signal): Declare variables. Remove local
4928 definitions.
4929 (dbus-interface-dbus, dbus-interface-peer)
4930 (dbus-interface-introspectable, dbus-interface-properties)
4931 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4932 Adapt docstring.
4933 (dbus-interface-objectmanager): New defconst.
4934 (dbus-call-method, dbus-call-method-asynchronously)
4935 (dbus-send-signal, dbus-method-return-internal)
4936 (dbus-method-error-internal, dbus-register-service)
4937 (dbus-register-signal, dbus-register-method): New defuns, moved
4938 from dbusbind.c
4939 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4940 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4941 New defuns.
dcbf5805
MA
4942 (dbus-call-method-non-blocking): Make it an obsolete function.
4943 (dbus-unregister-object, dbus-unregister-service)
4944 (dbus-handle-event, dbus-register-property)
4945 (dbus-property-handler): Obey the new structure of
4946 `bus-registered-objects'.
4947 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4948 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4949 Use `dbus-call-method'.
4950
cf20dee0
CY
49512012-04-22 Chong Yidong <cyd@gnu.org>
4952
4953 * cus-edit.el (custom-commands, custom-reset-menu)
4954 (Custom-reset-standard): Tweak labels.
4955 (custom-reset-button-menu): Change default to t.
4956 (custom-buffer-create-internal): For the custom-reset-button-menu
4957 case, put the revert button first.
4958 (custom-group-subtitle): New face.
4959 (custom-group-value-create): Align docstring to a specific column.
4960
4961 * wid-edit.el (widget-documentation-link-add): Don't handle
4962 indentation in this function.
4963 (widget-documentation-string-indent-to): New function.
4964 (widget-documentation-string-value-create): Use it.
4965
4966 * autorevert.el (auto-revert):
4967 * epg-config.el (epg):
4968 * ibuffer.el (ibuffer):
4969 * mpc.el (mpc):
4970 * ses.el (ses):
4971 * eshell/eshell.el (eshell):
4972 * net/ange-ftp.el (ange-ftp):
4973 * progmodes/ebnf2ps.el (postscript):
4974 * progmodes/flymake.el (flymake):
4975 * progmodes/prolog.el (prolog):
4976 * progmodes/verilog-mode.el (verilog-mode):
4977 * progmodes/which-func.el (which-func):
4978 * term/xterm.el (xterm):
4979 * textmodes/picture.el (picture):
4980 * textmodes/tildify.el (tildify):
4981 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4982 customization buffers.
4983
583e23bd
AM
49842012-04-22 Alan Mackenzie <acm@muc.de>
4985
4986 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4987 Adding a ) can hide the resulting (..) from searches. Fix it.
4988 Bound the backward search to the position of the existing (.
4989
7dd51bf1
JB
49902012-04-21 Juanma Barranquero <lekktu@gmail.com>
4991
4992 * progmodes/verilog-mode.el (verilog-mode): Check whether
4993 which-func-modes is t before adding verilog-mode.
4994 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4995
d64a438f
LL
49962012-04-21 Leo Liu <sdl.web@gmail.com>
4997
7dd51bf1 4998 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4999
081e8d65
MV
50002012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5001
5002 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5003 filling of the last column of a table (Bug#5635).
5004 (woman-find-next-control-line): New arg, specifying an additional
5005 regexp component for the control line.
5006 (woman2-roff-buffer): Use it.
5007 (woman-break-table): New function.
5008 (woman2-TS): Use it.
5009
50102012-04-21 Chong Yidong <cyd@gnu.org>
5011
5012 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5013 (woman-horizontal-escapes, woman-negative-vertical-space)
5014 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5015 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5016
ed571ccb
SM
50172012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5018
5019 * minibuffer.el (completion-file-name-table): Complete user names.
5020
39773899
LL
50212012-04-20 Leo Liu <sdl.web@gmail.com>
5022
5023 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5024 and pcase-let*.
5025
de6ff46d
CY
50262012-04-20 Chong Yidong <cyd@gnu.org>
5027
5028 * server.el (server-execute): Respect initial-buffer-choice if it
5029 is a string and there are no files to open (Bug#2825).
5030 (server-create-window-system-frame, server-create-tty-frame):
5031 Don't switch buffers here.
2d0e8e61
CY
5032 (server-process-filter): Only try to open a window system frame if
5033 compiled with graphical support (Bug#8314).
de6ff46d 5034
54071013
DN
50352012-04-20 Dan Nicolaescu <dann@gnu.org>
5036
5037 * battery.el (battery-echo-area-format): Display remaining time
5038 for sysfs backend too (Bug#11269).
5039 (battery-linux-sysfs): Fix conditional for the charge.
5040
f30d612a
CY
50412012-04-20 Chong Yidong <cyd@gnu.org>
5042
c07a4c0b 5043 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
5044 (gdb-inferior-io--init-proc): New function.
5045 (gdb-init-1): Use it.
5046 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5047 responsible for allocating a new pty and hooking it to gdb when
5048 the old pty gets an EIO due to process exit.
5049 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5050 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5051 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5052
2116e93c
EZ
50532012-04-20 Eli Zaretskii <eliz@gnu.org>
5054
5055 * window.el (window-min-size, window-sizable, window-min-delta)
5056 (window-max-delta, window--resizable, window-resizable)
5057 (window-total-size, window-full-height-p, window-full-width-p)
5058 (window-in-direction, window--resize-mini-window, window-resize)
5059 (window--resize-child-windows-normal)
5060 (window--resize-child-windows, window--resize-siblings)
5061 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 5062 (enlarge-window, shrink-window): Doc fixes.
2116e93c 5063
c07a4c0b 50642012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 5065
ef24141c
SM
5066 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5067 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
5068 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5069 pty process (Bug#11273).
5070 (gdb-update): New arg to suppress talking to the gdb process.
5071 (gdb-done-or-error): Use it.
5072 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5073 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5074 sentinel not being called.
5075
5076 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5077
d02766ab
CY
5078 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5079
c07a4c0b 50802012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
5081
5082 * net/network-stream.el (open-network-stream): Doc fix.
5083
c07a4c0b 50842012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
5085
5086 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5087
c07a4c0b 50882012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
5089
5090 Ensure searching for keywords is case sensitive.
5091
5092 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5093 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5094 (c-defun-name, c-mark-function, c-cpp-define-name)
5095 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 5096 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 5097
ef24141c
SM
5098 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5099 Bind case-fold-search to nil.
f0f6bc35 5100
c07a4c0b 51012012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
5102
5103 * mail/sendmail.el (mail-bury): Call return action with the right
5104 Rmail buffer (Bug#11242).
5105
9a864fa2
CY
5106 * server.el (server-process-filter): Handle corner case where both
5107 tty and nowait options are present (Bug#11102).
5108
539aa513
EZ
51092012-04-20 Eli Zaretskii <eliz@gnu.org>
5110
5111 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
5112 (top level): Put into the executable the ident-style '$Id:' tag on
5113 windows-nt as well.
539aa513 5114
cfc7d5da
SM
51152012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5116
5117 * electric.el (electric-indent-post-self-insert-function): Check that
5118 electric-indent-mode is enabled in current buffer.
5119
5b01685c
JB
51202012-04-19 Juanma Barranquero <lekktu@gmail.com>
5121
5122 * imenu.el (imenu-progress-message): Restore; it is "used" in
5123 erc/erc-imenu.el and net/snmp-mode.el.
5124
4d6769e1
JB
51252012-04-19 Juanma Barranquero <lekktu@gmail.com>
5126
5127 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5128 (mouse-avoidance-nudge-mouse): Remove unused binding.
5129
5130 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5131
5132 * descr-text.el (describe-char):
5133 * progmodes/python.el (python-describe-symbol):
5134 Don't call `toggle-read-only', set `buffer-read-only'.
5135
5136 * imenu.el (imenu-default-goto-function): Mark unused args.
5137 (imenu-progress-message): Remove obsolete macro; all callers changed.
5138
5139 * subr.el (keymap-canonicalize): Remove unused binding.
5140 (read-passwd): Mark unused arg.
5141
5142 * tutorial.el (tutorial--display-changes): Remove unused binding.
5143 (tutorial--save-tutorial-to): Remove unused variable.
5144
5145 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5146 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5147 (package-generate-autoloads, package-menu--generate)
5148 (package-menu--find-upgrades): Remove unused bindings.
5149
5150 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5151 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5152 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5153 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5154 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5155 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5156 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5157 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5158 (cua-delete-char-rectangle): Mark unused args.
5159 (cua-align-rectangle): Remove unused binding.
5160
5161 * mail/rmail.el (compilation--message->loc)
5162 (epa--find-coding-system-for-mime-charset): Declare.
5163
5164 * net/dbus.el (dbus-register-service): Declare.
5165 (dbus-name-owner-changed-handler): Remove unused binding.
5166
5167 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5168 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5169 (nxml-scan-backward-within): Mark unused arg.
5170 (nxml-dynamic-markup-word): Remove unused binding.
5171
5172 * mouse.el (mouse-menu-major-mode-map):
5173 * emacs-lisp/authors.el (authors-scan-change-log)
5174 (authors-add-to-author-list):
5175 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5176 * emacs-lisp/smie.el (smie-auto-fill):
5177 * mail/sendmail.el (mail-bury):
5178 * mail/unrmail.el (unrmail):
5179 * net/tls.el (open-tls-stream):
5180 * textmodes/picture.el (picture-mouse-set-point):
5181 Remove unused bindings.
5182
8c8fc5df
MA
51832012-04-19 Michael Albinus <michael.albinus@gmx.de>
5184
5185 * net/tramp.el (tramp-action-password): Let-bind
5186 `enable-recursive-minibuffers' to t.
5187
a77b0ac9
SS
51882012-04-18 Sam Steingold <sds@gnu.org>
5189
5190 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5191 instead of 'string to accommodate values like [f11].
5192 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5193 * progmodes/gdb-mi.el: Likewise.
5194
12a106a9
LL
51952012-04-18 Leo Liu <sdl.web@gmail.com>
5196
5197 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5198 current buffer.
5199 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5200 LOCAL is nil.
5201
bc6494ef
CY
52022012-04-18 Chong Yidong <cyd@gnu.org>
5203
5204 * simple.el (line-move): Use forward-line if in batch mode
5205 (Bug#11053).
5206
c09c46b2
CS
52072012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5208
5209 * files.el (after-find-file): Do not try to add a final newline if
5210 the buffer is read-only (Bug#11156).
5211
5f6530ea
RS
52122012-04-17 Richard Stallman <rms@gnu.org>
5213
5214 * mail/rmail.el (rmail-start-mail):
5215 Pass (rmail-mail-return...) for the return-action.
5216 Pass (rmail-yank-current-message...) for the yank-action.
5217 (rmail-yank-current-message): New function.
5218 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5219 (rmail-reply): Likewise.
5220 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5221
5222 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5223 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5224 buffer, not newbuf.
5225
197b6f3c
JB
52262012-04-17 Juanma Barranquero <lekktu@gmail.com>
5227
5228 * server.el (server-ensure-safe-dir): Simplify.
5229
2311d8e5 52302012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5231
2311d8e5
GM
5232 * emacs-lisp/smie.el: Provide smarter auto-filling.
5233 (smie-auto-fill): New function.
5234 (smie-setup): Use it.
98fb480e 5235
2311d8e5
GM
5236 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5237
52382012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5239
5240 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5241 (comment-indent): Use it.
5242
2311d8e5 52432012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5244
5245 * ses.el: The overall change is to add cell renaming, that is
5246 setting fancy names for cell symbols other than name matching
5247 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5248 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5249 (ses-create-cell-variable): New defun.
2311d8e5 5250 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5251 (ses-relocate-formula): Relocate formulas only for cells the
5252 symbols of which are not renamed, i.e. symbols whose names do not
5253 match regexp "\\`[A-Z]+[0-9]+\\'".
5254 (ses-relocate-all): Relocate values only for cells the symbols of
5255 which are not renamed.
5256 (ses-load): Create cells variables as the (ses-cell ...) are read,
5257 in order to check row col consistency with cell symbol name only
5258 for cells that are not renamed.
5259 (ses-replace-name-in-formula): New defun.
5260 (ses-rename-cell): New defun.
4bdf2ad2 5261
fc72b15c
PO
52622012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5263
5264 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5265 New option (bug#11118).
5266 (perl-calculate-indent): Respect it.
5267
12e10e61
GM
52682012-04-17 Glenn Morris <rgm@gnu.org>
5269
5270 * dired-aux.el (dired-mark-read-string): Doc fix.
5271
30009afd
DA
52722012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5273
5274 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5275 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5276
41f03f4d
GM
52772012-04-17 Glenn Morris <rgm@gnu.org>
5278
5279 * mouse.el (mouse-drag-track):
5280 * speedbar.el (speedbar-frame-mode):
5281 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5282
f45f90f3
LL
52832012-04-16 Leo Liu <sdl.web@gmail.com>
5284
5285 * progmodes/python.el: Trivial cleanup.
5286
94ee8db5
GM
52872012-04-16 Glenn Morris <rgm@gnu.org>
5288
121b8917
GM
5289 * vc/vc.el (vc-string-prefix-p):
5290 * vc/pcvs-util.el (cvs-string-prefix-p):
5291 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5292 * mpc.el (mpc-string-prefix-p):
5293 Make all of these into obsolete aliases for string-prefix-p.
5294 Update callers.
5295 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5296
1197ecfa
GM
5297 * textmodes/two-column.el: Move custom options to the start.
5298 (frame-width): Remove compat definition.
5299 (2C-associate-buffer, 2C-dissociate):
5300 Use with-current-buffer rather than save-excursion.
5301 (2C-dissociate): Force a mode-line update.
5302 (2C-autoscroll): Use ignore-errors.
5303
099e7202
GM
5304 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5305 Autoload trivia.
5306
bf350d6a
GM
5307 * emacs-lisp/cl-extra.el (*random-state*):
5308 Remove unnecessary declaration.
5309
0e829eab
GM
5310 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5311
e3ad7552
GM
5312 * play/cookie1.el (cookie-snarf):
5313 Give an explicit error if input file cannot be read.
5314
68892d27
GM
5315 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5316
20f0c46d
GM
5317 * progmodes/perl-mode.el (c-macro-expand):
5318 Remove unnecessary autoload (it is in loaddefs.el).
5319
5a0978ce
GM
5320 * textmodes/picture.el (picture-desired-column)
5321 (picture-update-desired-column): Convert comments to doc-strings.
5322 (picture-substitute): Remove function.
5323 (picture-mode-map): Initialize in the defvar.
5324
6b955486
GM
5325 * woman.el: Remove eval-after-load for tar-mode.
5326 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5327 (woman-tar-extract-file): Autoload it.
5328
94ee8db5
GM
5329 * frame.el (automatic-hscrolling): Make this alias obsolete.
5330
177eca34
AM
53312012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5332
090bd7cb 5333 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5334 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5335 (ispell-dictionary-base-alist): Revert to original XEmacs
5336 friendly version for default. [:alpha:] will be added in
090bd7cb 5337 `ispell-set-spellchecker-params' if needed.
177eca34 5338
c505aaeb
CY
53392012-04-16 Chong Yidong <cyd@gnu.org>
5340
b19dd9d1 5341 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5342 (imagemagick-register-types): Use it.
5343 (imagemagick-types-inhibit): Add :set function. Allow new value
5344 of t to inhibit all types.
5345
5346 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5347 so we can preload it.
5348
5349 * loadup.el (fboundp): Preload regexp-opt, needed by
5350 imagemagick-register-types.
5351
60efac0f
CY
53522012-04-15 Chong Yidong <cyd@gnu.org>
5353
5354 * frame.el (scrolling): Remove nearly unused customization group.
5355
5356 * scroll-all.el (scroll-all-mode): Move to windows group.
5357
5dd1713e
CY
53582012-04-15 Chong Yidong <cyd@gnu.org>
5359
5360 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5361
e6fd457e
CY
53622012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5365 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5366
e153c136
GM
53672012-04-15 Glenn Morris <rgm@gnu.org>
5368
5369 * simple.el (process-file-side-effects): Doc fix.
5370
e6fd457e 53712012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5372
5373 * international/mule-cmds.el (set-language-environment): Doc fix.
5374
3603c3b1
JB
53752012-04-14 Juanma Barranquero <lekktu@gmail.com>
5376
5377 * server.el (server-auth-key, server-generate-key): Doc fixes.
5378 (server-get-auth-key): Doc fix. Use `string-match-p'.
5379 (server-start): Reflow docstring.
5380
e6de100c
LI
53812012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5382
5383 * server.el (server-generate-key): `called-interactively-p'
5384 requires a parameter.
5385
29734c21
MN
53862012-04-14 Michal Nazarewicz <mina86@mina86.com>
5387
5388 * server.el (server-auth-key): New variable.
75f1671a 5389 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5390 (server-start): Use the new variable and functions to allow
5391 setting a permanent server key (bug#9423).
5392
d65c9521
LL
53932012-04-14 Leo Liu <sdl.web@gmail.com>
5394
5395 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5396
5ae255c7
PE
53972012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5398
5399 Spelling fixes.
5400 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5401 Emacs uses American spelling.
5402
d5e6342e
JB
54032012-04-14 Juanma Barranquero <lekktu@gmail.com>
5404
5405 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5406 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5407 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5408 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5409
ab036cd7
SM
54102012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5411
5412 * progmodes/which-func.el (which-func-modes): Change default.
5413
35dc09a1 54142012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5415
5416 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5417 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5418
35dc09a1 54192012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5420
5421 * custom.el (custom-theme-set-variables): Doc fix.
5422
35dc09a1 54232012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5424
5425 * international/mule.el (set-auto-coding-for-load): Doc fix.
5426
35dc09a1 54272012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5428
35dc09a1
GM
5429 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5430 imenu work again for Objective C Mode. Correct the *-index values,
5431 these having been disturbed by a previous change in 2011-08.
57f845ee 5432
0de3da9f
AM
5433 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5434 Correct two search limits.
5435
35dc09a1 54362012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5437
5438 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5439
35dc09a1 54402012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5441
5442 * international/characters.el: Fix sorting.
5443
35dc09a1 54442012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5445
5446 * international/characters.el: Add more missing Latin case pairs.
5447
35dc09a1 54482012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5449
5450 * files.el (dir-locals-set-class-variables): Doc fix.
5451
35dc09a1 54522012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5453
3f1b5bf8
EZ
5454 * international/characters.el: Add set-case-syntax-pair call for
5455 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5456 counterpart. (Bug#11209)
5457
9f847f41
EZ
5458 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5459
35dc09a1 54602012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5461
5462 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5463
35dc09a1 54642012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5465
35dc09a1
GM
5466 * textmodes/ispell.el (ispell-dictionary-base-alist):
5467 Add data for Hebrew.
e2627d21 5468
35dc09a1 54692012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5470
35dc09a1
GM
5471 * net/rcirc.el (rcirc-cmd-quit):
5472 Revert 2012-03-18 change (Bug#11192).
5c14e333 5473
35dc09a1 54742012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5475
5476 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5477
35dc09a1 54782012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5479
4517fe3a
SM
5480 * minibuffer.el (completion-in-region-mode-map):
5481 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5482
b472a594
VD
54832012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5484
5485 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5486
09b95ce3
MY
54872012-04-13 Masatake YAMATO <yamato@redhat.com>
5488
5489 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5490 to allow `C-M-f' and `C-M-b' to move to the nearest path
5491 separator (bug#9511).
5492
4b63a9ca
LI
54932012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5494
5495 * avoid.el: Require cl when compiling. And also move the
5496 `provide' to the end.
5497
7b55b8bf
TV
54982012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5499
5500 * avoid.el (mouse-avoidance-banish-position): New variable.
5501 (mouse-avoidance-banish-destination): Use it (bug#10165).
5502
adedaa1f
LL
55032012-04-13 Leo Liu <sdl.web@gmail.com>
5504
5505 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5506
70e74021
KB
55072012-04-13 Ken Brown <kbrown@cornell.edu>
5508
5509 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5510 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5511 (browse-url-filename-alist): For the same reason, don't modify
5512 file:// URLs on Cygwin.
5513
e75e89ba
SM
55142012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5515
5516 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5517 the region on shift if the binding is already shifted (bug#11221).
5518
82f289a4
GM
55192012-04-12 Glenn Morris <rgm@gnu.org>
5520
5521 * mail/mailpost.el: Move to obsolete/.
5522
d333dc4c
DA
55232012-04-12 Drew Adams <drew.adams@oracle.com>
5524
5525 * imenu.el (imenu--generic-function): Ignore invisible definitions
5526 (bug#10123).
5527
0d15b5ba
VD
55282012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5529
5530 * hexl.el (hexl-bits): New variable.
5531 (hexl-options): Mention the variable in the doc string.
75f1671a 5532 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5533 (hexl-mode): Mention the new variable.
75f1671a
JB
5534 (hexl-mode, hexl-current-address, hexl-current-address):
5535 Use the displen.
0d15b5ba
VD
5536 (hexl-ascii-start-column): New function.
5537 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5538 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5539
64a440db
AM
55402012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5541
5542 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5543 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5544 the encoding, as expected by hunspell.
5545
6decb6c2
SM
55462012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5547
5548 * battery.el (battery--linux-sysfs-regexp): New const.
5549 (battery-status-function): Use it. Remove yeeloong special case.
5550 (battery-yeeloong-sysfs): Remove.
5551 (battery-echo-area-format): Remove yeeloong special case.
5552
088be6fb
SM
55532012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5554
6622e416
SM
5555 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5556 Reported by Noah Friedman.
5557
088be6fb
SM
5558 * subr.el (read-passwd): Use read-string.
5559
b49f886e
LMI
55602012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5561
5562 * vcursor.el (vcursor-move): Increase the priority of the overlay
5563 (bug#9663).
5564
a63067fc
DD
55652012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5566
5567 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5568 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5569
ac3cf14a
WS
55702012-04-11 William Stevenson <yhvh2000@gmail.com>
5571
5572 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5573 define-minor-mode (bug#10760).
5574
c4fc691b 55752012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5576
4d6769e1 5577 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5578 that directories matching `grep-find-ignored-files' won't be
5579 pruned (bug#10351).
5580
af23e2e5
CY
55812012-04-11 Chong Yidong <cyd@gnu.org>
5582
5583 * startup.el (command-line): Remove support for long-obsolete
5584 variable font-lock-face-attributes.
5585
ab7ce8c1
GM
55862012-04-11 Glenn Morris <rgm@gnu.org>
5587
5588 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5589
de8c03dc
SM
55902012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5591
5592 * window.el (window--state-get-1): Obey window-point-insertion-type.
5593
050cc68b
LB
55942012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5595
5596 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5597 to previous function when point is on the first character of a
75f1671a 5598 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5599
a38c310c
GM
56002012-04-11 Glenn Morris <rgm@gnu.org>
5601
effed0c2
GM
5602 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5603 not just file-errors.
5604
a38c310c
GM
5605 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5606 (vc-bzr-sha1): Use internal sha1.
5607
0221e323
SM
56082012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5609
5610 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5611
43956923
SG
56122012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5613
5614 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5615 that start in the middle of the line (bug#10496).
5616
6a8c9eaf
DN
56172012-04-10 Dan Nicolaescu <dann@gnu.org>
5618
5619 * battery.el (battery-linux-proc-acpi): Only one battery is
5620 discharged at a time, but that seems to confuse battery.el when
5621 computing `rate-type' for the battery not being discharged
5622 (bug#10332).
5623
1930bf5d
SM
56242012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5625
2a718f6f
SM
5626 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5627
599430d0
SM
5628 * international/quail.el: Use dolist and simplify.
5629 (quail-define-package, quail-update-keyboard-layout)
5630 (quail-define-rules): Use dolist.
5631 (quail-insert-kbd-layout, quail-get-translation): CSE.
5632
a2754b6c
SM
5633 * tmm.el: Use dolist, remove left over hook.
5634 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5635 Use dolist.
5636 (calendar-load-hook): Don't mess with it.
5637
1930bf5d
SM
5638 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5639 Use derived-mode-p. Run the diff asynchronously.
5640
9f67961c
LMI
56412012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5642
5643 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5644
2a8ce227
JB
56452012-04-10 Juanma Barranquero <lekktu@gmail.com>
5646
5647 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5648 (list-dynamic-libraries--loaded): New function.
5649 (list-dynamic-libraries--refresh): Use it.
5650
8f33b5f8
NW
56512012-04-10 Nathan Weizenbaum <nweiz@google.com>
5652
1930bf5d
SM
5653 * progmodes/python.el (python-fill-paragraph):
5654 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5655 disabled (bug#7018).
5656
b12f0439
L
56572012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5658
1930bf5d 5659 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5660 DOS/MS Windows for the Baltic languages. There are still plenty
5661 of texts written in this encoding/codepage (bug#6519).
b12f0439 5662
57c3bd01
GM
56632012-04-10 Glenn Morris <rgm@gnu.org>
5664
5665 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5666 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5667
6c3eab30
FA
56682012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5669
1930bf5d 5670 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5671 next-line "n" and previous-line "p" in order to make recentf more
5672 consistent with ibuffer, dired or org-mode (bug#9387).
5673
24d78a88
LMI
56742012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5675
bc72b5d9
LMI
5676 * image.el (put-image): Return the overlay created instead of the
5677 optional input string (bug#7834). Note that this may break code
5678 that is (for some reason or other) depending on `put-image'
5679 returning the string.
5680
bd2dba5a
LMI
5681 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5682
74beb59f
LMI
5683 * simple.el (zap-to-char): Allow zapping using input methods
5684 (bug#1580).
5685
24d78a88
LMI
5686 * textmodes/fill.el (fill-region): Leave point and mark where they
5687 were before filling (bug#5399).
5688
263f20cd
GM
56892012-04-09 Glenn Morris <rgm@gnu.org>
5690
5691 * version.el (emacs-bzr-get-version):
5692 Handle lightweight checkouts of local branches.
5693
58d1f797
AS
56942012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5695
263f20cd 5696 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5697
b4d3bc10
CY
56982012-04-09 Chong Yidong <cyd@gnu.org>
5699
5700 * custom.el (custom-variable-p): Return nil for non-symbol
5701 arguments instead of signaling an error.
5702 (user-variable-p): Obsolete alias for custom-variable-p.
5703
5704 * apropos.el (apropos-variable):
5705 * files-x.el (read-file-local-variable):
5706 * simple.el (set-variable):
5707 * woman.el (woman-mini-help):
5708 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5709
fd06db5d
GM
57102012-04-09 Glenn Morris <rgm@gnu.org>
5711
e5fcdb5e
GM
5712 * startup.el (normal-top-level): Don't look for leim-list.el
5713 in places where it will not be found. (Bug#910)
5714
fd06db5d
GM
5715 * international/mule-cmds.el (set-default-coding-systems):
5716 * files.el (normal-mode):
5717 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5718 This function was removed with ucs-tables.el in 2008.
5719
b39bb7e1
EZ
57202012-04-08 Eli Zaretskii <eliz@gnu.org>
5721
5722 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5723 ispell-encoding8-command to "-i", without a trailing space.
5724 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5725 separate command-line arguments, to specify the encoding, since
5726 that's how hunspell expects it.
5727
5c5b8e23
GM
57282012-04-08 Glenn Morris <rgm@gnu.org>
5729
5730 * loadup.el: Load bindings before cus-start.
5731 This reduces somewhat the number of "rogue" settings in emacs -Q.
5732
a1ed8b05
GM
57332012-04-07 Glenn Morris <rgm@gnu.org>
5734
5735 * version.el (emacs-bzr-get-version): New function.
dfae128a 5736 (emacs-bzr-version): New variable.
a1ed8b05
GM
5737 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5738 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5739
b142f158
EZ
57402012-04-07 Eli Zaretskii <eliz@gnu.org>
5741
dfae128a
GM
5742 * international/uni-bidi.el, international/uni-category.el:
5743 * international/uni-combining.el, international/uni-decimal.el:
5744 * international/uni-decomposition.el, international/uni-digit.el:
5745 * international/uni-lowercase.el, international/uni-mirrored.el:
5746 * international/uni-name.el, international/uni-numeric.el:
5747 * international/uni-titlecase.el, international/uni-uppercase.el:
5748 Update for Unicode 6.1.
b142f158 5749
9078ead6
EZ
57502012-04-07 Eli Zaretskii <eliz@gnu.org>
5751
5752 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5753
f23d2c7d
LMI
57542012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5755
5756 * window.el (shrink-window): Mention the `window-min-height'
5757 variable in the doc string.
5758
0a0a3573
BG
57592012-04-05 Bastien Guerry <bzg@altern.org>
5760
5761 * color.el (color-lighten-name): Fix typo.
5762
e5248ac9
SM
57632012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5764
5765 * server.el (server--on-display-p): New function.
5766 (server--on-display-p): Use it.
5767
b4243e22
GV
57682012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5769
5770 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5771 (bug#11145).
5772
305d9f44
SM
57732012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5774
5775 * comint.el (comint--common-quoted-suffix): Check string boundary
5776 before comparing (bug#11158).
5777 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5778
3d439cd1
CY
57792012-04-04 Chong Yidong <cyd@gnu.org>
5780
321cc491
CY
5781 * minibuffer.el (completion-extra-properties): Doc fix.
5782
3d439cd1
CY
5783 * subr.el (delayed-warnings-hook): Doc fix.
5784
2d562c0f
DU
57852012-04-04 Daiki Ueno <ueno@unixuser.org>
5786
5787 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5788 selection (Bug#11159).
5789 (epa-insert-keys): Inform that the default public key will be
5790 exported if no key is selected.
5791
4443f204
RS
57922012-04-04 Richard Stallman <rms@gnu.org>
5793
5794 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5795
529c06b6
CY
57962012-04-03 Chong Yidong <cyd@gnu.org>
5797
5798 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5799 mail-insert-file, not its obsolete alias mail-attach-file.
5800
66b907dc
MA
58012012-04-03 Michael Albinus <michael.albinus@gmx.de>
5802
5803 * notifications.el (notifications-notify): Fix docstring.
5804
c0ea195d
GM
58052012-04-02 Glenn Morris <rgm@gnu.org>
5806
5807 * emacs-lisp/authors.el (authors-aliases): Another addition.
5808
5ca64e00
MA
58092012-04-02 Michael Albinus <michael.albinus@gmx.de>
5810
5811 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5812 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5813 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5814
42ee526b
CY
58152012-04-01 Chong Yidong <cyd@gnu.org>
5816
5817 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5818 Handle root directory properly.
5819 (copy-directory): Caller changed.
5820
5821 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5822 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5823
0b021094
GM
58242012-03-31 Glenn Morris <rgm@gnu.org>
5825
40f86458
GM
5826 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5827
7019c177
GM
5828 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5829
a1daddd6
GM
5830 * calendar/calendar.el (calendar-window-list)
5831 (calendar-hide-window): Restore. (Bug#11140)
5832 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5833
0b021094
GM
5834 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5835
40311efc
TV
58362012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5837
5838 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5839 Check if file is a symlink (Bug#10489).
5840
5841 * files.el (copy-directory): Likewise.
5842
5319014e
CY
58432012-03-30 Chong Yidong <cyd@gnu.org>
5844
5845 * image.el (imagemagick-types-inhibit)
5846 (imagemagick-register-types): Doc fix.
5847
935d1290
AM
58482012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5849
090bd7cb 5850 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5851 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5852 and treats ~word as ordinary words in pipe mode.
935d1290 5853
61c6e8fd
GM
58542012-03-30 Glenn Morris <rgm@gnu.org>
5855
5856 * tutorial.el (help-with-tutorial): Ensure local variables don't
5857 happen to make the buffer read-only. (Bug#11127)
5858
81fdff00
SM
58592012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5860
5861 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5862 (perl-calculate-indent): Return `noindent' in strings.
5863
6e7a6ec0
SS
58642012-03-28 Sam Steingold <sds@gnu.org>
5865
5866 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5867 instead of the broken adhockery which does not prevent calendar
5868 buffers from being displayed at random after exit.
5869 (calendar-window-list, calendar-hide-window): Remove the broken
5870 adhockery.
5871
fee88ca0
GM
58722012-03-28 Glenn Morris <rgm@gnu.org>
5873
5874 * replace.el (query-replace-map): Doc fix.
5875
38de3354
AS
58762012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5877
5878 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5879 contents. (Bug#11109)
5880
b973155e
SM
58812012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5882
5883 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5884 (bug#11077).
5885 (avl-tree--check, avl-tree--check-node): New funs.
5886
dcb6e7b3
MR
58872012-03-27 Martin Rudalics <rudalics@gmx.at>
5888
5889 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5890 (switch-to-prev-buffer, switch-to-next-buffer):
5891 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5892 showing a buffer already is done on the same frame.
5893
b4fa35fa
GM
58942012-03-27 Glenn Morris <rgm@gnu.org>
5895
5896 * startup.el (mail-host-address): Doc fix.
5897
f9210e18
SM
58982012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5899
5900 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5901 than 197 variables.
5902
c0bf7753
AF
59032012-03-26 Ami Fischman <ami@fischman.org>
5904
5905 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5906
33da7b16
GM
59072012-03-26 Glenn Morris <rgm@gnu.org>
5908
02243d9d
GM
5909 * files.el (save-buffers-kill-emacs): Doc fix.
5910
33da7b16
GM
5911 * startup.el (normal-top-level, command-line, command-line-1):
5912 Give them doc strings.
5913
e5a69fd0
EZ
59142012-03-25 Eli Zaretskii <eliz@gnu.org>
5915
5916 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5917 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5918
9a69676a
CY
59192012-03-25 Chong Yidong <cyd@gnu.org>
5920
4125cb8b
CY
5921 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5922 theme if it was previously enabled before (Bug#11031).
5923
dd470960
CY
5924 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5925 spec with custom-face-get-current-spec if its :shown-value is not
5926 determined yet (Bug#9337).
4125cb8b 5927 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5928
9a69676a
CY
5929 * button.el (button-at): Minor addition to docstring.
5930
6e7e90fa
SL
59312012-03-24 Simon Leinen <simon.leinen@gmail.com>
5932
5933 * vc/vc.el (vc-merge): Fix a prompt.
5934
f06e2758
CY
59352012-03-24 Chong Yidong <cyd@gnu.org>
5936
5937 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5938 point (Bug#9623).
5939
6e7e90fa
SL
5940 * button.el (button-at): Minor addition to docstring.
5941
b9d0879b
SM
59422012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 * newcomment.el (comment-choose-indent): No space after BOL.
5945
e71cebb3
SS
59462012-03-22 Sam Steingold <sds@gnu.org>
5947
5948 * window.el (switch-to-prev-buffer): Revert last patch because the
5949 bug turned out to be an advertised feature (Elisp manual 28.14).
5950
335aff35
GM
59512012-03-22 Glenn Morris <rgm@gnu.org>
5952
5953 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5954 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5955
c676576a
LMI
59562012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5957
5958 * net/network-stream.el (network-stream-open-starttls): Make error
5959 message under Windows be less misleading.
5960
126f3d39
LW
59612012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5962
5963 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5964 understands (bug#9942).
5965
64fee311
CY
59662012-03-22 Chong Yidong <cyd@gnu.org>
5967
5968 * simple.el (end-of-visible-line): Handle return value of
5969 next-single-property-change properly (Bug#9371).
5970
a640d29a
KH
59712012-03-22 Kenichi Handa <handa@m17n.org>
5972
5973 * international/quail.el (quail-insert-kbd-layout): Fix previous
5974 change. To avoid unwanted bidi reordering, use
5975 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5976
39675016
DG
59772012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5978
5979 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5980 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5981 (ruby-beginning-of-indent): Be more careful with the difference
5982 between word-boundary and symbol boundary.
5983 (ruby-mode-syntax-table): Make : a symbol constituent.
5984
0a6934fc 59852012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5986
3d008e4f
SM
5987 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5988
0a6934fc
SM
59892012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5990
af67c9d7
SM
5991 * progmodes/etags.el (tags-completion-at-point-function):
5992 Improve last fix.
5993
1acad97c
SM
5994 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5995
e298b5da
SS
59962012-03-21 Sam Steingold <sds@gnu.org>
5997
5998 * progmodes/etags.el (tags-completion-at-point-function):
5999 Avoid the error when point is inside the pattern.
6000
91d82a70
JY
60012012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6002
6003 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6004 line (Bug#10855).
6005
69188b79
CY
60062012-03-21 Drew Adams <drew.adams@oracle.com>
6007
6008 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6009
99fc91fe
AK
60102012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6011
6012 * ido.el (ido-set-current-directory, ido-read-internal)
6013 (ido-choose-completion-string, ido-completion-help): Handle nil
6014 value of ido-completion-buffer (Bug#11008).
6015
087bbb4c
SS
60162012-03-21 Sam Steingold <sds@gnu.org>
6017
6018 * window.el (switch-to-prev-buffer): Do not switch to a visible
6019 window previous buffer, just like with the frame previous buffers.
6020
fb5b8aca
CY
60212012-03-21 Chong Yidong <cyd@gnu.org>
6022
6023 * faces.el (make-face, make-empty-face, copy-face):
6024 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6025 Doc fixes.
6026
dc9924b8
SM
60272012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6028
6029 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6030 (widget-complete): Remove broken use of it.
6031
f0bcceb9
CY
60322012-03-20 Chong Yidong <cyd@gnu.org>
6033
dc9924b8
SM
6034 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6035 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
6036 characters.
6037
ee52ebf3
TH
60382012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6039
6040 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6041 to draw rectangles, not squares. (Regression introduced by revno
6042 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6043
4c5779ab
CY
60442012-03-18 Chong Yidong <cyd@gnu.org>
6045
6046 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6047 it is not yet defined (for temacs).
6048
15360934
LL
60492012-03-18 Leo Liu <sdl.web@gmail.com>
6050
dc9924b8 6051 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 6052
d9a8eb66
EZ
60532012-03-17 Eli Zaretskii <eliz@gnu.org>
6054
6055 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6056 (ispell-choices-win-default-height, ispell-silently-savep)
6057 (ispell-dictionary-alist, ispell-encoding8-command)
6058 (ispell-check-version, ispell-aspell-find-dictionary)
6059 (ispell-valid-dictionary-list, ispell-words-keyword)
6060 (ispell-get-word, ispell-internal-change-dictionary)
6061 (ispell-region, ispell-skip-region-list)
6062 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6063 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6064 (ispell-message-text-end, ispell-message)
6065 (ispell-buffer-local-parsing): Doc fix.
6066
f02ff80d
J
60672012-03-13 Jambunathan K <kjambunathan@gmail.com>
6068
6069 * htmlfontify.el: Add support for code block fontification for ODT
6070 export (Bug #9914).
6071 (hfy-optimisations): Define new option
6072 `body-text-only'
6073 (hfy-fontify-buffer): Honor above setting.
6074 (hfy-begin-span, hfy-end-span): New routines factored out form
6075 `hfy-fontify-buffer'.
6076 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6077 that permit insertion of custom tags.
6078 (hfy-fontify-buffer): Use above handlers.
6079 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6080 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 6081 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 6082 over multiple runs. This is made possible by having the caller let
f02ff80d
J
6083 bind a special variable `hfy-user-sheet-assoc'.
6084 (htmlfontify-string): New defun.
6085 (hfy-compile-face-map): Make sure that the last char in the
6086 buffer is correctly fontified.
6087 (hfy-face-resolve-face): Whitespace only change.
6088
9ac7a13f
EZ
60892012-03-17 Eli Zaretskii <eliz@gnu.org>
6090
6091 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6092 message more clear.
6093
e2b5bdd7
LL
60942012-03-16 Leo Liu <sdl.web@gmail.com>
6095
6096 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6097
2e492df3
AM
60982012-03-16 Alan Mackenzie <acm@muc.de>
6099
6100 Further optimise the handling of large macros.
6101
6102 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6103 limit to a call of `c-literal-limits'.
6104 (c-determine-+ve-limit): New function.
dc9924b8
SM
6105 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6106 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
6107 In CASE 5B, restrict a search limit to 500.
6108 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6109
6110 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6111 Restrict macro bounds to +-500 from after-change's BEG END.
6112
50e94f0c
LL
61132012-03-16 Leo Liu <sdl.web@gmail.com>
6114
6115 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6116
6f09f6ed
AH
61172012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6118
6119 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 6120 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 6121
c7e73d51
GM
61222012-03-16 Glenn Morris <rgm@gnu.org>
6123
da986230
GM
6124 * view.el (view-buffer, view-buffer-other-window)
6125 (view-buffer-other-frame): Doc fixes re special mode-class.
6126
0835f01e
GM
6127 * subr.el (eval-after-load): If named feature is provided not from
6128 a file, run after-load forms. (Bug#10946)
6129
c7e73d51
GM
6130 * calendar/calendar.el (calendar-insert-at-column):
6131 Handle non-unit-width characters a bit better. (Bug#10978)
6132
3f2eafd1
CY
61332012-03-15 Chong Yidong <cyd@gnu.org>
6134
6135 * emacs-lisp/ring.el (ring-extend): New function.
6136 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6137
6138 * comint.el (comint-read-input-ring)
6139 (comint-add-to-input-history): Grow comint-input-ring lazily.
6140
103af3fe
SM
61412012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6142
663b1677
SM
6143 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6144 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6145
103af3fe
SM
6146 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6147 (imenu-add-to-menubar): Don't add a redundant index.
6148 (imenu-update-menubar): Handle a dynamically composed keymap.
6149
899cb7cb
KY
61502012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6151
6152 * mail/sendmail.el (mail-encode-header):
6153 Bind rfc2047-encode-encoded-words to nil.
6154
3809f91d
GM
61552012-03-13 Glenn Morris <rgm@gnu.org>
6156
6157 * calendar/calendar.el (calendar-string-spread):
6158 Handle non-unit-width characters a bit better. (Bug#10978)
6159
9e345a01
LL
61602012-03-13 Leo Liu <sdl.web@gmail.com>
6161
6162 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6163 directory and file as argument (Bug#10822).
6164
4a07df36
KS
61652012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6166
6167 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6168 For dynamically generated code, follow $PC.
6169 (gdb-disassembly-handler-custom): Handle no function name case.
6170
4aaa9356
TL
61712012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6172
6173 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6174 * emulation/ws-mode.el (ws-query-replace):
6175 * sort.el (sort-regexp-fields):
6176 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6177
225979da
SM
61782012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * dabbrev.el: Fix cycle completion order (bug#10963).
6181 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6182 (dabbrev-completion): Don't use an obarray; provide
6183 a cycle-sort-function.
6184
e2f1fdab
LL
61852012-03-12 Leo Liu <sdl.web@gmail.com>
6186
dc9924b8 6187 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6188 (kill-do-not-save-duplicates): Doc fix.
6189
b19490ed
SM
61902012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6191
6192 * dabbrev.el: Fix cycle completion (bug#10963).
6193 Use lexical binding and wrap to 80 columns.
6194 (dabbrev-completion): Delay computing the list of completions.
6195
4b05d722
KH
61962012-03-12 Kenichi Handa <handa@m17n.org>
6197
6198 * international/quail.el (quail-insert-kbd-layout): Surround each
6199 row by LRO and PDF instead of inserting many LRMs. Pad the left
6200 and right of each non-spacing marks. Insert invisible space
6201 between lower and upper characters to prevent composition.
6202
dbbc2e69
SM
62032012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6204
6205 * minibuffer.el (minibuffer-complete): Don't get confused when the
6206 function is run twice via different commands (bug#10958).
6207 (complete-with-action): Fix docstring.
6208
292112ed
CY
62092012-03-12 Chong Yidong <cyd@gnu.org>
6210
5d1ac394
CY
6211 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6212 (nxml-completion-at-point-function): New function.
6213 (nxml-mode): Use it.
6214 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6215
292112ed
CY
6216 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6217 Load generated autoloads file before byte compiling (Bug#10970).
6218 (package--make-autoloads-and-compile): New helper fun.
6219
4098f8f7
CS
62202012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6221
6222 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6223
8f754691
MA
62242012-03-11 Michael Albinus <michael.albinus@gmx.de>
6225
6226 * autorevert.el (auto-revert-handler): Ensure, that
6227 file-readable-p is applied only for local files or in
6228 auto-revert-tail-mode.
6229
e29ab36b
AS
62302012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6231
dbbc2e69
SM
6232 * server.el (server-eval-at): Handle non-tcp connections.
6233 Decode result string.
ad0bf5b6 6234
e29ab36b
AS
6235 * server.el (server-msg-size): New constant.
6236 (server-reply-print): New function.
6237 (server-eval-and-print): Use it.
6238 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6239 Handle -print-nonl.
6240
de5939ba
CS
62412012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6242
6243 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6244 (Bug#10987).
6245
0c93eabf
CY
62462012-03-11 Chong Yidong <cyd@gnu.org>
6247
397a688f
CY
6248 * simple.el (goto-line): Doc fix (Bug#9938).
6249
2cc775f9
CY
6250 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6251
0c93eabf
CY
6252 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6253 when finished (Bug#10963).
6254
c491fa41
MR
62552012-03-11 Martin Rudalics <rudalics@gmx.at>
6256
6257 * window.el (split-window-below): Fix bug in case where
6258 split-window-keep-point is nil (Bug#10971).
6259
300e8fa5
JL
62602012-03-11 Juri Linkov <juri@jurta.org>
6261
6262 * replace.el (replace-highlight): Set isearch-word to nil
6263 unconditionally. (Bug#10887)
6264
dbf6c5a1
EZ
62652012-03-10 Eli Zaretskii <eliz@gnu.org>
6266
6267 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6268 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6269 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6270 (mairix-widget-create-query): Add usage information about mairix
6271 search forms: negating words, searching for substrings, etc.
6272
b9e501de
JP
62732012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6274
6275 * international/fontset.el (font-encoding-alist): Add an entry for
6276 ksx1001 (Bug#5667).
6277
92795c91
RS
62782012-03-10 Richard Stallman <rms@gnu.org>
6279
1694e6c1
RS
6280 * mail/sendmail.el (mail-encode-header):
6281 Set rfc2047-encode-encoded-words.
6282
607e8555
RS
6283 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6284
de3bc99a
RS
6285 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6286 view buffer means not swapped.
6287 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6288 (rmail-write-region-annotate): Error if real text has disappeared.
6289
92795c91
RS
6290 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6291
699bd04e
CY
62922012-03-10 Chong Yidong <cyd@gnu.org>
6293
6294 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6295 * emulation/cua-base.el (cua--init-keymaps):
6296 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6297
570a1714
MR
62982012-03-10 Martin Rudalics <rudalics@gmx.at>
6299
dbbc2e69
SM
6300 * speedbar.el (speedbar-unhighlight-one-tag-line):
6301 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6302
82dcf4e4
CY
63032012-03-10 Chong Yidong <cyd@gnu.org>
6304
7a2c7ca7
CY
6305 * minibuffer.el (completion-in-region, completion-help-at-point):
6306 Give the completion field overlay a high priority (Bug#6830).
6307
82dcf4e4
CY
6308 * dired.el (dired-goto-file): Recognize absolute file name
6309 listings (Bug#7126).
6310 (dired-goto-file-1): New helper function.
6311 (dired-toggle-read-only): Inhibit warnings.
6312
052e28ac
MA
63132012-03-09 Michael Albinus <michael.albinus@gmx.de>
6314
75f1671a 6315 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6316 there are no properties.
6317
95d5e396
LL
63182012-03-09 Leo Liu <sdl.web@gmail.com>
6319
6320 * savehist.el (savehist-printable): Stricter check for string
6321 value (Bug#10937).
6322
3f018d6d
EZ
63232012-03-09 Eli Zaretskii <eliz@gnu.org>
6324
dbbc2e69
SM
6325 * mail/smtpmail.el (smtpmail-send-it):
6326 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6327 valid mbox format.
6328
f7fd3d79
GM
63292012-03-09 Glenn Morris <rgm@gnu.org>
6330
6331 * files.el (dir-locals-find-file):
6332 Don't check result is regular, readable.
6333 (dir-locals-read-from-file): Demote errors.
6334
6ff6e72f
EZ
63352012-03-08 Eli Zaretskii <eliz@gnu.org>
6336
dbbc2e69
SM
6337 * international/quail.el (quail-insert-kbd-layout):
6338 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6339 layout cell, to prevent their reordering by bidi display engine.
6340 For details, see the discussion in
6341 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6342
9cec7834
AM
63432012-03-08 Alan Mackenzie <acm@muc.de>
6344
6345 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6346 the starting position; make it extend the marked region when
6347 invoked repeatedly - all under appropriate circumstances.
6348 Fixes bugs #5525, #10906.
6349
9a40b8d4
GM
63502012-03-08 Glenn Morris <rgm@gnu.org>
6351
6352 * files.el (locate-dominating-file, dir-locals-find-file):
6353 Undo 2012-03-06 change.
6354
7a08ed35
EZ
63552012-03-07 Eli Zaretskii <eliz@gnu.org>
6356
dbbc2e69
SM
6357 * international/quail.el (quail-help):
6358 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6359 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6360 for the reason.
6361
5aca4f71 63622012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6363
6364 Avoid superfluous registering of signals. (Bug#10807)
6365
6366 * notifications.el (notifications-on-action-object)
6367 (notifications-on-close-object): New defvars.
6368 (notifications-on-action-signal, notifications-on-closed-signal):
6369 Unregister the signal if not needed any longer.
6370 (notifications-notify): Register `notifications-action-signal' or
6371 `notifications-closed-signal', if :on-action or :on-close has been
6372 passed as argument.
6373
78e8b10a
CY
63742012-03-07 Chong Yidong <cyd@gnu.org>
6375
6376 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6377 non-X platforms.
6378
69481eb8
GM
63792012-03-06 Glenn Morris <rgm@gnu.org>
6380
6381 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6382 (x-disown-selection-internal, x-get-selection-internal):
6383 Doc fix (add arglist signatures). (Bug#10783)
6384
133b8e11
KS
63852012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6386
6387 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6388 Handle breakpoints with no "type".
6389
99a83064
GM
63902012-03-06 Glenn Morris <rgm@gnu.org>
6391
6392 * files.el (locate-dominating-file): Add optional predicate argument.
6393 (dir-locals-find-file): Make use of above change.
6394
17798e78
TTN
63952012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6396
6397 * info.el (Info-insert-dir): Also try "dir.gz".
6398
eb182446
GM
63992012-03-06 Glenn Morris <rgm@gnu.org>
6400
8f2114ee
GM
6401 * files.el (dir-locals-find-file):
6402 Ignore non-readable or non-regular files. (Bug#10928)
6403
eb182446
GM
6404 * files.el (locate-dominating-file): Doc fix.
6405
24679323
AS
64062012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6407
6408 * calendar/calendar.el (calendar-set-mode-line):
6409 `getenv' returns a string. (Bug#10951)
6410
01d972a9
LL
64112012-03-05 Leo Liu <sdl.web@gmail.com>
6412
109aa8a9
LL
6413 * simple.el (backward-delete-char-untabify): Constrain point to
6414 field (Bug#10939).
6415
01d972a9
LL
6416 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6417
10607bea
CY
64182012-03-05 Chong Yidong <cyd@gnu.org>
6419
6420 * simple.el (count-words): If called from Lisp, return the word
6421 count, for symmetry with `count-lines'. Arglist changed.
6422 (count-words--message): Args changed. Consolidate counting code
6423 from count-words and count-words-region.
6424 (count-words-region): Caller changed.
6425 (count-lines-region): Make it an obsolete alias.
6426
5dd11cfe
TH
64272012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6428
6429 * saveplace.el (save-place-to-alist)
6430 (save-place-ignore-files-regexp): Allow value nil to disable this
6431 feature.
6432
c349f4e6
CY
64332012-03-04 Chong Yidong <cyd@gnu.org>
6434
6435 * faces.el (face-spec-reset-face): For the default face, reset the
6436 attributes to default values (Bug#10748).
6437
e627be4c
LMI
64382012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6439
6440 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6441 previous patch: Check `message-send-mail-function', and not the
6442 default function (bug#10897).
6443
ebeabff4
MA
64442012-03-04 Michael Albinus <michael.albinus@gmx.de>
6445
a41a6cf4
MA
6446 * notifications.el (notifications-on-action-signal)
6447 (notifications-on-closed-signal): Check for unique service name of
6448 incoming event. Fix error in removing entry.
ebeabff4 6449 (top): Register for signals with wildcard service name.
a41a6cf4 6450 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6451
c1ca42b4
CY
64522012-03-04 Chong Yidong <cyd@gnu.org>
6453
dc9924b8 6454 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6455
ea16568d
GM
64562012-03-04 Glenn Morris <rgm@gnu.org>
6457
6458 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6459 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6460 (expand-abbrev, define-abbrev-table): Doc fixes.
6461
fbae4637
LMI
64622012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6463
6464 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6465 `message-default-send-mail-function' and not `send-mail-function'
6466 when doing the prompting for `sendmail-query-once' before sending
6467 in Message buffers (bug#10897).
6468
a1e7225c
LMI
6469 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6470 This is inconsistent with all the other stream functions, which leave
6471 the setting up to the higher levels (if so wanted) (bug#10931).
6472
56d093a9
AM
64732012-03-02 Alan Mackenzie <acm@muc.de>
6474
6475 Depessimize the handling of very large macros.
6476
6477 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6478 (c-macro-cache-syntactic): New variables to implement a one
6479 element macro cache.
6480 (c-invalidate-macro-cache): New function.
6481 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6482 Adapt to use the new cache.
6483 (c-state-safe-place): Use better the cache of safe positions.
6484 (c-state-semi-nonlit-pos-cache)
6485 (c-state-semi-nonlit-pos-cache-limit):
6486 New variables for...
6487 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6488 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6489 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6490 Use c-state-semi-safe-place.
56d093a9 6491
dbbc2e69
SM
6492 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6493 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6494
817e5c3d
MA
64952012-03-02 Michael Albinus <michael.albinus@gmx.de>
6496
dbbc2e69
SM
6497 * jka-compr.el (jka-compr-call-process):
6498 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6499 not remote.
6500
a032a702
MA
65012012-03-01 Michael Albinus <michael.albinus@gmx.de>
6502
6503 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6504 access of FILE2, if FILE1 does not exist.
6505
99a54f21
MA
6506 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6507 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6508
6509 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6510 Add "PAGER=" to `process-environment'.
6511
f6561e1f
MM
65122012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6513
6514 * progmodes/sql.el: Bug fix
6515 (sql-get-login-ext): Save login values in globals.
6516 (sql-get-login): Use new version of `sql-get-login-ext'.
6517 (sql-interactive-mode): Set global `sql-connection' to nil.
6518 (sql-connect): Set global values for connection.
6519 (sql-product-interactive): Save global values as buffer local.
6520
2d44d9cc
LL
65212012-02-29 Leo Liu <sdl.web@gmail.com>
6522
6523 * abbrev.el (define-abbrevs): Reset sys to nil.
6524
96b49301 65252012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6526
bf7f9bc5
JB
6527 * files.el (file-equal-p): Rename from `files-equal-p'.
6528 Return nil when one or both files don't exist.
96b49301 6529 (file-subdir-of-p): Now only top directory must exists,
6530 return nil if it doesn't.
bf7f9bc5
JB
6531 (copy-directory): No need to test with `file-subdir-of-p' after
6532 creating dir.
6533 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6534 to `file-equal-p'.
96b49301 6535
44e97401
GM
65362012-02-28 Glenn Morris <rgm@gnu.org>
6537
6538 * shell.el (shell-mode):
6539 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6540 * play/landmark.el (landmark-font-lock-face-O):
6541 * play/handwrite.el (handwrite):
6542 * play/gomoku.el (gomoku-O):
6543 * net/browse-url.el (browse-url-browser-display):
6544 * international/mule.el (define-charset):
6545 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6546 * filesets.el (filesets-find-file-delay):
6547 * eshell/em-xtra.el (eshell-xtra):
6548 * eshell/em-unix.el (eshell-grep):
6549 * emulation/viper.el (viper-mode):
6550 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6551 * emacs-lisp/easymenu.el (easy-menu-define):
6552 * calendar/timeclock.el (timeclock-use-display-time):
6553 * bs.el (bs-mode):
6554 * bookmark.el (bookmark-save-flag):
6555 Doc fix (standardize possessive apostrophe usage).
6556
c98c6276
CY
65572012-02-27 Chong Yidong <cyd@gnu.org>
6558
bf7f9bc5
JB
6559 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6560 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6561
c98c6276
CY
6562 * font-lock.el (font-lock-specified-p): Rename from
6563 font-lock-spec-present. Callers changed.
6564
9c62cd04 65652012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6566
bf7f9bc5
JB
6567 * emacs-lisp/package.el (package-compute-transaction):
6568 Handle holding a package version to t in package-load-list.
8ac9e529 6569
530739c9
MA
65702012-02-26 Michael Albinus <michael.albinus@gmx.de>
6571
6572 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6573 (tramp-get-inode, tramp-get-device): Use cached values.
6574
487915d7
AM
65752012-02-26 Alan Mackenzie <acm@muc.de>
6576
6577 Check there is a font-lock specification before doing initial
6578 fontification.
6579
6580 * font-core.el (font-lock-mode): Move the conditional from
6581 :after-hook to font-lock-initial-fontify.
6582 (font-lock-default-function): Move the check for a specification
6583 to font-lock-spec-present.
6584
dc9924b8 6585 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6586 (font-lock-spec-present): New function.
6587
4fd96557
JB
65882012-02-26 Jim Blandy <jimb@red-bean.com>
6589
6590 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6591 (gdb-send): Apply it to the operand of the '-interpreter-exec
6592 console' command, so that we can pass arguments with (say) quotes
6593 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6594
9a4888c0
CY
65952012-02-26 Chong Yidong <cyd@gnu.org>
6596
07498861
CY
6597 * help-fns.el (describe-function-1): Clarify description of
6598 remapping (Bug#10844).
6599
9a4888c0
CY
6600 * files.el (files-equal-p): Doc fix.
6601 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6602 and quit the loop once a mismatch is found.
6603
ea8fb88d
JB
66042012-02-25 Juanma Barranquero <lekktu@gmail.com>
6605
6606 * bs.el (bs--show-with-configuration): Don't throw an error
6607 if the window cannot be split; otherwise, subsequent calls to
6608 bs-show fail, restoring a stale window config. (Bug#10882)
6609
525795c1
JD
66102012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6611
6612 * term/ns-win.el (global-map): Bind ns-drag-file to
6613 ns-find-file (Bug#5855, Bug#10050).
6614
f008086f
AS
66152012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6616
6617 * calendar/parse-time.el (parse-time-string): Allow extractor to
6618 return nil.
6619
a3fcfa99
MA
66202012-02-25 Michael Albinus <michael.albinus@gmx.de>
6621
91027d08
JB
6622 * net/tramp.el (tramp-file-name-for-operation):
6623 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6624
6625 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6626 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6627 Add COPY-CONTENTS argument.
a3fcfa99 6628
67b0de11
CY
66292012-02-25 Chong Yidong <cyd@gnu.org>
6630
6631 Add custom groups for VC backends, for consistency with vc-bzr.
6632
6633 * vc/vc-arch.el (vc-arch):
6634 * vc/vc-cvs.el (vc-cvs):
6635 * vc/vc-git.el (vc-git):
6636 * vc/vc-hg.el (vc-hg):
6637 * vc/vc-mtn.el (vc-mtn):
6638 * vc/vc-rcs.el (vc-rcs):
6639 * vc/vc-sccs.el (vc-sccs):
6640 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6641 All relevant defcustoms reassigned.
6642
3c9dfce6
CY
66432012-02-25 Chong Yidong <cyd@gnu.org>
6644
1339bf43
CY
6645 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6646
3c9dfce6
CY
6647 * term/x-win.el (x-initialize-window-system): Reduce default for
6648 x-selection-timeout to 5 seconds (Bug#8869).
6649
25b2e303 66502012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6651
ec70a47d
GM
6652 * files.el (files-equal-p, file-subdir-of-p): New functions.
6653 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6654 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6655 * dired-aux.el (dired-copy-file-recursive): Same.
6656 (dired-create-files): Modify destination when source is equal to
6657 dest when copying files.
53a46cd0 6658 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6659
914260cd
MA
66602012-02-24 Michael Albinus <michael.albinus@gmx.de>
6661
6662 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6663 (Bug#10874)
6664
2cb228f7
AM
66652012-02-23 Alan Mackenzie <acm@muc.de>
6666
6667 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6668 parameter "after-hook:" to allow the expansion to run code after
6669 the execution of the mode hooks.
6670
6671 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6672 from font-lock-mode-internal.
2cb228f7 6673
91027d08 6674 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6675 :after-hook.
6676
8f0fde21
SM
66772012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6678
3e88618b
SM
6679 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6680 (completion--cache-all-sorted-completions): New function.
6681 (completion-all-sorted-completions): Use it.
6682 (completion--do-completion, minibuffer-force-complete):
6683 Use it to re-instate the flush hook.
6684
8f0fde21
SM
6685 * icomplete.el (icomplete-completions): Replace last fix with a better
6686 one (bug#10850).
6687
8e911f6f
DG
66882012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6689
6690 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6691 when it might call us back infinitely (bug#10797).
6692
49fe4321
GM
66932012-02-23 Glenn Morris <rgm@gnu.org>
6694
6695 * minibuffer.el (completion-category-overrides): Doc fix.
6696
b291b572
SM
66972012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6698
6699 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6700 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6701
31a9ef2e
GM
67022012-02-23 Glenn Morris <rgm@gnu.org>
6703
5e6e6794 6704 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6705 (authors-obsolete-files-regexps, authors-ignored-files)
6706 (authors-ambiguous-files, authors-renamed-files-alist):
6707 Add more entries.
6708
0bd1e074
JL
67092012-02-23 Juri Linkov <juri@jurta.org>
6710
6711 * isearch.el (isearch-occur): Sync interactive spec with occur's
6712 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6713
b617673c
JL
6714 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6715
19e9789e
JL
67162012-02-22 Juri Linkov <juri@jurta.org>
6717
6718 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6719 (ucs-insert): Doc fix. Check for hex digits in the string.
6720 Don't display `nil' in the error message. (Bug#10857)
6721
f41ce09d
AM
67222012-02-22 Alan Mackenzie <acm@muc.de>
6723
7a71b18d 6724 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6725
ac2eceee
GM
67262012-02-22 Glenn Morris <rgm@gnu.org>
6727
6728 * ffap.el (ffap-c-path):
6729 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6730
abd1f678
CY
67312012-02-22 Chong Yidong <cyd@gnu.org>
6732
6733 * custom.el (load-theme): Doc fix.
6734
f25aef2e
GM
67352012-02-22 Glenn Morris <rgm@gnu.org>
6736
6737 * dired-x.el (dired-guess-shell-alist-default):
6738 Remove escape sequences from nroff output. (Bug#172)
6739
5f8dc2ca
GM
67402012-02-21 Glenn Morris <rgm@gnu.org>
6741
6ff86ec4
GM
6742 * vc/emerge.el (emerge-defvar-local):
6743 Set `permanent-local' property rather than unused `preserved'.
6744
be3223a3 6745 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6746 (picture-mode-map): Use it. (Bug#10860)
6747 (picture-mode): Doc fix.
6748
3fe58f4f
JB
67492012-02-21 Juanma Barranquero <lekktu@gmail.com>
6750
6751 * newcomment.el (uncomment-region-default): Remove unused binding.
6752
f9a998c3
GM
67532012-02-21 Glenn Morris <rgm@gnu.org>
6754
6755 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6756 (picture-self-insert, picture-tab-chars): Doc fix.
6757 (picture-mode-map): Fix C-a, C-e.
6758
c6029348
GM
67592012-02-20 Glenn Morris <rgm@gnu.org>
6760
6761 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6762
ab1ce9d7
LL
67632012-02-20 Leo Liu <sdl.web@gmail.com>
6764
6765 * icomplete.el (icomplete-completions): Check FROM arg before
6766 passing to substring (Bug#10850).
6767
0fd40f89
CY
67682012-02-19 Chong Yidong <cyd@gnu.org>
6769
6770 * comint.el: Require ansi-color.
6771 (comint-output-filter-functions): Add ansi-color-process-output.
6772
6773 * ansi-color.el: Don't set comint-output-filter-functions; it is
6774 now in the initial value defined in comint.el.
6775 (ansi-color-apply-face-function): New variable.
6776 (ansi-color-apply-on-region): Use it.
6777 (ansi-color-apply-overlay-face): New function.
6778
6779 * shell.el (shell): No need to require ansi-color.
6780 (shell-mode): Use ansi-color-apply-face-function to highlight
6781 color escapes using font-lock-face property (Bug#10835).
6782
20af2394
CY
67832012-02-19 Chong Yidong <cyd@gnu.org>
6784
6785 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6786 mode-line formats (Bug#10839).
6787
e23a3fbe
GM
67882012-02-18 Glenn Morris <rgm@gnu.org>
6789
b474519e
GM
6790 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6791
6792 * mail/undigest.el (unforward-rmail-message): Doc fix.
6793
e23a3fbe
GM
6794 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6795
57939ff4
EZ
67962012-02-18 Eli Zaretskii <eliz@gnu.org>
6797
6798 * international/characters.el (script-list): Sync with the latest
6799 Unicode Character Database.
6800
0c23686e
AS
68012012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6802
6803 * international/titdic-cnv.el: Remove duplicate coding tag.
6804 * language/cham.el: Likewise.
6805 * language/tai-viet.el: Likewise.
6806
6818b449
GM
68072012-02-18 Glenn Morris <rgm@gnu.org>
6808
6809 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6810 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6811 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6812 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6813 * calendar/holidays.el (holiday-bahai-holidays)
6814 (calendar-holidays, list-holidays):
6815 Use utf-8 Bahá'í in doc-strings, menus, etc.
6816
0311a3fc
TH
68172012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6818
6819 * saveplace.el (save-place-ignore-files-regexp): New variable
6820 allowing for excluding files from saving their location of point.
6821 The default value matches the temporary commit message editing
6822 files from Git, SVN, Bazaar, and Mercurial.
6823 (save-place-to-alist): Use it.
6824
d209e2fb 68252012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6826 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6827
6828 * newcomment.el (uncomment-region-default): Don't leave extra space
6829 when an arg is provided (bug#8150).
6830
ee0ce425
TZ
68312012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6832
eb864a71 6833 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6834
95ddf442
GM
68352012-02-17 Glenn Morris <rgm@gnu.org>
6836
6837 * net/socks.el: Require network-stream. (Bug#10599)
6838
48dd1e39 68392012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6840
6841 * international/charprop.el:
6842 * international/uni-name.el:
6843 * international/uni-old-name.el:
6844 * international/uni-comment.el: Regenerate.
6845
d68cd087
GM
68462012-02-16 Glenn Morris <rgm@gnu.org>
6847
6848 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6849 Interactively in calendar buffer, give an error if not on a date.
6850
13932042
GM
68512012-02-15 Glenn Morris <rgm@gnu.org>
6852
6853 * shell.el (shell-delimiter-argument-list):
6854 Revert 2011-02-17 change. (Bug#8027)
6855
c3a70e2b
CY
68562012-02-15 Chong Yidong <cyd@gnu.org>
6857
60236b0d
CY
6858 * minibuffer.el (completion-at-point-functions): Doc fix.
6859
c3a70e2b
CY
6860 * custom.el (defcustom): Doc fix; note use of defvar.
6861
9f26dc24
GM
68622012-02-15 Glenn Morris <rgm@gnu.org>
6863
6864 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6865 Doc fixes.
6866
6546b134
GM
68672012-02-14 Glenn Morris <rgm@gnu.org>
6868
6869 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6870
d29b2b4c
LI
68712012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6872
6873 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6874 way the ports list is computed.
835bdcba
LI
6875 (smtpmail-query-smtp-server): Prompt the user for a port number if
6876 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6877
08dcdbc9
TZ
68782012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6879
6880 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6881
2605051a
GM
68822012-02-13 Glenn Morris <rgm@gnu.org>
6883
6884 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6885
7ee99f32
TZ
68862012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6887
6888 * net/gnutls.el (gnutls-trustfiles): New variable.
6889 (gnutls-negotiate): Use it.
6890
5f0af64f
LI
68912012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6892
6893 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6894 does its stuff if Gnus is running.
6895
c14fcc95
AM
68962012-02-13 Alan Mackenzie <acm@muc.de>
6897
6898 Fix a loop in c-set-fl-decl-start.
6899
7a71b18d 6900 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6901 c-backward-syntactic-ws actually moves backwards.
6902
142b4d90
LL
69032012-02-13 Leo Liu <sdl.web@gmail.com>
6904
6905 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6906 beginning so that all \C-o chars are removed.
6907
fa9958a6
TZ
69082012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6909
dc9924b8 6910 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6911
0bc5886a
AM
69122012-02-12 Alan Mackenzie <acm@muc.de>
6913
6914 Fix infinite loop with long macros.
4d6769e1 6915 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6916
d4bd55e7
CY
69172012-02-12 Chong Yidong <cyd@gnu.org>
6918
6919 * window.el (display-buffer): Doc fix (Bug#10785).
6920
66f3fe22
GM
69212012-02-12 Glenn Morris <rgm@gnu.org>
6922
bd7da63e
GM
6923 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6924 (x-disown-selection-internal, x-get-selection-internal):
6925 Sync docs with the xselect.c versions.
6926
66f3fe22
GM
6927 * allout-widgets.el: Add missing license notice.
6928
3e0d2fa7
GM
69292012-02-11 Glenn Morris <rgm@gnu.org>
6930
cfecdf09
GM
6931 * select.el (x-get-selection-internal, x-own-selection-internal)
6932 (x-disown-selection-internal):
6933 * x-dnd.el (x-get-selection-internal): Update declarations.
6934
6d216d7f
GM
6935 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6936
2bed3f04
GM
6937 * window.el (window-sides-slots):
6938 * tool-bar.el (tool-bar-position):
6939 * term/xterm.el (xterm-extra-capabilities):
6940 * ses.el (ses-self-reference-early-detection):
6941 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6942 (verilog-auto-wire-type)
6943 (verilog-auto-delete-trailing-whitespace)
6944 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6945 (verilog-auto-tieoff-declaration):
6946 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6947 (sql-oracle-statement-starters, sql-oracle-scan-on):
6948 * progmodes/prolog.el (prolog-align-comments-flag)
6949 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6950 (prolog-left-indent-regexp, prolog-paren-indent-p)
6951 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6952 (prolog-types, prolog-mode-specificators)
6953 (prolog-determinism-specificators, prolog-directives)
6954 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6955 (prolog-electric-dot-flag)
6956 (prolog-electric-dot-full-predicate-template)
6957 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6958 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6959 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6960 (prolog-program-switches, prolog-prompt-regexp)
6961 (prolog-debug-on-string, prolog-debug-off-string)
6962 (prolog-trace-on-string, prolog-trace-off-string)
6963 (prolog-zip-on-string, prolog-zip-off-string)
6964 (prolog-use-standard-consult-compile-method-flag)
6965 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6966 (prolog-imenu-max-lines, prolog-info-predicate-index)
6967 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6968 (prolog-char-quote-workaround):
6969 * progmodes/cc-vars.el (c-defun-tactic):
6970 * net/tramp.el (tramp-encoding-command-interactive)
6971 (tramp-local-end-of-line):
6972 * net/soap-client.el (soap-client):
6973 * net/netrc.el (netrc-file):
6974 * net/gnutls.el (gnutls):
6975 * minibuffer.el (completion-category-overrides)
6976 (completion-cycle-threshold)
6977 (completion-pcm-complete-word-inserts-delimiters):
6978 * man.el (Man-name-local-regexp):
6979 * mail/feedmail.el (feedmail-display-full-frame):
6980 * international/characters.el (glyphless-char-display-control):
6981 * eshell/em-ls.el (eshell-ls-date-format):
6982 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6983 (lisp-lambda-list-keyword-parameter-indentation)
6984 (lisp-lambda-list-keyword-parameter-alignment):
6985 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6986 * dired-x.el (dired-omit-verbose):
6987 * cus-theme.el (custom-theme-allow-multiple-selections):
6988 * calc/calc.el (calc-highlight-selections-with-faces)
6989 (calc-lu-field-reference, calc-lu-power-reference)
6990 (calc-note-threshold):
6991 * battery.el (battery-mode-line-limit):
6992 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6993 (archive-7z-update):
6994 * allout.el (allout-prefixed-keybindings)
6995 (allout-unprefixed-keybindings)
6996 (allout-inhibit-auto-fill-on-headline)
6997 (allout-flattened-numbering-abbreviation):
6998 * allout-widgets.el (allout-widgets-auto-activation)
6999 (allout-widgets-icons-dark-subdir)
7000 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7001 (allout-widgets-theme-dark-background)
7002 (allout-widgets-theme-light-background)
7003 (allout-widgets-item-image-properties-emacs)
7004 (allout-widgets-item-image-properties-xemacs)
7005 (allout-widgets-run-unit-tests-on-load)
7006 (allout-widgets-time-decoration-activity)
7007 (allout-widgets-hook-error-post-time)
7008 (allout-widgets-track-decoration):
7009 Add missing :version tags to new defcustoms and defgroups.
7010
5fec1b8e
GM
7011 * progmodes/sql.el (sql-ansi-statement-starters)
7012 (sql-oracle-statement-starters): Add custom type.
7013
3e0d2fa7
GM
7014 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7015 (prolog-system-version): Give it a type.
7016
90b671e2
EZ
70172012-02-11 Eli Zaretskii <eliz@gnu.org>
7018
7019 * term/pc-win.el (x-select-text, x-selection-owner-p)
7020 (x-own-selection-internal, x-disown-selection-internal)
7021 (x-get-selection-internal): Sync doc strings and argument lists
7022 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7023
5eac0c02
LL
70242012-02-11 Leo Liu <sdl.web@gmail.com>
7025
7026 * progmodes/python.el (python-end-of-statement): Fix infinite
7027 loop. (Bug#10788)
7028
f82cb659
GM
70292012-02-10 Glenn Morris <rgm@gnu.org>
7030
7031 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7032 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7033
cc26d239
LI
70342012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7035
7036 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7037 about SMTP before checking the From header.
7038
91027d08 7039 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
7040 into own function for reuse by emacsbug.el.
7041
1be3ca5a
LL
70422012-02-10 Leo Liu <sdl.web@gmail.com>
7043
7044 * subr.el (condition-case-unless-debug): Rename from
7045 condition-case-no-debug. All callers changed.
7046 (with-demoted-errors): Fix caller.
7047
7048 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7049 * nxml/rng-valid.el (rng-do-some-validation):
7050 * emacs-lisp/package.el (package-refresh-contents)
7051 (package-menu-execute):
7052 * desktop.el (desktop-create-buffer):
91027d08 7053 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 7054
b011fbfe
GM
70552012-02-10 Glenn Morris <rgm@gnu.org>
7056
b2096d72
GM
7057 * textmodes/bibtex.el:
7058 Add missing :version tags for new/changed defcustoms.
7059
b011fbfe
GM
7060 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7061
4c7e65bf
LI
70622012-02-09 Lars Ingebrigtsen <larsi@rusty>
7063
7064 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7065 (smtpmail-via-smtp): Use it, or fall back on the From address.
7066 (smtpmail-send-it): Ditto.
7067
f3934f6f
SM
70682012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7069
7070 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7071 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7072 (byte-compile-tmp-var): New const.
7073 (byte-compile-defvar): Use it to minimize .elc size.
7074 Just use `defvar' rather than simulate it (bug#10761).
7075
a075a2c5
GM
70762012-02-09 Glenn Morris <rgm@gnu.org>
7077
cf3aa21b
GM
7078 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7079
354998cd
GM
7080 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7081 Add :version tags.
7082
dc9924b8
SM
7083 * progmodes/compile.el (compilation-error-screen-columns)
7084 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 7085
dab3703d
GM
7086 * vc/log-view.el (log-view-toggle-entry-display):
7087 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7088
3f88cd72
GM
7089 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7090 (report-emacs-bug-can-use-xdg-email):
7091 (report-emacs-bug-insert-to-mailer): Doc fixes.
7092 (report-emacs-bug): Message fix.
7093
d95b247d
GM
7094 * net/browse-url.el (browse-url-can-use-xdg-open)
7095 (browse-url-xdg-open): Doc fixes.
7096
a075a2c5
GM
7097 * electric.el (electric-indent-mode, electric-pair-mode)
7098 (electric-layout-rules, electric-layout-mode): Doc fixes.
7099 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7100
ffb6157e
MR
71012012-02-08 Martin Rudalics <rudalics@gmx.at>
7102
7103 * server.el (server-unselect-display): Don't inadvertently kill
7104 the current buffer. (Bug#10729)
7105
e1ac4066
GM
71062012-02-08 Glenn Morris <rgm@gnu.org>
7107
34e8a2da
GM
7108 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7109 (sql-list-table): Doc fixes.
7110
b4ac6e8c
GM
7111 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7112 Comment out (does nothing).
7113
e1ac4066
GM
7114 * completion.el (dynamic-completion-mode):
7115 * dirtrack.el (dirtrack-debug-mode):
7116 * electric.el (electric-layout-mode):
7117 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7118 * face-remap.el (text-scale-mode, buffer-face-mode):
7119 * iimage.el (iimage-mode):
7120 * image-mode.el (image-transform-mode):
7121 * minibuffer.el (completion-in-region-mode):
7122 * scroll-lock.el (scroll-lock-mode):
7123 * simple.el (next-error-follow-minor-mode):
7124 * tar-mode.el (tar-subfile-mode):
7125 * tooltip.el (tooltip-mode):
7126 * vcursor.el (vcursor-use-vcursor-map):
7127 * wid-browse.el (widget-minor-mode):
7128 * emulation/tpu-edt.el (tpu-edt-mode):
7129 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7130 * international/iso-ascii.el (iso-ascii-mode):
7131 * language/thai-util.el (thai-word-mode):
7132 * mail/supercite.el (sc-minor-mode):
7133 * net/goto-addr.el (goto-address-mode):
7134 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7135 * progmodes/cwarn.el (cwarn-mode):
7136 * progmodes/flymake.el (flymake-mode):
7137 * progmodes/glasses.el (glasses-mode):
7138 * progmodes/hideshow.el (hs-minor-mode):
7139 * progmodes/pascal.el (pascal-outline-mode):
7140 * textmodes/enriched.el (enriched-mode):
7141 * vc/smerge-mode.el (smerge-mode):
7142 Doc fixes (minor mode argument).
7143
5e0d957f
EZ
71442012-02-07 Eli Zaretskii <eliz@gnu.org>
7145
7146 * ls-lisp.el (ls-lisp-sanitize): New function.
7147 (ls-lisp-insert-directory): Use it to fix or remove any elements
7148 in file-alist with missing attributes. (Bug#4673)
7149
98d7371e
AM
71502012-02-07 Alan Mackenzie <acm@muc.de>
7151
7152 Fix spurious recognition of c-in-knr-argdecl.
7153
7154 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7155 putative K&R region.
7156
667ced3a
AM
71572012-02-07 Alan Mackenzie <acm@muc.de>
7158
eb864a71
LM
7159 * progmodes/cc-engine.el (c-forward-objc-directive):
7160 Prevent looping in "#pragma mark @implementation".
667ced3a 7161
5b77774d
MA
71622012-02-07 Michael Albinus <michael.albinus@gmx.de>
7163
7164 * notifications.el (notifications-on-closed-signal): Make `reason'
7165 optional. (Bug#10744)
7166
af008560
GM
71672012-02-07 Glenn Morris <rgm@gnu.org>
7168
60d47423
GM
7169 * emacs-lisp/easy-mmode.el (define-minor-mode):
7170 Doc fixes for the macro and the mode it defines.
7171
dd605cc4
GM
7172 * image.el (imagemagick-types-inhibit): Doc fix.
7173
af008560
GM
7174 * cus-start.el (imagemagick-render-type): Add it.
7175
5cc59a37
LI
71762012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7177
4d6769e1
JB
7178 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7179 Set the default at load time, too, so that `font-lock-fontify-buffer'
7180 can be called without setting up the entire mode first. This fixes
7181 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 7182
9a6dd747
CY
71832012-02-06 Chong Yidong <cyd@gnu.org>
7184
2d16b285
CY
7185 * simple.el (list-processes--refresh): Delete exited processes
7186 (Bug#8094).
7187
171e9b6e
CY
7188 * comint.el (comint-next-prompt): next-single-char-property-change
7189 and prev-single-char-property-change never return nil (Bug#8657).
7190
9a6dd747
CY
7191 * custom.el (defcustom): Doc fix (Bug#9711).
7192
aa4589a7
CY
71932012-02-05 Chong Yidong <cyd@gnu.org>
7194
5c2a252f
CY
7195 * cus-edit.el (custom-variable-reset-backup): Quote the value
7196 before storing it in the customized-value property (Bug#6712).
4aab9006 7197 (custom-display): Add a customization type tag.
983b9602 7198 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7199
aa4589a7
CY
7200 * wid-edit.el (widget-field-value-get): New optional arg to
7201 suppress trailing whitespace truncation.
7202 (character): Use it (Bug#2689).
7203
1ff980ae
AS
72042012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7205
7206 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7207 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7208
03988c98
CY
72092012-02-05 Chong Yidong <cyd@gnu.org>
7210
eeb6cc88
CY
7211 * cus-edit.el (custom-variable-value-create): For mismatched
7212 types, show the current value (Bug#7600).
7213
03988c98
CY
7214 * custom.el (defcustom): Doc fix.
7215
f8cdeef0
GM
72162012-02-05 Glenn Morris <rgm@gnu.org>
7217
7218 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7219
0696d255
JB
72202012-02-05 Juanma Barranquero <lekktu@gmail.com>
7221
7222 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7223 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7224 (pp-last-sexp): Use `looking-at-p'.
7225
34c99998
GM
72262012-02-04 Glenn Morris <rgm@gnu.org>
7227
8f05da42
GM
7228 * files.el (revert-buffer):
7229 Doc fix (mention revert-buffer-in-progress-p).
7230
f160676e
GM
7231 * emacs-lisp/ert-x.el (ert-simulate-command):
7232 Check deferred-action-list (which is obsolete) is bound.
7233
c7291ad9
GM
7234 * subr.el (with-wrapper-hook): Doc fixes.
7235
34c99998
GM
7236 * simple.el (filter-buffer-substring-functions)
7237 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7238
6283a7d3
LL
72392012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7240
7241 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7242 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7243
e96e3013
LL
72442012-02-04 Leo Liu <sdl.web@gmail.com>
7245
7246 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7247
8ded50f2
GM
72482012-02-04 Glenn Morris <rgm@gnu.org>
7249
82ff1d13
GM
7250 * image.el (image-extension-data): Add obsolete alias.
7251
987a0a16
GM
7252 * isearch.el (isearch-update): Doc fix.
7253
ea32ef46
GM
7254 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7255
8ded50f2
GM
7256 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7257
eea14f31
GM
72582012-02-03 Glenn Morris <rgm@gnu.org>
7259
7260 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7261 (image-animate-timeout): Doc fix.
7262
7263 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7264
12f381b7
GM
72652012-02-02 Glenn Morris <rgm@gnu.org>
7266
953cebf5
GM
7267 * server.el (server-auth-dir): Doc fix.
7268 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7269
12f381b7
GM
7270 * subr.el (run-mode-hooks): Doc fix.
7271
953a8c3b
JL
72722012-02-02 Juri Linkov <juri@jurta.org>
7273
7274 * image-mode.el (image-toggle-display-image): Remove tautological
7275 `major-mode' from the `derived-mode-p' test.
7276
c5d3843c
KH
72772012-02-02 Kenichi Handa <handa@m17n.org>
7278
9f6e692e 7279 * composite.el (compose-region): Cancel previous change.
c5d3843c 7280
159462d4 72812012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7282
7283 * composite.el (compose-region, compose-string): Signal error for
7284 a null string component (Bug#6988).
7285
9f562668
CY
72862012-02-01 Chong Yidong <cyd@gnu.org>
7287
e2cef717
CY
7288 * view.el (view-buffer-other-window, view-buffer-other-frame):
7289 Handle special modes like view-buffer (Bug#10650).
7290 (view-buffer): Simplify.
7291
9f562668
CY
7292 * frame.el (set-frame-font): Tweak meaning of third argument.
7293
9f6e692e
JB
7294 * dynamic-setting.el (font-setting-change-default-font):
7295 Use set-frame-font (Bug#9982).
9f562668 7296
781acb9f
GM
72972012-02-01 Glenn Morris <rgm@gnu.org>
7298
6035be52
GM
7299 * progmodes/compile.el (compilation-internal-error-properties):
7300 Respect compilation-first-column in the "*compilation*" buffer.
7301
781acb9f
GM
7302 * emacs-lisp/easy-mmode.el (define-minor-mode):
7303 Relax :variable's test for a named function.
7304
abbceb00
AM
73052012-01-31 Alan Mackenzie <acm@muc.de>
7306
7307 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7308 off by one error.
7309
fce3fdeb
CY
73102012-01-31 Chong Yidong <cyd@gnu.org>
7311
7312 * frame.el (set-frame-font): New arg ALL-FRAMES.
7313
7314 * menu-bar.el (menu-set-font): Use set-frame-font.
7315
7316 * faces.el (face-spec-reset-face): Don't apply unspecified
7317 attribute values to the default face.
7318
47893581
JB
73192012-01-31 Juanma Barranquero <lekktu@gmail.com>
7320
7321 * progmodes/cwarn.el (cwarn): Remove dead link.
7322 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7323 Remove * from defcustom docstrings.
7324 (turn-on-cwarn-mode): Make obsolete.
7325 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7326 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7327
e58e988a
GM
73282012-01-31 Glenn Morris <rgm@gnu.org>
7329
60dc2671 7330 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7331 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7332 Allow named functions to be used as the cdr of :variable.
e58e988a 7333
7a3f511d
GM
73342012-01-30 Glenn Morris <rgm@gnu.org>
7335
7336 * emacs-lisp/authors.el (authors-fixed-entries):
7337 Remove reference to deleted file rnewspost.el.
7338
cb882333
JB
73392012-01-29 Juanma Barranquero <lekktu@gmail.com>
7340
7341 * window.el (window-with-parameter): Remove unused variable `windows'.
7342 (window--side-check): Remove unused variable `code'.
7343 (window--resize-siblings): Remove unused variable `first'.
7344 (adjust-window-trailing-edge): Remove unused variable `failed'.
7345 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7346 Use `let', not `let*'.
7347 (balance-windows-2): Remove unused variable `found'.
7348 (window--state-put-2): Remove unused variable `splits'.
7349 (window-state-put): Remove unused variable `selected'.
7350 (same-window-p): Use `string-match-p'.
7351 (display-buffer-assq-regexp): Remove unused variable `value'.
7352 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7353 Mark argument ALIST as ignored.
7354 (pop-to-buffer): Remove unused variable `old-window'.
7355
907201af
EZ
73562012-01-29 Eli Zaretskii <eliz@gnu.org>
7357
7358 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7359 and .lzma compressed files.
7360
ea162670
CY
73612012-01-29 Chong Yidong <cyd@gnu.org>
7362
5b95ee8a
CY
7363 * frame.el (window-system-default-frame-alist): Doc fix.
7364
ea162670
CY
7365 * dynamic-setting.el (font-setting-change-default-font): Don't
7366 change the default face if SET-FONT argument is non-nil (Bug#9982).
7367
d6e6f4b1
SB
73682012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7369
7370 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7371
0f29fa41 73722012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7373
7374 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7375 breakpoints in files outside current directory (Bug#6098).
7376
db174434
CY
73772012-01-29 Chong Yidong <cyd@gnu.org>
7378
6b25e4e2
SE
7379 * progmodes/python.el: Require ansi-color at top-level.
7380
6df6ae42
JB
7381 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7382 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7383 (lisp-mode-abbrev-table): Add doc.
7384 (lisp-mode-variables): Don't set local-abbrev-table.
7385 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7386
e70ee681
RW
73872012-01-28 Roland Winkler <winkler@gnu.org>
7388
7389 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7390
ace88aa2
RW
73912012-01-28 Roland Winkler <winkler@gnu.org>
7392
7393 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7394 (bibtex-set-dialect): Use it. Either set global values of
7395 dialect-dependent variables or bind these variables buffer-locally
7396 (Bug#10254).
7397 (bibtex-mode): Call bibtex-set-dialect via
7398 hack-local-variables-hook.
eb864a71
LM
7399 (bibtex-dialect): Update docstring.
7400 Add safe-local-variable predicate.
ace88aa2
RW
7401 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7402 bibtex-set-dialect.
7403 (bibtex-mode-map): Define menu for each dialect.
7404 (bibtex-entry): Fix docstring.
7405
93376c5b
CY
74062012-01-28 Chong Yidong <cyd@gnu.org>
7407
7408 * eshell/esh-arg.el (eshell-quote-argument): New function.
7409
7410 * eshell/esh-ext.el (eshell-invoke-batch-file):
7411 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7412 first arg to eshell-parse-command (Bug#10523).
7413
4372494f
DA
74142012-01-28 Drew Adams <drew.adams@oracle.com>
7415
7416 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7417 `default-directory' is non-nil.
7418
4d4ec1f8
EZ
74192012-01-28 Eli Zaretskii <eliz@gnu.org>
7420
7421 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7422 line that displays system-configuration-options. (Bug#9924)
7423
7c188927
DA
74242012-01-28 Drew Adams <drew.adams@oracle.com>
7425
7426 * descr-text.el (describe-char): Show information about POS, in
7427 addition to information about the character at POS. Improve and
7428 update the doc string. Change "code point" to "code point in
7429 charset", to avoid confusion with the character's Unicode code
7430 point shown above that. (Bug#10129)
7431
e0da685a
EZ
74322012-01-28 Eli Zaretskii <eliz@gnu.org>
7433
7434 * descr-text.el (describe-char): Show the raw character, not only
7435 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7436 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7437 for the reasons.
7438
70550acf
PH
74392012-01-28 Phil Hagelberg <phil@hagelb.org>
7440
eb864a71
LM
7441 * emacs-lisp/package.el (package-install):
7442 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7443
0ce8e868
CY
74442012-01-28 Chong Yidong <cyd@gnu.org>
7445
cb882333
JB
7446 * emacs-lisp/package.el (package-maybe-load-descriptor):
7447 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7448 (package-maybe-load-descriptor): Use it.
7449 (package-download-transaction): Fully load required packages
7450 inside the loop, so that `require' calls work (Bug#10593).
7451 (package-install): No need to call package-initialize now.
7452
2e7f3bea
CY
74532012-01-28 Chong Yidong <cyd@gnu.org>
7454
6e9bad14
CY
7455 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7456
f823b8ca
CY
7457 * tooltip.el (tooltip-mode): Doc fix.
7458 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7459
2680c309
CY
7460 * frame.el (set-cursor-color): Doc fix (Bug#352).
7461
d7a9e63b
CY
7462 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7463 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7464
2e7f3bea
CY
7465 * cus-edit.el (custom-buffer-create-internal): Fix search button
7466 action (Bug#10542).
2ae01800 7467 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7468
fc4f7a23
EW
74692012-01-27 Eduard Wiebe <usenet@pusto.de>
7470
7471 * dired.el (dired-mark-files-regexp):
7472 Include any subdirectory components. (Bug#10445)
7473
7dd37071
ML
74742012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7475
7476 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7477 Handle [host]:port syntax. (Bug#10533)
7478
a268160b
AH
74792012-01-27 Alex Harsanyi <harsanyi@mac.com>
7480
7481 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7482
e43273ef
GM
74832012-01-26 Glenn Morris <rgm@gnu.org>
7484
7485 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7486 * term.el (term-raw-escape-map): Use Control-X-prefix.
7487 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7488
1edf595d
MR
74892012-01-25 Martin Rudalics <rudalics@gmx.at>
7490
7491 * window.el (window-state-get, window--state-get-1): Don't deal
7492 with fixed-sizeness of windows. Simplify code.
7493
fa8eafef
JC
74942012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7495
6df6ae42
JB
7496 * window.el (window--state-get-1, window--state-put-2):
7497 Don't save and restore the mark.
fa8eafef 7498
0b21c100
CY
74992012-01-25 Chong Yidong <cyd@gnu.org>
7500
7501 * custom.el (custom-variable-p): Doc fix.
7502
5ae1a6c8
GM
75032012-01-25 Glenn Morris <rgm@gnu.org>
7504
40047858
GM
7505 * dired.el (dired-goto-file): Handle some of the more common
7506 characters that `ls -b' escapes. (Bug#10596)
7507
5ddce96c
GM
7508 * progmodes/compile.el (compilation-next-error-function):
7509 Respect compilation-first-column in the "*compilation*" buffer.
7510 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7511
5ae1a6c8
GM
7512 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7513
b559f1a9
GM
75142012-01-24 Glenn Morris <rgm@gnu.org>
7515
7516 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7517
6725d21a
JD
75182012-01-24 Julien Danjou <julien@danjou.info>
7519
7520 * color.el (color-rgb-to-hsl): Fix value computing.
7521 (color-hue-to-rgb): New function.
7522 (color-hsl-to-rgb): New function.
7523 (color-clamp, color-saturate-hsl, color-saturate-name)
7524 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7525 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7526
70df4bbe
GM
75272012-01-24 Glenn Morris <rgm@gnu.org>
7528
7529 * vc/vc-rcs.el (vc-rcs-create-tag):
7530 * vc/vc-sccs.el (vc-sccs-create-tag):
7531 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7532
802a2ae2
ML
75332012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7534
7535 * eshell/esh-util.el (eshell-read-hosts-file):
7536 Skip comment lines. (Bug#10549)
7537
d7128bb1
ML
7538 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7539
d1a5c3b4
JB
75402012-01-23 Juanma Barranquero <lekktu@gmail.com>
7541
2724d9c7
JB
7542 * subr.el (display-delayed-warnings): Doc fix.
7543 (collapse-delayed-warnings): New function to collapse identical
7544 adjacent warnings.
7545 (delayed-warnings-hook): Add it.
d1a5c3b4 7546
a5509865
MA
75472012-01-22 Michael Albinus <michael.albinus@gmx.de>
7548
7549 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7550
a5509865
MA
7551 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7552 (tramp-default-user-alist): Don't add "pscp".
7553 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7554 property "login-as", if set. (Bug#10530)
7555
cc6d5805
MA
75562012-01-21 Michael Albinus <michael.albinus@gmx.de>
7557
7558 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7559 "plink1" and "psftp". (Bug#10530)
7560
75612012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7562
7563 * international/mule-cmds.el (prefer-coding-system): Show a
7564 warning message if the default value of file-name-coding-system
7565 was not changed.
7566
f0960428
JC
75672012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7568
cb882333
JB
7569 * windmove.el (windmove-reference-loc):
7570 Fix windmove-reference-loc miscalculation.
f0960428 7571
dd6f2a63
JB
75722012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7573
7574 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7575 default unit.
7576
7b447e9b
GM
75772012-01-21 Glenn Morris <rgm@gnu.org>
7578
117a9ea1
GM
7579 * international/mule.el (auto-coding-alist): Add .tbz.
7580
7b447e9b
GM
7581 * files.el (local-enable-local-variables): Doc fix.
7582 (inhibit-local-variables-regexps): Rename from
7583 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7584 Doc fix. Add some extensions from auto-coding-alist.
7585 (inhibit-local-variables-suffixes):
7586 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7587 (inhibit-local-variables-p):
7588 New function, extracted from set-auto-mode-1.
7589 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7590 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7591 (hack-local-variables): Doc fix. Make the mode-only case
7592 respect enable-local-variables and friends.
7593 Respect inhibit-local-variables-regexps for file-locals, but
7594 not for directory-locals.
7595 (set-visited-file-name):
7596 Take account of inhibit-local-variables-regexps.
7597 Whether it applies may change as the file name is changed.
7598 * jka-cmpr-hook.el (jka-compr-install):
7599 * jka-compr.el (jka-compr-uninstall):
7600 Update for inhibit-first-line-modes-suffixes name change.
7601
dd6e3cdd
MR
76022012-01-20 Martin Rudalics <rudalics@gmx.at>
7603
7604 * help-macro.el (make-help-screen): Temporarily restore original
7605 binding for minor-mode-map-alist (Bug#10454).
7606
0d0deb38
JD
76072012-01-19 Julien Danjou <julien@danjou.info>
7608
7609 * color.el (color-name-to-rgb): Use the white color to find the max
7610 color component value and return correctly computed values.
7611 (color-name-to-rgb): Add missing float conversion for max value.
7612
34a02f46
MR
76132012-01-19 Martin Rudalics <rudalics@gmx.at>
7614
7615 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7616 special state value for window-persistent-parameters.
7617 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7618 (window--state-put-2): Reset all window parameters to nil before
7619 assigning values of persistent parameters.
7620
606c44c4
AM
76212012-01-18 Alan Mackenzie <acm@muc.de>
7622
7623 Eliminate sluggishness and hangs in fontification of "semicolon
7624 deserts".
7625
cb882333
JB
7626 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7627 Change value 10000 -> 3000.
606c44c4
AM
7628 (c-state-safe-place): Reformulate so it doesn't stack up an
7629 infinite number of wrong entries in c-state-nonlit-pos-cache.
7630 (c-determine-limit-get-base, c-determine-limit): New functions to
7631 determine backward search limits disregarding literals.
7632 (c-find-decl-spots): Amend commenting.
7633 (c-cheap-inside-bracelist-p): New function which detects "={".
7634
7635 * progmodes/cc-fonts.el
7636 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7637 backward search.
7638 (c-font-lock-declarations): Fix an occurrence of point being
7639 undefined. Check additionally for point being in a bracelist or
7640 near a macro invocation without a semicolon so as to avoid a
7641 fruitless time consuming search for a declarator. Give a more
7642 precise search limit for declarators using the new
7643 c-determine-limit.
7644
f3860cea
GM
76452012-01-18 Glenn Morris <rgm@gnu.org>
7646
7647 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7648 (set-auto-mode): Doc fixes.
7649
1db03b16
GM
76502012-01-17 Glenn Morris <rgm@gnu.org>
7651
0e6038be
GM
7652 * isearch.el (search-nonincremental-instead): Fix doc typo.
7653
1db03b16
GM
7654 * dired.el (dired-insert-directory): Handle newlines in directory name.
7655 (dired-build-subdir-alist): Unescape newlines in directory name.
7656
4cb0aa75
MA
76572012-01-17 Michael Albinus <michael.albinus@gmx.de>
7658
7659 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7660 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7661 (tramp-action-terminal): Use it. (Bug#10530)
7662
1d00653d
SM
76632012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7664
7665 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7666
6a6ee00d
MR
76672012-01-16 Martin Rudalics <rudalics@gmx.at>
7668
7669 * window.el (window-state-ignored-parameters): Remove variable.
7670 (window--state-get-1): Rename argument MARKERS to IGNORE.
7671 Handle persistent window parameters. Make copy of clone-of
7672 parameter only if requested. (Bug#10348)
7673 (window--state-put-2): Install a window parameter only if it has
7674 a non-nil value or an existing parameter shall be overwritten.
7675
97912def
MA
76762012-01-15 Michael Albinus <michael.albinus@gmx.de>
7677
7678 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7679
688070a5
EZ
76802012-01-14 Eli Zaretskii <eliz@gnu.org>
7681
7682 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7683 don't pass the (nil) value of `upnode' to string-match.
7684
301afadc
CY
76852012-01-14 Chong Yidong <cyd@gnu.org>
7686
7687 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7688 Fix values recognized by the cursorBlink resource.
301afadc 7689
9e5788aa
PE
76902012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7691
7692 * epg.el (epg--make-temp-file): Avoid permission race condition
7693 when running on old Emacs versions (bug#10403).
7694
3cdb7f5a
GM
76952012-01-14 Glenn Morris <rgm@gnu.org>
7696
7697 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7698
8c82b1b4
AM
76992012-01-13 Alan Mackenzie <acm@muc.de>
7700
7701 Fix filling for when filladapt mode is enabled.
7702
7703 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7704 c-mask-paragraph, pass in `fill-paragraph' rather than
7705 `fill-region-as-paragraph'. (This is a reversion of a previous
7706 change.)
eb864a71
LM
7707 * progmodes/cc-mode.el (c-basic-common-init):
7708 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7709
e517eda4
GM
77102012-01-13 Glenn Morris <rgm@gnu.org>
7711
1498536e
GM
7712 * dired.el (dired-switches-escape-p): New function.
7713 (dired-insert-directory): Use dired-switches-escape-p.
7714 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7715
e517eda4
GM
7716 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7717
328f984d
GM
77182012-01-12 Glenn Morris <rgm@gnu.org>
7719
7720 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7721 changes in adaptive-fill-regexp. (Bug#10276)
7722
2cc769a8
AM
77232012-01-11 Alan Mackenzie <acm@muc.de>
7724
7725 Fix Emacs bug #10463 - put `widen's around the critical spots.
7726
1d00653d 7727 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7728 widen around each invocation of c-state-pp-to-literal. Remove an
7729 unused let variable.
7730
e52c37fa
GM
77312012-01-11 Glenn Morris <rgm@gnu.org>
7732
7733 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7734 Doc fix.
e52c37fa 7735
96f8741e
CY
77362012-01-10 Chong Yidong <cyd@gnu.org>
7737
1d00653d
SM
7738 * net/network-stream.el (network-stream-open-starttls):
7739 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7740 response to the capability command.
7741
b09a806e
GM
77422012-01-10 Glenn Morris <rgm@gnu.org>
7743
7744 * mail/unrmail.el (unrmail): Tweak previous change.
7745
7655cb66
CY
77462012-01-09 Chong Yidong <cyd@gnu.org>
7747
7748 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7749
9d5a8f0b
AM
77502012-01-08 Alan Mackenzie <acm@muc.de>
7751
7752 Optimise font locking in long enum definitions.
7753
7754 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7755 arm to a cond form to handle enums.
7756 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7757 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7758
9a0115ab 77592012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7760
7761 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7762 (Bug#10401)
6bb72cbd 7763
f186bb95
LMI
77642012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7765
29232a68
LMI
7766 * faces.el (set-face-attribute): Clarify the meaning of the nil
7767 frame (bug#10294).
7768
4e5d086d
LMI
7769 * subr.el (with-selected-frame): Mention that the selected frame
7770 is restored (bug#9980).
7771
8e66aebe
LMI
7772 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7773 (bug#9759).
7774
cd394be1 7775 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7776 (password-read): Don't autoload unused function.
7777
adf4e762
JB
77782012-01-07 Juanma Barranquero <lekktu@gmail.com>
7779
7780 * progmodes/which-func.el (which-func-mode): Turn into a
7781 non-interactive function and mark as obsolete (bug#10428).
7782
89bd9ccd
CY
77832012-01-06 Chong Yidong <cyd@gnu.org>
7784
7785 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7786 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7787 functions, along with 1 and -1.
7788
4afee9d5
EZ
77892012-01-06 Eli Zaretskii <eliz@gnu.org>
7790
7791 * time.el (display-time-load-average)
7792 (display-time-default-load-average): Doc fixes. See the thread
7793 starting at
7794 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7795 for the details.
7796
536aea70
GM
77972012-01-06 Glenn Morris <rgm@gnu.org>
7798
665ae865
GM
7799 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7800 has no messages. (Bug#10377)
7801
c869783d
GM
7802 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7803 than Info-edit. (Bug#10385)
7804
2bb4227e
GM
7805 * time.el (display-time-load-average, display-time-next-load-average):
7806 Doc fixes.
7807
7d5944b9
GM
7808 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7809 local setting of buffer-read-only to the input buffer. (Bug#10419)
7810
536aea70
GM
7811 * calendar/calendar.el (calendar-mode):
7812 Locally set scroll-margin to 0. (Bug#10379)
7813
7dccca16
UM
78142012-01-06 Ulrich Mueller <ulm@gentoo.org>
7815
7816 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7817
afbb7930
GM
78182012-01-05 Glenn Morris <rgm@gnu.org>
7819
7820 * eshell/em-unix.el (diff-no-select): Autoload it.
7821 (eshell/diff): Use diff-no-select. (Bug#10420)
7822
04482335
CY
78232012-01-05 Chong Yidong <cyd@gnu.org>
7824
7baca3bc
CY
7825 * shell.el (shell-dynamic-complete-functions): Revert last change.
7826 (shell-command-completion-function): New function.
7827 (shell-completion-vars): Use it to implement
7828 shell-completion-execonly (Bug#10417).
7829
04482335
CY
7830 * custom.el (enable-theme): Don't set custom-safe-themes.
7831
1d00653d
SM
7832 * cus-theme.el (custom-theme-merge-theme):
7833 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7834
bb5aa5d6
MM
78352012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7836
7837 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7838 first prompt in `sql-interacive-mode'.
7839 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7840 keywords.
6df6ae42 7841 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7842 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7843 context of original buffer. Invoke `sql-login-hook'.
7844
a7183d7c
EZ
78452012-01-04 Eli Zaretskii <eliz@gnu.org>
7846
7847 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7848 letters in cite-prefix.
7849
a1eacd1e
LMI
78502012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7851
7852 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7853
787cdb34
CY
78542012-01-03 Chong Yidong <cyd@gnu.org>
7855
1d00653d
SM
7856 * shell.el (shell-dynamic-complete-functions):
7857 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7858 comint-filename-completion first (Bug#10417).
7859
30710442
RS
78602012-01-02 Richard Stallman <rms@gnu.org>
7861
7862 * battery.el (battery-status-function):
7863 Detect when to use battery-yeeloong-sysfs.
7864 (battery-echo-area-format): Add string for Yeeloong.
7865 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7866 (battery-yeeloong-sysfs): New function.
7867
f75bfc33
CY
78682012-01-02 Chong Yidong <cyd@gnu.org>
7869
7870 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7871 (dirtrack): Merge code for handling relative filenames in prompt
7872 from shell-dir-cookie-watcher.
7873 (dirtrack-debug-message): New arg to avoid excess format calls.
7874
7875 * shell.el (shell-dir-cookie-re): Variable deleted.
7876 (shell-dir-cookie-watcher): Function deleted.
7877 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7878 with dirtrack-mode.
7879
651e947e
EZ
78802012-01-01 Eli Zaretskii <eliz@gnu.org>
7881
1d00653d
SM
7882 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7883 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7884 libgnutls-26.dll.
7885
94d4c7dc
AS
78862011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7887
7888 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7889
8d43f3cd
EZ
78902011-12-31 Eli Zaretskii <eliz@gnu.org>
7891
7892 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7893 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7894
98c8795a
MA
78952011-12-29 Michael Albinus <michael.albinus@gmx.de>
7896
7897 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7898 also for alternative shells.
7899 (tramp-open-connection-setup-interactive-shell): Check, whether
7900 the shell is a busybox.
7901 (tramp-send-command): Don't suppress multiple prompts for
7902 busyboxes, it hurts.
7903
51281b32
CY
79042011-12-28 Chong Yidong <cyd@gnu.org>
7905
7906 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7907 (gdb-get-source-file): Move mode line update to
7908 gdb-get-source-file (Bug#10087).
7909
2170cb53
CY
79102011-12-25 Chong Yidong <cyd@gnu.org>
7911
7912 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7913 gud-gdb-marker-filter without taking it as an argument.
7914 (gud-gdb-run-command-fetch-lines): Caller changed.
7915 (gud-gdb-completion-function): New variable.
7916 (gud-gdb-completion-at-point): Use it.
7917 (gud-gdb-completions-1): Split from gud-gdb-completions.
7918
7919 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7920 function as separate arguments.
7921 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7922 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7923 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7924 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7925 (gdb-stopped, def-gdb-auto-update-trigger)
7926 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7927 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7928 Callers changed.
2170cb53
CY
7929 (gud-gdbmi-completions): New function.
7930 (gdb): Use it for generating the completion table.
7931
be8b11bb
AM
79322011-12-24 Alan Mackenzie <acm@muc.de>
7933
7934 Introduce a mechanism to widen the region used in context font
1d00653d 7935 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7936
1d00653d
SM
7937 * progmodes/cc-langs.el (c-before-font-lock-functions):
7938 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7939 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7940 functions to be run just before context (etc.) font locking.
7941
7942 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7943 New, functionality extracted from
be8b11bb 7944 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7945 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7946 (c-after-change): Set c-in-after-change-fontification.
7947 (c-set-fl-decl-start): Rejig its interface, so it can be called
7948 from both after-change and context fontifying.
b81d40f0
JB
7949 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7950 New functions.
7951 (c-standard-font-lock-fontify-region-function): New variable.
7952 (c-font-lock-fontify-region): New function.
be8b11bb 7953
341cf6ac
JL
79542011-12-24 Juri Linkov <juri@jurta.org>
7955
7956 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7957 (Bug#10348)
7958
bffcee0a
MA
79592011-12-23 Michael Albinus <michael.albinus@gmx.de>
7960
7961 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7962 existence of source file. (Bug#10325)
7963
cb5e207c
AM
79642011-12-23 Alan Mackenzie <acm@muc.de>
7965
7966 Fix unstable fontification inside templates.
7967
b81d40f0
JB
7968 * progmodes/cc-langs.el (c-before-font-lock-functions):
7969 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7970 additionally has c-set-fl-decl-start. The other languages (apart
7971 from AWK) have that as a single entry.
7972
b81d40f0
JB
7973 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7974 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7975 c-set-fl-decl-start.
7976
b81d40f0
JB
7977 * progmodes/cc-mode.el (c-common-init, c-after-change):
7978 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7979 (c-set-fl-decl-start): New function, extracted from
7980 c-font-lock-enclosing-decls and enhanced.
7981
60ff536c
JB
79822011-12-23 Juanma Barranquero <lekktu@gmail.com>
7983
7984 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7985
1c4757d6
JL
79862011-12-22 Juri Linkov <juri@jurta.org>
7987
7988 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7989
d031f2c7
CY
79902011-12-22 Chong Yidong <cyd@gnu.org>
7991
7992 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7993
bace743a
DA
79942011-12-21 Drew Adams <drew.adams@oracle.com>
7995
7996 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7997
728a1f2b
JC
79982011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7999
8000 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8001
0d373f73
TZ
80022011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8003
fec0aaa4
TZ
8004 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8005 highlighting and support. Fix up comments for capitalization.
8006 (cfengine-mode-debug): New var.
8007 (cfengine3-mode): Change the modeline indicator to "CFE3".
8008 (cfengine3-font-lock-keywords): Improve defun highlighting.
8009 (cfengine2-actions): Rename from `cfengine-actions'.
8010 (cfengine2-font-lock-keywords): Rename from
8011 `cfengine-font-lock-keywords'.
8012 (cfengine2-imenu-expression): Rename from
8013 `cfengine-imenu-expression'.
8014 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8015 (cfengine2-beginning-of-defun): Rename from
8016 `cfengine-beginning-of-defun'.
8017 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8018 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8019 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8020 modeline indicator to "CFE2".
8021 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8022 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 8023
bc86f573
CY
80242011-12-21 Chong Yidong <cyd@gnu.org>
8025
8026 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8027 filename argument.
8028
d45ba96b
MR
80292011-12-20 Martin Rudalics <rudalics@gmx.at>
8030
8031 * window.el (window-normalize-buffer-to-display): Remove.
8032 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8033
a6198c90
CY
80342011-12-19 Chong Yidong <cyd@gnu.org>
8035
8036 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8037 Don't signal an error in a predicate function; return non-nil.
8038 (vc-dir-mark-file): Move the error here.
8039 (vc-dir-mark-unmark): If acting on the region, keep going if one
8040 of the entries cannot be marked/unmarked.
8041 (vc-dir-mark-all-files): If current entry is a directory, mark
8042 only child files, as documented.
8043
34c5fb55
VB
80442011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
8045
8046 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8047 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8048 addition.
8049
c803b2b7
JD
80502011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8051
8052 * term/ns-win.el (ns-get-selection-internal)
8053 (ns-store-selection-internal): Declare.
1154d12e
JB
8054 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8055 Declare as obsolete.
8056 (ns-get-pasteboard, ns-paste-secondary):
8057 Use ns-get-selection-internal.
8058 (ns-set-pasteboard, ns-copy-including-secondary):
8059 Use ns-store-selection-internal.
c803b2b7 8060
9cff91f8 80612011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
8062
8063 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 8064 (vc-deduce-fileset): Doc fix.
99a289d9 8065
f16c898a
AS
80662011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8067
8068 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8069
763237c4
SS
80702011-12-13 Sam Steingold <sds@gnu.org>
8071
8072 * man.el (Man-getpage-in-background): When running under a
8073 window-system, ignore $MANWIDTH and $COLUMNS.
8074
5fc1c122
KH
80752011-12-15 Kenichi Handa <handa@m17n.org>
8076
8077 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8078 (setup-ethiopic-environment-internal): Comment out key-binding for
8079 ethio-toggle-punctuation.
8080
13d49cbb
AM
80812011-12-13 Alan Mackenzie <acm@muc.de>
8082
898169a2
AM
8083 Add the switch statement to AWK Mode.
8084
7a71b18d 8085 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
8086 "default" to the keywords regexp.
8087
7a71b18d 8088 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 8089 expression as the rest.
1d00653d
SM
8090 (c-nonlabel-token-key): Allow string literals for AWK.
8091 Refactor for the other modes.
898169a2 8092
13d49cbb 8093 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 8094 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
8095 routines. Limit backward searching in c-font-lock-enclosing.decl.
8096
8097 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8098 pp-state and literal type in addition to the limits.
1d00653d 8099 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 8100 (c-state-literal-at): Use the above new defun.
1d00653d
SM
8101 (c-slow-in-literal, c-fast-in-literal): Remove.
8102 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
8103
8104 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8105 being in a literal. Add a limit for backward searching.
8106
8107 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8108 c-slow-in-literal.
8109
15e0efc7
SM
81102011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8111
8112 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8113
454592a6
MR
81142011-12-13 Martin Rudalics <rudalics@gmx.at>
8115
8116 * window.el (delete-other-windows): Use correct frame in call to
8117 window-with-parameter.
8118
87393f26
DP
81192011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8120
8121 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8122 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8123 (makefile-gmake-statements, makefile-makepp-statements):
8124 Use it and add new makepp keywords.
8125 (makefile-makepp-font-lock-keywords): Add new patterns.
8126 (makefile-match-function-end): Match new [...] and [[...]].
8127
11636b22
JB
81282011-12-11 Juanma Barranquero <lekktu@gmail.com>
8129
8130 * ses.el (ses-call-printer-return, ses-cell-property-get)
8131 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8132 (ses-create-cell-variable, ses-reset-header-string)
8133 (ses-cell-set-formula, ses-repair-cell-reference-all)
8134 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8135 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8136 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8137 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8138 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8139 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8140 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8141 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8142 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8143 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8144 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8145 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8146
cf018193
VB
81472011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
8148
8149 * ses.el: The overall change is to add cell renaming, that is
8150 setting fancy names for cell symbols other than name matching
8151 "\\`[A-Z]+[0-9]+\\'" regexp .
8152 (ses-create-cell-variable): New defun.
8153 (ses-relocate-formula): Relocate formulas only for cells the
8154 symbols of which are not renamed, i.e. symbols whose names do not
8155 match regexp "\\`[A-Z]+[0-9]+\\'".
8156 (ses-relocate-all): Relocate values only for cells the symbols of
8157 which are not renamed.
8158 (ses-load): Create cells variables as the (ses-cell ...) are read,
8159 in order to check row col consistency with cell symbol name only
8160 for cells that are not renamed.
8161 (ses-replace-name-in-formula): New defun.
8162 (ses-rename-cell): New defun.
8163
ee957461
CY
81642011-12-11 Chong Yidong <cyd@gnu.org>
8165
8166 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8167 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8168
9a9e9ef0
MR
81692011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8170
8171 * window.el (other-window): Fix docstring.
8172
92a8eba5
EZ
81732011-12-10 Eli Zaretskii <eliz@gnu.org>
8174
8175 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
8176 `from' or `to' address before taking its substring.
8177 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
8178 encoded name is chopped in the middle of the encoded string, and
8179 thus displayed encoded.
8180
e152e577
JB
81812011-12-10 Juanma Barranquero <lekktu@gmail.com>
8182
8183 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8184
e5d84bfe
EZ
81852011-12-10 Eli Zaretskii <eliz@gnu.org>
8186
8187 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8188 to use texinfo-update-node and commands that call it if the
8189 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8190 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8191 (texinfo-all-menus-update, texinfo-master-menu)
8192 (texinfo-update-node, texinfo-every-node-update)
8193 (texinfo-multiple-files-update): Doc fix. Warn against updating
8194 all the @node lines.
8195 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8196 argument is numeric. Explain better in the doc string what the
8197 function really does.
8198 (texinfo-insert-master-menu-list): Improve the error message
8199 displayed if there's no menu in the Top node.
8200 (Bug#2975) See also this thread:
e5d84bfe
EZ
8201 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8202
1d84e9bb
MG
82032011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8204
8205 * speedbar.el (speedbar-supported-extension-expressions):
8206 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8207
382c953b
JB
82082011-12-09 Juanma Barranquero <lekktu@gmail.com>
8209
8210 * printing.el (pr-mode-alist):
8211 * simple.el (filter-buffer-substring-functions)
8212 (completion-list-insert-choice-function):
8213 * window.el (window-with-parameter, window-atom-root)
8214 (window-sides-slots, window-size-fixed, window-min-delta)
8215 (window-max-delta, window--resize-mini-window)
8216 (window--resize-child-windows-normal, window-tree)
8217 (delete-other-windows, quit-window, split-window)
8218 (display-buffer-record-window, special-display-buffer-names)
8219 (special-display-regexps, special-display-popup-frame)
8220 (same-window-p, split-window-sensibly)
8221 (display-buffer-overriding-action, display-buffer-alist)
8222 (display-buffer-base-action, display-buffer, switch-to-buffer)
8223 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8224 (fit-window-to-buffer, recenter-positions)
8225 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8226 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8227 and remove unneeded backslashes in docstrings.
8228
39c9faef
SM
82292011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8230
98449af8
SM
8231 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8232
39c9faef
SM
8233 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8234 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8235 end in ".mk".
8236 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8237 when reading the makefile (bug#10116).
8238
86ed9fdc
SM
82392011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8240
8241 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8242 (bug#10116).
8243
5580f89d
GM
82442011-12-06 Glenn Morris <rgm@gnu.org>
8245
8246 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8247
28d3917c
CY
82482011-12-06 Chong Yidong <cyd@gnu.org>
8249
8250 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8251
a98edce9
JB
82522011-12-06 Juanma Barranquero <lekktu@gmail.com>
8253
8254 * textmodes/table.el (table-shorten-cell): Fix typo.
8255
e65adfac
CG
82562011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8257
8258 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8259
71cc0b74
EZ
82602011-12-05 Eli Zaretskii <eliz@gnu.org>
8261
8262 * descr-text.el (describe-char): Fix display of strong
8263 right-to-left characters and directional embeddings and overrides.
8264
8265 * simple.el (what-cursor-position): Fix display of codepoints of
8266 strong right-to-left characters.
8267
315bc30d
CY
82682011-12-05 Chong Yidong <cyd@gnu.org>
8269
8270 * faces.el (read-color): Doc fix.
8271
58a70b94
GM
82722011-12-05 Glenn Morris <rgm@gnu.org>
8273
8274 * align.el (align--set-marker): Add doc-string.
8275 Don't try to move something that is not a marker. (Bug#10216)
8276
5158face
GM
82772011-12-04 Glenn Morris <rgm@gnu.org>
8278
8279 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8280 overly zealous deletion of trailing whitespace.
8281
520fca41
JB
82822011-12-04 Juanma Barranquero <lekktu@gmail.com>
8283
8284 * server.el (server-delete-client): On Windows, do not try to delete
8285 the only terminal.
8286 (server-process-filter): On Windows, treat requests for a tty frame as
8287 if they were for a GUI frame if the running server is in GUI mode.
8288
5e605a2e
GM
82892011-12-03 Glenn Morris <rgm@gnu.org>
8290
8291 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8292
5c3fe83f
SM
82932011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8294
6f5e57e7
SM
8295 * electric.el: Streamline electric-indent's hook.
8296 (electric-indent-chars): Revert to simple list.
8297 (electric-indent-functions): New var.
8298 (electric-indent-post-self-insert-function): Use it.
8299
5c3fe83f
SM
8300 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8301 there's no inferior buffer (bug#10196).
8302 (prolog-consult-compile): Don't use toggle-read-only.
8303
6bdac736
MA
83042011-12-02 Michael Albinus <michael.albinus@gmx.de>
8305
8306 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8307 interrupt. (Bug#10187)
8308
6131ba7f
SM
83092011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8310
99c79fee
SM
8311 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8312 (bug#9160).
8313
6131ba7f
SM
8314 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8315 (bug#10191).
8316
cb0a02ea
JL
83172011-12-02 Juri Linkov <juri@jurta.org>
8318
8319 * info.el (Info-search): Display "end of manual" when Isearch
8320 reaches the end of single-file Info manual. (Bug#9918)
8321
66e0570c
EZ
83222011-12-02 Eli Zaretskii <eliz@gnu.org>
8323
8324 * isearch.el (isearch-message-prefix): Run the input method part
8325 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8326
02b16839
JL
83272011-12-02 Juri Linkov <juri@jurta.org>
8328
8329 * isearch.el (isearch-occur): Use `word-search-regexp' for
8330 `isearch-word'.
8331 (isearch-search-and-update): Add condition for `isearch-word' and
8332 call `word-search-regexp'. (Bug#10145)
8333
0b950688
GM
83342011-12-01 Glenn Morris <rgm@gnu.org>
8335
8336 * eshell/em-hist.el (eshell-hist-initialize):
8337 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8338 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8339
9505c3c7
SM
83402011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8341
8342 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8343
1bbe96b2 83442011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8345
a1beca85
SM
8346 * progmodes/verilog-mode.el (verilog-pretty-expr):
8347 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8348 verilog, such as += *= and the like.
8349 (verilog-assignment-operator-re): Regular expression to find the
8350 assigment operator in a verilog assignment.
8351 (verilog-assignment-operation-re): Regular expression to find an
8352 assignment statement for pretty-expr.
8353 (verilog-in-attribute-p): Query returns true if point is in an
8354 attribute context; used to skip these for expression line up from
8355 pretty-expr.
8356 (verilog-in-parameter-p): Query returns true if point is in an
8357 parameter definition context; used to skip these for expression
8358 line up from pretty-expr.
8359 (verilog-in-parenthesis-p): Query returns true if point is in a
8360 parenthetical expression, specifically ( ) but not [ ] or { };
8361 used by pretty-expr.
8362 (verilog-just-one-space): If there is no space, don't add one.
8363 (verilog-get-lineup-indent-2): Specifically skip just attribute
8364 contexts for expression lineup, rather than skipping all
8365 parenthetical expressions.
8366 (verilog-calculate-indent): Fix comment, and fix indent.
8367 (verilog-do-indent): Indent declarations in lists (suggested by
8368 Joachim Lechner).
8369 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8370 skeleton items.
8371 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8372 by Alain Mellan).
8373
1bbe96b2 83742011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8375
8376 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8377 parameters with embedded comments. Reported by Ray Stevens.
8378 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8379 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8380 Reported by Tim Holt.
8381 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8382 instantiated by upper module causing wrong expansion until AUTOed a
8383 second time. Reported by K C Buckenmaier.
8384 (verilog-diff-auto): Fix showing .* as a difference when
8385 `verilog-auto-star-save' off. Reported by Dan Dever.
8386 (verilog-auto-reset, verilog-read-always-signals)
8387 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8388 temporary signals in reset list if
8389 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8390 style to each signal's assignment type, bug381.
8391 Reported by Thomas Esposito.
6288f0ca
WS
8392 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8393 (verilog-uvm-statement-re): Support UVM indentation and
8394 highlighting, with old OVM keywords only.
a1beca85 8395 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8396 Support AUTOTIEOFF creating non-wire data types.
8397 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8398 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8399 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8400 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8401 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8402 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8403 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8404 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8405 non-numeric vector width. Reported by Alex Reed.
8406 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8407 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8408 (verilog-auto-delete-trailing-whitespace):
8409 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8410 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8411 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8412 Fix verilog-scan-cache corruption when running user AUTO expansion
8413 hooks that call indentation routines.
8414 (verilog-simplify-range-expression): Fix typo ignoring lower case
8415 identifiers.
8416 (verilog-delete-auto): Fix delete-autos to also remove user created
8417 automatics, as long as they start with AUTO.
8418 (verilog-batch-diff-auto, verilog-diff-auto)
8419 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8420 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8421 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8422 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8423 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8424 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8425 is disabled and its cache will get corrupt, causing AUTOS not to
8426 expand. Instead use only -quick functions.
8427 (verilog-scan-region): Fix scanning over escaped quotes.
8428 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8429 (verilog-re-search-backward-quick)
8430 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8431 related functions now ignore strings, to fix misparsing of strings
8432 with magic comments embedded in them.
a1beca85
SM
8433 (verilog-read-auto-template):
8434 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8435 Reported by Brad Dobbie.
8436 (verilog-read-auto-template):
8437 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8438 Reported by Brad Dobbie.
6288f0ca
WS
8439 (verilog-auto-inst, verilog-auto-inst-param)
8440 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8441 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8442 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8443 debugging templates without merge conflicts, bug357.
8444 Reported by Brad Dobbie.
8445 (verilog-read-auto-template):
8446 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8447 Reported by Brad Dobbie.
8448 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8449 abbrevs so user won't be asked to save.
8450 (verilog-read-auto-lisp-present): Fix to start at beginning of
8451 buffer in case called outside of verilog-auto.
8452 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8453 to "X-2". Reported by Matthew Myers.
8454 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8455 all inputs from module templates. Reported by Leith Johnson.
8456 (verilog-module-inside-filename-p): Fix locating programs as with
8457 modules.
8458 (verilog-auto-inst-port): Fix vl-width expressions when using
8459 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8460 (verilog-decls-get-regs, verilog-decls-get-signals,
8461 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8462 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8463 verilog-read-decls): Combine reg and wire structures into one var
8464 structure to represent SystemVerilog concepts.
8465 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8466 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8467 (verilog-auto-wire-type, verilog-insert-definition):
8468 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8469 SystemVerilog "logic" keyword instead of "wire"/"reg".
8470 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8471 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8472 ifdef or generate if so there's not a driver conflict).
8473 Reported by Matthew Myers.
8474 (verilog-auto-declare-nettype, verilog-insert-definition):
8475 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8476 `default_nettype none. Reported by Julian Gorfajn.
8477 (verilog-read-always-signals-recurse, verilog-read-decls)
8478 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8479 malformed end statement, bug325. Reported by Joshua Wise and
8480 Andrew Drake.
8481 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8482 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8483 when expanding .* in interfaces, bug320.
8484 Reported by Pierre-David Pfister.
6288f0ca 8485 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8486 name and open parenthesis, bug317.
8487 Reported by Pierre-David Pfister.
6288f0ca
WS
8488 (verilog-simplify-range-expression): Fix simplification of
8489 multiplications inside AUTOWIRE connections, bug303.
8490 (verilog-auto-inst-port): Support parameter expansion in
8491 multidimensional arrays.
8492 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8493 after "assert property". Reported by Julian Gorfajn.
8494 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8495 with multiplication, bug303.
8496 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8497 Reported by Jan Frode Lonnum.
8498
1bbe96b2
GM
84992011-11-30 Juanma Barranquero <lekktu@gmail.com>
8500
8501 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8502 (hfy-shell-file-name, hfy-shell):
8503 * international/fontset.el (x-decompose-font-name): Fix typos.
8504
85052011-11-29 Ken Brown <kbrown@cornell.edu>
8506
8507 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8508 (gdb-version): Remove defvar.
8509 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8510 (gdb-gud-context-command, gdb-non-stop-handler)
8511 (gdb-current-context-command, gdb-stopped): Use it.
8512 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8513 (gdb-non-stop-handler): Don't enable pretty-printing here.
8514 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8515 non-stop mode. Use the following.
8516 (gdb-check-target-async): New defun.
8517 (gud-watch, gdb-stopped): Fix whitespace.
8518 (gdb-get-source-file): Don't try to display the source file if
8519 `gdb-main-file' is nil.
8520
85212011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8522
8523 * align.el: Try to generate fewer markers (bug#10047).
8524 (align--set-marker): New macro.
8525 (align-region): Use it.
8526
c935221f
SM
85272011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8528
8529 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8530
e70b5064
CY
85312011-11-29 Chong Yidong <cyd@gnu.org>
8532
8533 * indent.el (indent-for-tab-command, indent-according-to-mode):
8534 Doc fix.
8535 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8536
f3af92b7
MA
85372011-11-29 Michael Albinus <michael.albinus@gmx.de>
8538
8539 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8540 aware of remote file names. (Bug#10124)
8541
ed472be9
CY
85422011-11-29 Chong Yidong <cyd@gnu.org>
8543
8544 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8545
24510c22
SM
85462011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8547
8548 * files.el (find-file): Don't use force-same-window (bug#10144).
8549 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8550 use pop-to-buffer if the selected window can't be used.
8551 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8552
c60c3703
EZ
85532011-11-28 Eli Zaretskii <eliz@gnu.org>
8554
8555 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8556 special-mode-map.
8557
e95def75
CY
85582011-11-28 Chong Yidong <cyd@gnu.org>
8559
8560 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8561
c3f1c606
NR
85622011-11-27 Nick Roberts <nickrob@snap.net.nz>
8563
8564 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8565 gdb-get-source-file-list on gdb-create-source-file-list.
8566
00db469c
EZ
85672011-11-26 Eli Zaretskii <eliz@gnu.org>
8568
8569 * whitespace.el (whitespace-newline): Use a different foreground
8570 color for 16-color light-background displays.
8571
4ad3bc2a
CY
85722011-11-24 Chong Yidong <cyd@gnu.org>
8573
8574 * window.el (display-buffer--special-action): Doc fix.
8575
e9fce1ac
JB
85762011-11-25 Juanma Barranquero <lekktu@gmail.com>
8577
8578 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8579 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8580 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8581 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8582 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8583 (avl-tree-stack-first):
8584 * emacs-lisp/cconv.el (cconv--analyse-use):
8585 * net/gnutls.el (gnutls-negotiate): Fix typos.
8586
cb825e5d
GM
85872011-11-24 Glenn Morris <rgm@gnu.org>
8588
3adbe224
GM
8589 * lpr.el (lpr-windows-system, lpr-lp-system):
8590 * mail/binhex.el (binhex-begin-line):
8591 * progmodes/grep.el (grep-history, grep-find-history):
8592 * textmodes/flyspell.el:
8593 * vc/pcvs-defs.el (cvs-global-menu):
8594 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8595 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8596 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8597
321decc8
GM
8598 * net/tls.el: Fix case of "GnuTLS".
8599
420b63ad
GM
8600 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8601
cb825e5d
GM
8602 * version.el (emacs-build-system): Give it a doc-string.
8603
a0649f08
JL
86042011-11-24 Juri Linkov <juri@jurta.org>
8605
8606 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8607
c0bc0fd4
GM
86082011-11-24 Glenn Morris <rgm@gnu.org>
8609
8610 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8611 if called on a non-mime message just toggle the headers. (Bug#8006)
8612
20db1522
JB
86132011-11-24 Juanma Barranquero <lekktu@gmail.com>
8614
8615 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8616 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8617 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8618 (allout-rebullet-heading, allout-open-sibtopic)
8619 (allout-toggle-current-subtree-encryption)
8620 (allout-toggle-subtree-encryption, allout-encrypt-string)
8621 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8622 (allout-distinctive-bullets-string, allout-auto-activation):
8623 * window.el (window-normalize-buffer-to-display):
8624 * progmodes/verilog-mode.el (verilog-batch-indent):
8625 * textmodes/bibtex.el (bibtex-field-braces-opt)
8626 (bibtex-field-strings-opt):
8627 * vc/cvs-status.el (cvs-tree-merge):
8628 Fix typos.
8629
7262a87c
MA
86302011-11-23 Michael Albinus <michael.albinus@gmx.de>
8631
8632 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8633 `non-essential' to t, in order to avoid remote connections.
8634
283430a1
EZ
86352011-11-23 Eli Zaretskii <eliz@gnu.org>
8636
a1beca85
SM
8637 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8638 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8639 case-insensitively.
8640
d2992a38
ML
86412011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8642
8643 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8644
50419064
GM
86452011-11-23 Glenn Morris <rgm@gnu.org>
8646
da94eca1
GM
8647 * paths.el (rmail-file-name): Reformat the doc-string so that it
8648 is picked up.
8649
9aac4de2
GM
8650 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8651 (rmail-auto-file): Ignore case in the "special" field names,
8652 as mail-fetch-field does for all others.
8653
8038d2d2
GM
8654 * mail/rmail.el (rmail-forward):
8655 * mail/rmailkwd.el (rmail-set-label):
8656 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8657 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8658
f3fe222a
GM
8659 * mail/rmail.el (rmail-current-message): Doc fix.
8660
50419064
GM
8661 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8662
28109f49
SM
86632011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8664
8665 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8666
394c65f1
GM
86672011-11-22 Glenn Morris <rgm@gnu.org>
8668
8669 * mail/rmailmm.el (test-rmail-mime-handler)
8670 (test-rmail-mime-bulk-handler)
8671 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8672
f2a0aa3a
JL
86732011-11-21 Juri Linkov <juri@jurta.org>
8674
1154d12e
JB
8675 * calc/calc.el (calc-read-key-sequence):
8676 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8677
9c34a344
LMI
86782011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8679
8680 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8681 Tell the caller that the next line needs recomputation, even
8682 though it doesn't start a sexp (bug#10094).
8683
f04a3be9
SM
86842011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8685
8686 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8687
7978747f
SM
86882011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8689
f04a3be9
SM
8690 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8691 Use force-same-window.
7978747f 8692
fe7a3057
JB
86932011-11-20 Juanma Barranquero <lekktu@gmail.com>
8694
8695 * descr-text.el (describe-char-unicode-data):
8696 * json.el (json-string-escape):
8697 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8698 (Footnote-unicode, Footnote-style-p):
8699 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8700
24901d61
CY
87012011-11-20 Chong Yidong <cyd@gnu.org>
8702
8703 * window.el (replace-buffer-in-windows): Restore interactive spec.
8704
bac7ff22
SM
87052011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8706
24f3d7b9
SM
8707 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8708
bac7ff22
SM
8709 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8710 (byte-compile-global-not-obsolete-vars): New var.
8711 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8712 Use it.
8713 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8714
cd1181db
JB
87152011-11-20 Juanma Barranquero <lekktu@gmail.com>
8716
8717 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8718 * progmodes/pascal.el (electric-pascal-equal):
8719 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8720 * xml.el (xml-substitute-special): Fix typos.
8721
7fb18e9e
GM
87222011-11-20 Glenn Morris <rgm@gnu.org>
8723
8724 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8725 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8726 Doc fixes.
8727 (rmail-decode-mime-charset): Mark as obsolete.
8728
8729 * mail/rmailsum.el (rmail-message-regexp-p-1):
8730 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8731 Before using mime functions, check they are set. (Bug#10077)
8732
d5a6b3ba
JL
87332011-11-19 Juri Linkov <juri@jurta.org>
8734
8735 * info.el (Info-finder-find-node): Use `package--builtins' instead
8736 of `package-alist'. Use node names formed by the pattern "Keyword "
8737 and the keyword name.
8738
e981b61f
AS
87392011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8740
1d00653d 8741 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8742
3ffbc301
JL
87432011-11-19 Juri Linkov <juri@jurta.org>
8744
8745 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8746 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8747 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8748 `old-history', `old-history-forward'. Add let-binding
8749 `window-selected'. Remove calls to `kill-buffer',
8750 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8751 before calling `Info-find-node', so `Info-find-node-2' will reread
8752 the Info file. Restore window positions only when `window-selected'
8753 is non-nil.
8754
30c62133
JL
87552011-11-19 Juri Linkov <juri@jurta.org>
8756
8757 * isearch.el (isearch-lazy-highlight-new-loop):
8758 Remove condition `(not isearch-error)'. (Bug#9918)
8759
8760 * misearch.el (multi-isearch-search-fun): Add condition
8761 `(not bound)' to ignore lazy-highlighting search.
8762 Add the search-failed message "end of multi" when the end of
8763 multi-sequence is reached. Uncapitalize the search-failed
8764 message "Repeat for next buffer".
8765
8766 * info.el (Info-search): Add the search-failed message
8767 "end of the manual" when the end of the manual is reached
8768 in Isearch mode.
8769
645ca9cf
JL
87702011-11-19 Juri Linkov <juri@jurta.org>
8771
8772 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8773 Use non-destructive `remove' instead of `delete' because
8774 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8775 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8776
df754f66
JL
87772011-11-19 Juri Linkov <juri@jurta.org>
8778
8779 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8780 to nil instead of binding `search-ring' and `regexp-search-ring'.
8781 (Bug#9185)
8782
0e23d96a
EZ
87832011-11-19 Eli Zaretskii <eliz@gnu.org>
8784
8785 * simple.el (line-move): Force movement by logical lines for any
8786 hscrolled window, not only when auto-hscroll-mode is on.
8787 (line-move-visual): Update doc string to that effect. (Bug#10076)
8788
8a6ccb66
AS
87892011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8790
8791 * language/european.el (macintosh): Define as alias for mac-roman.
8792
49ae5b39
EZ
87932011-11-19 Eli Zaretskii <eliz@gnu.org>
8794
8795 * mail/rmailmm.el (rmail-mime-display-header)
8796 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8797 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8798 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8799 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8800 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8801 of a raw aref.
8802 (rmail-mime-entity-segment): To get past the tagline, move forward
8803 2 more lines, to account for the 2 empty lines that precede and
8804 follow the line with the buttons.
8805 (rmail-mime-update-tagline): Move one more line, to get past the
8806 empty line that follows the buttons in the tagline. (Bug#9520)
8807
c56cad4a
MR
88082011-11-19 Martin Rudalics <rudalics@gmx.at>
8809
8810 * window.el (window-max-delta-1, window-min-delta-1)
8811 (window-min-size-1, window-state-get-1, window-state-put-1)
8812 (window-state-put-2): Use "window--" prefix.
8813
cbe71af3
SM
88142011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8815
2ad52c60
SM
8816 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8817 (smie-warning-count): New var.
8818 (smie-set-prec2tab): Use it.
8819 (smie-bnf->prec2): Improve warnings. Add docstring.
8820 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8821 (smie-bnf--set-class): New function.
8822 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8823 corner case.
8824
6944dbc1
SM
8825 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8826 (compilation-error-properties, compilation-move-to-column):
8827 Handle compilation-first-column while in the target buffer.
8828
c400c4d7
SM
8829 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8830 Don't hardcode point-min==1.
8831
6dbe3e96
SM
8832 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8833 (eshell-rewrite-for-command): Remove workaround.
8834 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8835 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8836 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8837
cbe71af3
SM
8838 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8839
a8e1496d
GM
88402011-11-17 Glenn Morris <rgm@gnu.org>
8841
8842 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8843 Ignore buffer-local generated-autoload-file if it is the same
8844 as the global value. (Bug#10049)
8845
df85d315
JB
88462011-11-17 Juanma Barranquero <lekktu@gmail.com>
8847
8848 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8849 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8850 (reftex-toc-previous-heading, reftex-toc-max-level)
8851 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8852 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8853 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8854 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8855 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8856 (reftex-toc-rename-label, reftex-toc-visit-location)
8857 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8858 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8859 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8860 leaving "*toc*" only for references to the buffer.
8861
a0c2d0ae
MR
88622011-11-17 Martin Rudalics <rudalics@gmx.at>
8863
8864 * window.el (window-resize, delete-window, split-window):
8865 Replace window-splits by window-combination-resize.
1d00653d 8866 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8867
35c0bac8
GM
88682011-11-17 Glenn Morris <rgm@gnu.org>
8869
8870 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8871 Make bash entry derive from sh entry, not shell entry.
8872
d0c8fc8a
MA
88732011-11-16 Michael Albinus <michael.albinus@gmx.de>
8874
7262a87c
MA
8875 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8876 local file name.
8877
7877f373
JB
88782011-11-16 Juanma Barranquero <lekktu@gmail.com>
8879
8880 * menu-bar.el (menu-bar-file-menu):
8881 * printing.el (pr-ps-utility):
8882 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8883 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8884 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8885 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8886 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8887 (icalendar--convert-cyclic-to-ical)
8888 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8889 (icalendar--convert-ical-to-diary)
8890 (icalendar--convert-recurring-to-diary)
8891 (icalendar--convert-non-recurring-all-day-to-diary)
8892 (icalendar-import-format-sample):
8893 * progmodes/idlw-shell.el (idlwave-shell-mode):
8894 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8895 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8896 (vhdl-ps-print-init): Fix typos.
8897
10649b82
KM
88982011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8899
9d0cfcd6
GM
8900 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8901 FSF and collapse date sequence, obscure author/maintainer email address
8902 better, remove extra version line, track relocation of author's webpage.
10649b82 8903
9d0cfcd6
GM
8904 * progmodes/python.el (python-pdbtrack-input-prompt)
8905 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8906 regular python pdb prompts. Adjustments shamelessly taken exactly as
8907 suggested in EmacsWiki page (tiny change):
8908 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8909
58179cce
JB
89102011-11-16 Juanma Barranquero <lekktu@gmail.com>
8911
8912 * expand.el (expand-pos, expand-index, expand-point):
8913 Remove redundant info from docstring.
8914 (expand-add-abbrevs): Doc fix.
8915 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8916 (expand-sample-perl-mode-expand-list): Fix typos.
8917
8918 * net/dbus.el (dbus-event-member-name):
8919 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8920 * term/pc-win.el (msdos-create-frame-with-faces):
8921 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8922
b6f67890
MR
89232011-11-16 Martin Rudalics <rudalics@gmx.at>
8924
8925 * window.el (split-window, window-state-get-1)
8926 (window-state-put-1, window-state-put-2): Rename occurrences of
8927 window-nest to window-combination-limit.
1d00653d 8928 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8929
ce7ddba0
CY
89302011-11-16 Chong Yidong <cyd@gnu.org>
8931
8932 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8933 regexp (Bug#10033).
8934
3ae704f4
SM
89352011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8936
8937 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8938 `completing-read' will remove *Completions* and will preserve
8939 current-buffer for us.
8940 (tmm-add-prompt): Users of *Completions* will always (re)set its
8941 major mode.
8942 (tmm-old-comp-map): Remove.
8943
6ad1cdde
GM
89442011-11-16 Glenn Morris <rgm@gnu.org>
8945
8946 * mail/rmailedit.el: Require rmailmm when compiling.
8947 (rmail-old-mime-state): New declaration.
8948 (rmail-edit-current-message): If editing a mime message,
8949 edit the "raw" message from the mbox buffer.
8950 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8951
d20faa20
GM
89522011-11-15 Glenn Morris <rgm@gnu.org>
8953
8954 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8955 which wasn't being used. Add optional arg to force given state.
8956 (rmail-mime): Add optional arg to force given state.
8957
c7015153
JB
89582011-11-15 Juanma Barranquero <lekktu@gmail.com>
8959
8960 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8961 * frame.el (display-mm-dimensions-alist):
8962 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8963 (outline-move-subtree-down):
8964 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8965 (newsticker--treeview-do-get-node):
8966 * net/quickurl.el (quickurl-list-buffer-name):
8967 * progmodes/dcl-mode.el (dcl-mode):
8968 * progmodes/gdb-mi.el (gdb-mapcar*):
8969 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8970
45261b50
GM
89712011-11-15 Glenn Morris <rgm@gnu.org>
8972
8973 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8974 in a boolean sense, so just make it a boolean, and fix the doc.
8975 (rmail-show-mime-function, rmail-mime-feature)
8976 (rmail-require-mime-maybe): Doc fixes.
8977 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8978
8979 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8980
0d26e0b6
JB
89812011-11-15 Juanma Barranquero <lekktu@gmail.com>
8982
8983 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8984 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8985 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8986 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8987
447f30f6
GM
89882011-11-15 Glenn Morris <rgm@gnu.org>
8989
672b871d
GM
8990 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8991 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8992 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8993 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8994 (rmail-mime, rmail-show-mime): Doc fixes.
8995
f6aa5bb1
GM
8996 * term/ns-win.el (mode-line-frame-identification):
8997 Leave it alone. (Bug#10051)
8998
947cd66b
GM
8999 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9000
447f30f6
GM
9001 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9002 Handle empty buffers. (Bug#9978)
9003
0b381c7e
JB
90042011-11-14 Juanma Barranquero <lekktu@gmail.com>
9005
9006 * international/mule.el (define-charset):
9007 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9008 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9009 * progmodes/verilog-mode.el (verilog-backward-token):
9010 * textmodes/ispell.el (lookup-words):
9011 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9012
71e027ac
GM
90132011-11-14 Glenn Morris <rgm@gnu.org>
9014
56632ce4
GM
9015 * progmodes/executable.el
9016 (executable-make-buffer-file-executable-if-script-p):
9017 Handle file-modes returning nil.
9018
40500957
GM
9019 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9020 message - not necessary, and causes problems. (Bug#9831)
9021
071c2340
GM
9022 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9023
d3cfca60
GM
9024 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9025
71e027ac
GM
9026 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9027 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9028 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9029
89d61221
MR
90302011-11-12 Martin Rudalics <rudalics@gmx.at>
9031
9032 * window.el (window-resize, delete-window): Use window-splits
9033 variable instead of function.
9034 (window-state-get-1, window-state-put-2, window-state-put):
9035 Don't deal with windows' splits status.
9036
98282f6f
GM
90372011-11-12 Glenn Morris <rgm@gnu.org>
9038
9039 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9040 (apropos-documentation): Doc fixes.
9041
40a8bdf6
JB
90422011-11-11 Juanma Barranquero <lekktu@gmail.com>
9043
9044 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9045 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9046
65bd19ff
SM
90472011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9048
9049 * electric.el (electric-indent-post-self-insert-function): Make it
9050 possible for a char to only indent in some circumstances.
9051 (electric-indent-mode): Simplify.
9052
54f9154c
MR
90532011-11-11 Martin Rudalics <rudalics@gmx.at>
9054
9055 * window.el (windows-with-parameter): Remove unused function.
9056 (windows-at-side): Rename to window-at-side-list.
9057 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
9058 (window-side-check, window-size-ignore, window-size-fixed-1)
9059 (window-in-direction-2): Prefix with "window--".
9060 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 9061
68cbc58b
GM
90622011-11-11 Glenn Morris <rgm@gnu.org>
9063
9064 * subr.el (eval-after-load): If FILE is already loaded,
9065 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9066
b2621720
GM
90672011-11-10 Glenn Morris <rgm@gnu.org>
9068
9a4de110
GM
9069 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9070 Call svn via vc-svn-command rather than vc-do-command.
9071 (vc-svn-command): Add --non-interactive. (Bug#9993)
9072 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9073
b2621720
GM
9074 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9075 Add toggle-read-only. (Bug#7292)
9076 * files.el (toggle-read-only): Mention that it should only
9077 be used interactively. (Bug#10006)
9078
1dce7193
SM
90792011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9080
d9ac1a1e
SM
9081 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9082 Adjust regexp for OCaml warnings.
9083
0c325082
SM
9084 * electric.el (electric-pair-post-self-insert-function): Let user
9085 turn it off buffer-locally (bug#9932).
9086
90132c14
SM
9087 * progmodes/python.el (python-beginning-of-statement):
9088 Rewrite (bug#2703).
9089
1dce7193
SM
9090 * progmodes/compile.el: Better handle TABs (bug#9749).
9091 (compilation-internal-error-properties)
9092 (compilation-next-error-function): Obey the target buffer's
9093 compilation-error-screen-columns.
9094
c4e7c63a
JB
90952011-11-09 Juanma Barranquero <lekktu@gmail.com>
9096
9097 * progmodes/meta-mode.el: Remove obsolete comments.
9098 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9099 Fix typos in docstrings.
9100
2cffd681
MR
91012011-11-09 Martin Rudalics <rudalics@gmx.at>
9102
9103 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 9104 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
9105 (window--resizable): New function. Make all callers of
9106 window-resizable call window--resizable instead.
9107 (window-resizable): Rewrite in terms of window--resizable.
9108
0edcba87
GM
91092011-11-08 Glenn Morris <rgm@gnu.org>
9110
9111 * progmodes/delphi.el (delphi-mode-syntax-table):
9112 Let define-derived-mode define a proper syntax table. (Bug#9994)
9113
4b0d61e3
SM
91142011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9115
9116 * window.el: Stay away from defsubst.
9117 (window-list-no-nils): Remove.
9118 (window-state-get-1, window-state-get): Use backquote instead.
9119
cd394be1 91202011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 9121
4b0d61e3 9122 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 9123 Fix incorrect use of default argument in `completing-read'.
9124
e1c2c6f2
MR
91252011-11-08 Martin Rudalics <rudalics@gmx.at>
9126
9127 * window.el (display-buffer-function, special-display-function):
9128 Mention display-buffer-record-window but do not mention
9129 help-setup parameter in doc-strings.
b3f4a882 9130 (window-min-delta): Fix doc-string typo.
e1c2c6f2 9131
105216ed
CY
91322011-11-08 Chong Yidong <cyd@gnu.org>
9133
9134 * window.el (window-total-height, window-total-width): Doc fix.
9135 (window-body-size): Move from C.
9136 (window-body-height, window-body-width): Move to C.
9137
0a9f9ab5
SM
91382011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9139
9140 * window.el: Make special-display like display-buffer-alist (bug#9532).
9141 (display-buffer--special-action): New function, morphed
9142 from display-buffer--special.
9143 (display-buffer): Use it to handle special-display-buffers at higher
9144 priority (just after display-buffer-alist).
9145 (display-buffer-fallback-action, display-buffer--other-frame-action)
9146 (pop-to-buffer-same-window): Remove display-buffer--special.
9147
a769dd15
GM
91482011-11-07 Glenn Morris <rgm@gnu.org>
9149
9150 * calendar/cal-menu.el (cal-menu-set-date-title):
9151 Do nothing if not in a calendar. (Bug#9976)
9152
05a61ee3
SM
91532011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9154
9155 * files.el (find-file): Always use selected-window.
9156
be7f5545
MR
91572011-11-07 Martin Rudalics <rudalics@gmx.at>
9158
9159 * window.el (window-combinations): Make WINDOW argument
9160 mandatory. Rewrite doc-string.
9161 (walk-window-subtree, window-atom-check, window-min-delta)
9162 (window-max-delta, window--resize-this-window)
9163 (window--resize-root-window-vertically, window-tree)
9164 (balance-windows, window-state-put): Rewrite doc-strings as to
9165 not mention the term "subwindow".
9166 (window--resize-subwindows-skip-p): Rename to
9167 window--resize-child-windows-skip-p.
9168 (window--resize-subwindows-normal): Rename to
9169 window--resize-child-windows-normal.
9170 (window--resize-subwindows): Rename to
9171 window--resize-child-windows.
9172 (window-or-subwindow-p): Rename to window--in-subtree-p.
9173
3c6702ef
ML
91742011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9175
9176 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9177 Ensure that mbox format messages end in two newlines (Bug#9974).
9178
49745b39
CY
91792011-11-06 Chong Yidong <cyd@gnu.org>
9180
9181 * window.el (window-combination-p): Function deleted; its
9182 side-effect is not used in any existing code.
9183 (window-combinations, window-combined-p): Call window-*-child
9184 directly.
9185
24300f5f
CY
91862011-11-05 Chong Yidong <cyd@gnu.org>
9187
9188 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9189 (window-size-ignore, window-state-get): Callers changed.
9190 (window-normalize-window): Rename from window-normalize-any-window.
9191 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9192 (window-normalize-live-window): Delete.
447f16b8
CY
9193 (window-combination-p, window-combined-p, window-combinations)
9194 (walk-window-subtree, window-atom-root, window-min-size)
9195 (window-sizable, window-sizable-p, window-size-fixed-p)
9196 (window-min-delta, window-max-delta, window-resizable)
9197 (window-resizable-p, window-full-height-p, window-full-width-p)
9198 (window-current-scroll-bars, window-point-1, set-window-point-1)
9199 (window-at-side-p, window-in-direction, window-resize)
9200 (adjust-window-trailing-edge, maximize-window, minimize-window)
9201 (window-deletable-p, delete-window, delete-other-windows)
9202 (record-window-buffer, unrecord-window-buffer)
9203 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9204 (quit-window, split-window, window-state-put)
9205 (set-window-text-height, fit-window-to-buffer)
9206 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9207
89bd5ee1
EZ
92082011-11-04 Eli Zaretskii <eliz@gnu.org>
9209
53479029
EZ
9210 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9211 rfc2047-decode-string.
9212 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9213 warnings.
9214
89bd5ee1
EZ
9215 * window.el (window-body-height, window-body-width): Mention in
9216 the doc string that the return values are in frame's canonical
9217 units. (Bug#9949)
9218
bd17fdee
AM
92192011-11-03 Alan Mackenzie <acm@muc.de>
9220
9221 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9222 change in cc-engine.el.
9223
acc825c5
SM
92242011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9225
9226 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9227
1885e5b8
MR
92282011-11-02 Martin Rudalics <rudalics@gmx.at>
9229
9230 * window.el (quit-window): Call unrecord-window-buffer after
9231 showing another buffer in the window. (Bug#9937)
acc825c5 9232 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9233
ebe06da9
JB
92342011-11-02 Juanma Barranquero <lekktu@gmail.com>
9235
9236 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9237 Accept status with more than 9 shelves. (Bug#9935)
9238 Reported by Colin D Bennett <colin@gibibit.com>.
9239
4ee88440
MR
92402011-11-01 Martin Rudalics <rudalics@gmx.at>
9241
9242 * help.el (with-help-window): Don't reference
9243 temp-buffer-show-specifiers in doc-string.
9244
08e1d82c
AS
92452011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9246
9247 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9248 menu-item.
9249
84bd6e9e
VJL
92502011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9251
9252 * whitespace.el: New version 13.2.2.
9253 (whitespace-newline-mode): Disable properly. Reported by Sarah
9254 <EmacsWiki>.
9255
dba0634a
UJ
92562011-10-30 Ulf Jasper <ulf.jasper@web.de>
9257
9258 * net/newst-treeview.el: Remove "Time-stamp".
9259 (newsticker--group-manage-orphan-feeds): Do not call
9260 newsticker--treeview-tree-update.
db22a3c2
JB
9261 (newsticker-treeview-update, newsticker-treeview):
9262 Call newsticker--treeview-tree-update if necessary.
dba0634a 9263
3d8daefe
MR
92642011-10-30 Martin Rudalics <rudalics@gmx.at>
9265
9266 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9267 (window-iso-combinations): Remove "iso-" infix.
9268 Suggested by Chong Yidong.
3d8daefe
MR
9269 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9270 (window-max-delta-1, window-resize, window--resize-siblings)
9271 (window--resize-this-window, adjust-window-trailing-edge)
9272 (split-window, balance-windows-1)
9273 (shrink-window-if-larger-than-buffer):
9274 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9275 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9276
1bc4c3ae
SM
92772011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9278
9279 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9280 in place (bug#9907).
9281 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9282 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9283 (eshell-structure-basic-command, eshell-rewrite-while-command)
9284 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9285 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9286 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9287 (eshell-do-pipelines-synchronously, eshell-eval-command):
9288 Use backquotes and prefer setq to set.
9289 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9290 (eshell-macrop): Use functionp.
c1e2f5fa 9291 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9292
30b65d9c
CY
92932011-10-30 Chong Yidong <cyd@gnu.org>
9294
9295 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9296 instead of set-mark (Bug#9810).
9297
2d197ffb
CY
92982011-10-30 Chong Yidong <cyd@gnu.org>
9299
9300 * window.el (split-window-below, split-window-right): Rename from
9301 split-window-above-each-other and split-window-side-by-side
9302 respectively. All callers changed.
9303 (split-window-sensibly, split-window-sensibly): Use them.
9304 (split-window-keep-point): Doc fix.
9305
9306 * isearch.el: Add isearch-scroll property to split-window-below
9307 and split-window-right.
9308
9309 * follow.el (follow-mode):
9310 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9311 * progmodes/ada-xref.el (ada-gdb-application):
9312 * emulation/vip.el (vip-buffer-in-two-windows):
9313 * image-dired.el (image-dired-dired-with-window-configuration):
9314 * dired-x.el (dired-do-find-marked-files):
9315 * dired.el (dired-pop-to-buffer):
9316 * bs.el (bs--show-with-configuration):
9317 * vc/emerge.el (emerge-setup-windows):
9318 * textmodes/two-column.el (2C-two-columns):
9319 * textmodes/reftex-toc.el (reftex-toc):
9320 * progmodes/gdb-mi.el (gdb-setup-windows):
9321 * progmodes/fortran.el (fortran-window-create):
9322 * net/newst-treeview.el (newsticker--treeview-window-init):
9323 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9324 * emulation/tpu-edt.el (tpu-gold-map):
9325 * emulation/crisp.el (crisp-mode-map):
9326 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9327
38bb2ca8
CY
93282011-10-29 Chong Yidong <cyd@gnu.org>
9329
aa4de341
CY
9330 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9331
e1eb5385
CY
9332 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9333
5d2ece3c
CY
9334 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9335 forged Ispell output (Bug#7904).
9336
38bb2ca8
CY
9337 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9338
d0af9f77
SM
93392011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9340
9341 * doc-view.el: Avoid ugly errors about not finding nil.
9342 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9343 (doc-view-dvipdf-program, doc-view-unoconv-program)
9344 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9345 Avoid nil or absolute file name as default value.
9346 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9347
52bedd34
AM
93482011-10-28 Alan Mackenzie <acm@muc.de>
9349
db22a3c2 9350 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9351
7e43cfa5
AM
93522011-10-28 Alan Mackenzie <acm@muc.de>
9353
9354 Amend the handling of c-beginning/end-of-defun in nested declaration
9355 scopes.
9356
52bedd34
AM
9357 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9358 cc-langs.el. Change it to a defcustom.
7e43cfa5 9359
52bedd34
AM
9360 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9361 cc-vars.el.
7e43cfa5 9362
d0af9f77
SM
9363 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9364 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9365
52bedd34 9366 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9367 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9368 (c-widen-to-enclosing-decl-scope): New function.
9369 (c-while-widening-to-decl-block): New macro.
9370 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9371 outward for defun boundaries, and correspondingly change symbol
9372 `respect-enclosure' to `go-outward'.
9373 (c-declaration-limits): Change algorithm to report only the "innermost"
9374 defun's boundaries.
9375
1a2ce9ee
DD
93762011-10-28 Deniz Dogan <deniz@dogan.se>
9377
9378 * net/rcirc.el (rcirc-mode): Use hard newlines.
9379
bc97a826
AM
93802011-10-28 Alan Mackenzie <acm@muc.de>
9381
9382 Amend to indent and fontify macros "which include their own semicolon"
9383 correctly, using the "virtual semicolon" mechanism.
9384
52bedd34 9385 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9386
d0af9f77 9387 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9388 Recode to scan one line at a time rather than having \n and \r
58179cce 9389 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9390 (c-forward-label): Amend for virtual semicolons.
58179cce 9391 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9392
52bedd34
AM
9393 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9394 of the new C macros.
bc97a826 9395
52bedd34 9396 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9397 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9398 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9399 (c-opt-cpp-macro-define): Make into a full language variable.
9400 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9401 AWK Mode (including \n, \r) removed, no longer needed.
9402
d0af9f77
SM
9403 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9404 Invoke c-make-macro-with-semi-re.
bc97a826 9405
52bedd34
AM
9406 * progmodes/cc-vars.el (c-macro-with-semi-re):
9407 (c-macro-names-with-semicolon): New variables.
58179cce 9408 (c-make-macro-with-semi-re): New function.
bc97a826 9409
7a6c0941
SM
94102011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9411
9412 * vc/log-edit.el: Fill empty field rather than adding new one.
9413 (log-edit-add-field): New function.
9414 (log-edit-insert-changelog): Use it.
9415
b0c4cdcf
ML
94162011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9417
9418 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9419
ee1f1da9
SM
94202011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9421
9422 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9423 (gdb--check-interpreter): New function.
9424 (gdb): Use it.
9425
51bc5f8b
GM
94262011-10-27 Glenn Morris <rgm@gnu.org>
9427
416a2c45
GM
9428 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9429 (least-positive-float, least-negative-float)
9430 (least-positive-normalized-float, least-negative-normalized-float)
9431 (float-epsilon, float-negative-epsilon):
9432 Remove unnecessary declarations.
9433
9434 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9435 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9436 (least-positive-float, least-negative-float)
9437 (least-positive-normalized-float, least-negative-normalized-float)
9438 (float-epsilon, float-negative-epsilon): Add doc-strings,
9439 based on those in cl.texi.
9440
51bc5f8b
GM
9441 * files.el (set-visited-file-name): If the major-mode changed,
9442 reload the local variables. (Bug#9796)
9443
15de15c6
CY
94442011-10-27 Chong Yidong <cyd@gnu.org>
9445
9446 * subr.el (change-major-mode-after-body-hook): New hook.
9447 (run-mode-hooks): Run it.
9448
ee1f1da9
SM
9449 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9450 Use change-major-mode-before-body-hook.
15de15c6
CY
9451
9452 * simple.el (fundamental-mode):
9453 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9454 change introducing fundamental-mode-hook.
9455
5430d399
JB
94562011-10-26 Juanma Barranquero <lekktu@gmail.com>
9457
acc825c5 9458 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9459
ad74a69e
MA
94602011-10-26 Michael Albinus <michael.albinus@gmx.de>
9461
9462 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9463 tramp.el explicitly. (Bug#7583)
ad74a69e 9464
71d4c2a5
SM
94652011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9466
9467 * progmodes/octave-mod.el:
9468 * progmodes/octave-inf.el: Update maintainer.
9469
b1f6fa26
CY
94702011-10-26 Chong Yidong <cyd@gnu.org>
9471
9472 * subr.el (with-wrapper-hook): Rewrite doc.
9473
3f04efd6
MA
94742011-10-25 Michael Albinus <michael.albinus@gmx.de>
9475
9476 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9477 filenames "/method:foo:". (Bug#9793)
3f04efd6 9478
410488d3
SM
94792011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9480
9481 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9482 (bug#9865).
9483
c1ebb47e
GM
94842011-10-24 Glenn Morris <rgm@gnu.org>
9485
9486 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9487
7f5c46c7
MA
94882011-10-24 Michael Albinus <michael.albinus@gmx.de>
9489
9490 * notifications.el: Add the requirement of a running D-Bus session
9491 bus to the Commentary.
9492
db2440b6
JL
94932011-10-24 Juri Linkov <juri@jurta.org>
9494
9495 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9496 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9497 (Bug#9364)
9498
feecf435
JL
94992011-10-24 Juri Linkov <juri@jurta.org>
9500
9501 * info.el (Info-following-node-name-re): Add newline to the list
9502 of allowed characters for leading space. (Bug#9824)
9503
a3839de2
SM
95042011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9505
acc825c5
SM
9506 * progmodes/octave-inf.el (inferior-octave-mode-map):
9507 Fix C-c C-h binding.
a3839de2
SM
9508 * progmodes/octave-mod.el (octave-help): Remove.
9509
09388e76
MA
95102011-10-23 Michael Albinus <michael.albinus@gmx.de>
9511
9512 Sync with Tramp 2.2.3.
9513
9514 * net/tramp-cache.el (top): Pacify byte-compiler using
9515 `init-file-user' and `site-run-file'.
9516
9517 * net/trampver.el: Update release number.
9518
86c60681
CY
95192011-10-23 Chong Yidong <cyd@gnu.org>
9520
9521 * files.el (toggle-read-only): Remove obsolete comment about
9522 version control.
9523
9524 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9525 for toggle-read-only. Note that this hasn't called vc-next-action
9526 since 2008-05-02, though it wasn't documented at the time.
9527
a3839de2
SM
9528 * vc/ediff-init.el (ediff-toggle-read-only-function):
9529 Use toggle-read-only.
86c60681 9530
cd5495ff
AM
95312011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9532
9533 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9534 of c-parse-state.
9535
00b77525 9536 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9537 correct faulty logical expression.
cd5495ff
AM
9538 (c-parse-state-state, c-record-parse-state-state):
9539 (c-replay-parse-state-state): New defvar/defuns.
9540 (c-debug-parse-state): Use new functions.
9541
42ee24ed
MR
95422011-10-22 Martin Rudalics <rudalics@gmx.at>
9543
9544 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9545 last fix. Use window-in-direction correctly.
42ee24ed 9546
a7dee7e7
CY
95472011-10-21 Chong Yidong <cyd@gnu.org>
9548
9549 * progmodes/idlwave.el (idlwave-mode):
9550 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9551 require-final-newline; that's done in prog-mode.
9552 Suggested by Stefan Monnier.
a7dee7e7 9553
e07b9a6d
MR
95542011-10-21 Martin Rudalics <rudalics@gmx.at>
9555
9556 * mouse.el (mouse-drag-window-above)
9557 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9558 (mouse-drag-mode-line-1, mouse-drag-header-line)
9559 (mouse-drag-vertical-line-rightward-window): Remove.
9560 (mouse-drag-line): New function.
9561 (mouse-drag-mode-line, mouse-drag-header-line)
9562 (mouse-drag-vertical-line): Call mouse-drag-line.
9563 * window.el (window-at-side-p, windows-at-side): New functions.
9564
7e1361d9
UM
95652011-10-21 Ulrich Mueller <ulm@gentoo.org>
9566
9567 * tar-mode.el (tar-grind-file-mode):
9568 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9569
30fcaf3a
CY
95702011-10-21 Chong Yidong <cyd@gnu.org>
9571
9572 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9573 * progmodes/vera-mode.el (vera-mode):
9574 Use mode-require-final-newline.
30fcaf3a 9575
516eddb0
GM
95762011-10-20 Glenn Morris <rgm@gnu.org>
9577
db22a3c2 9578 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9579
10d5f513
CS
95802011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9581
9582 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9583
ac6c8639
CY
95842011-10-20 Chong Yidong <cyd@gnu.org>
9585
9586 * emulation/cua-base.el (cua-mode):
9587 * mail/footnote.el (footnote-mode):
9588 * mail/mailabbrev.el (mail-abbrevs-mode):
9589 * net/xesam.el (xesam-minor-mode):
9590 * progmodes/bug-reference.el (bug-reference-mode):
9591 * progmodes/cap-words.el (capitalized-words-mode):
9592 * progmodes/compile.el (compilation-minor-mode)
9593 (compilation-shell-minor-mode):
9594 * progmodes/gud.el (gud-tooltip-mode):
9595 * progmodes/hideif.el (hide-ifdef-mode):
9596 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9597 * progmodes/subword.el (subword-mode):
9598 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9599 * progmodes/which-func.el (which-function-mode):
9600 * term/tvi970.el (tvi970-set-keypad-mode):
9601 * term/vt100.el (vt100-wide-mode):
9602 * textmodes/flyspell.el (flyspell-mode):
9603 * textmodes/ispell.el (ispell-minor-mode):
9604 * textmodes/nroff-mode.el (nroff-electric-mode):
9605 * textmodes/paragraphs.el (use-hard-newlines):
9606 * textmodes/refill.el (refill-mode):
9607 * textmodes/reftex.el (reftex-mode):
9608 * textmodes/rst.el (rst-minor-mode):
9609 * textmodes/sgml-mode.el (html-autoview-mode)
9610 (sgml-electric-tag-pair-mode):
9611 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9612 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9613 * emulation/crisp.el (crisp-mode):
9614 * emacs-lisp/eldoc.el (eldoc-mode):
9615 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9616 minor mode behavior.
9617
aa42ab43
JL
96182011-10-19 Juri Linkov <juri@jurta.org>
9619
9620 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9621 the list of hard-coded chars with escape-glyph face.
9622
89400f1d
SM
96232011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9624
9625 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9626
305c07f6
MA
96272011-10-19 Michael Albinus <michael.albinus@gmx.de>
9628
9629 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9630 running process.
9631
13754b54
GM
96322011-10-19 Glenn Morris <rgm@gnu.org>
9633
9634 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9635 Ignore ignored files. (Bug#9726)
9636
06e21633
CY
96372011-10-19 Chong Yidong <cyd@gnu.org>
9638
9639 Doc fix for minor modes, stating that an omitted argument enables
9640 the mode unconditionally when called from Lisp.
9641
9642 * abbrev.el (abbrev-mode):
9643 * allout.el (allout-mode):
9644 * autoinsert.el (auto-insert-mode):
9645 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9646 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9647 (global-auto-revert-mode):
9648 * battery.el (display-battery-mode):
9649 * composite.el (global-auto-composition-mode)
9650 (auto-composition-mode):
9651 * delsel.el (delete-selection-mode):
9652 * desktop.el (desktop-save-mode):
9653 * dired-x.el (dired-omit-mode):
9654 * dirtrack.el (dirtrack-mode):
9655 * doc-view.el (doc-view-minor-mode):
9656 * double.el (double-mode):
9657 * electric.el (electric-indent-mode, electric-pair-mode):
9658 * emacs-lock.el (emacs-lock-mode):
9659 * epa-hook.el (auto-encryption-mode):
9660 * follow.el (follow-mode):
9661 * font-core.el (font-lock-mode):
9662 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9663 * help.el (temp-buffer-resize-mode):
9664 * hilit-chg.el (highlight-changes-mode)
9665 (highlight-changes-visible-mode):
9666 * hi-lock.el (hi-lock-mode):
9667 * hl-line.el (hl-line-mode, global-hl-line-mode):
9668 * icomplete.el (icomplete-mode):
9669 * ido.el (ido-everywhere):
9670 * image-file.el (auto-image-file-mode):
9671 * image-mode.el (image-minor-mode):
9672 * iswitchb.el (iswitchb-mode):
9673 * jka-cmpr-hook.el (auto-compression-mode):
9674 * linum.el (linum-mode):
9675 * longlines.el (longlines-mode):
9676 * master.el (master-mode):
9677 * mb-depth.el (minibuffer-depth-indicate-mode):
9678 * menu-bar.el (menu-bar-mode):
9679 * minibuf-eldef.el (minibuffer-electric-default-mode):
9680 * mouse-sel.el (mouse-sel-mode):
9681 * msb.el (msb-mode):
9682 * mwheel.el (mouse-wheel-mode):
9683 * outline.el (outline-minor-mode):
9684 * paren.el (show-paren-mode):
9685 * recentf.el (recentf-mode):
9686 * reveal.el (reveal-mode, global-reveal-mode):
9687 * rfn-eshadow.el (file-name-shadow-mode):
9688 * ruler-mode.el (ruler-mode):
9689 * savehist.el (savehist-mode):
9690 * scroll-all.el (scroll-all-mode):
9691 * scroll-bar.el (scroll-bar-mode):
9692 * server.el (server-mode):
9693 * shell.el (shell-dirtrack-mode):
9694 * simple.el (auto-fill-mode, transient-mark-mode)
9695 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9696 (line-number-mode, column-number-mode, size-indication-mode)
9697 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9698 * strokes.el (strokes-mode):
9699 * time.el (display-time-mode):
9700 * t-mouse.el (gpm-mouse-mode):
9701 * tool-bar.el (tool-bar-mode):
9702 * tooltip.el (tooltip-mode):
9703 * type-break.el (type-break-mode-line-message-mode)
9704 (type-break-query-mode):
9705 * view.el (view-mode):
9706 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9707 (global-whitespace-mode, global-whitespace-newline-mode):
9708 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9709
a3839de2
SM
9710 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9711 Fix autogenerated docstring.
06e21633 9712
5214e501
JL
97132011-10-19 Juri Linkov <juri@jurta.org>
9714
9715 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9716 by checking environment variables "DESKTOP_SESSION" and
9717 "XDG_CURRENT_DESKTOP". (Bug#9779)
9718
195f8db9
JL
97192011-10-19 Juri Linkov <juri@jurta.org>
9720
9721 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9722 (browse-url-chromium-program, browse-url-chromium-arguments):
9723 New defcustoms.
9724 (browse-url-default-browser): Check for `browse-url-chromium' and
9725 call `browse-url-chromium-program'.
9726 (browse-url-chromium): New command. (Bug#9779)
9727
343a34ff
JB
97282011-10-18 Juanma Barranquero <lekktu@gmail.com>
9729
9730 * facemenu.el (list-colors-duplicates): On Windows, detect more
9731 duplicates by assuming that only colors matching "^System" are
9732 special "system colors". (Bug#9722)
9733
6978a151
SM
97342011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9735
9736 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9737 to distinguish the author from the committer.
9738
6a80b297
MA
97392011-10-18 Michael Albinus <michael.albinus@gmx.de>
9740
9741 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9742
b31a5677
JK
97432011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9744
9745 * international/mule.el (sgml-html-meta-auto-coding-function):
9746 Add support for detecting encoding in HTML5 specified only as
9747 <meta charset="UTF-8">. Implementation just makes http-equiv and
9748 content-type parts from HTML4 encoding string optional. (Bug#9716)
9749
80c6d77f
GM
97502011-10-18 Glenn Morris <rgm@gnu.org>
9751
9752 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9753
08b0fee8
CY
97542011-10-18 Chong Yidong <cyd@gnu.org>
9755
9756 * faces.el (cursor): Doc fix.
9757
67e729a5
CY
97582011-10-17 Chong Yidong <cyd@gnu.org>
9759
9760 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9761
343a34ff 97622011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9763
9764 * dirtrack.el (dirtrack): Support shell buffers with path
9765 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9766
0bc06380
TZ
97672011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9768
9769 * json.el: Bump version to 1.3 and note change in History.
9770 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9771
8b79f3e0
SM
97722011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9773
5a7c536b
SM
9774 * comint.el (comint-insert-input, comint-send-input)
9775 (comint-get-old-input-default, comint-backward-matching-input)
9776 (comint-next-prompt): Use nil instead of `input' for field property of
9777 past user input (bug#114).
9778
96a8a0df
SM
9779 * minibuffer.el (completion--replace): Inherit surrounding properties
9780 (bug#114).
9781 (minibuffer-complete-and-exit): Use it.
9782
8b79f3e0
SM
9783 * comint.el (comint--table-subvert): Quote the all-completions output
9784 (bug#9160).
9785
b8f7ff0d
MR
97862011-10-17 Martin Rudalics <rudalics@gmx.at>
9787
8b79f3e0 9788 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9789
b8f7ff0d 9790 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9791 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9792 entries and separate them from frame entries.
9793
c235b555
GM
97942011-10-15 Glenn Morris <rgm@gnu.org>
9795
9796 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9797 Doc fixes.
9798
6bbfa6e1
CY
97992011-10-15 Chong Yidong <cyd@stupidchicken.com>
9800
8b79f3e0
SM
9801 * net/network-stream.el (network-stream-open-starttls):
9802 Improve detection of failure due to lack of TLS support.
ec5c990d 9803
6bbfa6e1
CY
9804 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9805 putting the input text in front and in bold.
9806
98488977
SM
98072011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9808
3d1337be
SM
9809 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9810
ee0b45e4
SM
9811 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9812 empty buffer.
9813
98488977
SM
9814 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9815 unread-command-events rather than pushing yet-another event.
9816
186f4720
EZ
98172011-10-14 Eli Zaretskii <eliz@gnu.org>
9818
9819 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9820 the explanation of the possible choices. Make the options passed
9821 to completing-read shorter.
9822
8b7a997c
AM
98232011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9824
9825 * textmodes/flyspell.el (flyspell-large-region): Make sure
9826 extended character mode is used if defined (Bug#1339).
9827
12587bbb
EZ
98282011-10-13 Eli Zaretskii <eliz@gnu.org>
9829
9830 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9831 character info for LRE, LRO, RLE, and RLO characters by appending
9832 an invisible PDF.
12587bbb 9833
bad41229
SM
98342011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9835
9836 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9837 even in case of error; add debug spec; simplify data flow.
9838 (with-timeout-handler): Remove.
9839
28dbc92f
MA
98402011-10-12 Michael Albinus <michael.albinus@gmx.de>
9841
9842 Fix Bug#6019, Bug#9315.
9843
9844 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9845 complete `buffer-file-name', the local file name part could look
9846 remotely (for example on VMS).
9847
9848 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9849 `tramp-run-real-handler'.
9850 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9851 already quoted by '"'.
9852
9853 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9854 Let `file-name-handler-alist' be nil, the local file name part
9855 could look remotely (for example on VMS).
9856
e1b0b23a
SM
98572011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9858
9859 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9860 from here...
9861 (flyspell-post-command-hook): ...to here.
9862
a120bde9
SM
98632011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9864
9865 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9866 if not needed.
9867 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9868 using completion. Protect against "slow" callers.
9869 Remove the "message hack".
9870
7ce7717b
JL
98712011-10-11 Juri Linkov <juri@jurta.org>
9872
9873 * isearch.el (isearch-lazy-highlight-word): New variable.
9874 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9875 Use it. (Bug#9727)
9876
c02ee9d6
GM
98772011-10-11 Glenn Morris <rgm@gnu.org>
9878
9879 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9880 like f90-previous-statement does.
9881
93e616fd 98822011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9883
1f190e73 9884 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9885 only in interactive use, to avoid error.
9886
af7b6078
SM
98872011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9888
9889 * minibuffer.el (completion-file-name-table): Fix last change,
9890 i.e. ignore normal errors but not the other ones.
9891
0563dae9
MR
98922011-10-10 Martin Rudalics <rudalics@gmx.at>
9893
9894 * window.el (special-display-buffer-names)
9895 (special-display-regexps): Remove some remnants of earlier
9896 changes from doc-strings.
366ca7f3
MR
9897 (quit-windows-on): New function.
9898
9899 * vc/vc.el (vc-revert, vc-rollback):
9900 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9901 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9902 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9903
49677495
MR
99042011-10-09 Martin Rudalics <rudalics@gmx.at>
9905
9906 * window.el (frame-auto-hide-function): Add version tag.
9907 (Bug#9699)
9908
56f2d1e1
MA
99092011-10-09 Michael Albinus <michael.albinus@gmx.de>
9910
9911 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9912 condition.
9913
112a6592
LL
99142011-10-09 Leo Liu <sdl.web@gmail.com>
9915
9916 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9917 (Bug#9701)
9918
0812589b
GM
99192011-10-08 Glenn Morris <rgm@gnu.org>
9920
9921 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9922 before the first code statement zero indent. (Bug#9690)
9923
b2b0776e
CY
99242011-10-08 Chong Yidong <cyd@stupidchicken.com>
9925
9926 * simple.el (count-words-region): Always count in the region.
9927 Report the number of lines and characters too.
9928 (count-words): New command, which counts in the buffer if the
9929 region is inactive, as count-words-region used to.
9930 (count-words--message): New function. Handle plurals.
9931 (count-lines-region): Make it an alias for count-words-region.
9932
9933 * bindings.el (esc-map): Replace count-lines-region with
9934 count-words-region.
9935
c557cd6b
MR
99362011-10-08 Martin Rudalics <rudalics@gmx.at>
9937
9938 * window.el (window--delete): Delete dedicated frame
9939 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9940 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9941
61a57ef4 99422011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9943
3a7d293b 9944 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9945
c3833279
CY
99462011-10-07 Chong Yidong <cyd@stupidchicken.com>
9947
9948 * bindings.el ([M-left],[M-right]): Bind to left-word and
9949 right-word respectively.
9950
21ce8245
GM
99512011-10-07 Glenn Morris <rgm@gnu.org>
9952
9953 * cus-start.el (debug-on-quit): Fix custom type.
9954
6d823bb2
LMI
99552011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9956
0181e193
LMI
9957 * subr.el (define-key-after): Clarify that the function is not
9958 useful for non-menu keymaps.
9959
6d823bb2
LMI
9960 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9961
8e3459ce 99622011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9963
21ce8245 9964 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9965 in current minibuffer (Fix bug with recursive minibuffers).
9966
a1c2d21e
CY
99672011-10-06 Chong Yidong <cyd@stupidchicken.com>
9968
9969 * progmodes/gdb-mi.el (gdb): Doc fix.
9970
5a4cf282
MR
99712011-10-05 Martin Rudalics <rudalics@gmx.at>
9972
9973 * window.el (frame-auto-hide-function): New option replacing
9974 frame-auto-delete. Suggested by Stefan Monnier.
9975 (window--delete): Call frame-auto-hide-function instead of
9976 investigating frame-auto-delete.
c96111ea
MR
9977 (window-point-1, set-window-point-1): New functions.
9978 (window-in-direction, record-window-buffer, window-state-get-1)
9979 (display-buffer-record-window): Use window-point-1 instead of
9980 window-point.
9981 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9982
9854542e
SM
99832011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9984
9985 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9986
8943cfb0
GM
99872011-10-05 Glenn Morris <rgm@gnu.org>
9988
9989 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9990 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9991
647ab967
LL
99922011-10-05 Leo Liu <sdl.web@gmail.com>
9993
9994 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9995 works with buffer object.
9996
3ddfbced
SM
99972011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9998
9999 * mpc.el (mpc-tool-bar-map): Add labels.
10000
bdfa5dd2
GM
100012011-10-04 Glenn Morris <rgm@gnu.org>
10002
10003 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10004
0e2070b5
MR
100052011-10-04 Martin Rudalics <rudalics@gmx.at>
10006
10007 * window.el (window--delete): New function.
10008 (frame-auto-delete): Resuscitate option.
10009 (bury-buffer, replace-buffer-in-windows)
10010 (quit-window): Rewrite using window--delete.
10011 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10012 Pass display-buffer-mark-dedicated to window--display-buffer-2
10013 (Bug#9639).
10014
3dc61a09
SM
100152011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10016
915a9b64
SM
10017 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10018 returns a list (bug#9554). Add remote file name completion.
10019 * comint.el (comint--table-subvert): Curry and get quote&unquote
10020 functions as arguments.
10021 (comint--complete-file-name-data): Adjust call accordingly.
10022 * pcomplete.el (pcomplete--table-subvert): Remove.
10023 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10024
3dc61a09
SM
10025 * minibuffer.el (completion-table-case-fold): Use currying.
10026 (completion--styles-type, completion--cycling-threshold-type):
10027 New constants.
10028 (completion-styles, completion-category-overrides)
10029 (completion-cycle-threshold): Use them.
10030 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10031 completion-table-case-fold.
10032
8ea0a993
SB
100332011-10-03 Stephen Berman <stephen.berman@gmx.net>
10034
10035 * minibuffer.el (completion-category-overrides): Fix type of styles
10036 and add more user friendly tags (bug#9660).
10037
8c24b7f6
SM
100382011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10039
10040 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10041 (mule-input-method-string): New widget.
10042 (default-input-method, language-info-custom-alist): Use it.
10043
428fe61a
SM
100442011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10045
32c1fffd
SM
10046 * pcomplete.el: Require comint.
10047 (pcomplete--common-suffix): Remove.
10048 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10049 (pcomplete--table-subvert): Sync with comint--table-subvert.
10050 (pcomplete--entries): Use comint-completion-file-name-table.
10051 * comint.el (comint-unquote-filename): Simplify.
10052 (comint-completion-file-name-table): New function (bug#9616).
10053 (comint--complete-file-name-data): Use it.
10054
428fe61a
SM
10055 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10056 (pcmpl-gnu-tar-buffer): Remove.
10057 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
10058 around. Make sure pcomplete-suffix-list is only changed temporarily.
10059 Don't look inside the tar's file if it's too large.
428fe61a 10060
04c52e2f
CY
100612011-10-01 Chong Yidong <cyd@stupidchicken.com>
10062
ce3cefcc
CY
10063 * cus-edit.el (custom-mode-map):
10064 * epa.el (epa-key-list-mode-map):
10065 * man.el (Man-mode-map):
10066 * startup.el (splash-screen-keymap):
10067 * simple.el (special-mode-map): Use scroll-up-command and
10068 scroll-down-command.
10069
10070 * progmodes/idlw-help.el (idlwave-help-mode-map):
10071 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10072 * net/newst-plainview.el (newsticker-mode-map):
10073 * emulation/ws-mode.el (wordstar-mode-map):
10074 * emulation/vi.el (vi-com-map):
10075 * calc/calc-graph.el (calc-graph-show-dumb):
10076 * term/sun.el (terminal-init-sun):
10077 * term/ns-win.el (global-map):
10078 * progmodes/grep.el (grep-mode-map):
10079 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10080 * mail/rmail.el (rmail-mode-map):
10081 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10082
04c52e2f
CY
10083 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10084 custom-safe-themes as special.
10085
79adf8c8
JD
100862011-10-01 Julien Danjou <julien@danjou.info>
10087
10088 * notifications.el (notifications-notify): Fix docstring.
10089
63bd50d3
PS
100902011-10-01 Per Starbäck <per@starback.se>
10091
10092 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10093
199e4c7e
MR
100942011-09-30 Martin Rudalics <rudalics@gmx.at>
10095
10096 * startup.el (command-line-1): Fix last fix by inserting
10097 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 10098 (Bug#9605) and (Bug#9636)
199e4c7e 10099
fe5f08dd
EZ
101002011-09-29 Eli Zaretskii <eliz@gnu.org>
10101
10102 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10103 window is hscrolled, move by logical lines. (Bug#9607)
10104 (line-move-visual): Update the doc string to the above effect.
10105
b5516bbd
MR
101062011-09-29 Martin Rudalics <rudalics@gmx.at>
10107
ccee00c0
MR
10108 * window.el (display-buffer-record-window): When WINDOW is the
10109 selected window use `point' instead of `window-point'. (Bug#9626)
10110
b5516bbd
MR
10111 * startup.el (command-line-1): Use insert-before-markers when
10112 inserting initial-scratch-message. (Bug#9605)
ccee00c0 10113
b5516bbd
MR
10114 * help.el (help-window): Remove variable.
10115
52aa0014
GM
101162011-09-29 Glenn Morris <rgm@gnu.org>
10117
10118 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10119
df9a7357
JB
101202011-09-29 Juanma Barranquero <lekktu@gmail.com>
10121
10122 * descr-text.el (describe-char-categories): Accept category
10123 descriptions more than one line long.
10124
a8406c20
SM
101252011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10126
88d9610c
SM
10127 * simple.el (delete-trailing-whitespace): Fix last change.
10128
a5daf810
SM
10129 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10130 Don't confuse "y => 3" as the beginning of a `y' operation.
10131
a8406c20
SM
10132 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10133 object has more than 4 slots (bug#9613).
10134
a239d4e9
JB
101352011-09-28 Juanma Barranquero <lekktu@gmail.com>
10136
10137 * subr.el (with-output-to-temp-buffer):
10138 * net/quickurl.el (quickurl, quickurl-browse-url):
10139 Fix typos in docstrings.
10140
693fbdb6
EZ
101412011-09-27 Eli Zaretskii <eliz@gnu.org>
10142
10143 * minibuffer.el (completion-styles)
10144 (completion-category-overrides): Cross reference each other in doc
10145 strings.
10146
8b457e28
GM
101472011-09-27 Glenn Morris <rgm@gnu.org>
10148
10149 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10150 to split-string. (Bug#9606)
10151
85a16208
LMI
101522011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10153
10154 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10155 (bug#9615).
10156
502f9ebd
CY
101572011-09-27 Chong Yidong <cyd@stupidchicken.com>
10158
10159 * emacs-lisp/package.el (list-packages): Fix echo area message.
10160
7690bdea
LL
101612011-09-27 Leo Liu <sdl.web@gmail.com>
10162
10163 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10164
e2ee6f30
MA
101652011-09-25 Michael Albinus <michael.albinus@gmx.de>
10166
10167 * net/dbus.el (dbus-unregister-object): Don't release services for
10168 registered signals. (Bug#9581)
10169
f3f98342
TZ
101702011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10171
10172 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10173 function that picks between cfengine 2 and 3 support
10174 automatically. Update docs accordingly.
10175
dd7aa8dd
KH
101762011-09-22 Kenichi Handa <handa@m17n.org>
10177
10178 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10179 ZERO.
10180 (indian-itrans-v5-table-for-tamil): New variable.
10181 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10182
3f2b07f8
KM
101832011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10184
10185 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10186 that's true if the current command involved collapsing of text.
10187 It's reset to false at the beginning of the next command.
10188 (allout-post-command-business): Move the cursor to the beginning
10189 of entry if the cursor is hidden and collapsing activity just
10190 happened.
10191
371d6a61
CY
101922011-09-24 Chong Yidong <cyd@stupidchicken.com>
10193
10194 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10195 tracking (Bug#9541).
10196
2ac2721a
UJ
101972011-09-24 Ulf Jasper <ulf.jasper@web.de>
10198
10199 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10200 (newsticker-show-news): Automatically load html rendering package
10201 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10202 because w3m-fill-column is let-bound" and the error "Symbol's value
10203 as variable is void: w3m-fill-column".
2ac2721a 10204
fac7ae53
MA
102052011-09-24 Michael Albinus <michael.albinus@gmx.de>
10206
10207 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10208 Release services only if they are defined. (Bug#9581)
10209
e08b633b
RS
102102011-09-23 Richard Stallman <rms@gnu.org>
10211
e488d29c
RS
10212 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10213 distinguish start of paragraph from start of its text.
10214
19c38752
RS
10215 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10216
e08b633b
RS
10217 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10218 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10219 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10220
0a39f27e
AS
102212011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10222
10223 * international/mule-diag.el (mule-diag): Insert a newline after
10224 each fontset description.
10225
db4e950d
SM
102262011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10227
10228 * simple.el (delete-trailing-whitespace):
10229 Document last change; simplify.
10230
eca3f3ea
PW
102312011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10232
d68e189a
PW
10233 * simple.el (delete-trailing-whitespace): Also delete
10234 extra newlines at the end of the buffer.
10235
eca3f3ea
PW
10236 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10237 (picture-newline): Use forward-line so as to ignore fields.
10238
01c157cc
SM
102392011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10240
10241 * subr.el (with-wrapper-hook): Fix edebug spec.
10242
022de23e
LMI
102432011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10244
10245 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10246 (bug#4538).
10247
91683089
MA
102482011-09-23 Michael Albinus <michael.albinus@gmx.de>
10249
eca3f3ea
PW
10250 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10251 Fix nasty bug using wrong cached values.
91683089 10252
5bdd6fa4
AM
102532011-09-23 Alan Mackenzie <acm@muc.de>
10254
10255 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10256
97adfb97
CY
102572011-09-23 Chong Yidong <cyd@stupidchicken.com>
10258
10259 * window.el (pop-to-buffer): Ensure right window is selected if we
10260 chose another frame.
10261
d4ef2b50
EZ
102622011-09-22 Eli Zaretskii <eliz@gnu.org>
10263
10264 * simple.el (what-cursor-position): Use get-char-property-change
10265 and next-single-char-property-change, to be able to show display
10266 properties that come from overlays as well as text properties.
10267
72258fe5
CY
102682011-09-22 Chong Yidong <cyd@stupidchicken.com>
10269
10270 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10271
10272 * cmuscheme.el (run-scheme, switch-to-scheme):
10273 * cus-edit.el (customize-group, custom-buffer-create)
10274 (customize-browse):
10275 * info.el (info):
10276 * shell.el (shell):
10277 * mail/sendmail.el (mail):
10278 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10279
8f098516
RS
102802011-09-22 Richard Stallman <rms@gnu.org>
10281
10282 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10283 move back only to line beg, don't move back over blank lines.
10284
e74f1bb6
MA
102852011-09-22 Michael Albinus <michael.albinus@gmx.de>
10286
10287 * files.el (copy-directory): Set directory attributes only in case
10288 they could be retrieved from the source directory. (Bug#9565)
10289
bfeef8b6
DK
102902011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10291
10292 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10293 (hs-find-block-beginning, hs-hide-level-recursive):
10294 Ignore strings as well as comments. (Bug#9502)
10295
7e423bb8
AS
102962011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10297
10298 * progmodes/sql.el (sql-comint-postgres):
10299 Convert port number to a string. (Bug#9566)
10300
b4d72fcf
MR
103012011-09-22 Martin Rudalics <rudalics@gmx.at>
10302
10303 * window.el (quit-window): Undedicate window when switching to
10304 previous buffer. Reported by Thierry Volpiatto
10305 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10306 (special-display-popup-frame): When popping up a new frame reset
10307 its previous buffers to nil. Simplify code.
b4d72fcf 10308
a7b88dc6
MA
103092011-09-21 Michael Albinus <michael.albinus@gmx.de>
10310
10311 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10312 and process filter, as done also in `shell-command'.
10313
cf4eacfd
MR
103142011-09-21 Martin Rudalics <rudalics@gmx.at>
10315
eca3f3ea 10316 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10317 Call set-window-start with NOFORCE argument t.
10318 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10319 (quit-window): Reword doc-string. Handle new format of
10320 quit-restore parameter. Don't delete window if it has a
10321 previous buffer we can show instead of the present one.
10322 (display-buffer-record-window): Rewrite using a new format for
10323 the quit-restore window parameter
10324 (special-display-popup-frame, display-buffer-same-window)
10325 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10326 (display-buffer-pop-up-window, display-buffer-use-some-window):
10327 Adapt symbol passed to display-buffer-record-window.
10328 * help.el (help-window-setup): Handle new format of quit-restore
10329 parameter.
10330
8d28cb95
SM
103312011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10332
94ab793f
SM
10333 * faces.el (face-list): Fix docstring (bug#9564).
10334
8d28cb95
SM
10335 * window.el (display-buffer--action-function-custom-type):
10336 Don't include internal functions in the Custom interface.
10337
3820edeb
JL
103382011-09-20 Juri Linkov <juri@jurta.org>
10339
10340 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10341 (Info-forward-node, Info-backward-node, Info-next-preorder)
10342 (Info-last-preorder): Use it. (Bug#9528)
10343
5147931d
JL
103442011-09-20 Juri Linkov <juri@jurta.org>
10345
10346 * info.el (Info-last-preorder): Visit last menu item only when
10347 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10348
cf499a1a
JD
103492011-09-20 Julien Danjou <julien@danjou.info>
10350
10351 * password-cache.el (password-cache-remove): Remove entries even if the
10352 value is nil, so that password with a nil value (negative caching) is
10353 possible to invalidate.
10354
f84e2fe2
LM
103552011-09-20 Lawrence Mitchell <wence@gmx.li>
10356
10357 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10358 all whitespace around breakpoint. (Bug#9553)
10359 (f90-find-breakpoint): Only break at whitespace inside a comment.
10360
78054a46
SM
103612011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10362
10363 * minibuffer.el (completion-file-name-table): Keep track of errors.
10364 (completion-table-with-predicate): Handle the case where pred1 is nil.
10365 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10366
345083b2
SM
103672011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10368
e24e27be
SM
10369 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10370 (debugger-return-value): Signal an error if the debugging context does
10371 not await any return value.
10372
345083b2
SM
10373 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10374 * image-mode.el (image-toggle-display-text)
10375 (image-toggle-display-image): Stay away from evil `intangible'.
10376
08d355e3
LL
103772011-09-19 Leo Liu <sdl.web@gmail.com>
10378
10379 * replace.el (occur-revert-arguments): Make it permanent-local.
10380 (occur-mode): Don't call font-lock-defontify.
10381
f01da43f
CY
103822011-09-19 Chong Yidong <cyd@stupidchicken.com>
10383
10384 * net/ldap.el (ldap-search-internal): Don't push empty search
10385 result (Bug#9508).
10386
b6072fa6
SM
103872011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10388
10389 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10390
443d6696
MA
103912011-09-19 Michael Albinus <michael.albinus@gmx.de>
10392
10393 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10394 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10395
7cc6e154
JL
103962011-09-18 Juri Linkov <juri@jurta.org>
10397
10398 * buff-menu.el (Buffer-menu-mode-map):
10399 * dired.el (dired-mode-map):
10400 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10401 (lisp-interaction-mode-map):
10402 * emacs-lisp/package.el (package-menu-mode-map):
10403 * epa.el (epa-key-list-mode-map):
10404 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10405 (menu-bar-options-menu):
10406 * outline.el (outline-mode-menu-bar-map):
10407 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10408 * vc/vc-dir.el (vc-dir-menu-map):
10409 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10410 Capitalize non-function content words in menu item strings.
10411
10412 * dired.el (dired-mode-map): Add menu item for
10413 `image-dired-dired-toggle-marked-thumbs'.
10414
80302a81
JL
104152011-09-18 Juri Linkov <juri@jurta.org>
10416
10417 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10418 to `isearch-case-fold-search' and restore its original value
10419 after the `isearch-mode' call.
10420
46c5cf66
JL
104212011-09-18 Juri Linkov <juri@jurta.org>
10422
10423 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10424 because `zgrep' returns 1 for successful matches (bug#9226).
10425
d18b513b
JL
104262011-09-18 Juri Linkov <juri@jurta.org>
10427
10428 * info.el (Info-extract-menu-node-name): Check the second match
10429 for empty string (second test-case of bug#9528).
10430 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10431 intermediate nodes to the history (first test-case of bug#9528).
10432
72753f87
JL
104332011-09-18 Juri Linkov <juri@jurta.org>
10434
10435 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10436 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10437
c9384295
JL
104382011-09-18 Juri Linkov <juri@jurta.org>
10439
1154d12e
JB
10440 * info.el (Info-file-supports-index-cookies):
10441 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10442 outputs one more line for long file names (bug#4142).
c9384295 10443
d473dce8
CY
104442011-09-18 Chong Yidong <cyd@stupidchicken.com>
10445
10446 * newcomment.el (comment-normalize-vars): If prompting for
10447 comment-start, set comment-start-skip too (Bug#8424).
10448
2176854d
JB
104492011-09-18 Johan Bockgård <bojohan@gnu.org>
10450
10451 * icomplete.el: Fix previous fix of Bug#5849.
10452 (icomplete-mode): Don't set completion-show-inline-help.
10453 (icomplete-minibuffer-setup): Set completion-show-inline-help
10454 locally during icompletion.
10455
3aace4e4
CY
104562011-09-18 Chong Yidong <cyd@stupidchicken.com>
10457
c940224f
CY
10458 * woman.el (woman2-process-escapes): Don't delete unrecognized
10459 escapes (Bug#7843).
10460
3aace4e4
CY
10461 * files.el (inhibit-first-line-modes-regexps): Add image files.
10462 (hack-local-variables-prop-line): Return nil for malformed
10463 prop-lines (Bug#9044).
10464
710dec63
MA
104652011-09-18 Michael Albinus <michael.albinus@gmx.de>
10466
10467 * net/tramp.el (top): Don't require 'shell.
10468 (tramp-methods): Fix docstring.
10469 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10470 Return complete remote file name. Handle "smb" case.
10471 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10472 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10473
10474 * net/tramp-compat.el (top): Require 'shell.
10475
10476 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10477 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10478 `tramp-current-host'.
10479 (tramp-get-remote-tmpdir): Remove.
10480
10481 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10482 `tramp-tmpdir' entries.
10483 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10484 (tramp-smb-handle-file-attributes): Ignore errors.
10485 (tramp-smb-wait-for-output): Check also for process end.
10486
5d5ac8ec
LMI
104872011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10488
10489 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10490 when sending QUIT (bug#9312).
10491
8c0f49f0
CY
104922011-09-17 Chong Yidong <cyd@stupidchicken.com>
10493
10494 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10495 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10496 occur-mode-display-occurrence.
10497 (occur-edit-mode): Add usage message.
10498 (occur-cease-edit): New command.
10499 (occur-after-change-function): Use text properties to find the
10500 position of the prefix text.
10501 (occur-engine): Set stickiness of prefix text properties.
10502
8f1383f7
GM
105032011-09-17 Glenn Morris <rgm@gnu.org>
10504
10505 * progmodes/etags.el (complete-tag):
10506 Fix call to completion-in-region. (Bug#9526)
10507
744ba0e3
JL
105082011-09-17 Juri Linkov <juri@jurta.org>
10509
10510 * textmodes/ispell.el (ispell-word): Add to the error message
10511 the word, ispell program name and current dictionary (bug#9121).
10512 (ispell-tex-arg-end): Capitalize "error" in the error message.
10513
d9bbf400
AS
105142011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10515
10516 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10517 check. (Bug#4251)
10518
8da11505
JL
105192011-09-17 Juri Linkov <juri@jurta.org>
10520
10521 * window.el (window-safe-min-height, window-safe-min-width):
10522 Fix typos (followup to bug#9522).
10523
a91adc7e
SJ
105242011-09-17 Sven Joachim <svenjoac@gmx.de>
10525
10526 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10527
064f328a
EZ
105282011-09-16 Eli Zaretskii <eliz@gnu.org>
10529
10530 * simple.el (line-move): If goal-column is set, move by logical
10531 lines, not by display lines. (Bug#971)
10532 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10533 to reflect the above change.
10534
e69df516
SM
105352011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10536
10537 * image.el (imagemagick-register-types): Use regexp-opt.
10538
cbb0f9ab
CY
105392011-09-15 Chong Yidong <cyd@stupidchicken.com>
10540
10541 * window.el (display-buffer-base-action): Rename from
10542 display-buffer-default-action. Make default value empty.
10543 (display-buffer-overriding-action): Convert to defvar.
10544 (display-buffer-fallback-action): New var.
10545
25322144
CY
105462011-09-15 Chong Yidong <cyd@stupidchicken.com>
10547
10548 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10549 declaration.
10550 (package--add-to-archive-contents): If there is a duplicate entry
10551 with an older version, remove it.
10552 (package-menu-mark-delete, package-menu-mark-install)
10553 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10554 (package-menu-mark-obsolete-for-deletion):
10555 Use package-menu-get-status instead of a regexp search.
25322144
CY
10556 (package-menu-get-status): Use tabulated-list-entry.
10557 (package-menu-mark-upgrades): New command.
d770725a 10558 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10559 (package-menu-execute): Do installation before deletion.
10560 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10561 instead of checking major-mode.
10562 (package-menu--find-upgrades): New function.
10563
7520339c
LMI
105642011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10565
10566 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10567 passwords in the log buffer.
65a046c4
LMI
10568 (smtpmail-process-filter): Update the process marker so that the
10569 "broken by peer" status message is inserted in the right place.
7520339c 10570
d3c30954
SM
105712011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10572
3fe48822
SM
10573 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10574 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10575 bibtex-completion-at-point-function.
10576 (bibtex-completion-at-point-function): Use them.
10577
1b8b3954
SM
10578 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10579
d3c30954
SM
10580 * mpc.el (mpc-constraints-tag-lookup): New function.
10581 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10582 also to browser "album|playlist".
10583
72779976
JL
105842011-09-14 Juri Linkov <juri@jurta.org>
10585
10586 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10587 (isearch-edit-string): Use length of `isearch-string' when
10588 `isearch-fail-pos' returns nil.
10589 (isearch-message): Remove duplicate code and call
10590 `isearch-fail-pos' with arg `t'.
10591
a0bf2bcd
CY
105922011-09-14 Chong Yidong <cyd@stupidchicken.com>
10593
17bb0a2d
CY
10594 * replace.el (occur-mode-goto-occurrence): Don't force using other
10595 window (Bug#9499).
10596
a0bf2bcd
CY
10597 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10598
f678e0b6
MR
105992011-09-14 Martin Rudalics <rudalics@gmx.at>
10600
10601 * window.el (display-buffer-window): Remove.
10602 (display-buffer-record-window): Use help-setup window parameter
10603 instead of variable display-buffer-window.
10604 (display-buffer-function, special-display-buffer-names)
10605 (special-display-function): Mention help-setup parameter instead
10606 of display-buffer-window in doc-string.
d3c30954
SM
10607 * help.el (help-window-setup): New argument help-window.
10608 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10609 Reword some messages.
10610 (with-help-window): Pass window used for displaying the buffer
10611 to help-window-setup. Don't set display-buffer-window.
10612
8e39b2e8
GM
106132011-09-13 Glenn Morris <rgm@gnu.org>
10614
10615 * emacs-lisp/debug.el (debugger-make-xrefs):
10616 Preserve point. (Bug#9462)
10617
85e9c04b
CY
106182011-09-13 Chong Yidong <cyd@stupidchicken.com>
10619
10620 * window.el (window-deletable-p): Use next-frame.
10621
1b36ed6a
MR
106222011-09-13 Martin Rudalics <rudalics@gmx.at>
10623
10624 * window.el (window-auto-delete): Remove.
10625 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10626 dedication and previous buffers.
1b36ed6a
MR
10627 (switch-to-prev-buffer): Don't delete window.
10628 (delete-windows-on): Delete a window's frame if and only if the
10629 window is dedicated.
10630 (replace-buffer-in-windows): Delete buffer's window or frame if
10631 and only if window is dedicated.
10632 (quit-window): Handle quit-restore as before last change.
4d61f28d 10633 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10634
ef8ef9fb
CY
106352011-09-13 Chong Yidong <cyd@stupidchicken.com>
10636
10637 * window.el (window-deletable-p): Never delete the last frame on a
10638 given terminal.
10639
b2cba41e
GM
106402011-09-13 Glenn Morris <rgm@gnu.org>
10641
10642 * help.el (describe-key-briefly): Copy previous standard-output change.
10643
51553db6 106442011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10645
10646 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10647
b7556719
GM
106482011-09-13 Glenn Morris <rgm@gnu.org>
10649
10650 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10651 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10652
64b51947
CY
106532011-09-12 Chong Yidong <cyd@stupidchicken.com>
10654
10655 * dired-aux.el (dired-mark-read-string): Don't return default
10656 value on empty input (Bug#9361).
10657 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10658 Omit initial minibuffer contents.
10659 (dired-do-chmod): Signal an error on empty input.
10660 (dired-mark-read-string): Don't return default on empty input.
10661
10662 * files.el (file-modes-symbolic-to-number): Doc fix.
10663
393a301e
SM
106642011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10665
10666 * international/mule-cmds.el (ucs-completions): Remove.
10667 (read-char-by-name): Use complete-with-action instead; add metadata.
10668
fa5660f9
CY
106692011-09-11 Chong Yidong <cyd@stupidchicken.com>
10670
10671 * window.el (display-buffer--action-function-custom-type)
10672 (display-buffer--action-custom-type): New vars.
10673 (display-buffer-alist, display-buffer-default-action)
10674 (display-buffer-overriding-action): Add defcustom types.
10675
4a592f66
CY
10676 * frame.el (delete-other-frames): Doc fix (Bug#276).
10677
73d56dbd
LMI
106782011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10679
10680 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10681
37ac18a3
CY
106822011-09-11 Chong Yidong <cyd@stupidchicken.com>
10683
10684 Change modes that used same-window-* vars to use switch-to-buffer.
10685
10686 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10687 Use switch-to-buffer.
10688
10689 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10690 (customize-browse, custom-buffer-create-other-window):
10691 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10692
10693 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10694 (Info-prev, Info-up, Info-speedbar-goto-node)
10695 (info-display-manual): Use switch-to-buffer.
10696 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10697
10698 * mail/sendmail.el (mail): Use switch-to-buffer.
10699 (mail-recover): Use switch-to-buffer-other-window.
10700
10701 * cmuscheme.el (run-scheme, switch-to-scheme):
10702 * ielm.el (ielm):
10703 * shell.el (shell):
10704 * net/rlogin.el (rlogin):
10705 * net/telnet.el (telnet, rsh):
10706 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10707
10195bd6
AS
107082011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10709
10710 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10711
b322f63a
LMI
107122011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10713
39d7fed6
LMI
10714 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10715 so don't mention it (bug#9301).
ba5a81f1 10716 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10717
ee0e9f11
LMI
10718 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10719 match `x', `w32' and `ns', like the manual says (bug#9029).
10720
0b1c89c1 10721 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10722 (process-kill-buffer-query-function): Mention the buffer name in
10723 the query.
0b1c89c1 10724
77549ea8
LMI
10725 * image-mode.el (image-next-line): The line parameter is mandatory
10726 (bug#9258).
10727
803ef892
LMI
10728 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10729 which can be useful (bug#9301).
10730
12980837
LMI
10731 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10732
91054f8f
LMI
10733 * subr.el (match-string): Mention that the current buffer should
10734 be the same as the search was done in (bug#9282).
10735
b322f63a
LMI
10736 * facemenu.el: Disable the remove-* commands if the mark isn't
10737 active (bug#9162).
10738
3199b96f
CY
107392011-09-10 Chong Yidong <cyd@stupidchicken.com>
10740
10741 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10742 of display-buffer.
10743 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10744
10745 * replace.el (occur-mode-goto-occurrence)
10746 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10747 and display-buffer.
10748
10749 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10750 display-buffer.
10751
10752 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10753 special-display and same-window variables.
10754 (mail-other-window): Use switch-to-buffer-other-window.
10755 (mail-other-frame): USe switch-to-buffer-other-frame.
10756
393a301e
SM
10757 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10758 Use display-buffer-other-frame.
3199b96f
CY
10759 (gdb-display-gdb-buffer): Use pop-to-buffer.
10760
10761 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10762
10763 * progmodes/python.el: Don't set same-window-buffer-names.
10764
10765 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10766
10767 * window.el (display-buffer-alist): Add *Python*.
10768
8319e0bf
CY
107692011-09-10 Chong Yidong <cyd@stupidchicken.com>
10770
10771 * window.el (display-buffer-alist): Add entry for buffers
10772 previously handled same-window-*.
10773 (display-buffer-alist, display-buffer-default-action)
10774 (display-buffer-overriding-action): Mark as risky.
10775 (display-buffer-alist): Document action function changes.
10776 (display-buffer--same-window-action)
10777 (display-buffer--other-frame-action): New variables.
10778 (switch-to-buffer, display-buffer-other-frame): Use them.
10779 (display-buffer): Rename reuse-frame entry to reusable-frames.
10780 (display-buffer-reuse-selected-window): Function deleted.
10781 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10782 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10783 (display-buffer-special): New function.
10784 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10785 display-buffer-reuse-or-pop-window. Split off special-display
10786 part into display-buffer-special.
10787 (display-buffer-use-some-window): Don't perform any special
10788 pop-up-frames handling.
10789 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10790 (display-buffer--maybe-same-window): Rename from
0d3ff375 10791 display-buffer-maybe-same-window.
8319e0bf 10792
919a69aa
CY
10793 * info.el: Don't set same-window-regexps.
10794 (info-setup): New function.
10795 (info-other-window, info): Call it.
10796
10797 * cus-edit.el: Don't set same-window-regexps.
10798 (customize-group): New argument.
10799 (customize-group-other-window): Use it.
10800 (customize-face, customize-face-other-window): Likewise.
10801 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10802
8319e0bf
CY
10803 * net/rlogin.el:
10804 * net/telnet.el:
10805 * progmodes/gud.el: Don't set same-window-regexps.
10806
10807 * cmuscheme.el:
10808 * ielm.el:
10809 * shell.el:
10810 * mail/sendmail.el:
10811 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10812
25173000
JL
108132011-09-10 Juri Linkov <juri@jurta.org>
10814
10815 * isearch.el (isearch-edit-string): Remove obsolete mention of
10816 `C-w' (`isearch-yank-word-or-char') from docstring.
10817 (isearch-query-replace): Fix typo in docstring (bug#9466).
10818
056e44ef
JL
108192011-09-10 Juri Linkov <juri@jurta.org>
10820
10821 * paren.el (show-paren-function): Don't show escaped parens.
10822 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10823
c3760c17
EZ
108242011-09-10 Eli Zaretskii <eliz@gnu.org>
10825
10826 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10827 (mm-default-file-encoding): Remove autoload forms, they are
10828 replaced with autoload cookies in mml.el and mm-encode.el.
10829 (mail-add-attachment): New command.
10830 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10831 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10832 the doc string.
10833 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10834
fece895e
RT
108352011-09-10 Reuben Thomas <rrt@sc3d.org>
10836
e69df516
SM
10837 * simple.el (count-words-region): Use buffer if there's no region
10838 (bug#9429).
fece895e 10839
5e68ce4a
JL
108402011-09-09 Juri Linkov <juri@jurta.org>
10841
10842 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10843 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10844 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10845
0a6b9622
AM
108462011-09-09 Alan Mackenzie <acm@muc.de>
10847
10848 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10849 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10850
14a29deb
EZ
108512011-09-09 Eli Zaretskii <eliz@gnu.org>
10852
10853 Fix for Savannah bug#9392.
10854 * simple.el (mail-encode-mml): New defvar.
10855
10856 * mail/rmail.el (mail-encode-mml): Add a defvar.
10857 (rmail-enable-mime-composing): Default to t.
10858 (rmail-forward): Use MIME method of forwarding only if both
10859 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10860 Set mail-encode-mml non-nil if the MIME method was used.
10861
10862 * mail/sendmail.el (mml-to-mime): Add autoload form.
10863 (mail-encode-mml): Add a defvar.
10864 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10865 to nil.
10866 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10867 message through mml-to-mime, and reset mail-encode-mml to nil.
10868
28c45130
GM
108692011-09-09 Glenn Morris <rgm@gnu.org>
10870
10871 * woman.el (woman-if-body): When processing an .el block,
10872 do not delete the next .el block as well. (Bug#9447)
69f4b618 10873 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10874
9b1c252e
MR
108752011-09-08 Martin Rudalics <rudalics@gmx.at>
10876
10877 * window.el (window-deletable-p): Make sure window is live before
10878 invoking window-prev-buffers.
10879
567457e3
LL
108802011-09-08 Leo Liu <sdl.web@gmail.com>
10881
10882 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10883
97f05794
JL
108842011-09-08 Juri Linkov <juri@jurta.org>
10885
10886 * progmodes/compile.el (compilation-environment): Make it
10887 a defcustom (bug#8340).
10888
8b0874b5
MR
108892011-09-08 Martin Rudalics <rudalics@gmx.at>
10890
10891 * window.el (frame-auto-delete): Rename to window-auto-delete.
10892 Make it control auto-deletion of windows and/or frames.
10893 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10894 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10895 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10896 Rewrite handling of case when window/frame can be deleted.
10897 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10898 argument t. (Bug#9456)
8b0874b5 10899
4feb6e73
CY
109002011-09-07 Chong Yidong <cyd@stupidchicken.com>
10901
10902 * help-mode.el (help-mode): Restore autoload.
10903
91ab9c13
JL
109042011-09-07 Juri Linkov <juri@jurta.org>
10905
10906 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10907 `compilation-environment'. Set buffer-local
10908 `compilation-environment' to `thisenv' later after (funcall mode).
10909 (Bug#8340)
10910
10911 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10912 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10913 instead of replacing its value. (Bug#8340)
10914
0527e251
JL
109152011-09-07 Juri Linkov <juri@jurta.org>
10916
10917 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10918 based on text properties put by `grep-filter' instead of matching
10919 escape sequences.
10920 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10921 to the value of `grep-error-screen-columns' (bug#9438).
10922
249f792c
JL
109232011-09-07 Juri Linkov <juri@jurta.org>
10924
10925 * simple.el (next-error-highlight, next-error-highlight-no-select):
10926 Doc fix (bug#9432).
10927
ff7271b9
OT
109282011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10929
10930 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10931 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10932
183fc730
LL
109332011-09-07 Leo Liu <sdl.web@gmail.com>
10934
10935 * net/rcirc.el (rcirc-mode): Conditionally initialize
10936 rcirc-input-ring.
10937
77694924
SM
109382011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10939
10940 * emacs-lisp/find-func.el (find-function-C-source): Only set
10941 find-function-C-source-directory after checking that we found a source
10942 file there (bug#9440).
10943
d809b8eb
AM
109442011-09-06 Alan Mackenzie <acm@muc.de>
10945
10946 * isearch.el (isearch-other-meta-char): Wherever a key list is
10947 unread, "unread" the prefix arg, too. This fixes bug #8901.
10948
453de99f
OG
109492011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10950
10951 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10952
90439906
JL
109532011-09-05 Juri Linkov <juri@jurta.org>
10954
10955 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10956
f62bd846
JL
109572011-09-05 Juri Linkov <juri@jurta.org>
10958
10959 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10960 keeping point where processing of grep matches begins, and
10961 continue to delete remaining escape sequences from the same point.
10962 (grep-filter): Make leading zero optional in "0?1;31m" because
10963 git-grep emits "\033[1;31m" escape sequences unlike expected
10964 "\033[01;31m" as GNU Grep does (bug#9408).
10965 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10966
045820ec
JL
109672011-09-05 Juri Linkov <juri@jurta.org>
10968
10969 * subr.el (y-or-n-p): Capitalize "yes".
10970
f5e29b9b
MA
109712011-09-04 Michael Albinus <michael.albinus@gmx.de>
10972
10973 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10974 `tramp-cache-unload-hook' where appropriate.
10975 (tramp-methods): Rename `tramp-remote-sh' to
10976 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10977 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10978
10979 * net/tramp-sh.el (top): Don't require 'shell.
10980 (tramp-methods): Add `tramp-remote-shell' and
10981 `tramp-remote-shell-args' entries.
10982 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10983 (tramp-sh-handle-shell-command): Remove.
10984 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10985 Use `tramp-remote-shell'.
10986
2784c434
CY
109872011-09-03 Chong Yidong <cyd@stupidchicken.com>
10988
393a301e 10989 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10990 (sendmail-query-once): Save directly to send-mail-function.
10991 Update message-send-mail-function too.
10992
10993 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10994
464cdf56
CS
109952011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10996
10997 * progmodes/python.el (python-mode-map): Use correct function to
10998 start python interpreter from menu-bar (as reported by Geert
10999 Kloosterman).
11000 (inferior-python-mode-map): Fix typo.
393a301e 11001 (python-shell-map): Remove.
464cdf56 11002
d37e5c87
DD
110032011-09-03 Deniz Dogan <deniz@dogan.se>
11004
11005 * net/rcirc.el (rcirc-print): Simplify code for
11006 rcirc-scroll-show-maximum-output. There is no need to walk
11007 through all windows to find the right one.
11008
f3ada0ee
CS
110092011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11010
11011 * help.el (help-return-method): Doc fix.
11012
1f3c99ca
MR
110132011-09-03 Martin Rudalics <rudalics@gmx.at>
11014
11015 * window.el (window-deletable-p): Don't return a non-nil value
11016 when there's a buffer that was shown in the window before.
11017 (Bug#9419)
393a301e
SM
11018 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11019 Set window's previous buffers to nil.
1f3c99ca 11020
a3cf097f
EZ
110212011-09-03 Eli Zaretskii <eliz@gnu.org>
11022
11023 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11024 newline before and after the tag line, so it doesn't interfere
11025 with determining the paragraph direction of bidirectional text.
11026
3d03de90
LL
110272011-09-03 Leo Liu <sdl.web@gmail.com>
11028
11029 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11030
c3313451
CY
110312011-09-02 Chong Yidong <cyd@stupidchicken.com>
11032
393a301e 11033 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
11034 (pop-to-buffer): Change interactive spec. Pass second argument
11035 directly to display-buffer.
11036 (display-buffer): Fix interactive spec. Use functionp to
11037 distinguish between a function and a list of functions.
11038
11039 * abbrev.el (edit-abbrevs):
11040 * arc-mode.el (archive-extract):
11041 * autoinsert.el (auto-insert):
11042 * bookmark.el (bookmark-bmenu-list):
11043 * files.el (find-file):
11044 * view.el (view-buffer):
11045 * progmodes/compile.el (compilation-goto-locus):
11046 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11047
89894cd8
CY
110482011-09-02 Chong Yidong <cyd@stupidchicken.com>
11049
11050 * window.el (display-buffer-alist): Doc fix.
11051 (display-buffer): Add docstring. Don't treat
11052 display-buffer-default specially.
11053 (display-buffer-reuse-selected-window)
11054 (display-buffer-same-window, display-buffer-maybe-same-window)
11055 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11056 (display-buffer-pop-up-window)
11057 (display-buffer-reuse-or-pop-window)
11058 (display-buffer-use-some-window): New functions.
11059 (display-buffer-default-action): Use them.
393a301e 11060 (display-buffer-default): Delete.
89894cd8
CY
11061 (pop-to-buffer-1): Fix choice of actions.
11062
ae0bc9fb
SM
110632011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11064
11065 * minibuffer.el (completion--insert-strings): Don't get confused by
11066 completion entries that end with an LF char.
11067
e9d90883
EZ
110682011-09-01 Eli Zaretskii <eliz@gnu.org>
11069
11070 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11071
437014c8
CY
110722011-09-01 Chong Yidong <cyd@stupidchicken.com>
11073
11074 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
11075 (display-buffer-same-window, display-buffer-other-window):
11076 New functions.
437014c8
CY
11077 (pop-to-buffer-1): New function. Use the above.
11078 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 11079 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
11080
11081 * view.el (view-buffer-other-window, view-buffer-other-frame):
11082 Just use pop-to-buffer.
11083
a5e063d5
TV
110842011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11085
11086 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11087
793d32bb
WH
110882011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11089
11090 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11091
d65e4c15
RS
110922011-08-31 Richard Stallman <rms@gnu.org>
11093
11094 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11095 of the separation of rmail-view-buffer from rmail-buffer.
11096 If you say no to "replace original", the decrypt is in the
11097 view buffer. If you say yes, the decrypt goes into the
11098 rmail buffer also.
11099
f818cd2a
MR
111002011-08-31 Martin Rudalics <rudalics@gmx.at>
11101
11102 * window.el (display-buffer-window): Rewrite doc-string.
11103 (display-buffer-record-window): New function.
11104 (display-buffer-macro-specifiers)
11105 (display-buffer-even-window-sizes, display-buffer-set-height)
11106 (display-buffer-set-width, display-buffer-in-window)
11107 (display-buffer-reuse-window, display-buffer-split-specifiers)
11108 (display-buffer-side-specifiers, display-buffer-split-window-1)
11109 (display-buffer-split-window, display-buffer-split-atom-window)
11110 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11111 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11112 (display-buffer-other-window-means-other-frame)
11113 (display-buffer-normalize-special)
11114 (display-buffer-normalize-default)
11115 (display-buffer-normalize-argument)
11116 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11117 (display-buffer-normalize-specifiers, display-buffer-frame)
11118 (display-buffer-same-window, display-buffer-same-frame)
11119 (display-buffer-other-window)
11120 (display-buffer-same-frame-other-window)
11121 (display-buffer-other-frame, pop-to-buffer-same-window)
11122 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11123 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11124 (switch-to-buffer-same-frame)
11125 (switch-to-buffer-other-window-same-frame)
11126 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11127 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11128 (display-buffer-alist-set): Remove.
11129 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
11130 (special-display-regexps, special-display-function):
11131 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
11132 parameter.
11133 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11134 (special-display-frame-alist, special-display-popup-frame)
11135 (same-window-buffer-names, same-window-regexps, same-window-p)
11136 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11137 (split-window-preferred-function, split-height-threshold)
11138 (split-width-threshold, window-splittable-p)
11139 (split-window-sensibly, window--try-to-split-window)
11140 (window--frame-usable-p, even-window-heights)
11141 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
11142 (window--display-buffer-2, display-buffer-other-frame):
11143 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
11144 (display-buffer-default, display-buffer-assq-regexp): New functions.
11145 (display-buffer-alist): Rewrite doc-string.
11146 (display-buffer-default-action)
11147 (display-buffer-overriding-action): New variables.
11148 (display-buffer, switch-to-buffer): Rewrite.
11149 (pop-to-buffer): Restore Emacs 23 behavior but use
11150 window-normalize-buffer-to-display.
11151 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11152 Restore Emacs 23 behavior but use
11153 window-normalize-buffer-to-switch-to.
11154 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
11155 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11156 Rewrite using Emacs 23 options.
f818cd2a 11157
5bc3b51d
MA
111582011-08-31 Michael Albinus <michael.albinus@gmx.de>
11159
11160 * net/tramp.el (tramp-root-regexp): Remove.
11161 (tramp-completion-file-name-regexp-unified)
11162 (tramp-completion-file-name-regexp-separate)
11163 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 11164 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
11165 (tramp-drop-volume-letter): Simplify definition.
11166 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 11167
b1a4f8e1
SM
111682011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11169
11170 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11171 (bug#9356).
11172
5664fa7b
RT
111732011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11174
b1a4f8e1 11175 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 11176
9a45d6c3
JL
111772011-08-29 Juri Linkov <juri@jurta.org>
11178
11179 * isearch.el (isearch-done): Don't display message "Mark saved"
11180 when arg `edit' is non-nil to prevent its flicker in the echo area.
11181
fb87e0fb
CY
111822011-08-28 Chong Yidong <cyd@stupidchicken.com>
11183
11184 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11185 obsolete packages for deletion.
11186
09ac1c2a
CS
111872011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11188
11189 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11190 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11191 view-mode from help-mode.
11192 (help-xref-override-view-map): Remove.
11193 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11194 view-mode is not used anymore.
11195
7a1ff57f
CY
111962011-08-28 Chong Yidong <cyd@stupidchicken.com>
11197
11198 * server.el (server-port): Doc fix.
11199
b9696605
CY
11200 * cus-theme.el (custom-theme-choose-mode): Inherit from
11201 special-mode (Bug#9124).
11202 (custom-theme-choose-mode-map): Add special-mode to parent.
11203
ef8cdf8c
AM
112042011-08-28 Alan Mackenzie <acm@muc.de>
11205
11206 * progmodes/cc-fonts.el
11207 (c-make-font-lock-BO-decl-search-function): New function.
11208 (c-basic-matchers-after - "Fontify the clauses after various
11209 keywords"): Extract the three keyword lists for the 3 erroneous
11210 constructs from the list of four, and use the new function above
11211 in place of an old one.
11212
27de4e20
DD
112132011-08-28 Deniz Dogan <deniz@dogan.se>
11214
11215 * net/rcirc.el (rcirc-insert-prev-input)
11216 (rcirc-insert-next-input): Remove unused argument.
11217
356a3681
SM
112182011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11219
11220 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11221
3fc9b218
AM
112222011-08-27 Alan Mackenzie <acm@muc.de>
11223
11224 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11225 handle function pointer parameters properly.
11226
538a061c
MR
112272011-08-27 Martin Rudalics <rudalics@gmx.at>
11228
11229 * window.el (display-buffer-reuse-window): Fix case where
11230 selected window was reused with non-nil OTHER-WINDOW argument.
11231 (Bug#9381)
11232
35b1c40c
DD
112332011-08-27 Deniz Dogan <deniz@dogan.se>
11234
11235 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11236 oftc's NickServ messages.
11237
2f6a3e79
GM
112382011-08-27 Glenn Morris <rgm@gnu.org>
11239
11240 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11241
7254299e
CY
112422011-08-26 Chong Yidong <cyd@stupidchicken.com>
11243
11244 * emacs-lisp/package.el (package-install): Call package-initialize
11245 if called interactively.
11246
f8ccf167
LL
112472011-08-26 Leo Liu <sdl.web@gmail.com>
11248
11249 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11250
3e8cd5ce
JL
112512011-08-25 Juri Linkov <juri@jurta.org>
11252
11253 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11254 `search-whitespace-regexp' (bug#9364).
11255
93eb7113
JL
112562011-08-25 Juri Linkov <juri@jurta.org>
11257
11258 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11259 `regexp-search-ring' to their global values to protect from
11260 updating by `read-from-minibuffer' (bug#9185).
11261
f65d1611
JL
112622011-08-25 Juri Linkov <juri@jurta.org>
11263
11264 * textmodes/ispell.el (ispell-command-loop): Add newline
11265 at the end of the "Use option `i'..." line.
11266
f1cf7a31
JL
112672011-08-25 Juri Linkov <juri@jurta.org>
11268
11269 * battery.el (display-battery-mode): If `battery-status-function'
11270 or `battery-mode-line-format' is nil, display the message and set
11271 `display-battery-mode' to nil (bug#9363).
11272
0c95fcf7
EZ
112732011-08-25 Eli Zaretskii <eliz@gnu.org>
11274
11275 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11276 bidi-string-mark-left-to-right; they are unnecessary now.
11277
a2ebe600
DD
112782011-08-25 Deniz Dogan <deniz@dogan.se>
11279
11280 * net/quickurl.el: Documentation typo fixes.
11281
e4ed06f1
CY
112822011-08-25 Chong Yidong <cyd@stupidchicken.com>
11283
11284 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11285
e5f1c99e
GM
112862011-08-25 Glenn Morris <rgm@gnu.org>
11287
b2948976
GM
11288 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11289
e5f1c99e
GM
11290 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11291 (smtpmail-via-smtp): Handle nil response from smtp.
11292
f22f4808
JL
112932011-08-24 Juri Linkov <juri@jurta.org>
11294
11295 * proced.el (proced-marked): Inherit from `error' instead of
11296 `font-lock-warning-face'.
11297
11298 * ibuffer.el (ibuffer-marked-face): Change default face from
11299 `font-lock-warning-face' to `warning'.
11300 (ibuffer-deletion-face): Change default face from
11301 `font-lock-type-face' to `error'.
11302
11303 * battery.el (battery-update): Use the face `error' instead of
11304 `font-lock-warning-face' (bug#6117).
11305
6a93965e
JL
113062011-08-24 Juri Linkov <juri@jurta.org>
11307
11308 * faces.el (success): Change face color from "Green3" to
11309 "ForestGreen" on light background (bug#9353).
11310
1ed43b09
CY
113112011-08-24 Chong Yidong <cyd@stupidchicken.com>
11312
5664fa7b
RT
11313 * window.el (quit-window): Rename from quit-restore-window.
11314 Use same arglist as old quit-window.
1ed43b09
CY
11315 (frame-auto-delete): Doc fix.
11316
11317 * view.el (view-mode-exit): Use quit-window.
11318
11dcdbb2
JL
113192011-08-24 Juri Linkov <juri@jurta.org>
11320
11321 * isearch.el (isearch-ring-adjust1): Start visiting previous
11322 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11323 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11324 for empty search string (when the last search string is reused
11325 automatically) to adjust the isearch ring to the last element and
11326 prepare the correct index for further M-p commands (bug#9185).
11327
de62b4df
KH
113282011-08-24 Kenichi Handa <handa@m17n.org>
11329
11330 * international/ucs-normalize.el: If decomposition property of
11331 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11332 nil.
11333 (nfd, nfkd): Likewise.
11334
963b492b
SM
113352011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11336
11337 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11338 from process filters aren't reliably transmitted to the surrounding
11339 accept-process-output.
11340 (mpc-proc-check): New function.
11341 (mpc-proc-sync): Use it (bug#8293)
11342
93b6b5e1
SM
113432011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11344
11345 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11346 Add compatibility functions (bug#9313).
11347
bca633fb
EZ
113482011-08-23 Eli Zaretskii <eliz@gnu.org>
11349
b177498a
EZ
11350 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11351
6df6ae42 11352 * international/uni-bidi.el: Regenerate.
bca633fb 11353
0902a04e
KH
113542011-08-23 Kenichi Handa <handa@m17n.org>
11355
11356 * international/charprop.el:
11357 * international/uni-bidi.el:
11358 * international/uni-category.el:
11359 * international/uni-combining.el:
11360 * international/uni-comment.el:
11361 * international/uni-decimal.el:
11362 * international/uni-decomposition.el:
11363 * international/uni-digit.el:
11364 * international/uni-lowercase.el:
11365 * international/uni-mirrored.el:
11366 * international/uni-name.el:
11367 * international/uni-numeric.el:
11368 * international/uni-old-name.el:
11369 * international/uni-titlecase.el:
11370 * international/uni-uppercase.el: Regenerate.
11371
3bbf23bc
MR
113722011-08-23 Martin Rudalics <rudalics@gmx.at>
11373
11374 * help.el (help-window-setup): Fix message displayed when other
11375 window is reused. (Bug#9341)
11376
b3fd59bd
SM
113772011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11378
1802e444
SM
11379 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11380 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11381
b3fd59bd
SM
11382 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11383 Mark obsolete.
11384 * shell.el (shell-parse-pcomplete-arguments): New function.
11385 (shell-completion-vars): Use it instead (bug#9160).
11386
4eb61348
SM
113872011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11388
867cab74
SM
11389 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11390 strings and comments (bug#9333).
11391
4eb61348
SM
11392 * emacs-lisp/debug.el (debug-arglist): New function.
11393 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11394 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11395
262a1439
JL
113962011-08-22 Juri Linkov <juri@jurta.org>
11397
56ee679c
JL
11398 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11399 Revert regexp that highlights output switches to its old
11400 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11401
262a1439
JL
11402 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11403 to check for empty output (bug#9226).
11404
f13f86fb
CY
114052011-08-22 Chong Yidong <cyd@stupidchicken.com>
11406
11407 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11408 symbol-constituent as the default, as that stops font-lock from
11409 working properly (Bug#8843).
11410
c65c9622
LMI
114112011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11412
11413 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11414 `coding-system-for-*' around the process open call to avoid
11415 auth-source side effects.
e7f2c178 11416 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11417 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11418 probe hangs.
c65c9622 11419
23a8a5ab
CY
114202011-08-21 Chong Yidong <cyd@stupidchicken.com>
11421
ff98b2dd
CY
11422 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11423
23a8a5ab
CY
11424 * emacs-lisp/find-func.el (find-function-noselect): New arg
11425 lisp-only.
11426
11427 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11428 signal an error for built-in functions (Bug#6664).
11429
f5e3c598
LMI
114302011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11431
11432 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11433 (smtpmail-try-auth-methods): Use it.
11434
a3f2468a
CY
114352011-08-21 Chong Yidong <cyd@stupidchicken.com>
11436
2c34e8da
CY
11437 * font-lock.el (font-lock-fontify-region)
11438 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11439 (font-lock-default-unfontify-buffer)
11440 (font-lock-default-fontify-region)
11441 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11442
b3fd59bd
SM
11443 * progmodes/compile.el (compilation-error-properties):
11444 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11445 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11446 `ant' regexp.
ee31aabc 11447
a3f2468a
CY
11448 * net/browse-url.el (browse-url-firefox): Don't call
11449 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11450
8e999f70
GM
114512011-08-20 Glenn Morris <rgm@gnu.org>
11452
c21a496a
GM
11453 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11454
59ee0542
GM
11455 * tutorial.el (tutorial--default-keys): Update some default bindings.
11456
8e999f70
GM
11457 * files.el (hack-local-variables): Fully ignore case for "mode:".
11458
e3715033
AM
114592011-08-20 Alan Mackenzie <acm@muc.de>
11460
11461 Resolve invalid use of a regexp in regexp-opt.
11462
4d61f28d
JB
11463 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11464 detection for a java annotation.
e3715033 11465
4d61f28d 11466 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11467 detection for a java annotation.
11468
4d61f28d
JB
11469 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11470 handling for java.
e3715033
AM
11471 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11472
04ed2e9c
CY
114732011-08-20 Chong Yidong <cyd@stupidchicken.com>
11474
11475 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11476 (Bug#9274).
11477
826cee64
AM
114782011-08-20 Alan Mackenzie <acm@muc.de>
11479
58179cce 11480 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11481 such a construct. Mainly for when jit-lock etc. starts a chunk
11482 here.
11483
58179cce 11484 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11485 variable.
58179cce 11486 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11487 c-make-font-lock-search-function.
11488 (c-make-font-lock-search-function): Use the above function.
11489 (c-make-font-lock-context-search-function): New function.
11490 (c-cpp-matchers): Enhance the preprocessor expression case with
11491 the above function
11492 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11493 which takes an expression.
11494
11495 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11496
13009bd8
MR
114972011-08-20 Martin Rudalics <rudalics@gmx.at>
11498
11499 * window.el (display-buffer-reuse-window)
11500 (display-buffer-pop-up-window): Don't reuse or split a side
11501 window.
11502
9234ff7f
GM
115032011-08-19 Glenn Morris <rgm@gnu.org>
11504
11505 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11506 Downcase "Mode:". (Bug#9331)
9234ff7f 11507
f635daa1
CY
115082011-08-18 Chong Yidong <cyd@stupidchicken.com>
11509
11510 * international/characters.el: Add L and R categories.
11511
11512 * subr.el (bidi-string-mark-left-to-right): Rename from
11513 string-mark-left-to-right. Use category search.
11514
11515 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11516
bc987f8b
JL
115172011-08-18 Juri Linkov <juri@jurta.org>
11518
11519 * faces.el (error, warning, success): New faces with definitions
11520 copied from old default values of `font-lock-warning-face',
11521 `compilation-warning', `compilation-info' (bug#6117).
11522
11523 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11524
11525 * progmodes/compile.el (compilation-error): Inherit from `error'.
11526 (compilation-warning): Inherit from `warning'.
11527 (compilation-info): Inherit from `success'.
11528
11529 * dired.el (dired-marked): Inherit from `warning'.
11530 (dired-flagged): Inherit from `error'.
11531
57173b96
LMI
115322011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11533
3e79eb87
LMI
11534 * mail/smtpmail.el (auth-source): Require to avoid problems with
11535 binding variables (bug#9298). Also clean up some unused
11536 autoloads.
11537
b3fd59bd
SM
11538 * net/network-stream.el (network-stream-open-starttls):
11539 Support using starttls.el without using gnutls-cli.
57173b96 11540
02b404de
JL
115412011-08-17 Juri Linkov <juri@jurta.org>
11542
11543 * progmodes/grep.el (rgrep): Handle the case when
11544 `grep-find-command' is a cons cell (bug#9278).
11545
8c9177f2
MR
115462011-08-17 Martin Rudalics <rudalics@gmx.at>
11547
11548 * window.el (display-buffer-pop-up-frame): Run frame creation
11549 function with BUFFER current (as special-display-popup-frame
11550 does). Reported by Drew Adams.
11551
3644a0ab
DU
115522011-08-17 Daiki Ueno <ueno@unixuser.org>
11553
11554 * epa-mail.el: Simplify GnuPG group expansion using
11555 epg-expand-group.
11556 (epa-mail-group-alist, epa-mail-group-modtime)
11557 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11558 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11559 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11560 Remove.
11561
5e617bc2 115622011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11563
11564 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11565
9c4aeabf
AM
115662011-08-16 Alan Mackenzie <acm@muc.de>
11567
11568 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11569 Correct, to avoid the inside of macros.
11570
3a99bf64
RS
115712011-08-16 Richard Stallman <rms@gnu.org>
11572
04963aa8
RS
11573 * epa-mail.el: Handle GnuPG group definitions.
11574 (epa-mail-group-alist, epa-mail-group-modtime)
11575 (epa-mail-gnupg-conf-file): New variables.
11576 (epa-mail-parse-groups, epa-mail-sync-groups)
11577 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11578 (epa-mail-expand-recipients): New functions.
11579 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11580
177549d0
RS
11581 * mail/rmail.el (rmail-epa-decrypt): New command.
11582
fe38beef
RS
11583 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11584 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11585 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11586 (epa-decrypt-armor-in-region): Make error message clearer.
11587
934eacb9
SM
115882011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11589
11590 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11591 and "a2b" to "ab" for `prefix'.
11592
d024fb4e
CY
115932011-08-14 Chong Yidong <cyd@stupidchicken.com>
11594
11595 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11596 filter groups.
de148fee
CY
11597 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11598 Fourquet (Bug#8804).
d024fb4e 11599
62f1ca49
JB
116002011-08-12 Juanma Barranquero <lekktu@gmail.com>
11601
11602 * startup.el (argi): Declare as global variable (bug#9275).
11603
9ccaaa4b
CY
116042011-08-12 Chong Yidong <cyd@stupidchicken.com>
11605
11606 * subr.el (string-mark-left-to-right): Search the entire string
11607 for RTL script, not just the terminating character. Doc fix.
11608
a3dae87a
SM
116092011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11610
6cd18349
SM
11611 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11612 New function.
11613 (js--regexp-literal, js-syntax-propertize-function): Remove.
11614 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11615 (js-mode-map): Don't rebind electric keys.
11616 (js-insert-and-indent): Remove.
11617 (js-mode): Setup electric-layout and electric-indent instead.
11618
a3dae87a
SM
11619 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11620
9d5cb631
DU
116212011-08-12 Daiki Ueno <ueno@unixuser.org>
11622
11623 * epa.el (epa-progress-callback-function): Fix the logic of
11624 displaying progress.
11625 * epa-file.el (epa-file-insert-file-contents): Make progress
11626 display more user-friendly.
11627 (epa-file-write-region): Ditto.
11628
3e26a4a2
CY
116292011-08-10 Chong Yidong <cyd@stupidchicken.com>
11630
11631 * subr.el (string-mark-left-to-right): New function.
11632
11633 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11634 Use string-mark-left-to-right.
11635 (list-buffers-noselect): Caller changed.
11636
a3dae87a
SM
11637 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11638 Use string-mark-left-to-right.
3e26a4a2
CY
11639 (tabulated-list-print): Recenter after moving point.
11640
ac8cf6e6
JL
116412011-08-10 Juri Linkov <juri@jurta.org>
11642
11643 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11644 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11645 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11646
8d96c9a4
CY
116472011-08-09 Chong Yidong <cyd@stupidchicken.com>
11648
11649 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11650 (Bug#7554).
11651
7be1c708 116522011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11653
11654 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11655 character. (Bug#6594)
11656
37e11a63
CY
116572011-08-08 Chong Yidong <cyd@stupidchicken.com>
11658
839dde57
CY
11659 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11660 (image-dired--with-db-file): New macro.
11661 (image-dired-write-tags, image-dired-remove-tag)
11662 (image-dired-create-gallery-lists, image-dired-write-comments)
11663 (image-dired-get-comment, image-dired-mark-tagged-files)
11664 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11665 (image-dired-gallery-generate): Use insert-file-contents.
11666
37e11a63
CY
11667 * time.el (display-time-world-list, display-time-world-display):
11668 * time-stamp.el (time-stamp-string):
11669 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11670 set-time-zone-rule (Bug#7337).
11671
0b4946c4
DU
116722011-08-08 Daiki Ueno <ueno@unixuser.org>
11673
11674 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11675 (epg-error-to-string, epg-errors-to-string): New function.
11676 (epg-wait-for-completion): Reverse errors list.
11677 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11678 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11679 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11680 (epg-sign-keys, epg-generate-key-from-file)
11681 (epg-generate-key-from-string): Format errors by using
11682 epg-errors-to-string (bug#9255).
11683 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11684
75bfc667
JL
116852011-08-07 Juri Linkov <juri@jurta.org>
11686
11687 * faces.el (list-faces-display): Remove extra angle bracket
11688 from `help-mode-map'.
11689
11690 * info.el (Info-history-toc-nodes): Doc fix.
11691
11692 * longlines.el (longlines-mode): Doc fix.
11693
673e08bb
SM
116942011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11695
4640dd88
SM
11696 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11697 of statements and in a few more cases (bug#9183).
11698
673e08bb
SM
11699 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11700 New functions.
11701 (cl-transform-lambda): Use them (bug#9239).
11702
89b3f019
MR
117032011-08-05 Martin Rudalics <rudalics@gmx.at>
11704
11705 * window.el (display-buffer-same-window)
11706 (display-buffer-same-frame, display-buffer-other-window)
11707 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11708 (pop-to-buffer-other-window)
11709 (pop-to-buffer-same-frame-other-window)
11710 (pop-to-buffer-other-frame): Make them defuns.
11711 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11712
640c8776
SM
117132011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11714
11715 * subr.el (make-composed-keymap): Move from C. Change calling
11716 convention, and improve docstring to bring attention to a subtle point.
11717 * minibuffer.el (completing-read-default): Adjust accordingly.
11718
63648a95
MA
117192011-08-03 Michael Albinus <michael.albinus@gmx.de>
11720
11721 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11722 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11723
11724 * net/trampver.el: Update release number.
11725
b796c9b7
SM
117262011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11727
11728 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11729 "in" (bug#9190).
11730
2239d7d5
LMI
117312011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11732
e07dd7c3
LMI
11733 * mail/sendmail.el (sendmail-query-once): Restore the current
11734 buffer after querying (bug#9074).
11735
0e6a2bd7
LMI
11736 * dired.el (dired-flagged): Use different faces for marked and
11737 flagged files (bug#6117).
11738
ce887515
LMI
11739 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11740 (bug#4433).
11741
92f2affc
LMI
11742 * ido.el (ido-mode): Switch off the message if called
11743 non-interactively.
11744
57d5aff0
LMI
11745 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11746 before 587, since it appears that that's more likely to work for
11747 more people.
11748
98cd6c18 11749 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11750 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11751 exist.
11752
b96dec83
LMI
11753 * info.el: Remove the `Info-beginning-of-buffer' function
11754 (bug#8325).
11755
b796c9b7
SM
11756 * net/network-stream.el (network-stream-open-starttls):
11757 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11758
d90e2ea0
MR
117592011-08-01 Martin Rudalics <rudalics@gmx.at>
11760
11761 * window.el (display-buffer-in-window): Don't set dedicated status
11762 of window here (Bug#9215).
11763 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11764 (display-buffer-pop-up-side-window)
b796c9b7 11765 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11766
cca09170
SM
117672011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11768
11769 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11770 before binding generated-autoload-file.
11771
027b979c
DD
117722011-08-01 Deniz Dogan <deniz@dogan.se>
11773
11774 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11775
3c7ee4f3
MA
117762011-07-30 Michael Albinus <michael.albinus@gmx.de>
11777
11778 Sync with Tramp 2.2.2.
11779
11780 * net/trampver.el: Update release number.
11781
2cc8e51a
JL
117822011-07-30 Juri Linkov <juri@jurta.org>
11783
11784 * dired-aux.el (dired-touch-initial): Remove function.
11785 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11786 current time, and `default' to the last modification time of the
11787 current marked file (bug#6887).
11788
a514d856
JM
117892011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11790
11791 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11792 numeric argument to read-number (bug#9163).
a514d856 11793
8a7eddd7
MA
117942011-07-27 Michael Albinus <michael.albinus@gmx.de>
11795
11796 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11797 connection process, it could be nil.
11798
1ddd96f5
LL
117992011-07-27 Leo Liu <sdl.web@gmail.com>
11800
11801 Simplify url handling in rcirc-mode.
11802
11803 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11804 (rcirc-browse-url-at-mouse): Remove.
11805 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11806
b248a85d
AM
118072011-07-26 Alan Mackenzie <acm@muc.de>
11808
11809 Fontify bitfield declarations properly.
11810
11811 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11812 (c-symbol-chars): Now exported as a lang variable.
11813 (c-not-primitive-type-keywords): New lang variable.
11814
11815 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11816 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11817 parsed as a bitfield declaration.
b248a85d 11818
b796c9b7
SM
11819 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11820 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11821 (c-punctuation-in): New function.
11822 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11823 declarations properly.
11824
68575ab0
UJ
118252011-07-26 Ulf Jasper <ulf.jasper@web.de>
11826
11827 * calendar/icalendar.el (icalendar--all-events): Take care of
11828 multiple vcalendars in a single file.
b796c9b7 11829 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11830
0f0a88b9
DD
118312011-07-25 Deniz Dogan <deniz@dogan.se>
11832
11833 * image.el (insert-image): Clarifying docstring.
11834
0b3f36df
MA
118352011-07-24 Michael Albinus <michael.albinus@gmx.de>
11836
11837 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11838 `tramp-send-command-and-check' if there is no error.
11839 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11840
a9901f61
AM
118412011-07-22 Alan Mackenzie <acm@muc.de>
11842
11843 Prevent cc-langs.elc being loaded at run time.
11844
11845 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11846 cc-langs.
11847
4d61f28d 11848 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11849 "(require 'cc-langs)". Quote a form so it will evaluate at
11850 (cc-mode's) compilation time.
11851
11d074b2
MA
118522011-07-22 Michael Albinus <michael.albinus@gmx.de>
11853
11854 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11855 loading. (Bug#9114)
11856
938b94c8
MR
118572011-07-21 Martin Rudalics <rudalics@gmx.at>
11858
11859 * window.el (display-buffer-pop-up-window)
11860 (display-buffer-pop-up-side-window)
11861 (display-buffer-in-side-window): Call display-buffer-set-height
11862 and display-buffer-set-width after setting the new window's
b796c9b7 11863 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11864
bfa4f190
SS
118652011-07-20 Sam Steingold <sds@gnu.org>
11866
11867 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11868 (etags-tags-included-tables): Call `convert-standard-filename' on
11869 the file names contained in TAGS so that windows Emacs can handle
11870 TAGS files created by cygwin ctags.
11871
8ca42262
LMI
118722011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11873
11874 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11875 which apparently didn't work.
11876
5db2afd2 118772011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11878
5db2afd2
RW
11879 * proced.el (proced-send-signal): For *Marked Processes* buffer
11880 put point at beginning of buffer.
11881
92e15d10
SB
118822011-07-19 Stephen Berman <stephen.berman@gmx.net>
11883
11884 * proced.el (proced-format): Make header lines align with the text
11885 (bug#1779).
11886
1bfd59e5
LMI
118872011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11888
11889 * view.el (view-buffer): Allow running in `special' modes if we're
11890 visiting a file (bug#8615).
11891
f5aae37c
MR
118922011-07-19 Martin Rudalics <rudalics@gmx.at>
11893
11894 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11895 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11896 New functions.
f5aae37c
MR
11897 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11898 more accurately.
11899
bf2c1571
AM
119002011-07-18 Alan Mackenzie <acm@muc.de>
11901
11902 Fontify declarators properly when, e.g., a jit-lock chunk begins
11903 inside a declaration.
11904
11905 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11906
b796c9b7
SM
11907 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11908 New function.
bf2c1571
AM
11909 (c-complex-decl-matchers): Insert reference to
11910 c-font-lock-enclosing-decls.
11911
11912 * progmodes/cc-engine.el (c-backward-single-comment):
11913 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11914 to nil around calls to (forward-comment -1).
11915
4e190b80
LMI
119162011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11917
12dc863d
LMI
11918 * image.el (put-image): Doc typo fix.
11919
a762e966
LMI
11920 * progmodes/etags.el (tags-search): Doc typo fix.
11921
4e190b80
LMI
11922 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11923 password if we get errors 550 to 554.
11924
f019fb21
LMI
119252011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11926
b796c9b7 11927 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11928
81746738
LMI
11929 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11930 indentation character (bug#6380).
11931
3ee3a1b5
LMI
11932 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11933
c82f64de
LMI
11934 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11935 to clarify what the problem is (bug#4291).
11936
f019fb21
LMI
11937 * simple.el (current-kill): Clarify what
11938 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11939 (auto-fill-mode): Document `auto-fill-function' in relation to
11940 `auto-fill-mode' (bug#2470).
f019fb21 11941
0794775d
LM
119422011-07-16 Lawrence Mitchell <wence@gmx.li>
11943
11944 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11945 method if slot is read-only (bug#9035).
11946
be39b8cc
MR
119472011-07-16 Martin Rudalics <rudalics@gmx.at>
11948
b796c9b7 11949 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11950 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11951 selected before, see discussion of (Bug#8615), (Bug#6954).
11952 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11953
6ccf7859
GM
119542011-07-15 Glenn Morris <rgm@gnu.org>
11955
11956 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11957 Respect help-form.
6ccf7859 11958
87e86684
LM
119592011-07-09 Lawrence Mitchell <wence@gmx.li>
11960
11961 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11962 (gnutls-negotiate): Use it.
11963
d6066239
LMI
119642011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11965
b796c9b7
SM
11966 * net/gnutls.el (gnutls-negotiate):
11967 Upcase `gnutls-algorithm-priority'.
d6066239 11968
bd23ebc0
GM
119692011-07-15 Glenn Morris <rgm@gnu.org>
11970
c65bca65
GM
11971 * jka-compr.el (jka-compr-verbose): Move from here...
11972 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11973 Add missing :version tag.
11974 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11975
478615cc
LMI
119762011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11977
7b41decb
LMI
11978 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11979 (gnutls-negotiate): Use it.
11980
dbc44fcd
LMI
11981 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11982
06789f97
LMI
11983 * info.el (Info-beginning-of-buffer): New command.
11984 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11985 announcing `b' as the key (bug#8325).
ab896c37 11986 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11987
c39da690
LMI
11988 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11989
3aa5f34b
LMI
11990 * international/mule-cmds.el
11991 (describe-specified-language-support): Make the error message
11992 clearer (bug#8905).
11993
4bf0979f
LMI
11994 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11995
478615cc
LMI
11996 * isearch.el (isearch-barrier): Add a doc string, since it's
11997 mentioned in a function doc string (bug#8678).
11998
75c68aa1
MR
119992011-07-15 Martin Rudalics <rudalics@gmx.at>
12000
12001 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12002 buffer argument (Bug#9083) and self-identifying label argument.
12003
a7c33da2
GM
120042011-07-15 Glenn Morris <rgm@gnu.org>
12005
12006 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12007
2f5c6024
LMI
120082011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12009
12010 * man.el (Man-fontify-manpage): Fix message when formatting the
12011 man page (bug#7929).
12012
0bb23927 120132011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
12014
12015 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12016 argument LRM; if non-nil, append an invisible LRM character to the
12017 buffer name.
12018 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12019 last argument non-nil, when formatting buffer names.
0bb23927
EZ
12020 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12021 paragraph direction.
cce4b0a7 12022
621ef9ab
LMI
120232011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12024
d1583c48
LMI
12025 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12026 the man page name (bug#7929).
12027
6a57fb5f
LMI
12028 * image.el (put-image): Mention the `put-image' overlay property
12029 (bug#7834).
12030
d7956b14
LMI
12031 * scroll-bar.el (set-scroll-bar-mode): Mention that
12032 `scroll-bar-mode' lists the values (bug#7772).
12033
5b2d4a66
LMI
12034 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12035 command (bug#7729).
12036
7509a874
LMI
12037 * rect.el (apply-on-rectangle): Return the point after the last
12038 operation.
12039 (string-rectangle): Go to the point after the last operation
12040 (bug#7522).
12041
4fe74b19
LMI
12042 * printing.el (pr-toggle-region): Clarify the documentation
12043 slightly (bug#7493).
12044
b796c9b7
SM
12045 * time.el (display-time-update):
12046 Allow `display-time-mail-function' to return nil (bug#7158).
12047 Fix suggested by Detlev Zundel.
ab283561 12048
fc233c9d
LMI
12049 * vc/diff.el (diff): Clarify the order the file names are read
12050 (bug#7111).
12051
43f5740b
LMI
12052 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12053 the doc string (bug#7015).
12054
f2182a76
LMI
12055 * font-lock.el (font-lock-maximum-decoration): Mention what
12056 numeric levels mean (bug#6935).
12057
621ef9ab
LMI
12058 * startup.el (initial-buffer-choice): Don't mention the `none'
12059 selection, which is against policy.
12060
adc47434
MR
120612011-07-14 Martin Rudalics <rudalics@gmx.at>
12062
b796c9b7
SM
12063 * window.el (display-buffer-normalize-special):
12064 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 12065
7e5bfb8f
EZ
120662011-07-14 Eli Zaretskii <eliz@gnu.org>
12067
12068 * subr.el (version<, version<=, version=): Mention "-CVS" and
12069 "-12345" alpha version numbers.
12070
27fa387a
CY
120712011-07-14 Chong Yidong <cyd@stupidchicken.com>
12072
12073 * bindings.el: Add advertised binding for set-mark-command
12074 (Bug#5772).
12075
8bdfa064
CY
120762011-07-14 Chong Yidong <cyd@stupidchicken.com>
12077
12078 * bindings.el (mode-line-other-buffer):
12079 * bookmark.el (bookmark-bmenu-2-window):
12080 * bs.el (bs-cycle-next, bs-cycle-previous):
12081 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12082 switch-to-buffer.
12083
12084 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 12085 Delete.
8bdfa064 12086
5eba16a3
JB
120872011-07-14 Juanma Barranquero <lekktu@gmail.com>
12088
12089 * follow.el (follow-debug-message, follow-redisplay):
12090 * jka-cmpr-hook.el (with-auto-compression-mode):
12091 Fix typos in docstrings.
12092
15853710
LMI
120932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12094
a28e4607
LMI
12095 * subr.el (with-silent-modifications): Clarify somewhat what the
12096 macro inhibits (bug#6525).
12097
15853710
LMI
12098 * simple.el (eval-expression): Note what it does if called
12099 interactively (bug#6495).
12100
bee0fcef
CY
121012011-07-13 Chong Yidong <cyd@stupidchicken.com>
12102
b796c9b7
SM
12103 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12104 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
12105
12106 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12107 Remove switch-to-buffer.
12108
58274504
LMI
121092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12110
bd2fcc8d
LMI
12111 * files.el (make-directory): Clarify that an error will be raised
12112 if there's an error (bug#6397).
12113
0f04b32c
LMI
12114 * startup.el (initial-buffer-choice): Add `none' as a choice
12115 (bug#6234).
12116
465c5fc8
LMI
12117 * subr.el (add-hook): Clarify section about buffer-local hooks
12118 (bug#6218).
12119
58274504
LMI
12120 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12121
bead9a43
JB
121222011-07-13 Juanma Barranquero <lekktu@gmail.com>
12123
12124 * tabify.el (untabify): Preserve the current column so that point
12125 doesn't move (bug#6032).
12126
3af98a7b
LMI
121272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12128
b796c9b7
SM
12129 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12130 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 12131
6240145a
GM
121322011-07-13 Glenn Morris <rgm@gnu.org>
12133
12134 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12135 (dired-insert-directory): Give a message the first time
12136 if ls is found not to support --dired.
12137
1d8c2ccc
LMI
121382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12139
12140 * simple.el (toggle-truncate-lines): Clarify what is toggled
12141 (bug#5580). Text by Drew Adams.
12142
5fc4038e
CY
121432011-07-13 Chong Yidong <cyd@stupidchicken.com>
12144
12145 * simple.el (blink-matching-open): Make the error message from the
12146 last change less verbose.
12147
bf6012e5
DN
121482011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12149
12150 * font-lock.el (font-lock-comment-face): Use the high contrast
12151 "yellow" color for font-lock-comment-face on low color terminals
12152 using a dark background color (bug#4221).
12153
343c3b5a
LMI
121542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12155
7e9505c5
LMI
12156 * dired.el (dired-insert-set-properties): Make the doc string
12157 reflect what it does now (bug#5325).
12158
c26fdcf5
LMI
12159 * simple.el (blink-matching-open): Say that we were unable to find
12160 the match within the limit, if we're limited (bug#5122).
12161
bb388cc5
LMI
12162 * international/mule-cmds.el (prefer-coding-system): Add an
12163 example (bug#4869).
12164
343c3b5a
LMI
12165 * progmodes/etags.el (tags-search): Document `file-list-form'
12166 (bug#4731).
12167
2a517d45
LM
121682011-07-13 Lawrence Mitchell <wence@gmx.li>
12169
12170 * net/browse-url.el (browse-url-default-browser)
12171 (browse-url-browser-function): Make the default browser choice a
12172 bit more logical (bug#4300). Also clean up the doc string.
12173
b6c78ef2
JB
121742011-07-13 Juanma Barranquero <lekktu@gmail.com>
12175
12176 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12177 binary endings (bug#4440).
12178
1c4dd947
LMI
121792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12180
a2014063
LMI
12181 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12182 which can be pretty annoying (bug#8971).
12183
9c9c2d88
LMI
12184 * jka-compr.el (jka-compr-verbose): New variable, and use
12185 throughout (bug#8971).
12186
1c4dd947
LMI
12187 * info.el (Info-find-file): Fall back on the installation
12188 directory if we can't find the info node anywhere else.
12189
a1c9f41b
SO
121902011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12191
12192 * vc/vc.el (vc-revert-file):
12193 Don't set file time-stamp in the past. (Bug#5181)
12194
536f3d36
LMI
121952011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12196
7152b011
LMI
12197 * files.el (after-find-file): Give a better error message when
12198 trying to find a symlink that points to a file that doesn't exist
12199 (bug#4398).
12200
536f3d36
LMI
12201 * progmodes/cc-vars.el: Remove (probably) misleading comment
12202 (bug#4396).
12203
460c0fba
JB
122042011-07-12 Johan Bockgård <bojohan@gnu.org>
12205
12206 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12207
7a6bda45
CY
122082011-07-12 Chong Yidong <cyd@stupidchicken.com>
12209
12210 * mouse-sel.el: Hack restoring functionality, while keeping
12211 compatibility with 2010-07-03 changes to mouse selection.
12212 (mouse-sel-primary-overlay): New var.
12213 (mouse-sel-selection-alist): Use it.
12214 (mouse-sel-mode): Doc fix; remove points that are default features
12215 of mouse.el.
12216
c79598ef
JB
122172011-07-12 Johan Bockgård <bojohan@gnu.org>
12218
12219 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12220 Fix previous fix (bug#2490).
12221
ff8be6ef
RW
122222011-07-12 Roland Winkler <winkler@gnu.org>
12223
b796c9b7
SM
12224 * textmodes/bibtex.el (bibtex-initialize):
12225 Use pop-to-buffer-same-window.
ff8be6ef
RW
12226 (bibtex-search-entries): Fix interactive call.
12227
296ba3ee
LMI
122282011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12229
f5242a02 12230 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12231 Fontise bytecomp Error lines more correctly (bug#2490).
12232 Fix suggested by Johan Bockgård.
f5242a02 12233
296ba3ee
LMI
12234 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12235
12236 * dired-x.el (dired-guess-default): Use `delete-dups'.
12237
f69fd0d2
CY
122382011-07-12 Chong Yidong <cyd@stupidchicken.com>
12239
12240 * dired.el (dired-mark-prompt):
12241 * dired-aux.el (dired-read-shell-command): Doc fix.
12242
eab5dc07
LMI
122432011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12244
b796c9b7
SM
12245 * mail/sendmail.el (sendmail-query-once):
12246 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12247 emacs -Q.
12248
12249 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12250
eab5dc07
LMI
12251 * cus-edit.el (custom-file): Take an optional no-error variable.
12252 (customize-save-variable): Set the variable, and give a warning if
12253 running under "emacs -q".
12254
a1e65d42
JB
122552011-07-11 Juanma Barranquero <lekktu@gmail.com>
12256
12257 * loadhist.el (unload-feature-special-hooks):
12258 Add `auto-coding-functions', `fill-nobreak-predicate' and
12259 `find-directory-functions' (bug#5327).
12260
1d52da10
LMI
122612011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12262
be958f1d
LMI
12263 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12264
5bedb26c
LMI
12265 * cus-edit.el (custom-guess-name-alist): -alist variables should
12266 use the `alist' type (bug#3120). Suggested by Drew Adams.
12267
1d52da10
LMI
12268 * printing.el: Add documentation to all the `pr-toggle-' commands.
12269
cd394be1 122702011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12271
12272 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12273 backends where it makes sense (bug#2623).
12274
dcc88d8a
LMI
122752011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12276
c3de9feb
LMI
12277 * dired-x.el (dired-guess-default): Remove duplicate shell command
12278 entries (bug#2028).
8a93078b 12279 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12280 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12281
dcc88d8a
LMI
12282 * subr.el (remove-duplicates): New conveniency function.
12283
505e3645
LMI
122842011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12285
12286 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12287 (bug#1526).
12288
122892011-07-10 Martin Rudalics <rudalics@gmx.at>
12290
12291 * window.el (display-buffer-normalize-default): Don't invert
12292 meaning of even-window-heights. Reported by Eli Zaretskii
12293 <eliz@gnu.org>.
12294
455e4fa1
BR
122952011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12296
12297 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12298
8e0bc3e9
CY
122992011-07-10 Chong Yidong <cyd@stupidchicken.com>
12300
12301 * window.el (display-buffer): Fix arguments to
12302 display-buffer-reuse-window in last change.
12303
fa7c3228
CY
12304 * faces.el (link): Use a less saturated blue on light backgrounds.
12305
12306 * startup.el (fancy-startup-text, fancy-about-text)
12307 (fancy-startup-tail): Use font-lock faces, for background safety.
12308
c0a7f300
BN
123092011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12310
b796c9b7
SM
12311 * emulation/viper-cmd.el (viper-change-state-to-vi):
12312 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12313
4dc2a129
MR
123142011-07-09 Martin Rudalics <rudalics@gmx.at>
12315
12316 * window.el (display-buffer-default-specifiers): Remove.
12317 (display-buffer-macro-specifiers): Remove default specifiers.
12318 (display-buffer-alist): Default to nil.
b796c9b7 12319 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12320 (display-buffer-pop-up-window): Allow splitting internal
12321 windows. Check whether a live window was created.
12322 (display-buffer-other-window-means-other-frame)
12323 (display-buffer-normalize-arguments): Rename to
12324 display-buffer-normalize-argument and rewrite. Set the
12325 other-window specifier.
12326 (display-buffer-normalize-special): New function.
12327 (display-buffer-normalize-options): Rename to
12328 display-buffer-normalize-default and rewrite.
12329 (display-buffer-normalize-options-inhibit): Remove.
12330 (display-buffer-normalize-specifiers): Rewrite.
12331 (display-buffer): Process other-window specifier and call
12332 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12333 more faithfully.
b796c9b7 12334 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12335 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12336 (display-buffer-in-window, display-buffer-alist-set):
12337 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12338 <tassilo@member.fsf.org>.
12339
2d43b8c9
LL
123402011-07-09 Leo Liu <sdl.web@gmail.com>
12341
12342 * register.el (insert-register): Restore accidental change on
12343 2011-06-26. (Bug#9028)
12344
7f9b7c53
GM
123452011-07-09 Glenn Morris <rgm@gnu.org>
12346
12347 * subr.el (remq): Handle the empty list. (Bug#9024)
12348
f042cfd8
AS
123492011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12350
12351 * mail/sendmail.el (send-mail-function): No longer delay custom
12352 initialization.
12353 * custom.el (custom-initialize-delay): Doc fix.
12354
856b2f11
SM
123552011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12356
12357 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12358
afae1d68
MA
123592011-07-08 Michael Albinus <michael.albinus@gmx.de>
12360
12361 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12362 human-friendly prompt.
12363
0757af94
SM
123642011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12365
12366 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12367 provided by a particular plugin.
12368
d760b731
LMI
123692011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12370
12371 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12372 save customizations (with "emacs -Q"), just set the variable
12373 instead of erroring out.
12374
12375 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12376
cd79ce90
JL
123772011-07-08 Juri Linkov <juri@jurta.org>
12378
12379 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12380 (archive-zip-update-case): Use 7z if found by `executable-find'.
12381 The order of searching the available programs is the same as in
12382 `archive-zip-extract' (bug#8968).
12383
14cc04aa
CY
123842011-07-07 Chong Yidong <cyd@stupidchicken.com>
12385
12386 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12387 (menu-bar-options-menu): Tweak descriptions.
12388
0a1848ec
LMI
123892011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12390
12391 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12392 menu items into verb phrases (bug#1421). Also refill to fit under
12393 80 columns.
12394
f5bd0689
CY
123952011-07-07 Chong Yidong <cyd@stupidchicken.com>
12396
538e85c6
CY
12397 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12398 (Info-read-node-name): Doc fix (Bug#1084).
12399
f5bd0689
CY
12400 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12401 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12402 (end-of-sexp, beginning-of-sexp)
12403 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12404 (forward-symbol, forward-same-syntax, word-at-point)
12405 (sentence-at-point): Doc fix (Bug#1144).
12406
56ec5115
LMI
124072011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12408
f3f8e37f
LMI
12409 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12410 should cover it (bug#1281).
12411
0757af94 12412 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12413
e9fce1ac 12414 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12415 negotiation fails, then possibly try again with a non-encrypted
12416 connection (bug#9017).
12417
56ec5115
LMI
12418 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12419 be used.
12420
c2f9aec8
RS
124212011-07-07 Richard Stallman <rms@gnu.org>
12422
12423 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12424 property, and handle its changed format.
12425 Look for the correct line number.
12426 Use file's line contents (but not past first =) to find
12427 correct line in message.
12428
ef7b981d 124292011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12430
12431 * international/characters.el (build-unicode-category-table):
12432 Delete it.
0757af94 12433 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12434
0757af94 12435 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12436 to src/chartab.c.
12437 (get-char-code-property): Call unicode-property-table-internal to
12438 load a file. Call get-unicode-property-internal where necessary.
12439 (put-char-code-property): Call unicode-property-table-internal to
12440 load a file. Call put-unicode-property-internal where necessary.
12441 put-unicode-property-internal where necessary.
0757af94
SM
12442 (char-code-property-description):
12443 Call unicode-property-table-internal to load a file.
c805dec0
KH
12444
12445 * international/charprop.el:
12446 * international/uni-bidi.el:
12447 * international/uni-category.el:
12448 * international/uni-combining.el:
12449 * international/uni-comment.el:
12450 * international/uni-decimal.el:
12451 * international/uni-decomposition.el:
12452 * international/uni-digit.el:
12453 * international/uni-lowercase.el:
12454 * international/uni-mirrored.el:
12455 * international/uni-name.el:
12456 * international/uni-numeric.el:
12457 * international/uni-old-name.el:
12458 * international/uni-titlecase.el:
12459 * international/uni-uppercase.el: Regenerate.
12460
12461 * loadup.el: Load international/charprop.el before
12462 international/characters.
12463
e14b388a
CY
124642011-07-07 Chong Yidong <cyd@stupidchicken.com>
12465
12466 * window.el (next-buffer, previous-buffer): Signal an error if
12467 called from a minibuffer window.
12468
12469 * bindings.el: Revert 2011-07-04 change.
12470
354cf0ba
RS
124712011-07-06 Richard Stallman <rms@gnu.org>
12472
12473 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12474 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12475 Treat markers like ints.
12476 (rmail-mime-entity): Doc fix.
12477
a48868a7
LMI
124782011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12479
4906cd3d
LMI
12480 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12481 defcustom again for backwards compatibility.
12482
e0457abe
LMI
12483 * simple.el (shell-command-on-region): Fill.
12484
d67f7e1f
LMI
12485 * dired-aux.el (dired-kill-line): Add a doc string.
12486
fe204702
LMI
12487 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12488 to "\\sw\\|\\s_" (bug#358).
12489
a48868a7
LMI
12490 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12491 (dired-unmark-backward): Ditto.
12492 (dired-flag-backup-files): Ditto.
12493
12494 * dired-x.el (dired-mark-sexp): Ditto.
12495
aa8a705c
RS
124962011-07-06 Richard Stallman <rms@gnu.org>
12497
12498 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12499 (rmail-mime-entity): New arg TRUNCATED.
12500 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12501 New functions.
12502 (rmail-mime-save): Warn if entity is truncated.
12503 (rmail-mime-toggle-hidden): Likewise, for showing.
12504 (rmail-mime-process-multipart): Record when an entity is truncated.
12505
a9a936b9
RS
12506 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12507 if ENTITY is a string.
12508
1f2b92cb
LMI
125092011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12510
f4f73198 12511 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12512 of faces when `M-C-x'-ing their definitions (bug#8378).
12513 Also clean up the code slightly.
f4f73198 12514
12b16734 12515 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12516 because that makes the colors go away.
12b16734 12517
f0691d22
LMI
12518 * mail/sendmail.el (send-mail-function): Change the default to
12519 `sendmail-query-once'.
9e87df06 12520 (sendmail-query-once): Add an autoload cookie.
f0691d22 12521
1f2b92cb
LMI
12522 * net/network-stream.el (network-stream-open-starttls): Try using
12523 a plain connection even if the server offered STARTTLS, and we
12524 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12525 capability. This should make smtpmail.el work in slightly more
12526 configurations.
12527
1cdd2a1b
MA
125282011-07-06 Michael Albinus <michael.albinus@gmx.de>
12529
12530 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12531 New defun.
12532 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12533
fbcc67e2
MM
125342011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12535
12536 * progmodes/sql.el: Version 3.0
0757af94 12537 (sql-product-alist): Add product :completion-object,
fbcc67e2 12538 :completion-column, and :statement attributes.
0757af94 12539 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12540 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12541 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12542 ansi keywords.
12543 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12544 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12545 (sql-oracle-show-reserved-words): New function for development.
12546 (sql-product-font-lock): Simplify for source code buffers.
12547 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12548 New functions.
12549 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12550 (sql-mode-map): Add statement movement functions.
12551 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12552 New variable.
fbcc67e2
MM
12553 (sql-statement-regexp, sql-beginning-of-statement)
12554 (sql-end-of-statement, sql-signum): New functions.
0757af94 12555 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12556 (sql-show-sqli-buffer): Bug fix.
12557 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12558 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12559 with sql-interactive-mode.
12560 (sql-save-connection): Save buffer local settings.
0757af94 12561 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12562 (sql-product-interactive): Bug fix.
12563 (sql-preoutput-hold): New variable.
12564 (sql-interactive-remove-continuation-prompt): Bug fixes.
12565 (sql-debug-redirect): New variable.
12566 (sql-str-literal): New function.
12567 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12568 Redesign.
fbcc67e2
MM
12569 (sql-oracle-save-settings, sql-oracle-restore-settings)
12570 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12571 (sql-completion-object, sql-completion-column)
12572 (sql-completion-sqlbuf): New variables.
12573 (sql-build-completions-1, sql-build-completions)
12574 (sql-try-completion): New functions.
12575 (sql-read-table-name): Use them.
12576 (sql-contains-names): New buffer local variable.
12577 (sql-list-all, sql-list-table): Use it.
12578 (sql-oracle-completion-types): New variable.
12579 (sql-oracle-completion-object, sql-sqlite-completion-object)
12580 (sql-postgres-completion-object): New functions.
12581
d4eaeab1
GM
125822011-07-06 Glenn Morris <rgm@gnu.org>
12583
12584 * window.el (pop-to-buffer): Doc fix.
12585
322b7dab 125862011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12587
12588 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12589
322b7dab 125902011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12591
322b7dab 12592 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12593
322b7dab 12594 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12595
605dd5bf
CY
125962011-07-05 Chong Yidong <cyd@stupidchicken.com>
12597
12598 * button.el (button): Inherit from link face. Suggested by Dan
12599 Nicolaescu.
12600
7dbfa719
SM
126012011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12602
3db614b0
SM
12603 * progmodes/gdb-mi.el: Fit in 80 columns.
12604 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12605 switch-to-buffer.
12606
7dbfa719
SM
12607 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12608 if imenu is simply not configured (bug#8941).
12609
919d884a
KM
126102011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12611
12612 * allout.el (allout-post-undo-hook): New allout outline-change
12613 event hook to signal undo activity.
12614 (allout-post-command-business): Run allout-post-undo-hook if an
12615 undo just occurred.
7dbfa719
SM
12616 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12617 * allout-widgets.el (allout-widgets-after-undo-function):
12618 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12619 in the vicinity of an undo.
12620 (allout-widgets-mode): Include allout-widgets-after-undo-function
12621 on the new allout-post-undo-hook.
12622
450a0f09
SM
126232011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12624
12625 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12626 Let define-derived-mode define it.
12627 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12628 cycles of abbrev-table inheritance (bug#8998).
12629
2de69e00
RW
126302011-07-05 Roland Winkler <winkler@gnu.org>
12631
12632 * textmodes/bibtex.el: Add support for biblatex.
12633 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12634 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12635 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12636 (bibtex-entry-alist, bibtex-field-alist): New variables.
12637 (bibtex-entry-field-alist): Obsolete alias for
12638 bibtex-BibTeX-entry-alist.
12639 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12640 (bibtex-set-dialect): New command.
12641 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12642 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12643 Bind via bibtex-set-dialect.
2de69e00
RW
12644 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12645 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12646 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12647 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12648 Define via bibtex-set-dialect.
450a0f09
SM
12649 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12650 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12651 (bibtex-vec-push, bibtex-vec-incr): New functions.
12652 (bibtex-format-entry, bibtex-field-list)
12653 (bibtex-print-help-message, bibtex-validate)
12654 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12655
2dcdbdd9
SM
126562011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12657
12658 * progmodes/compile.el (compilation-goto-locus):
12659 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12660 * bs.el (bs-cycle-next, bs-cycle-previous):
12661 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12662 * bindings.el (mode-line-other-buffer):
12663 * autoinsert.el (auto-insert):
12664 * arc-mode.el (archive-extract):
12665 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12666
b27640fe
JB
126672011-07-05 Juanma Barranquero <lekktu@gmail.com>
12668
12669 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12670 Fix check of `emacs-lock-unlockable-modes'.
12671 Coerce true values of `emacs-lock--try-unlocking' to t.
12672
53bbe3ad
JB
126732011-07-05 Juanma Barranquero <lekktu@gmail.com>
12674
12675 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12676 * emacs-lock.el: New file.
12677
1d3cdbc7
JD
126782011-07-05 Julien Danjou <julien@danjou.info>
12679
12680 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12681 than `boundp' to check if face is set.
12682
9173deec
JB
126832011-07-05 Juanma Barranquero <lekktu@gmail.com>
12684
12685 * register.el (registerv-make):
12686 * window.el (window-min-height): Fix typos in docstrings.
12687
869795d6
JD
126882011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12689
9173deec 12690 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12691 Update doc string.
12692
b768cdcd
JB
126932011-07-04 Juanma Barranquero <lekktu@gmail.com>
12694
12695 * server.el (server-execute): Catch quit and call
12696 `server-return-error' to pass the error back to emacsclient and
12697 close the connection (bug#8942).
12698
13aa217b
KM
126992011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12700
12701 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12702 insecure exception for current topic. Also note that auto-saves
12703 are handled differently.
12704
5d3385a0 12705 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12706 State variables for tracking auto-save inhibition situation.
12707
12708 (allout-write-contents-hook-handler): Rename from
12709 'allout-write-file-hook-handler', and describe how it depends on
12710 write-contents-functions sensitivity to non-nil value to prevent
12711 file write.
12712
12713 (allout-auto-save-hook-handler): Remove. auto-save does not check
12714 this in individual buffers, only in the starting buffer, so this
12715 is not the right way for us to inhibit auto-save in a buffer
12716 according to its condition.
12717
12718 (allout-mode): Use new allout-write-contents-hook-handler, and
12719 only with write-contents-functions. Remove auto-save provisions -
12720 they're implemented elsewhere.
12721
12722 (allout-before-change-handler): If undo is in progress, note that
12723 for attention of allout-post-command-business.
12724
12725 (allout-post-command-business): If the command we're following was
12726 an undo, check for change in the status of encrypted items and
12727 adjust auto-save inhibitions accordingly.
12728
12729 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12730 according to whether there are or aren't any plain-text topics
12731 pending encryption.
12732
2dcdbdd9 12733 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12734 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12735 if there are plain-text topics pending encryption.
13aa217b
KM
12736
12737 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12738 buffer-saved-size and some allout state to not inhibit auto-saves
12739 if there are no longer any plain-text topics pending encryption.
12740
0757af94
SM
12741 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12742 No longer provide for exemption of the current topic.
13aa217b 12743
ac89b32c
JL
127442011-07-04 Juri Linkov <juri@jurta.org>
12745
12746 Add 7z operations to delete and save changed members (bug#8968).
12747 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12748 New defcustoms.
12749 (archive-7z-write-file-member): New function.
12750 (archive-7z-summarize): Fix the number of dashes in the
12751 listing output.
12752
8fa39615
SM
127532011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12754
12755 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12756 (bug#8958).
12757
2f11b3f1
CY
127582011-07-04 Chong Yidong <cyd@stupidchicken.com>
12759
d66fef2b
CY
12760 * bindings.el: Ignore next-buffer and previous-buffer in
12761 minibuffer-local-map.
12762
2f11b3f1
CY
12763 * font-lock.el (font-lock-builtin-face): Change light background
12764 color to dark slate blue (Bug#6693).
12765
f932a347
WD
127662011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12767
12768 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12769
c8af70e1
SM
127702011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12771
12772 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12773 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12774 Add switch-to-buffer.
12775
f158badc
LMI
127762011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12777
12778 * isearch.el (isearch-search-fun-function): Clarify further the
12779 meaning of the function returned.
12780
6d95bd46
MA
127812011-07-04 Michael Albinus <michael.albinus@gmx.de>
12782
12783 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12784
12785 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12786 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12787 Use it.
12788 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12789 `tramp-default-remote-path' does not exist.
12790 (tramp-send-command-and-read): New optional argument NOERROR.
12791 (tramp-open-connection-setup-interactive-shell)
12792 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12793 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12794 (tramp-process-sentinel): Flush also process' connection property.
12795 (tramp-sh-handle-start-file-process): Do not set process
12796 sentinel. It is done now ...
12797 (tramp-maybe-open-connection): ... here. (Bug#8929)
12798
909e6b67
MK
127992011-07-04 MON KEY <monkey@sandpframing.com>
12800
12801 * play/animate.el (animate-string): Doc fixes and allow changing
12802 the buffer name (bug#5417).
12803
128042011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12805
c8af70e1 12806 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12807
f34755dc
PE
128082011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12809
396cec72
PE
12810 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12811 This is simpler and helps future-proof the code.
12812 (timer-until): Use time-subtract and float-time.
08235028 12813 (timer--time-less-p): Use time-less-p.
f34755dc 12814
56e6cc31
JB
128152011-07-04 Juanma Barranquero <lekktu@gmail.com>
12816
3abb79e5
JB
12817 * type-break.el (timep): Use the value of `float-time' to avoid a
12818 byte-compiler warning.
12819
56e6cc31
JB
12820 * server.el (server-eval-and-print): Return any result, even nil.
12821
7b9430b4
PE
128222011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12823
12824 * type-break.el: Accept time formats that the builtins accept.
12825 (timep, type-break-time-difference): Accept any format that
12826 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12827 This is simpler and helps future-proof the code.
12828 (type-break-time-difference): Round rather than ignoring
12829 subseconds components.
12830
3034e9e7
LMI
128312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12832
12833 * info.el (Info-apropos-matches): Make non-interactive, since it
12834 doesn't seem to do anything useful as a command (bug#8829).
12835
1485f4c0
CY
128362011-07-03 Chong Yidong <cyd@stupidchicken.com>
12837
12838 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12839 Move from faces.el.
1485f4c0
CY
12840 (frame-default-terminal-background): New function.
12841
12842 * custom.el (custom-push-theme): Don't record faces in `changed'
12843 theme; this doesn't work correctly for per-frame face settings.
12844 (disable-theme): Use face-set-after-frame-default to reset faces.
12845 (custom--frame-color-default): New function.
12846
9fa3dd45
LMI
128472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12848
c8af70e1 12849 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12850 (bug#8769).
12851
6cbbc20c
KR
128522011-03-29 Kevin Ryde <user42@zip.com.au>
12853
12854 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12855 `perl-Test2' extend to match possible "fail #N" rep count
12856 (bug#8377).
12857
c7f98048
LMI
128582011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12859
65676592
LMI
12860 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12861 `smtpmail-via-smtp' now returns the error instead of nil.
12862
c7f98048
LMI
12863 * isearch.el (isearch-search-fun-function): Clarify the doc string
12864 (bug#8101).
12865
56e6cc31 128662011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12867
12868 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12869 unnecessary spaces (bug#8987).
12870
2b216704
LMI
128712011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12872
12873 * net/network-stream.el (open-network-stream): Use the
12874 :end-of-capability command thoughout.
12875
128762011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12877
12878 * net/network-stream.el (open-network-stream): Add the
12879 :end-of-capability command parameter, used by pop3.el.
12880
36adf6ce
LMI
128812011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12882
1ca0da0e
LMI
12883 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12884
fc00f69c
LMI
12885 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12886 for list)" (bug#6475).
12887
28fd8759 12888 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12889 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12890 an error (bug#6297).
12891
0dd8b6da
LMI
12892 * man.el (Man-reference-regexp): Allow matching possible
12893 word-wrapped references (bug#6289).
12894
ce1438d6
LMI
12895 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12896 for consistency with the other vc buffers (bug#6197).
12897 (vc-checkin): Ditto.
12898
12899 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12900
36adf6ce
LMI
12901 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12902
e83cc1f7
LMI
129032011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12904
8a20ca4c
LMI
12905 * custom.el (defcustom): Clarify that :set is only used in the
12906 Customize user interface (bug#6089).
12907
83319045
LMI
12908 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12909 associated with a file, refuse to run instead of erroring out
12910 (bug#6084).
12911
a8392169
LMI
12912 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12913 the doc string, since it appears that using `fill-column' always
12914 controls the width (bug#7845).
12915
e83cc1f7
LMI
12916 * simple.el (shell-command-on-region): Say where the error output
12917 went if `shell-command-default-error-buffer' is set (bug#6857).
12918
e47ca23b
KM
129192011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12920
12921 * allout.el (allout-yank-processing): Adjust cursor position for
12922 backwards-deleted space.
12923
12924 (allout-rebullet-heading): Register changes with
12925 allout-exposure-changed-hook, so the modified topic is properly
12926 decorated.
12927
5cf56143
LMI
129282011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12929
08549772
LMI
12930 * minibuffer.el (completion-in-region): Document PREDICATE
12931 (bug#7136).
12932
48e96771
LMI
12933 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12934 of keyword/argument pairs (bug#6904).
12935
c8af70e1
SM
12936 * replace.el (multi-occur):
12937 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12938
e17d05e2
LMI
129392011-07-02 Drew Adams <drew.adams@oracle.com>
12940
12941 * dired.el (dired-mark-if): Make the message about whether it's
12942 marking or unmarking clearer (bug#8523).
12943
063b0e45
LMI
129442011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12945
12946 * disp-table.el (display-table-print-array): New function.
12947 (describe-display-table): Use it to print the vectors more pretty
12948 (Bug#8859).
12949
28545e04
MR
129502011-07-02 Martin Rudalics <rudalics@gmx.at>
12951
12952 * window.el (window-state-get-1): Don't assign clone numbers.
12953 Add clone-of item to list of window parameters.
12954 (window-state-put-2): Don't process clone numbers.
12955 (display-buffer-alist): Fix doc-string.
12956
3349e122
SM
129572011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12958
12959 * subr.el (remq): Don't allocate if it's not needed.
12960 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12961 (keymap--merge-bindings): New functions.
12962 (keymap-canonicalize): Use them to refine the canonicalization.
12963 * minibuffer.el (minibuffer-local-completion-map)
12964 (minibuffer-local-must-match-map): Move initialization from C.
12965 (minibuffer-local-filename-completion-map): Move initialization from C;
12966 don't inherit from anything here.
12967 (minibuffer-local-filename-must-match-map): Make obsolete.
12968 (completing-read-default): Use make-composed-keymap to combine
12969 minibuffer-local-filename-completion-map with either
12970 minibuffer-local-must-match-map or
12971 minibuffer-local-filename-completion-map.
12972
d224ac83
GM
129732011-07-01 Glenn Morris <rgm@gnu.org>
12974
3de63bf8
GM
12975 * type-break.el (type-break-time-sum): Use dolist.
12976
d224ac83
GM
12977 * textmodes/flyspell.el (flyspell-word-search-backward):
12978 Replace CL function.
12979
1a1e3f32
SM
129802011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12981
fe3f64d5
SM
12982 * mouse.el (mouse--strip-first-event): New function.
12983 (function-key-map): Use it to map fringe clicks to normal clicks
12984 by default.
12985
eb604e34
SM
12986 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12987 (vc-bzr-revision-completion-table): Add support for annotate and date.
12988
1a1e3f32
SM
12989 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12990 inherit from parent.
12991
5bd35902
LMI
129922011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12993
ace6c69c 12994 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12995 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12996
191e2bed
LMI
12997 * dired.el (dired-mode): Fix up the doc string as suggested by
12998 Drew Adams (bug#8817).
12999
5bd35902
LMI
13000 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13001 cookie, since the manual says that it should be possible to add
13002 this function to `find-file-hook' (bug#8709).
13003
eee8207a
TZ
130042011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13005
13006 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13007 here. Noted Ted Zlatanov as the maintainer.
13008 (cfengine-common-settings, cfengine-common-syntax): New functions
13009 to set up common things between `cfengine-mode' and
13010 `cfengine3-mode'.
13011 (cfengine3-mode): New mode.
13012 (cfengine3-defuns cfengine3-defuns-regex
13013 (cfengine3-class-selector-regex cfengine3-category-regex)
13014 (cfengine3-vartypes cfengine3-font-lock-keywords)
13015 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 13016 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 13017
36b148cf
MA
130182011-07-01 Michael Albinus <michael.albinus@gmx.de>
13019
13020 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13021
13022 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13023
0bf4ba9a
MR
130242011-07-01 Martin Rudalics <rudalics@gmx.at>
13025
13026 * window.el (same-window-buffer-names, same-window-regexps)
13027 (same-window-p, special-display-frame-alist)
13028 (special-display-popup-frame, special-display-function)
13029 (special-display-buffer-names, special-display-regexps)
13030 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13031 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13032 (split-window-preferred-function, split-height-threshold)
13033 (split-width-threshold, even-window-heights)
13034 (display-buffer-mark-dedicated, window-splittable-p)
13035 (split-window-sensibly, window-safely-shrinkable-p):
13036 Un-obsolete.
13037 (display-buffer): Don't spread args with function specifier
13038 because special-display-popup-frame won't like it.
13039
35837f51
PE
130402011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13041
d0672f86
PE
13042 Time-stamp simplifications and fixes.
13043 These improve accuracy slightly, and future-proof the code
13044 against some potential changes to current-time format.
13045
b9444d97
PE
13046 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13047 by using time-since and float-time.
13048
0ef923dc
PE
13049 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13050 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13051 + NNN microseconds".
13052
2f81380d
PE
13053 * type-break.el (type-break-time-sum): Rewrite using time-add.
13054
845b5c3e
PE
13055 * play/hanoi.el (hanoi-current-time-float): Remove.
13056 All uses replaced by float-time.
13057
ee6f1be0
PE
13058 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13059 This yields a more-accurate answer.
13060 (rng-time-to-float): Remove; no longer needed.
13061
fe955043
PE
13062 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13063
5777162a
PE
13064 * calendar/timeclock.el (timeclock-seconds-to-time):
13065 Defalias to seconds-to-time, since they're the same thing.
13066
3103f8b6 13067 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 13068 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
13069 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13070
0e61a35f
SM
130712011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13072
13073 * window.el (bury-buffer): Don't iconify the only frame.
13074 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13075 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13076
ddd63a1e
CY
130772011-07-01 Chong Yidong <cyd@stupidchicken.com>
13078
0e61a35f
SM
13079 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13080 Add mouse-yank-primary.
ddd63a1e 13081
055f4923
TZ
130822011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13083
13084 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13085
6a2fb145
SM
130862011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13087
13088 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13089 (find-library-name): Use it to find relative load names when provided
13090 absolute file name (bug#8803).
13091
fd4983f2
LMI
130922011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13093
887d14ad
LMI
13094 * textmodes/flyspell.el (flyspell-word): Consider words that
13095 differ only in case as potential doublons (bug#5687).
13096
c53dc7fc
LMI
13097 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13098 Remove two rather uninteresting debugging-like messages to make
13099 debbugs.el more silent.
13100
fd4983f2
LMI
13101 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13102 a password-like phrase.
13103
7a71b18d 131042011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
13105
13106 * progmodes/cc-guess.el: New file.
13107
6a2fb145 13108 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
13109
13110 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13111 derived from `c-basic-common-init'.
13112
13113 * progmodes/cc-mode.el (top-level): Require cc-guess.
13114 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13115
1fa280a3
LM
131162011-06-30 Lawrence Mitchell <wence@gmx.li>
13117
13118 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13119
e6597158
AM
131202011-06-30 Alan Mackenzie <acm@muc.de>
13121
1fa280a3
LM
13122 * progmodes/cc-engine.el (c-guess-continued-construct):
13123 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
13124 lock is disabled. Name this case as "CASE G".
13125
68ba37fb
KM
131262011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13127
13128 * allout.el (allout-yank-processing): Fix injection of extra space
13129 between bullet and non-whitespace character in first topic when
13130 pasting, ensuring that the actual spacing in the pasted topic
13131 following the bullet char is preserved. This extra space was
13132 causing pasted encrypted topics to get a decrypted status even
13133 when the content was actually still encrypted. Now the decryption
13134 status from before the paste is preserved.
13135
13136 (allout-flag-region): Set all allout overlays so they evaporate
13137 when reduced to zero length (evanescent), to prevent overlay
13138 leakage.
13139
887a0b34
GM
131402011-06-30 Glenn Morris <rgm@gnu.org>
13141
94b9acce
GM
13142 * w32-fns.el (w32-charset-info-alist): Declare.
13143
1d9b46d4
GM
13144 * find-dired.el (find-grep-options): Simplify.
13145
cc232200
GM
13146 * term/ns-win.el (ns-set-resource): Declare.
13147
28e77c46
GM
13148 * ses.el (row, col): Declare dynamic variables honestly.
13149
887a0b34
GM
13150 * textmodes/reftex-parse.el (index-tags): Declare.
13151
658d8eb8
CY
131522011-06-30 Chong Yidong <cyd@stupidchicken.com>
13153
13154 * cus-edit.el (customize-push-and-save): New function.
13155
13156 * files.el (hack-local-variables-confirm): Use it.
13157
1fa280a3
LM
13158 * custom.el (load-theme): New arg NO-CONFIRM.
13159 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
13160 (custom-enabled-themes): Doc fix.
13161
13162 * cus-theme.el (customize-create-theme)
13163 (custom-theme-merge-theme): Callers to load-theme changed.
13164
bb617717
LMI
131652011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13166
d61bdd5d
LMI
13167 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13168 short URLs have at least one dot in them (bug #7614).
13169
bb617717
LMI
13170 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13171 nil, because using a pty is apparently too slow (bug #895).
13172
2f31f37a
LMI
131732011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13174
13175 * mail/sendmail.el (sendmail-query-once): New function.
13176 (sendmail-query-once-function): New variable.
13177
3076b24e
GM
131782011-06-29 Glenn Morris <rgm@gnu.org>
13179
faf2a174
GM
13180 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13181
3076b24e
GM
13182 * ses.el (top-level): Require cl when compiling.
13183 (ses-set-localvars): Fix error statement.
13184 Call it at compile time to silence a storm of warnings.
13185
5386012d
MR
131862011-06-29 Martin Rudalics <rudalics@gmx.at>
13187
13188 * window.el (normalize-live-buffer): Rename to
13189 window-normalize-buffer.
13190 (normalize-live-frame): Rename to window-normalize-frame.
13191 (normalize-any-window): Rename to window-normalize-any-window.
13192 (normalize-live-window): Rename to window-normalize-live-window.
13193 (make-window-atom): Rename to window-make-atom.
13194 (window-resize-reset): Rename to window--resize-reset.
13195 (window-resize-reset-1): Rename to window--resize-reset-1.
13196 (resize-mini-window): Rename to window--resize-mini-window.
13197 (resize-subwindows-skip-p): Rename to
13198 window--resize-subwindows-skip-p.
13199 (resize-subwindows-normal): Rename to
13200 window--resize-subwindows-normal.
13201 (resize-subwindows): Rename to window--resize-subwindows.
13202 (resize-other-windows): Rename to window--resize-siblings.
13203 (resize-this-window): Rename to window--resize-this-window.
13204 (resize-root-window): Rename to window--resize-root-window.
13205 (resize-root-window-vertically): Rename to
13206 window--resize-root-window-vertically.
13207 (normalize-buffer-to-display): Rename to
13208 window-normalize-buffer-to-display.
13209 (normalize-buffer-to-switch-to): Rename to
13210 window-normalize-buffer-to-switch-to.
13211 Correspondingly update all callers of the functions listed
13212 above.
13213 (display-buffer-alist, display-buffer-normalize-arguments)
13214 (display-buffer-normalize-options, display-buffer)
13215 (display-buffer-alist-set): Use "function" instead of
13216 "fun-with-args".
13217
1176868d
CY
132182011-06-28 Chong Yidong <cyd@stupidchicken.com>
13219
13220 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13221 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13222 debbugs.gnu.org. Mention acknowledgment email.
13223
20a7a65f
LMI
132242011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13225
13226 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13227 buffer multibyteness, since it shouldn't matter.
13228
5f45cca5
MR
132292011-06-28 Martin Rudalics <rudalics@gmx.at>
13230
13231 * window.el (display-buffer-in-side-window): Handle dedicated
13232 windows as in display-buffer-reuse-window.
13233 (display-buffer-normalize-alist): Use value of override
13234 specifier.
13235 (display-buffer-normalize-specifiers): Use value of
13236 other-window-means-other-frame specifier.
13237 (display-buffer-alist): Rewrite some texts in widgets.
13238 (display-buffer): Spread arguments when calling function
13239 specified by fun-with-args.
13240
ad85fe1f
DD
132412011-06-28 Deniz Dogan <deniz@dogan.se>
13242
1fa280a3
LM
13243 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13244 Unnest `let'.
da68c4c8 13245
ad85fe1f
DD
13246 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13247 selectors (Bug#5732).
ec49bd31 13248 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13249
a08cc025
JA
132502011-06-27 Jari Aalto <jari.aalto@cante.net>
13251
13252 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13253 (eshell-ls-date-format): New defcustom.
13254 (eshell-ls-file): Use it.
13255
e2b551c5
SM
132562011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13257
13258 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13259
8982b231
KY
132602011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13261
13262 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13263 (ange-ftp-make-tmp-name): New arg.
13264 (ange-ftp-file-local-copy): Use it.
13265
36c9fa27
J
132662011-06-27 Jambunathan K <kjambunathan@gmail.com>
13267
13268 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13269 no-conversion (Bug#8870).
13270
d68443dc
MR
132712011-06-27 Martin Rudalics <rudalics@gmx.at>
13272
13273 * window.el (window-right, window-left, window-child)
13274 (window-child-count, window-last-child)
13275 (window-iso-combination-p, walk-window-tree-1)
13276 (window-atom-check-1, window-tree-1, delete-window)
13277 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13278 new naming conventions - window-vchild, window-hchild,
13279 window-next and window-prev are now called window-top-child,
13280 window-left-child, window-next-sibling and window-prev-sibling
13281 respectively.
d615d6d2
MR
13282 (resize-window-reset): Rename to window-resize-reset.
13283 (resize-window-reset-1): Rename to window-resize-reset-1.
13284 (resize-window): Rename to window-resize.
13285 (window-min-height, window-min-width)
13286 (resize-mini-window, resize-this-window, resize-root-window)
13287 (resize-root-window-vertically, adjust-window-trailing-edge)
13288 (enlarge-window, shrink-window, maximize-window)
13289 (minimize-window, delete-window, quit-restore-window)
13290 (split-window, balance-windows, balance-windows-area-adjust)
13291 (balance-windows-area, window-state-put-2)
13292 (display-buffer-even-window-sizes, display-buffer-set-height)
13293 (display-buffer-set-width, set-window-text-height)
13294 (fit-window-to-buffer): Rename all "resize-window" prefixed
13295 calls to use the "window-resize" prefix convention.
13296 (display-buffer-alist): Fix symbol for label specifier.
13297 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13298 corresponding specifier.
13299 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13300
b6458526
VB
133012011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13302
13303 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13304 convention.
13305 (ses-call-printer): Does not pass an empty string to formatter when the
13306 cell is empty to keep from barking printer Calc math-format-value.
13307
d31fd9ac
RS
133082011-06-27 Richard Stallman <rms@gnu.org>
13309
43d5bf84
RS
13310 * battery.el (battery-mode-line-limit): New variable.
13311 (battery-update): Handle it.
13312
d31fd9ac
RS
13313 * mail/rmailmm.el (rmail-mime-process-multipart):
13314 Handle truncated messages.
13315
819a6054
GM
133162011-06-27 Glenn Morris <rgm@gnu.org>
13317
13318 * progmodes/flymake.el (flymake-err-line-patterns):
13319 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13320
cedc73f2
VB
133212011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13322
819a6054 13323 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13324 (ses--clean-!, ses--clean-_): New functions.
13325 (ses-range): Add configurability of readout order, and conversion
13326 to Calc vector.
13327
5e5d49b6
VB
13328 * ses.el (ses-repair-cell-reference-all): New function.
13329 (ses-cell-symbol): Set macro as safe, so that it can be used in
13330 formulas.
13331
56e6cc31 13332 * ses.el: Update cycle detection algorithm.
90ca8b49 13333 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13334 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13335 (ses-set-localvars): New function.
13336 (ses-make-cell): Add property-list as a cell element.
13337 (ses-cell-property-get-fun, ses-cell-property-get)
13338 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13339 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13340 New functions.
90ca8b49
VB
13341 (ses-cell-property-set, ses-cell-property-pop)
13342 (ses-cell-property-get-handle): New macro.
13343 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13344 New aliases, used for code readability.
13345 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13346 cycle detection.
13347 (ses-self-reference-early-detection): New defcustom.
fac916bf 13348 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13349 (ses-mode): Use ses-set-localvars.
13350 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13351 before lauching the update processing.
13352 (ses-initialize-Dijkstra-attempt): New function.
13353 (ses-recalculate-cell): Update for cycle detection based on
13354 Dijkstra algorithm.
13355
2bb63e81
VB
13356 * ses.el: Fix commenting and indenting convention.
13357
c9d29fb8
SM
133582011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13359
13360 * bs.el (bs-cycle-next): Complete last change.
13361
d8e4b68b
JB
133622011-06-27 Drew Adams <drew.adams@oracle.com>
13363
13364 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13365
40098786
LMI
133662011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13367
c9d29fb8
SM
13368 * net/network-stream.el (network-stream-open-starttls):
13369 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13370 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13371
40098786
LMI
13372 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13373 to binary to possibly avoid line encoding issues on Windows (among
13374 other things).
13375
468d09d4
LMI
133762011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13377
13378 * net/network-stream.el (open-network-stream): Return an :error
13379 saying what the problem was, if possible.
13380
13381 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13382 server.
13383
13384 * net/network-stream.el (network-stream-open-starttls): If we
13385 wanted to use STARTTLS, and the server offered it, but we weren't
13386 able to because we had no STARTTLS support, then close the connection.
13387 (open-network-stream): Return an :error element, if present.
13388
16f07dd7
CY
133892011-06-26 Chong Yidong <cyd@stupidchicken.com>
13390
88821ca0
CY
13391 * hl-line.el (hl-line-sticky-flag): Doc fix.
13392 (global-hl-line-sticky-flag): New option (Bug#8323).
13393 (global-hl-line-highlight): Obey it.
13394
16f07dd7
CY
13395 * vc/vc.el (vc-revert-show-diff): Default to t.
13396
6b5ccddf
KM
133972011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13398
c9d29fb8
SM
13399 * allout-widgets.el (allout-widgets-post-command-business):
13400 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13401 undecorated when an isearch is continued past, and isearch
13402 automatically collapses them. This leads to "widget leaks", where
13403 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13404 hidden widgets can slow down cursor travel, substantially.
13405 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13406 so we're doing without this nicety.
13407
13408 (allout-widgets-tally-string): Don't try to do a hash-table-count
13409 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13410 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13411 *Messages* when allout-widgets-maintain-tally is t.
13412
355f2e07
MR
134132011-06-26 Martin Rudalics <rudalics@gmx.at>
13414
13415 * window.el (display-buffer-normalize-argument): Rename to
13416 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13417 LABEL argument. Respect special-display-function when popping up
13418 a new frame. Fix code searching for a window showing the buffer
13419 on another frame.
c9d29fb8
SM
13420 (display-buffer-normalize-specifiers):
13421 Call display-buffer-normalize-arguments.
355f2e07
MR
13422 (display-buffer-in-window): Don't undedicate the window if its
13423 buffer remains the same.
13424 Reported by Drew Adams <drew.adams@oracle.com>.
13425 (display-buffer-alist): Add choice for same-window macro
13426 specfier.
13427 (display-buffer): Mention special meaning of LABEL argument in
13428 doc-string. Fix quoting. Don't pop up a new frame even as
13429 fallback.
13430
7ca8fc42
JB
134312011-06-26 Juanma Barranquero <lekktu@gmail.com>
13432
13433 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13434 avoid deleting the current window in some cases (bug#8911).
13435
bc312254
AS
134362011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13437
13438 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13439 (Bug#8934)
13440
2db18f3f
LMI
134412011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13442
c9d29fb8
SM
13443 * net/network-stream.el (network-stream-open-starttls):
13444 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13445 (network-stream-open-tls): Ditto.
13446
6302e0d3
LL
134472011-06-26 Leo Liu <sdl.web@gmail.com>
13448
13449 * register.el (registerv): New struct.
13450 (registerv-make): New function.
c9d29fb8
SM
13451 (jump-to-register, describe-register-1, insert-register):
13452 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13453 struct. (Bug#8415)
13454
5fdd4046
CY
134552011-06-26 Chong Yidong <cyd@stupidchicken.com>
13456
2afef60a
CY
13457 * vc/vc.el (vc-revert-show-diff): New defcustom.
13458 (vc-diff-internal): New arg specifying diff buffer.
13459 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13460 reuse an existing *vc-diff* buffer (Bug#8927).
13461
5fdd4046
CY
13462 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13463
e93db24a
GM
134642011-06-26 Glenn Morris <rgm@gnu.org>
13465
13466 * progmodes/f90.el (f90-critical-indent): New option.
13467 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13468 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13469 (f90-mode): Doc fix.
13470 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13471 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13472 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13473 (f90-match-end): Handle block, critical.
13474
eefff499
GM
134752011-06-25 Glenn Morris <rgm@gnu.org>
13476
f6ba4cc9
GM
13477 * calendar/diary-lib.el (diary-included-files): Doc fix.
13478 (diary-include-files): New function, extracted from
13479 diary-include-other-diary-files and diary-mark-included-diary-files.
13480 (diary-include-other-diary-files, diary-mark-included-diary-files):
13481 Just call diary-include-files.
13482 (diary-mark-entries): Reset diary-included-files on first call.
13483
16712304
GM
13484 * calendar/diary-lib.el (diary-mark-entries)
13485 (diary-mark-included-diary-files):
13486 Visit included diary-files in temp buffers.
13487
5d8e0d43
GM
13488 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13489 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13490 (f90-start-block-re, f90-imenu-generic-expression)
13491 (f90-looking-at-program-block-start, f90-no-block-limit):
13492 Add support for submodules.
13493
ccf7a5d5
GM
13494 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13495 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13496
11fdef7d 134972011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13498
13499 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13500 buffer-file-type before setting its value, to avoid disastrous
eefff499 13501 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13502
74f53697
JB
135032011-06-25 Juanma Barranquero <lekktu@gmail.com>
13504
13505 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13506
13507 * ses.el (ses-unload-function):
13508 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13509
13510 * proced.el (proced-unload-function):
13511 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13512
18a4ce5e
AR
135132011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13514
13515 * server.el (server-create-window-system-frame): Add parameters arg.
13516 (server-process-filter): Doc fix. Handle frame-parameters.
13517
519d22cc
JB
135182011-06-25 Juanma Barranquero <lekktu@gmail.com>
13519
13520 Fix bug#8730, bug#8781.
13521
13522 * loadhist.el (unload--set-major-mode): New function.
13523 (unload-feature): Use it.
13524
13525 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13526 (python-unload-function): New function.
13527
c206f5b0
SM
135282011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13529
13530 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13531
f9ad64f3
GS
135322011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13533
13534 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13535 the candidates list.
13536
7d0da90e
JB
135372011-06-24 Juanma Barranquero <lekktu@gmail.com>
13538
13539 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13540
14b4e83d
RS
135412011-06-23 Richard Stallman <rms@gnu.org>
13542
13543 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13544 (rmail-variables): Set next-error-move-function.
13545 (rmail-what-message): Take argument POS.
13546 (rmail-next-error-move): New function.
13547
273d2baf
SM
135482011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13549
13550 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13551 messages for adjacent non-terminals.
13552
56c2cc9a
RS
135532011-06-23 Richard Stallman <rms@gnu.org>
13554
13555 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13556 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13557 (rmail-start-mail): Don't specify use of rmail-mail-return;
13558 that's done by mail-bury now.
13559 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13560
d59eb518
MA
135612011-06-23 Michael Albinus <michael.albinus@gmx.de>
13562
13563 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13564 SIZE is a number.
13565
02cfc6d6
MR
135662011-06-23 Martin Rudalics <rudalics@gmx.at>
13567
13568 * window.el (get-lru-window, get-mru-window)
13569 (get-largest-window): Never return a minibuffer window.
13570 (display-buffer-pop-up-window): Fix a bug that could lead to
13571 reusing the minibuffer window.
13572 (display-buffer): Pass original specifier argument to
13573 display-buffer-function instead of the normalized one.
13574 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13575
4e323265
LL
135762011-06-22 Leo Liu <sdl.web@gmail.com>
13577
13578 * minibuffer.el (completing-read-function)
13579 (completing-read-default): Move from minibuf.c
13580
7a70468f
RS
135812011-06-22 Richard Stallman <rms@gnu.org>
13582
50718fc2
RS
13583 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13584 to Rmail even if not started by a special Rmail command.
13585
7a70468f
RS
13586 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13587 Copy the buffer currently showing just one message.
13588
297dde5a
RW
135892011-06-22 Roland Winkler <winkler@gnu.org>
13590
13591 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13592 (bibtex-clean-entry): First delete the old key so that a
13593 customized algorithm for generating the new key does not get
13594 confused by the old key.
13595 (bibtex-url): Obey regexp of first step.
13596 (bibtex-search-entries): Do not use add-to-list with local
13597 list-var.
13598
97bb1093
LMI
135992011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13600
13601 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13602 stored a user name, then query for the password first, instead of
13603 waiting for SMTP to give an error message and the trying again.
13604
1c0f1a19
JD
136052011-06-22 Lawrence Mitchell <wence@gmx.li>
13606
13607 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13608 BUFFER in call-process.
13609
396f7c9d
LMI
136102011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13611
13612 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13613 QUIT twice.
ddb7ffee
LMI
13614 (smtpmail-try-auth-methods): Require user name and password from
13615 auth-source.
396f7c9d 13616
8998d1b3
MR
136172011-06-22 Martin Rudalics <rudalics@gmx.at>
13618
13619 * window.el (display-buffer-default-specifiers)
13620 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13621 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13622 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13623
13624 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13625 (special-display-frame-alist, special-display-popup-frame):
13626 Remove duplicate declarations. These are now in window.el.
13627
4ea31e07
LMI
136282011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13629
c9d29fb8
SM
13630 * mail/smtpmail.el (smtpmail-via-smtp):
13631 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13632 server supports it. SMTP servers that support STARTTLS commonly
13633 require it.
13634
13635 * net/network-stream.el (network-stream-open-starttls): Support
13636 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13637 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13638
95f41d9a
LMI
13639 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13640 upgrades with `open-network-stream', and rely solely on
13641 auth-source for all credentials. Big changes throughout the file,
13642 but in particular:
c9d29fb8
SM
13643 (smtpmail-auth-credentials): Remove.
13644 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13645 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13646 MAIL FROM, too.
95f41d9a 13647
c9d29fb8
SM
13648 * net/network-stream.el (network-stream-open-starttls):
13649 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13650 STARTTLS.
13651 (auth-source): Require.
13652 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13653 (network-stream-certificate): Change cert-cert to cert and
13654 cert-key to key.
4ea31e07 13655
065ec2c7
MA
136562011-06-21 Michael Albinus <michael.albinus@gmx.de>
13657
13658 * net/tramp-cache.el (top): Don't load the persistency file when
13659 "emacs -Q" has been called.
13660
cd93b359
DR
136612011-06-21 Tim Harper <timcharper@gmail.com>
13662
d8e4b68b
JB
13663 * term/ns-win.el (ns-initialize-window-system):
13664 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13665 resource to NO as it is not yet supported by the NS port.
13666
ae9c0411
JB
136672011-06-21 Juanma Barranquero <lekktu@gmail.com>
13668
13669 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13670 (list-dynamic-libraries): ...not here.
13671
7f3f739f
LL
136722011-06-21 Leo Liu <sdl.web@gmail.com>
13673
13674 * subr.el (sha1): Implement sha1 using secure-hash.
13675
327c8fb1
MR
136762011-06-21 Martin Rudalics <rudalics@gmx.at>
13677
13678 * window.el (display-buffer-alist): In default value do not
13679 enforce searching a window on any but the selected frame.
13680 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13681 (display-buffer-select-window): Remove function.
13682 (display-buffer-in-window): When a window on another frame gets
13683 reused, do not select it any more but just raise its frame if
13684 necessary (Bug#8851) and (Bug#8856).
13685 (display-buffer-normalize-options): Handle pop-up-frames related
13686 options more faithfully.
13687 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13688 window if it is on another frame.
c9d29fb8
SM
13689 (display-buffer-alist, display-buffer-default-specifiers):
13690 Don't make new frame unsplittable by default.
9e9de014
MR
13691 (display-buffer-normalize-argument): Fix doc-string typo and use
13692 'same-frame-other-window instead of 'other-window when associating
13693 with display-buffer-macro-specifiers.
327c8fb1 13694
7cf3f556
VB
136952011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13696
13697 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13698 New functions.
13699 (5x5-mode-map, 5x5-mode-menu): Bind them.
13700 (5x5-draw-grid): Tweak the solver's rendering.
13701
60a406cf
SM
137022011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13703
13704 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13705 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13706
d8e4b68b 137072011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13708
13709 * menu-bar.el: Use function variable instead of switch-to-buffer.
13710 (menu-bar-select-buffer-function): New variable.
60a406cf 13711 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13712
478d6f95
SM
137132011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13714
13715 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13716 variable's status.
13717
ca530739
JD
137182011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13719
13720 * x-dnd.el (x-dnd-version-from-flags)
13721 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13722 and long as number (Bug#8899).
13723 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13724
bcd70d97
SM
137252011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13726
60a406cf 13727 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13728 (completion-try-completion, completion-all-completions): Compute the
13729 metadata argument if it's missing; make it optional (bug#8795).
13730
60a406cf 13731 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13732 (widget-complete): Use new :completion-function property.
13733 (widget-completions-at-point): New function.
13734 (default): Use :completion-function instead of :complete.
60a406cf
SM
13735 (widget-default-completions): Rename from widget-default-complete;
13736 Rewrite.
bcd70d97
SM
13737 (widget-string-complete, widget-file-complete, widget-color-complete):
13738 Remove functions.
13739 (file, symbol, function, variable, coding-system, color):
13740 * international/mule-cmds.el (default-input-method, charset)
13741 (language-info-custom-alist):
13742 * cus-edit.el (face): Use new property :completions.
13743
13744 * progmodes/pascal.el (pascal-completions-at-point): New function.
13745 (pascal-mode): Use it.
13746 (pascal-mode-map): Use completion-at-point.
13747 (pascal-toggle-completions): Make obsolete.
13748 (pascal-complete-word, pascal-show-completions):
13749 * progmodes/octave-mod.el (octave-complete-symbol):
13750 Redefine as obsolete alias.
13751 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13752 Signal absence of completion info for old Octave,
13753 (inferior-octave-complete): Redefine as obsolete alias.
13754 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13755 (meta-completions-at-point): Rename from meta-complete-symbol and
13756 adapt it for use on completion-at-point-functions.
13757 (meta-common-mode): Use it.
13758 (meta-looking-at-backward, meta-match-buffer): Remove.
13759 (meta-complete-symbol): Redefine as obsolete alias.
13760 (meta-common-mode-map): Use completion-at-point.
13761 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13762 (makefile-mode-map): Use completion-at-point.
13763 (makefile-completions-at-point): Rename from makefile-complete and
13764 adapt it for use on completion-at-point-functions.
13765 (makefile-mode): Use it.
13766 (makefile-complete): Redefine as obsolete alias.
13767
aebf69c8
DD
137682011-06-20 Deniz Dogan <deniz@dogan.se>
13769
13770 * net/rcirc.el: Delete trailing whitespaces once and for all.
13771
bfbbb27d
DC
137722011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13773
13774 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13775
d264a46b
CY
137762011-06-19 Chong Yidong <cyd@stupidchicken.com>
13777
4ca009e5
CY
13778 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13779
d264a46b
CY
13780 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13781
fbf5b3ce
MR
137822011-06-19 Martin Rudalics <rudalics@gmx.at>
13783
13784 * window.el (display-buffer-other-window-means-other-frame):
13785 Call display-buffer-normalize-alist.
13786 (display-buffer-normalize-specifiers-1): Rename to
13787 display-buffer-normalize-argument. New argument other-frame.
13788 Rewrite.
13789 (display-buffer-normalize-specifiers-2): Rename to
13790 display-buffer-normalize-options.
13791 (display-buffer-normalize-alist-1): New function.
13792 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13793 display-buffer-normalize-alist.
13794 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13795 (display-buffer-normalize-options-inhibit): New variable.
13796 (display-buffer-normalize-specifiers): Rewrite calling
13797 display-buffer-normalize-alist,
13798 display-buffer-normalize-argument, and
13799 display-buffer-normalize-options. Don't call the latter if
13800 display-buffer-normalize-options-inhibit is non-nil.
13801 (frame-auto-delete): New option.
13802 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13803 (window-list-no-nils, window-state-ignored-parameters)
13804 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13805 (window-state-put-1, window-state-put-2, window-state-put):
13806 New functions.
9a028c23
MR
13807 (display-buffer-normalize-options): Move special-display-p group
13808 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13809
6d10d800
CY
138102011-06-18 Chong Yidong <cyd@stupidchicken.com>
13811
6420d28b
CY
13812 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13813 groups (Bug#8776).
13814 (rx-submatch-n): New function.
13815 (rx): Document it.
13816
ddb8b596
CY
13817 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13818 (Bug#8768).
13819
13820 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13821
77080289
CY
13822 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13823
61dfb316
CY
13824 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13825 anytime existing face settings are present (Bug#8889).
13826
6d10d800
CY
13827 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13828 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13829 Remove unused argument.
13830
be3fb2b8
MR
138312011-06-18 Martin Rudalics <rudalics@gmx.at>
13832
bcd70d97
SM
13833 * window.el (display-buffer-default-specifiers):
13834 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13835 pop-up-window-min-width, and another reuse-window specifier
13836 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13837 (display-buffer-normalize-specifiers-2):
13838 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13839 pop-up-windows is unset. Add a reuse-window specifier for the
13840 case popping up a new window fails.
13841 (special-display-popup-frame): Remove double quoting.
28dec25a 13842 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13843
1c6d8c76
SM
138442011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13845
13846 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13847 according to comint-completion-addsuffix.
13848
13849 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13850 (pcomplete-suffix-list): Mark as obsolete.
13851 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13852 pcomplete-seen in the closure.
13853 (pcomplete-comint-setup): Setup completion-at-point as well.
13854 (pcomplete--entries): New function.
13855 (pcomplete--env-regexp): New var.
13856 (pcomplete-entries): Rewrite to work with partial-completion and
13857 without relying on pcomplete-suffix-list.
13858 (pcomplete-pare-list): Remove, unused.
13859
25aef8b8
MR
138602011-06-17 Martin Rudalics <rudalics@gmx.at>
13861
13862 * window.el (display-buffer-alist): Set pop-up-window-min-height
13863 and pop-up-window-min-width in default value. Reported by
13864 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13865 other-window-means-other-frame.
13866 (display-buffer-macro-specifiers): Comment out entry for
13867 other-window specifier.
13868 (display-buffer-other-window-means-other-frame): New function.
13869 (display-buffer-normalize-specifiers-1): New arguments
13870 buffer-name and label. Treat other-window case specially.
13871 (display-buffer-normalize-specifiers-2): Treat other-window case
13872 specially.
13873 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13874 (display-buffer-normalize-specifiers):
13875 Call display-buffer-normalize-specifiers-3.
25aef8b8 13876
dbad4f69
MR
138772011-06-17 Martin Rudalics <rudalics@gmx.at>
13878
13879 * window.el (same-window-p): Fix two typos introduced when
13880 adding with-no-warnings.
d1067961
MR
13881 (display-buffer-normalize-specifiers-1): Don't check
13882 pop-up-frames for 'unset initialization.
13883 (display-buffer-normalize-specifiers-2): Major rewrite using
13884 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13885 (pop-up-frames, display-buffer-reuse-frames)
13886 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13887 Suggested by David Engster <deng@randomsample.de>.
13888 (even-window-heights): Initialize to 'unset.
13889 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13890 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13891 other window case.
dbad4f69 13892
9b9c9e3a
MR
138932011-06-16 Martin Rudalics <rudalics@gmx.at>
13894
bcd70d97
SM
13895 * window.el (display-buffer-normalize-specifiers-1):
13896 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13897 second argument of display-buffer (Bug#8865).
981d5c09
MR
13898 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13899 (switch-to-buffer-other-window-same-frame)
13900 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13901 Adams (Bug#8875).
9c2755e9
MR
13902 (display-buffer): Don't check noninteractive when calling
13903 display-buffer-pop-up-frame.
13904 (display-buffer-pop-up-frame): Never pop up a frame in
13905 noninteractive mode (Bug#8857).
67222e1d
MR
13906 (enlarge-window, shrink-window): Don't report an error when the
13907 window can't be resized as requested (Bug#8862).
9b9c9e3a 13908
2b75be67
SM
139092011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13910
9ffdd3ba
SM
13911 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13912
cb581a67
SM
13913 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13914
2b75be67
SM
13915 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13916
8c0e3589
AM
139172011-06-15 Alan Mackenzie <acm@muc.de>
13918
cb581a67
SM
13919 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13920 for declarators, disable knr checking to speed up for normal files.
13921 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13922
b96e6cde
LMI
139232011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13924
4bba86e6
LMI
13925 * net/network-stream.el (open-network-stream): Add the keyword
13926 :always-query-capabilities for the case where you want to force a
13927 `plain' network connection, but the protocol still requires the
13928 capabilitiy command (i.e., SMTP and EHLO).
13929
2b75be67 13930 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13931 consistency with other `-live-p' functions.
13932
efdcdbf8
SM
139332011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13934
13935 * window.el (same-window-buffer-names, same-window-regexps)
13936 (special-display-frame-alist, special-display-popup-frame)
13937 (special-display-function, special-display-buffer-names)
13938 (special-display-regexps, pop-up-frame-alist)
13939 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13940 (pop-up-windows, split-window-preferred-function)
13941 (split-height-threshold, split-width-threshold, even-window-heights)
13942 (display-buffer-mark-dedicated): Don't encourage the use of
13943 display-buffer-alist from Elisp code.
13944
c5cde042
DN
139452011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13946
13947 * progmodes/python.el (python-mode): Derive from prog-mode.
13948 * progmodes/ps-mode.el (ps-mode):
13949 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13950 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13951 * progmodes/ld-script.el (ld-script-mode): Likewise.
13952
baa1c9ab
MR
139532011-06-15 Martin Rudalics <rudalics@gmx.at>
13954
13955 * window.el (display-buffer-alist): Trim default value to avoid
13956 popping up a new frame (Bug#8857) or reusing an arbitrary window
13957 on another frame.
13958 (display-buffer): Do not fall back on popping up a new frame in
13959 batch mode (Bug#8857).
13960
c5dd5a51
CY
139612011-06-14 Chong Yidong <cyd@stupidchicken.com>
13962
13963 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13964 (custom-theme-summary): New function.
13965 (customize-themes): Use it.
13966
d647b7c4
GM
139672011-06-13 Glenn Morris <rgm@gnu.org>
13968
13969 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13970
9481c002
MR
139712011-06-13 Martin Rudalics <rudalics@gmx.at>
13972
357f93d2
MR
13973 * help.el (help-window): Remove variable.
13974 (help-window-point-marker, temp-buffer-max-height)
13975 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13976 (help-print-return-message): Don't set help-window.
13977 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13978 (help-window-setup-finish): Remove.
13979 (help-window-display-message, help-window-setup)
13980 (with-help-window): Major rewrite based on new
13981 display-buffer-window variable.
13982
13983 * help-mode.el (help-mode-finish): Remove help-window related
13984 code.
13985
13986 * view.el (view-exits-all-viewing-windows): Remove reference to
13987 view-return-to-alist in doc-string.
13988 (view-return-to-alist): Make obsolete.
13989 (view-buffer): Call pop-to-buffer-same-window and remove
13990 undo-window code.
13991 (view-buffer-other-window): Call pop-to-buffer-other-window and
13992 simplify code. Ignore second argument.
13993 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13994 simplify code. Ignore second argument.
13995 (view-return-to-alist-update): Make obsolete.
13996 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13997 Rewrite using quit-restore window parameters.
2b75be67
SM
13998 (view-mode-exit): Rename second argument to EXIT-ONLY.
13999 Rewrite using quit-restore-window.
357f93d2
MR
14000 (View-exit, View-exit-and-edit, View-leave, View-quit)
14001 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14002 appropriate arguments.
14003 (view-end-message): Use quit-restore window parameter.
14004
9481c002
MR
14005 * window.el (display-buffer-function): Rewrite doc-string.
14006 (display-buffer-window, display-buffer-alist): New variables.
14007 (display-buffer-split-specifiers)
14008 (display-buffer-side-specifiers)
14009 (display-buffer-macro-specifiers): New constants.
14010 (display-buffer-even-window-sizes, display-buffer-set-height)
14011 (display-buffer-set-width, display-buffer-select-window)
14012 (display-buffer-in-window, display-buffer-reuse-window)
14013 (display-buffer-split-window-1, display-buffer-split-window)
14014 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14015 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14016 (display-buffer-in-side-window, normalize-buffer-to-display)
14017 (display-buffer-normalize-specifiers-1)
14018 (display-buffer-normalize-specifiers-2)
2b75be67
SM
14019 (display-buffer-normalize-specifiers, display-buffer-frame):
14020 New functions.
9481c002
MR
14021 (display-buffer): Major rewrite.
14022 (display-buffer-other-window, display-buffer-other-frame)
14023 (pop-to-buffer, switch-to-buffer-other-window)
14024 (switch-to-buffer-other-frame): Rewrite.
14025 (display-buffer-same-window, display-buffer-same-frame)
14026 (display-buffer-same-frame-other-window)
14027 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14028 (pop-to-buffer-other-window)
14029 (pop-to-buffer-same-frame-other-window)
14030 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14031 (switch-to-buffer-other-window-same-frame): New functions.
14032 (same-window-p, special-display-p): Rewrite disabling warnings.
14033 Make obsolete.
14034 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14035 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14036 Make obsolete
14037 (same-window-buffer-names, same-window-regexps)
14038 (special-display-frame-alist, special-display-popup-frame)
14039 (special-display-function, special-display-buffer-names)
14040 (special-display-regexps, pop-up-frame-alist)
14041 (pop-up-frame-function, split-window-preferred-function)
14042 (split-height-threshold, split-width-threshold)
14043 (even-window-heights): Make obsolete.
14044
9db51aca
GM
140452011-06-12 Glenn Morris <rgm@gnu.org>
14046
14047 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 14048 Misc simplifications.
9db51aca 14049
39cffb44
MR
140502011-06-12 Martin Rudalics <rudalics@gmx.at>
14051
14052 * window.el (window-safely-shrinkable-p): Restore function which
14053 was inadvertently removed in change from 2011-06-11. Declare as
14054 obsolete.
14055
2b75be67
SM
14056 * calendar/calendar.el (calendar-generate-window):
14057 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
14058 window-safely-shrinkable-p.
14059
a8955be7
GM
140602011-06-12 Glenn Morris <rgm@gnu.org>
14061
14062 * progmodes/fortran.el (fortran-mode-syntax-table):
14063 * progmodes/f90.el (f90-mode-syntax-table):
14064 Set % to punctuation. (Bug#8820)
14065 (f90-find-tag-default): Remove, no longer needed.
14066
f0d4059d
DC
140672011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14068
14069 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14070
1100a63c
CY
140712011-06-11 Chong Yidong <cyd@stupidchicken.com>
14072
14073 * image.el (image-animated-p): Return animation delay in seconds.
14074 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14075 (image-animate-timeout): Remove DELAY argument. Don't assume
14076 every subimage has the same delay; get it from image-animated-p.
14077 (image-animate): Caller changed.
14078
def722bf
MA
140792011-06-11 Michael Albinus <michael.albinus@gmx.de>
14080
14081 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14082 to ignored backtrace functions.
14083
0a2bb1a9
GM
140842011-06-11 Glenn Morris <rgm@gnu.org>
14085
14086 * calendar/appt.el (appt-disp-window-function): Doc fix.
14087 (appt-check): Handle overlapping appointments. (Bug#8337)
14088
6198ccd0
MR
140892011-06-11 Martin Rudalics <rudalics@gmx.at>
14090
14091 * window.el (window-tree-1, window-tree): New functions, moving
14092 the latter to window.el.
14093 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14094 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14095 (bw-refresh-edges): Remove.
14096 (balance-windows-1, balance-windows-2): New functions.
14097 (balance-windows): Rewrite in terms of window tree functions,
14098 balance-windows-1 and balance-windows-2.
14099 (bw-adjust-window): Remove.
14100 (balance-windows-area-adjust): New function with functionality of
14101 bw-adjust-window but using resize-window.
2b75be67
SM
14102 (set-window-text-height): Rewrite doc-string.
14103 Use normalize-live-window and resize-window.
14104 (enlarge-window-horizontally, shrink-window-horizontally):
14105 Rename argument to DELTA.
6198ccd0
MR
14106 (window-buffer-height): New function.
14107 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14108 Rewrite using new window resize routines.
2b75be67
SM
14109 (kill-buffer-and-window, mouse-autoselect-window-select):
14110 Use ignore-errors instead of condition-case.
6198ccd0
MR
14111 (quit-window): Call delete-frame instead of delete-windows-on
14112 for the only buffer on frame.
14113
9397e56f
MR
141142011-06-10 Martin Rudalics <rudalics@gmx.at>
14115
14116 * loadup.el (top-level): Load window before files for the sake
14117 of replace-buffer-in-windows.
14118
14119 * files.el (read-buffer-to-switch)
14120 (switch-to-buffer-other-window)
2b75be67
SM
14121 (switch-to-buffer-other-frame, display-buffer-other-frame):
14122 Move to window.el.
9397e56f
MR
14123
14124 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14125 (previous-buffer): Move to window.el.
14126
14127 * bindings.el (unbury-buffer): Move to window.el.
14128
14129 * window.el (delete-other-windows-vertically): Move after
14130 definition of delete-other-windows.
14131 (other-window, delete-windows-on, replace-buffer-in-windows):
14132 Move here from window.c.
14133 (record-window-buffer, unrecord-window-buffer)
14134 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14135 (switch-to-next-buffer): New functions.
14136 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14137 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
14138 (previous-buffer): Move here from simple.el.
14139 Call switch-to-prev-buffer.
9397e56f
MR
14140 (bury-buffer): Move here from buffer.c. Switch to previous
14141 buffer when window cannot be deleted.
14142 (unbury-buffer): Move here from bindings.el.
14143 (ctl-x-map): Move binding for other-window from window.c to
14144 here.
14145 (read-buffer-to-switch, switch-to-buffer-other-window)
14146 (switch-to-buffer-other-frame): Move here from files.el.
14147 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
14148 (switch-to-buffer): Move here from buffer.c.
14149 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 14150
562dd5e9
MR
141512011-06-10 Martin Rudalics <rudalics@gmx.at>
14152
14153 * window.el (window-min-height, window-min-width): Move here
14154 from window.c. Add defcustoms and rewrite doc-strings.
14155 (resize-mini-window, resize-window): New functions.
14156 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14157 Move here from window.c.
14158 (maximize-window, minimize-window): New functions.
14159 (delete-window, delete-other-windows, split-window): Move here
14160 from window.c.
14161 (window-split-min-size): New function.
14162 (split-window-keep-point): Mention split-window-above-each-other
14163 instead of split-window-vertically.
2b75be67 14164 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
14165 Rename split-window-vertically to split-window-above-each-other
14166 and provide defalias for old definition.
14167 (split-window-side-by-side, split-window-horizontally):
14168 Rename split-window-horizontally to split-window-side-by-side
14169 and provide defalias for the old definition.
562dd5e9
MR
14170 (ctl-x-map): Move bindings for delete-window,
14171 delete-other-windows and enlarge-window here from window.c.
14172 Replace bindings for split-window-vertically and
14173 split-window-horizontally by bindings for
14174 split-window-above-each-other and split-window-side-by-side.
14175
14176 * cus-start.el (all): Remove entries for window-min-height and
14177 window-min-width. Add entries for window-splits and
14178 window-nest.
14179
f0da764a
GM
141802011-06-09 Glenn Morris <rgm@gnu.org>
14181
80675c21
GM
14182 * calendar/appt.el (appt-mode-line): New function.
14183 (appt-check, appt-disp-window): Use it.
14184
f0da764a
GM
14185 * files.el (hack-one-local-variable-eval-safep):
14186 Allow minor-modes with explicit +/-1 arguments.
14187
59f623b7
TZ
141882011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14189
14190 * term/xterm.el (xterm): Add defgroup.
14191 (xterm-extra-capabilities): Add defcustom to supply known xterm
14192 capabilities, skip querying them, or query them (default).
14193 (terminal-init-xterm): Use it.
14194 (terminal-init-xterm-modify-other-keys): New function to set up
14195 modifyOtherKeys support to simplify `terminal-init-xterm'.
14196
9aab8e0d
MR
141972011-06-09 Martin Rudalics <rudalics@gmx.at>
14198
14199 * window.el (resize-window-reset, resize-window-reset-1)
14200 (resize-subwindows-skip-p, resize-subwindows-normal)
14201 (resize-subwindows, resize-other-windows, resize-this-window)
14202 (resize-root-window, resize-root-window-vertically)
14203 (window-deletable-p, window-or-subwindow-p)
14204 (frame-root-window-p): New functions.
14205
e8b08aee
GM
142062011-06-09 Glenn Morris <rgm@gnu.org>
14207
14208 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14209 (ange-ftp-get-files): Use it.
14210
254c37a5
AK
142112011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14212
14213 * mail/sendmail.el (mail-recover-1, mail-recover):
14214 * files.el (recover-file, recover-session):
14215 Handle dired-listing-switches not being just a single short option.
14216
35d7dbd3
GM
142172011-06-09 Glenn Morris <rgm@gnu.org>
14218
14219 * calendar/appt.el (appt-display-message, appt-disp-window):
14220 Handle lists of appointments.
14221
387522b2
MR
142222011-06-08 Martin Rudalics <rudalics@gmx.at>
14223
2b75be67
SM
14224 * window.el (one-window-p): Move down in code.
14225 Rewrite doc-string.
14226 (window-current-scroll-bars): Rewrite doc-string.
14227 Normalize live window argument.
387522b2
MR
14228 (walk-windows, get-window-with-predicate, count-windows):
14229 Rewrite doc-string. Use window-list-1.
14230 (window-in-direction-2, window-in-direction, get-mru-window):
14231 New functions.
14232
d8e4b68b 142332011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14234
14235 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14236 Doc fix (Bug#8713).
14237
142382011-06-08 Chong Yidong <cyd@stupidchicken.com>
14239
14240 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14241
142422011-06-08 Juanma Barranquero <lekktu@gmail.com>
14243
14244 * loadhist.el (unload-feature-special-hooks):
14245 Add `comint-output-filter-functions'.
14246
0de12c52
IK
142472011-06-08 Ivan Kanis <gnu@kanis.fr>
14248
14249 * calendar/appt.el (appt-check): Move some initializations into the let.
14250
f3d1777e
MR
142512011-06-08 Martin Rudalics <rudalics@gmx.at>
14252
14253 * window.el (window-height): Defalias to window-total-height.
14254 (window-width): Defalias to window-body-width.
14255
18af70d0
CY
142562011-06-07 Chong Yidong <cyd@stupidchicken.com>
14257
14258 * image-mode.el (image-toggle-animation): New command.
14259 (image-mode-map): Bind it to RET.
14260 (image-mode): Update message.
14261 (image-toggle-display-image): Avoid a spurious cache flush.
14262 (image-transform-rotation): Doc fix.
14263 (image-transform-properties): Return quickly in the normal case.
14264 (image-animate-loop): Rename from image-animate-max-time.
14265
2b75be67 14266 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14267 (create-animated-image): Remove unnecessary function.
14268 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14269 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14270 (image-animate-timer): Use car-safe.
14271 (image-animate-timeout): Rename argument.
14272
190b47e6
MR
142732011-06-07 Martin Rudalics <rudalics@gmx.at>
14274
14275 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14276 window.c. Rename first argument to ALL-FRAMES.
14277 Rephrase doc-strings.
14278 (get-buffer-window-list): Rewrite using window-list-1.
14279 Rephrase doc-string.
a1511caf
MR
14280 (window-safe-min-height, window-safe-min-width): New constants.
14281 (window-size-ignore, window-min-size, window-min-size-1)
14282 (window-sizable, window-sizable-p, window-size-fixed-1)
14283 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14284 (window-max-delta-1, window-max-delta, window-resizable)
14285 (window-resizable-p, window-total-height, window-total-width)
14286 (window-body-width): New functions.
14287 (window-full-height-p, window-full-width-p): Rewrite using
14288 window-total-size.
14289 (window-body-height): Rewrite using window-body-size.
190b47e6 14290
85cc1f11
MR
142912011-06-06 Martin Rudalics <rudalics@gmx.at>
14292
14293 * window.el (window-right, window-left, window-child)
14294 (window-child-count, window-last-child, window-any-p)
14295 (normalize-live-buffer, normalize-live-frame)
14296 (normalize-any-window, normalize-live-window)
14297 (window-iso-combination-p, window-iso-combined-p)
14298 (window-iso-combinations)
14299 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14300 (windows-with-parameter, window-with-parameter)
14301 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14302 (window-atom-check, window-side-check, window-check):
14303 New functions.
85cc1f11
MR
14304 (ignore-window-parameters, window-sides, window-sides-vertical)
14305 (window-sides-slots): New variables.
14306 (window-size-fixed): Move down in code. Minor doc-string fix.
14307
e7156492
AS
143082011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14309
14310 * comint.el (comint-dynamic-complete-as-filename)
14311 (comint-dynamic-complete-filename): Correctly call
14312 completion-in-region.
14313
7e821d0d
DD
143142011-06-05 Deniz Dogan <deniz@dogan.se>
14315
14316 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14317 in last change.
14318
ac09b8a1
DD
143192011-06-05 Deniz Dogan <deniz@dogan.se>
14320
14321 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14322 (rcirc): Use it to prompt for encryption.
14323
34699b85
RW
143242011-06-05 Roland Winkler <winkler@gnu.org>
14325
14326 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14327 (bibtex-search-entries): New command bound to C-c C-a.
14328 (bibtex-display-entries): New function.
14329
004dedd3
RW
143302011-06-05 Roland Winkler <winkler@gnu.org>
14331
14332 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14333 (bibtex-insert-kill): After yanking insert newline if necessary.
14334 (bibtex-initialize): Call bibtex-string-files-init only once.
14335 (bibtex-mode): Do not call easy-menu-add.
14336 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14337 (bibtex-yank): Set arg properly if nil.
14338
022fe7ce
RW
143392011-06-05 Roland Winkler <winkler@gnu.org>
14340
2b75be67
SM
14341 * textmodes/bibtex.el (bibtex-search-entry-globally):
14342 New variable.
022fe7ce
RW
14343 (bibtex-search-entry): Use it.
14344
b7c3692a
RW
143452011-06-05 Roland Winkler <winkler@gnu.org>
14346
14347 * textmodes/bibtex.el (bibtex-entry-format): New option
14348 sort-fields.
14349 (bibtex-format-entry, bibtex-reformat): Honor this option.
14350 (bibtex-parse-entry): Return fields in proper order.
14351
8eda563d
JB
143522011-06-05 Juanma Barranquero <lekktu@gmail.com>
14353
14354 * doc-view.el (doc-view-remove-if): Move computation of result out
14355 of `dolist' to silence misleading lexical-binding warning.
14356
7dbe3dbc
CY
143572011-06-04 Chong Yidong <cyd@stupidchicken.com>
14358
14359 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14360 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14361
0c33dd17
MA
143622011-06-04 Michael Albinus <michael.albinus@gmx.de>
14363
14364 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14365 "SunOS 5.10".
14366
f8f91c2b
MA
143672011-06-04 Michael Albinus <michael.albinus@gmx.de>
14368
14369 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14370 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14371 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14372 (tramp-parse-putty):
14373 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14374 (tramp-completion-function-alist-ssh)
14375 (tramp-completion-function-alist-telnet)
14376 (tramp-completion-function-alist-su)
14377 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14378 cookie.
14379
14380 * net/tramp-ftp.el:
14381 * net/tramp-sh.el:
14382 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14383 load "tramp.el" `tramp-set-completion-function'.
14384
e17d9003
SM
143852011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14386
14387 * shell.el: Require and use pcomplete.
14388 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14389 (shell-completion-vars): Set pcomplete-default-completion-function.
14390
6c4cab03
DD
143912011-06-04 Deniz Dogan <deniz@dogan.se>
14392
14393 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14394 `memq' (Bug#8799).
14395
ea9fafe0
SM
143962011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14397
14398 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14399
b3e945d3
JB
144002011-06-02 Juanma Barranquero <lekktu@gmail.com>
14401
14402 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14403 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14404 * vc/log-view.el (log-view-beginning-of-defun):
14405 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14406 (smerge-refine-forward, smerge-refine-chopup-region):
14407 Silence warning for unused `dotimes' counter variables.
14408
7d520089
SM
144092011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14410
14411 * net/tramp.el (tramp-with-progress-reporter): Rename from
14412 with-progress-reporter. Use `declare'.
14413 * net/tramp-smb.el:
14414 * net/tramp-sh.el:
14415 * net/tramp-gvfs.el: Update all uses.
14416
a1c2400f
JB
144172011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14418
14419 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14420 buffer isn't killed before making it current.
14421
2403c841
SM
144222011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14423
14424 Silence various byte-compiler warnings.
14425 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14426 `access-type' and new obsolescence format.
14427 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14428 new format.
14429 (byte-compile-check-variable): New `access-type' argument.
14430 Only warn if the access-type is obsolete.
14431 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14432 (byte-compile-variable-set): Adjust callers.
14433 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14434 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14435 setting it as obsolete.
14436 * simple.el (minibuffer-completing-symbol):
14437 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14438 access as obsolete.
14439 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14440 obsolete yet.
14441 * international/quail.el (quail-mouse-choose-completion): Remove unused
14442 code referring to obsolete var.
14443 (quail-choose-completion-string): Remove.
14444 * server.el (server-clients-with, server-kill-buffer-query-function)
14445 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14446 * proced.el (proced-send-signal):
14447 * emacs-lisp/lisp.el (lisp-complete-symbol):
14448 Replace completion-annotate-function with completion-extra-properties.
14449
2462470b
SM
144502011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14451
fb5b2591
SM
14452 * simple.el (goto-line): Use read-number.
14453 (overriding-map-is-bound): Remove.
14454 (saved-overriding-map): Change default.
14455 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14456 Take the map as argument.
14457 (universal-argument, negative-argument, digit-argument): Use it.
14458 (restore-overriding-map): Adjust.
14459 (do-auto-fill): Use fill-forward-paragraph.
14460 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14461
fd6fa53f
SM
14462 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14463 (minibuffer-inactive-mode): New major mode.
14464 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14465 the *Messages* buffer" hack.
14466 (mouse-popup-menubar): Don't burp if the event is a normal key.
14467
2462470b
SM
14468 Miscellaneous tweaks.
14469 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14470 lexical scoping as in subr.el's dolist and dotimes.
14471 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14472 Silence compiler warning.
14473 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14474 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14475 * international/ccl.el (ccl-compile): Trivial simplification.
14476 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14477 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14478 `printflag' argument.
14479 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14480 Purecopy the whole obsolescence data.
14481
108bf785
LL
144822011-06-01 Leo Liu <sdl.web@gmail.com>
14483
14484 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14485 improve doc-string as suggested by Marco Pessotto
14486 <melmothx@gmail.com>.
14487 (rcirc-print): Fix last change.
14488
30a23501
SM
144892011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14490
14491 * minibuffer.el (complete-with-action): Return nil for the metadata and
14492 boundaries of non-functional tables.
14493 (completion-table-dynamic): Return nil for the metadata.
14494 (completion-table-with-terminator): Add default case, using
14495 complete-with-action.
14496 (completion--metadata): New function.
14497 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14498 to try and avoid pathological performance problems.
14499 (completion--embedded-envvar-table): Return `category' metadata.
14500
bcd54f83
LMI
145012011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14502
14503 * subr.el (process-alive-p): New tiny convenience function.
14504
e227544d
SM
145052011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14506
14507 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14508 content but also its previous major mode.
14509
e8296fdc
HE
145102011-05-31 Helmut Eller <eller.helmut@gmail.com>
14511
4d61f28d 14512 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14513 *Backtrace* buffer when we exit with C-M-c.
14514
620c53a6
SM
145152011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14516
14517 * minibuffer.el: Add metadata method to completion tables.
14518 (completion-category-overrides): New defcustom.
14519 (completion-metadata, completion--field-metadata)
14520 (completion-metadata-get, completion--styles)
14521 (completion--cycle-threshold): New functions.
14522 (completion-try-completion, completion-all-completions):
14523 Add `metadata' argument to choose completion-styles.
14524 (completion--do-completion): Use metadata to choose cycling.
14525 (completion-all-sorted-completions): Use metadata for sorting.
14526 Remove :completion-cycle-penalty which is not needed any more.
14527 (completion--try-word-completion): Add `metadata' argument.
14528 (minibuffer-completion-help): Check metadata for annotation function
14529 and sorting.
14530 (completion-file-name-table): Return `category' metadata.
14531 (minibuffer-completing-file-name): Make obsolete.
14532 * simple.el (minibuffer-completing-symbol): Make obsolete.
14533 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14534 completion-try-completion.
14535
1257e755
SM
145362011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14537
14538 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14539
3767e706
LL
145402011-05-30 Leo Liu <sdl.web@gmail.com>
14541
14542 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14543 (rcirc-print): Decode all incoming messages (bug#8744).
14544 (rcirc-decode-coding-system): Allow value nil for automatic coding
14545 system detection.
3767e706 14546
d1a5d56a
GM
145472011-06-01 Glenn Morris <rgm@gnu.org>
14548
14549 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14550
e8cbec34
CY
145512011-05-29 Chong Yidong <cyd@stupidchicken.com>
14552
14553 * image.el (image-animate-max-time): Allow nil and t values.
14554 Default to nil.
14555 (create-animated-image): Doc fix.
14556 (image-animate-start): Remove second arg; just use
14557 image-animate-max-time.
14558 (image-animate-timeout): Doc fix. Args changed.
14559
14560 * image-mode.el (image-toggle-display-image): Ensure that the
14561 image spec passed to the animate timer is the same object as in
58179cce 14562 the buffer's display property (Bug#6981).
e8cbec34
CY
14563 (image-transform-properties): Doc fix.
14564
14565 * image.el (image-animate-max-time): Default to nil.
14566
159daf87
MR
145672011-05-29 Martin Rudalics <rudalics@gmx.at>
14568
14569 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14570 entire buffer list (Bug#8184).
14571
d66c4c7c
CY
145722011-05-29 Chong Yidong <cyd@stupidchicken.com>
14573
14574 * image.el (imagemagick-types-inhibit)
14575 (imagemagick-register-types): Doc fix.
14576
80aec780
DD
145772011-05-29 Deniz Dogan <deniz@dogan.se>
14578
14579 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14580 default.
14581
1dd3c2d9
CY
145822011-05-29 Chong Yidong <cyd@stupidchicken.com>
14583
14584 * select.el: Don't perform clipboard-manager saving in hooks;
14585 leave the hooks empty.
14586
60e56523
LL
145872011-05-28 Leo Liu <sdl.web@gmail.com>
14588
14589 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14590 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14591 (occur-edit-mode): New major mode (Bug#8463).
14592 (occur-after-change-function): New function.
14593 (occur-engine): Give Occur tags a read-only property.
14594
2b1e1a22
KR
145952011-05-28 Kevin Ryde <user42@zip.com.au>
14596
14597 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14598
5d344e88
CY
145992011-05-28 Chong Yidong <cyd@stupidchicken.com>
14600
8e6ca83d
CY
14601 * bindings.el (help-echo): Make the initial non-indicator dash
14602 empty on graphical terminals (Bug#7295).
14603
5d344e88
CY
14604 * files.el (auto-mode-alist): Move config rule after the
14605 in-stripping one (Bug#8547).
14606
bfbbace7
CY
14607 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14608
fbeba6e2
CY
14609 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14610 setting (Bug#8740).
14611
60ed8c72
AA
146122011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14613
4ac619f0
AA
14614 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14615 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14616 (Bug#8539).
60ed8c72 14617
23db196e
CY
146182011-05-28 Chong Yidong <cyd@stupidchicken.com>
14619
14620 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14621
5012f24c
DK
146222011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14623
14624 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14625 (hs-hide-block-at-point, hs-find-block-beginning)
14626 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14627 (Bug#8279).
14628
6a639b16
GM
146292011-05-28 Glenn Morris <rgm@gnu.org>
14630
14631 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14632
d43eaf2c
CY
146332011-05-28 Chong Yidong <cyd@stupidchicken.com>
14634
5199bde1
CY
14635 * help-fns.el (describe-function-1): If the function is a derived
14636 major mode, print the parent mode.
14637
d43eaf2c
CY
14638 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14639 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14640
423428a8
SM
146412011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14642
0ff8e1ba 14643 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14644 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14645 * progmodes/etags.el (tags-completion-at-point-function):
14646 * info-look.el (info-lookup-completions-at-point): Mark as
14647 non-exclusive.
14648 (info-complete): Adjust accordingly.
14649
423428a8
SM
14650 * info-look.el: Convert to lexical-binding and completion-at-point.
14651 (info-lookup-completions-at-point): New function.
14652 (info-complete): Use it and completion-in-region.
14653
b74aa22b
DA
146542011-05-28 Drew Adams <drew.adams@oracle.com>
14655
14656 * isearch.el: Let M-e start with point at the first mismatched char.
14657 (isearch-fail-pos): New function.
14658 (isearch-edit-string): Use it.
14659
66e2e71d
DK
146602011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14661
14662 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14663
b1890b0f 146642011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14665
14666 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14667 traversal functions for avl-trees.
14668 (avl-tree--stack): New struct.
14669 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14670 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14671 (avl-tree--do-enter): Add optional `updatefun' arg.
14672 Change return value.
eb95d01d 14673 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14674 (avl-tree--do-delete): Add `test' and `nilflag' args.
14675 Change return value.
eb95d01d
TC
14676 (avl-tree-member): Add optional `nilflag'
14677 (avl-tree-member-p): New function.
14678 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14679 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14680 (avl-tree-stack-empty-p): New functions.
14681
3769ddcf
TC
14682 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14683 avl-tree--del-balance1 and make it work both ways.
14684 (avl-tree--del-balance2): Remove.
14685 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14686 make it work both ways.
14687 (avl-tree--enter-balance2): Remove.
14688 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14689 New macros.
14690 (avl-tree--mapc, avl-tree-map): Add direction argument.
14691
eb95d01d 146922011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14693
14694 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14695
a9f737ee
CY
146962011-05-27 Chong Yidong <cyd@stupidchicken.com>
14697
14698 * select.el: Support clipboard managers with built-in function
14699 x-clipboard-manager-save, via delete-frame-functions and
14700 kill-emacs-hook.
14701 (xselect-convert-to-targets): Add MULTIPLE target to list.
14702 (xselect-convert-to-save-targets): New function.
14703
c92a1e54
KH
147042011-05-27 Kenichi Handa <handa@m17n.org>
14705
14706 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14707 let-binding rfc2047-encode-encoded-words to nil.
14708
e145f188
GM
147092011-05-27 Glenn Morris <rgm@gnu.org>
14710
5ec8a862
GM
14711 * mail/emacsbug.el: Don't require url-util.
14712
4b29d9fb
GM
14713 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14714
e145f188
GM
14715 * files.el (set-auto-mode):
14716 Also respect mode: entries at the end of the file. (Bug#8586)
14717
7d15102b
GM
147182011-05-26 Glenn Morris <rgm@gnu.org>
14719
98f593b8
GM
14720 * files.el (hack-local-variables-prop-line, hack-local-variables):
14721 Downcase mode names, as seems to be traditional.
27b48e63 14722 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14723
7d15102b
GM
14724 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14725 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14726
51d5b4ec
JD
147272011-05-25 Julien Danjou <julien@danjou.info>
14728
14729 * textmodes/rst.el (rst-define-level-faces): Do not define face
14730 symbol if it is already defined.
14731
91513f63
VB
147322011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14733
14734 * play/5x5.el (5x5-new-game, 5x5-randomize):
14735 Reset 5x5-solver-output to nil when a new grid is cast.
14736 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14737 these debugging traces, as defmacro breaks the compiled code.
14738
4d90d6d0
DK
147392011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14740
14741 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14742
e1b90ef6
LL
147432011-05-24 Leo Liu <sdl.web@gmail.com>
14744
14745 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14746 (vc-bzr-sha1): Adapt.
14747
d8e4b68b 14748 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14749
14750 * bindings.el: Provide sha1 feature.
14751
db0406bb 147522011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14753
14754 * mail/sendmail.el: Require `rfc2047'.
14755 (mail-insert-from-field): Do not perform RFC2047 encoding.
14756 (mail-encode-header): New function.
14757 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14758 buffer to the return value of select-message-coding-system.
14759 Call mail-encode-header.
b8d747b9
KH
14760
14761 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14762
db0406bb 147632011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14764
4d90d6d0
DK
14765 * mail/supercite.el (sc-default-cite-frame):
14766 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14767
eb8a5e9b
GM
147682011-05-24 Glenn Morris <rgm@gnu.org>
14769
f8630703
GM
14770 * progmodes/python.el (brm-menu): Declare.
14771
8831bbed
GM
14772 * emulation/viper.el (viper-set-hooks): Declare.
14773
eb8a5e9b
GM
14774 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14775 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14776 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14777 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14778 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14779 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14780
a2a25d24
SM
147812011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14782
14783 Add an :exit-function for completion-at-point.
14784
14785 * minibuffer.el (completion--done): New fun.
14786 (completion--do-completion): Use it. New arg `expect-exact'.
14787 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14788 since completion--do-completion does it for us now.
14789 (minibuffer-force-complete): Use completion--done and
14790 completion--replace. Handle sole-completion case with more care.
14791 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14792 (completion-extra-properties): New var.
14793 (completion-annotate-function): Make obsolete.
14794 (minibuffer-completion-help): Adjust accordingly.
14795 Use completion-list-insert-choice-function.
14796 (completion-at-point, completion-help-at-point):
14797 Bind completion-extra-properties.
14798 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14799 * simple.el (completion-list-insert-choice-function): New var.
14800 (completion-setup-function): Preserve it.
14801 (choose-completion): Pay attention to it, shuffle the code a bit.
14802 (choose-completion-string): New arg `insert-function'.
14803
14804 * textmodes/bibtex.el: Convert to lexical binding.
14805 (bibtex-mode-map): Use completion-at-point.
14806 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14807 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14808 (bibtex-complete): Define as obsolete alias.
14809 (bibtex-complete-internal): Remove.
14810 (bibtex-format-entry): Remove unused sub-group in regexp.
14811 * shell.el (shell--command-completion-data)
14812 (shell-environment-variable-completion):
14813 * pcomplete.el (pcomplete-completions-at-point):
14814 * comint.el (comint--complete-file-name-data): Use :exit-function
14815 instead of completion-table-with-terminator so it also works for
14816 choose-completion.
14817
e44e373d
SM
148182011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14819
4f91a816
SM
14820 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14821
782fc819
SM
14822 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14823 (bug#8710).
14824
e44e373d
SM
14825 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14826
381987c3
KM
148272011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14828
14829 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14830 customization variable and implement: If non-nil, auto-fill will
14831 be inhibited while on topic's header line.
14832
b776bc70
VB
148332011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14834
14835 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14836 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14837 always have a solution in grid size = 5 cases.
14838 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14839 (5x5-solver-output, 5x5-log-buffer): New vars.
14840 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14841 Make these variables buffer local to achieve 5x5 multi-session-ness.
14842 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14843 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14844 (5x5-solve-suggest): New funs.
14845 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14846 randomize a grid so that we ensure that there is always a solution.
14847 (5x5-make-random-grid): Allow other movement than flipping.
14848
7de88b6e
KR
148492011-05-23 Kevin Ryde <user42@zip.com.au>
14850
14851 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14852 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14853 advice and passes PREDICATE.
14854
b1ef1257
SM
148552011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14856
bbca48fe
SM
14857 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14858 byte-compile-lambda if it's actually a lambda.
14859
b1ef1257
SM
14860 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14861 Fix function quoting. Use backquote better.
14862
92a9cc65
YS
148632011-05-22 Yuanle Song <sylecn@gmail.com>
14864
14865 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14866 matching (Bug#8516).
14867
f0fb8059
JA
148682011-01-22 Jari Aalto <jari.aalto@cante.net>
14869
14870 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14871 different face (Bug#8178).
14872
d5b44c93
CY
148732011-05-22 Chong Yidong <cyd@stupidchicken.com>
14874
14875 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14876 defface (Bug#8144).
14877
79106a44
SM
148782011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14879
9c848d8a
SM
14880 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14881 funcall as well (bug#8712). Warn when performing those conversions.
14882 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14883
79106a44
SM
14884 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14885
88dfa756
GM
148862011-05-22 Glenn Morris <rgm@gnu.org>
14887
14888 * files.el (hack-local-variables-prop-line): Small simplifications.
14889 (hack-local-variables, hack-local-variables-prop-line):
14890 If MODE-ONLY, return the mode, rather than just `t'.
14891
b7cf2c79
SM
148922011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14893
14894 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14895
3f1a8558
GM
148962011-05-21 Glenn Morris <rgm@gnu.org>
14897
7e4ccca3
GM
14898 * files.el (hack-local-variables-prop-line, hack-local-variables):
14899 If only interested in the mode, don't bother doing the other stuff.
14900
637d46ca
GM
14901 * image-mode.el (image-after-revert-hook):
14902 Redraw all frames on which the image is visible. (Bug#8567)
14903
973d955b
GM
14904 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14905
3f1a8558
GM
14906 * wid-edit.el (widget-checklist-match-inline):
14907 Fix 2011-04-19 change. (Bug#8649)
14908
96479927
SM
149092011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14910
1dcf791f
SM
14911 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14912 Also allow singlespace after single-letter capitals followed by a dot.
14913
96479927
SM
14914 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14915 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14916
35fd0881
N
149172011-05-20 Nix <nix@esperi.org.uk>
14918
14919 * files.el (basic-save-buffer-2):
14920 Fix handling of break-hardlink-on-save with non-existent files.
14921
82745640
DD
149222011-05-19 Deniz Dogan <deniz@dogan.se>
14923
14924 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14925 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14926
4a720484
GM
149272011-05-19 Glenn Morris <rgm@gnu.org>
14928
d1f21341
GM
14929 * progmodes/f90.el (f90-type-def-re):
14930 Handle "type, bind(c)". (Bug#8691)
14931
4a720484
GM
14932 * emacs-lisp/autoload.el (batch-update-autoloads):
14933 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14934
2fb0a219
MA
149352011-05-18 Michael Albinus <michael.albinus@gmx.de>
14936
14937 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14938 property for the correct connection in case of multihops.
14939
e565dd37
GM
149402011-05-18 Glenn Morris <rgm@gnu.org>
14941
c2571358 14942 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14943 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14944
e565dd37
GM
14945 Rationalize calendar handling of day and month abbrev-arrays.
14946 * calendar/calendar.el (calendar-customized-p): New function.
14947 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14948 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14949 Add :set function.
14950 (calendar-abbrev-length, calendar-day-abbrev-array)
14951 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14952 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14953 Elements may no longer be nil.
14954 (calendar-day-name, calendar-month-name):
14955 Update for changed nature of abbrev arrays.
14956 * calendar/diary-lib.el (diary-name-pattern):
14957 Update for changed nature of abbrev arrays.
14958 (diary-mark-entries-1): Update calendar-make-alist calls.
14959 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14960 * calendar/cal-html.el (cal-html-day-abbrev-array):
14961 Simply inherit from calendar-day-abbrev-array.
14962
1d99a745
SM
149632011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14964
14965 * progmodes/grep.el (grep-mode): Disable default
14966 compilation-directory-matcher setting (bug#8684).
14967
7c1d9aa0
MA
149682011-05-17 Michael Albinus <michael.albinus@gmx.de>
14969
14970 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14971 instead of "head" and "tail". There were problems with SunOS 5.9,
14972 and it performs better.
14973
3952e9d8
GM
149742011-05-17 Glenn Morris <rgm@gnu.org>
14975
2dd12e7f
GM
14976 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14977
e4157b9c
GM
14978 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14979 Replace obsolete function.
14980
8e249bbd
GM
14981 * shell.el (pcomplete-parse-arguments-function): Declare.
14982
3952e9d8
GM
14983 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14984 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14985 (appt-check): Doc fixes.
14986 (appt-disp-window-function, appt-delete-window-function):
14987 Remove needless special case in custom :type.
14988 (appt-display-count): Default to 0, not nil.
14989 (appt-check): Reset appt-display-count to 0, not nil.
14990
c71a0d48 149912011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14992
c71a0d48
GM
14993 * progmodes/python.el (python-font-lock-keywords):
14994 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14995
31d55be9
SM
149962011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14997
14998 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14999
3bfacb2f
KR
150002011-05-16 Kevin Ryde <user42@zip.com.au>
15001
15002 * info-look.el (makefile-automake-mode): New setups, looking in
15003 automake manual, then makefile-mode.
15004 (makefile-mode): Remove automake manual, have it just in
15005 makefile-automake-mode since there's various things different or
15006 not relevant to plain make.
15007 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15008 believe a hypothetical automake-mode would go to makefile-mode,
15009 not the other way around.
15010
c8e83751
CY
150112011-05-15 Chong Yidong <cyd@stupidchicken.com>
15012
5e9e35cd
CY
15013 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15014 hunk-end tags (Bug#8672).
15015
c8e83751
CY
15016 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15017 vc-annotate-show-diff-revision-at-line (Bug#8671).
15018
50b23e5a
GM
150192011-05-14 Glenn Morris <rgm@gnu.org>
15020
7210a739
GM
15021 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15022 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
15023 (change-log-font-lock-keywords): Also handle multiple author lines
15024 with leading tabs. (Bug#8644)
7210a739 15025
4691905a
GM
15026 * calendar/appt.el (appt-check): Rename some local variables.
15027 Some simplification/reordering.
15028
50b23e5a
GM
15029 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15030 (feedmail-sendmail-f-doesnt-sell-me-out)
15031 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15032 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15033 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
15034 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15035 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
15036 (feedmail-binmail-gnulinuxish-template):
15037 Rename from feedmail-binmail-linuxish-template.
15038 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15039 Use insert-buffer-substring.
15040
215cda7c
BC
150412011-05-14 Bill Carpenter <bill@carpenter.org>
15042
15043 * mail/feedmail.el (feedmail-patch-level): Increase.
15044 (feedmail-debug): New custom group.
15045 (feedmail-confirm-outgoing-timeout)
15046 (feedmail-sendmail-f-doesnt-sell-me-out)
15047 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15048 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15049 (feedmail-sender-line, feedmail-from-line)
15050 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 15051 (feedmail-spray-this-address)
215cda7c
BC
15052 (feedmail-spray-address-fiddle-plex-list)
15053 (feedmail-queue-use-send-time-for-date)
15054 (feedmail-queue-use-send-time-for-message-id)
15055 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15056 (feedmail-buffer-eating-function):
15057 Doc fixes.
15058 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15059 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15060 (feedmail-message-action-scroll-down): New functions.
15061 (feedmail-queue-directory, feedmail-queue-draft-directory):
15062 Use expand-file-name.
15063 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15064 Remove C-v help entry.
15065 (feedmail-queue-buffer-file-name): New variable.
15066 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15067 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15068 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15069 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15070 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15071 (feedmail-message-action-toggle-spray)
15072 (feedmail-run-the-queue-no-prompts)
15073 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15074 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15075 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15076 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15077 (feedmail-envelope-deducer, feedmail-fiddle-from)
15078 (feedmail-fiddle-sender, feedmail-default-date-generator)
15079 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15080 (feedmail-fiddle-spray-address)
15081 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15082 (feedmail-fiddle-list-of-fiddle-plexes)
15083 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15084 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15085 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15086 Change default. Doc fix.
15087 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15088 (feedmail-binmail-linuxish-template): New constant.
15089 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15090 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15091 (feedmail-send-it): Add debug call.
15092 Use feedmail-queue-buffer-file-name, and
15093 feedmail-send-it-immediately-wrapper.
15094 (feedmail-message-action-send): Add debug call.
15095 Use feedmail-send-it-immediately-wrapper.
15096 (feedmail-queue-express-to-queue): Add debug call.
15097 Run feedmail-queue-express-hook.
15098 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15099 (feedmail-message-action-help-blat):
15100 Rename from feedmail-queue-send-edit-prompt-help-first.
15101 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15102 Check line-endings. Handle errors better.
15103 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15104 Doc fix. Add debug call.
15105 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15106 Use feedmail-queue-send-edit-prompt-inner.
15107 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15108 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15109 from feedmail-queue-send-edit-prompt.
15110 (feedmail-queue-send-edit-prompt-help)
15111 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15112 (feedmail-tidy-up-slug): Add debug call.
15113 Respect feedmail-queue-slug-suspect-regexp.
15114 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15115 (feedmail-dump-message-to-queue): Add debug call.
15116 Expand queue-directory.
15117 (feedmail-dump-message-to-queue): Change message slightly.
15118 Use feedmail-say-chatter.
15119 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15120 (feedmail-send-it-immediately-wrapper): New function.
15121 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15122 Insert empty string rather than newline. Handle full-frame case.
15123 Use catch/throw. Use feedmail-say-chatter.
15124 (feedmail-fiddle-from): Try mail-host-address.
15125 (feedmail-default-message-id-generator): Doc fix.
15126 Bind system-time-locale. Handle missing end.
15127 (feedmail-fiddle-x-mailer): Add debug call.
15128 Handle feedmail-x-mailer-line being nil.
15129 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15130 Add debug call. Use buffer-substring-no-properties.
15131 (feedmail-say-debug, feedmail-say-chatter): New functions.
15132 (feedmail-find-eoh): Give an explicit error.
15133
42c7e61e
UJ
151342011-05-13 Ulf Jasper <ulf.jasper@web.de>
15135
c2571358 15136 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 15137 family from helvetica to sans.
c2571358 15138 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15139 etc/images/newsticker.
15140
c2571358 15141 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
15142 family from helvetica to sans.
15143
15144 * net/newst-plainview.el (newsticker-new-item-face)
15145 (newsticker-old-item-face, newsticker-immortal-item-face)
15146 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 15147 (newsticker-statistics-face): Change default family from
42c7e61e 15148 helvetica to sans.
c2571358 15149 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15150 etc/images/newsticker.
15151
5d3385a0
JB
15152 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15153 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
15154 auto-marking.
15155
8497a297
DV
151562011-05-13 Didier Verna <didier@xemacs.org>
15157
15158 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
15159 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15160 TODO entries.
8497a297
DV
15161 (lisp-lambda-list-keyword-parameter-indentation)
15162 (lisp-lambda-list-keyword-parameter-alignment)
15163 (lisp-lambda-list-keyword-alignment): New customizable user options.
15164 (lisp-indent-defun-method): Improve docstring.
15165 (extended-loop-p): Fix comment.
15166 (lisp-indent-lambda-list-keywords-regexp): New variable.
15167 (lisp-indent-lambda-list): New function.
15168 (lisp-indent-259): Use it.
15169 (lisp-indent-defmethod): Support for more than one
15170 method qualifier and properly indent methods lambda-lists.
15171 (defgeneric): Provide a missing common-lisp-indent-function property.
15172
f278f87f
SM
151732011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15174
15175 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15176 bounds for the empty string (bug#8667).
15177
5233edd7
GM
151782011-05-13 Glenn Morris <rgm@gnu.org>
15179
5237a44f
GM
15180 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15181
8340026c 15182 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 15183 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 15184
5233edd7 15185 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 15186 (appt-time-msg-list): Doc fix.
a5464014 15187 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15188
92d10796
AS
151892011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15190
15191 * progmodes/ld-script.el (ld-script-keywords)
15192 (ld-script-builtins): Update keywords list.
15193
914a0ae1
SM
151942011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15195
c89be45f
SM
15196 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15197
914a0ae1
SM
15198 * shell.el (shell-completion-vars): New function.
15199 (shell-mode):
15200 * simple.el (read-shell-command): Use it.
15201 (blink-matching-open): No need for " [...]" in minibuffer-message.
15202
98dc3df3
GM
152032011-05-12 Glenn Morris <rgm@gnu.org>
15204
15205 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15206 (appt-check): Simplify.
15207
d2fc7e3d 152082011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15209
4d61f28d 15210 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15211 literal "/dev/null".
15212
d2fc7e3d 152132011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15214
15215 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15216 Fix typo.
15217
d2fc7e3d 152182011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15219
3f254caa
SM
15220 * progmodes/which-func.el (which-function):
15221 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15222 which might not be defined (Bug#8260).
15223
d45885f7
GM
152242011-05-12 Glenn Morris <rgm@gnu.org>
15225
15226 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15227 Let byte-compile-initial-macro-environment always take precedence.
15228
488086f4
SM
152292011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15230
15231 * net/rcirc.el: Add support for SSL/TLS connections.
15232 (rcirc-server-alist): New field `encryption'.
15233 (rcirc): Check `encryption' settings.
15234 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15235 Merge make-local-variable into `set'.
15236 (rcirc--connection-open-p): New function.
15237 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15238 the process is not a network process (e.g. running gnutls-cli).
15239 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15240 Make rcirc-(en|de)code-coding-system local here.
15241 (rcirc-mode): Merge make-local-variable into `set'.
15242 (rcirc-parent-buffer): Make permanent buffer-local.
15243 (rcirc-multiline-minor-mode): Don't do it here.
15244 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15245 there's no server buffer.
15246
7d3b9d44
GM
152472011-05-11 Glenn Morris <rgm@gnu.org>
15248
f64049c6
GM
15249 * newcomment.el (comment-kill): Prefix "unused" local.
15250
93c9df73
GM
15251 * term/w32console.el (get-screen-color): Declare.
15252
7d3b9d44
GM
15253 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15254 Handle symbol elements of byte-compile-initial-macro-environment.
15255
9e2dd53f
LL
152562011-05-10 Leo Liu <sdl.web@gmail.com>
15257
488086f4
SM
15258 * bookmark.el (bookmark-bmenu-mode-map):
15259 Bind bookmark-bmenu-search to `/'.
8b340240 15260
9e2dd53f 15261 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15262 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15263 (Footnote-unicode): New function.
15264 (footnote-style-alist): Add unicode style to the list.
15265 (footnote-style): Doc fix.
9e2dd53f 15266
79b70037
GM
152672011-05-10 Jim Meyering <meyering@redhat.com>
15268
15269 Fix doubled-word typos.
15270 * international/quail.el (quail-insert-kbd-layout): and and -> and
15271 * kermit.el: and and -> and
15272 * net/ldap.el (ldap-search-internal): to to -> to
15273 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15274 * progmodes/js.el (js-mode): and and -> and
15275 * textmodes/artist.el (artist-move-to-xy): at at -> at
15276 (artist-draw-region-trim-line-endings): if if -> if
15277 And Safetyc -> Safety.
15278 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15279
b8f82dc1 152802011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15281 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15282
15283 * files.el (hack-one-local-variable-eval-safep):
15284 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15285
4f99f44b
GM
152862011-05-10 Glenn Morris <rgm@gnu.org>
15287
15288 * calendar/diary-lib.el (diary-list-entries-hook)
15289 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15290 (diary-nongregorian-marking-hook, diary-list-entries)
15291 (diary-include-other-diary-files, diary-mark-entries)
15292 (diary-mark-included-diary-files): Doc fixes.
15293
84f29e6b
JB
152942011-05-09 Juanma Barranquero <lekktu@gmail.com>
15295
15296 * misc.el: Require tabulated-list.el during compilation.
15297
9bedd73a
CY
152982011-05-09 Chong Yidong <cyd@stupidchicken.com>
15299
488086f4
SM
15300 * progmodes/compile.el (compilation-start):
15301 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15302 (compilation-filter-hook): Doc fix.
15303
797c735c
DD
153042011-05-09 Deniz Dogan <deniz@dogan.se>
15305
15306 * wdired.el: Remove outdated installation comment. Fix usage
15307 comment.
15308
5f4b1dfe
JB
153092011-05-09 Juanma Barranquero <lekktu@gmail.com>
15310
15311 * misc.el: Implement new command `list-dynamic-libraries'.
15312 (list-dynamic-libraries--loaded-only-p): New variable.
15313 (list-dynamic-libraries--refresh): New function.
15314 (list-dynamic-libraries): New command.
15315
4c44026c
CY
153162011-05-09 Chong Yidong <cyd@stupidchicken.com>
15317
488086f4
SM
15318 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15319 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15320 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15321 higher priority to avoid clobbering by gnu.
15322
027f966d
CY
153232011-05-08 Chong Yidong <cyd@stupidchicken.com>
15324
15325 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15326 if the face has existing theme settings (Bug#8454).
15327
085f5d7d
CY
153282011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15329
488086f4
SM
15330 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15331 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15332
2a86a00c
RS
15333 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15334 special file names `.' and `..' (Bug#8259).
15335
d9c54a06
CY
153362011-05-08 Chong Yidong <cyd@stupidchicken.com>
15337
488086f4
SM
15338 * progmodes/grep.el (grep-mode-font-lock-keywords):
15339 Remove buffer-changing entries.
d9c54a06
CY
15340 (grep-filter): New function.
15341 (grep-mode): Add it to compilation-filter-hook.
15342
15343 * progmodes/compile.el (compilation-filter-hook)
15344 (compilation-filter-start): New defvars.
15345 (compilation-filter): Call compilation-filter-hook prior to
15346 updating the process mark.
15347
c4662635
SM
153482011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15349
15350 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15351
b0512a1d
EZ
153522011-05-07 Eli Zaretskii <eliz@gnu.org>
15353
605c9376
EZ
15354 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15355 mailclient-send-it even if window-system is nil. (Bug#8595)
15356
c4662635
SM
15357 * term/w32console.el (terminal-init-w32console):
15358 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15359 background-mode. (Bug#8597)
15360
d1dc2cc2
SM
153612011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15362
15363 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15364 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15365 New functions.
15366 (defgeneric, eieio--defmethod): Use them.
15367 (eieio-defgeneric): Remove.
15368 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15369
915d1300
GM
153702011-05-07 Glenn Morris <rgm@gnu.org>
15371
a3961c3e
GM
15372 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15373 Use let rather than let*.
15374 (timeclock-find-discrep): Remove unused local.
15375
314347b9
GM
15376 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15377
915d1300
GM
15378 * calendar/appt.el (appt-time-msg-list): Doc fix.
15379
275b59b0
NF
153802011-05-06 Noah Friedman <friedman@splode.com>
15381
15382 * apropos.el (apropos-print-doc): Only use
15383 emacs-lisp-docstring-fill-column when it is bound to an integer,
15384 per that variable's documentation.
15385
6c19f744
SM
153862011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15387
15388 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15389 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15390
60f884b2
GM
153912011-05-06 Glenn Morris <rgm@gnu.org>
15392
5006e634
GM
15393 * calendar/appt.el (appt-message-warning-time): Doc fix.
15394 (appt-warning-time-regexp): New option.
15395 (appt-make-list): Respect appt-message-warning-time.
15396
548d0a63
GM
15397 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15398 New options.
15399 (diary-add-to-list): Strip comments from the displayed string.
15400 (diary-mode): Set comment-start and comment-end.
15401
60f884b2
GM
15402 * vc/diff-mode.el (smerge-refine-subst): Declare.
15403 (diff-refine-hunk): Don't require smerge-mode when compiling.
15404
989681bb
JB
154052011-05-06 Juanma Barranquero <lekktu@gmail.com>
15406
15407 * simple.el (list-processes): Return nil as the docstring says.
15408
a6bc05e1
MA
154092011-05-05 Michael Albinus <michael.albinus@gmx.de>
15410
15411 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15412 to "".
15413 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15414 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15415 determining of binary transfer. (Bug#7383)
15416
23c22e9a
MA
154172011-05-05 Michael Albinus <michael.albinus@gmx.de>
15418
c4662635
SM
15419 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15420 Fix port computation bug. (Bug#8618)
23c22e9a 15421
0bff894f
GM
154222011-05-05 Glenn Morris <rgm@gnu.org>
15423
b8296902
GM
15424 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15425
1f522ce8
GM
15426 * simple.el (shell-dynamic-complete-functions)
15427 (comint-dynamic-complete-functions): Declare.
15428
cf5bee67
GM
15429 * net/network-stream.el (gnutls-negotiate):
15430 * simple.el (tabulated-list-print): Fix declarations.
15431
15432 * progmodes/gud.el (syntax-symbol, syntax-point):
15433 Remove unnecessary and incorrect declarations.
15434
0bff894f
GM
15435 * emacs-lisp/check-declare.el (check-declare-scan):
15436 Handle byte-compile-initial-macro-environment in bytecomp.el
15437
9869b3ae
SM
154382011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15439
15440 Fix earlier half-done eieio-defmethod change (bug#8338).
15441 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15442 Streamline and change calling convention.
15443 (defmethod): Adjust accordingly and simplify.
15444 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15445 new eieio--defmethod.
15446 (slot-boundp): Minor CSE simplification.
15447
9c1d5ac5
MZ
154482011-05-05 Milan Zamazal <pdm@zamazal.org>
15449
15450 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15451 (glasses-make-readable): Use glasses-separate-capital-groups.
15452
455c834e
JB
154532011-05-05 Juanma Barranquero <lekktu@gmail.com>
15454
15455 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15456 (warning-series): Doc fix.
15457 (display-warning): Don't try to create the buffer if we just found it.
15458
9ed7c8cb
CY
154592011-05-04 Chong Yidong <cyd@stupidchicken.com>
15460
15461 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15462 (autoload-find-generated-file): New function.
15463 (generate-file-autoloads): Bind generated-autoload-file to
15464 buffer-file-name.
9869b3ae
SM
15465 (update-file-autoloads, update-directory-autoloads):
15466 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15467 output file (Bug#7989).
15468 (batch-update-autoloads): Doc fix.
15469
0898ca10
JB
154702011-05-04 Juanma Barranquero <lekktu@gmail.com>
15471
15472 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15473
31dfb76c
GM
154742011-05-04 Glenn Morris <rgm@gnu.org>
15475
f330b642
GM
15476 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15477 function, so it follows changes in calendar-date-style.
15478 (diary-fancy-date-matcher): New function.
15479 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15480 (diary-fancy-font-lock-fontify-region-function):
15481 Use diary-fancy-date-pattern as a function.
15482
31dfb76c
GM
15483 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15484 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15485
48e79d6a
TZ
154862011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15487
15488 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15489 instead of positional arguments. Allow :keylist and :crlfiles
15490 arguments.
15491 (open-gnutls-stream): Call it.
15492
15493 * net/network-stream.el (network-stream-open-starttls): Adjust to
15494 call `gnutls-negotiate' with :process and :hostname arguments.
15495
dd5a5ee0
SM
154962011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15497
ef80fc09
SM
15498 * minibuffer.el (completion--message): New function.
15499 (completion--do-completion, minibuffer-complete)
15500 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15501 (completion--do-completion): Don't ignore completion-auto-help when in
15502 icomplete-mode.
15503
dd5a5ee0
SM
15504 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15505 internal encoding (e.g. tibetan zero is not whitespace).
15506 (global-whitespace-mode): Prefer save-current-buffer.
15507 (whitespace-trailing-regexp): Remove useless save-match-data.
15508 (whitespace-empty-at-bob-regexp): Minor simplification.
15509
b7d22a83
CY
155102011-05-03 Chong Yidong <cyd@stupidchicken.com>
15511
15512 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15513
5192af46
AM
155142011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15515
15516 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15517 Use `concat' to create string for insertion.
5192af46 15518
5767d190
SM
155192011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15520
15521 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15522 Avoid open-line which runs post-self-insert-hook.
15523 (bibtex-fill-entry): Remove unused `end' var.
15524
bf242939
AM
155252011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15526
5767d190
SM
15527 * textmodes/ispell.el (ispell-add-per-file-word-list):
15528 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15529
25666126
LL
155302011-05-03 Leo Liu <sdl.web@gmail.com>
15531
15532 * isearch.el (isearch-yank-pop): New command.
5767d190 15533 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15534 (isearch-forward): Mention it.
15535
52d3c2d0
SM
155362011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15537
1bcace58
SM
15538 * simple.el (minibuffer-complete-shell-command): Remove.
15539 (minibuffer-local-shell-command-map): Use completion-at-point.
15540 (read-shell-command): Setup completion vars here instead.
15541 (read-expression-map): Bind TAB to symbol completion.
15542
52d3c2d0
SM
15543 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15544 error directly rather via storing it into `results'.
15545
35813471
LL
155462011-05-02 Leo Liu <sdl.web@gmail.com>
15547
15548 * vc/diff.el: Fix description.
15549
e793a940
LMI
155502011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15551
15552 * server.el (server-eval-at): New function.
15553
8de66e05
LMI
155542011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15555
15556 * net/network-stream.el (open-network-stream): Take a :nowait
15557 parameter and pass it on to `make-network-process'.
15558 (network-stream-open-plain): Ditto.
15559
dcb79f20
AS
155602011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15561
15562 * faces.el (face-spec-set-match-display): Don't match toolkit
15563 options on terminal frames.
15564
14a7fbd8
SM
155652011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15566
7eabc1be
SM
15567 * progmodes/pascal.el: Use lexical binding.
15568 (pascal-mode-map): Remove author preferences.
15569
14a7fbd8
SM
15570 * pcomplete.el (pcomplete-std-complete): Don't abuse
15571 completion-at-point.
15572
50f84510
JB
155732011-04-28 Juanma Barranquero <lekktu@gmail.com>
15574
6e087a44
JB
15575 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15576 removing code that has been dead since 1991 or so.
15577
50f84510
JB
15578 * startup.el (command-line): When warning about "_emacs", use a
15579 delayed warning to allow the user to filter it out.
15580
0ba690bd
DD
155812011-04-28 Deniz Dogan <deniz@dogan.se>
15582
15583 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15584 user has not joined.
15585
08abfaad
SM
155862011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15587
15588 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15589 aren't any completions at point.
15590
638f053a
JB
155912011-04-28 Juanma Barranquero <lekktu@gmail.com>
15592
15593 * subr.el (display-delayed-warnings): New function.
15594 (delayed-warnings-hook): New variable.
15595
8fff8daa
SM
155962011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15597
08abfaad
SM
15598 * minibuffer.el (completion-at-point, completion-help-at-point):
15599 Don't presume that a given completion-at-point-function will always
15600 use the same calling convention.
15601
8fff8daa
SM
15602 * pcomplete.el (pcomplete-completions-at-point):
15603 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15604 pcomplete-seen is non-nil.
15605 (pcomplete-comint-setup): Also recognize the new comint/shell
15606 completion functions.
15607 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15608 pcomplete-seen is non-nil.
15609
841a1577 156102011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15611
841a1577 15612 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15613 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15614 the first character in the entry. This allows for code to add its
211ec907
UJ
15615 own uid to the entry.
15616 (icalendar--convert-float-to-ical): Add export of
15617 `diary-float'-entries save for those with the optional DAY
15618 argument.
15619
2a782793
DC
156202011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15621
15622 * subr.el (shell-quote-argument): Use alternate escaping strategy
15623 when we spot a variable reference in a string.
15624
0438ce91
DC
156252011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15626
15627 * cus-start.el (all): Define customization for debug-on-event.
15628
841a1577 156292011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15630
15631 * subr.el (shell-quote-argument): Escape correctly under Windows.
15632
d090ed6c
SM
156332011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15634
15635 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15636
bfd31217
MA
156372011-04-25 Michael Albinus <michael.albinus@gmx.de>
15638
d090ed6c
SM
15639 * net/tramp.el (tramp-process-actions): Add POS argument.
15640 Delete region between POS and (pos).
bfd31217 15641
d090ed6c
SM
15642 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15643 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15644 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15645
15646 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15647 position in `tramp-process-actions' call.
15648
15649 * net/trampver.el: Update release number.
15650
e92f3bd3
SM
156512011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15652
850256b5
SM
15653 * custom.el (defcustom): Obey lexical-binding.
15654
e92f3bd3
SM
15655 Fix octave-inf completion problems reported by Alexander Klimov.
15656 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15657 Inherit from octave-mode-syntax-table.
15658 (inferior-octave-mode): Set info-lookup-mode.
15659 (inferior-octave-completion-at-point): New function.
15660 (inferior-octave-complete): Use it and completion-in-region.
15661 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15662 comint-filename-completion.
15663 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15664 symbol elements which shouldn't be word elements.
15665 (octave-font-lock-keywords, octave-beginning-of-defun)
15666 (octave-function-header-regexp): Adjust regexps accordingly.
15667 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15668
cd22b309
JB
156692011-04-25 Juanma Barranquero <lekktu@gmail.com>
15670
15671 * net/gnutls.el (gnutls-errorp): Declare before first use.
15672
8b492194
TZ
156732011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15674
15675 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15676 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15677 default trustfile exists before going to use it. Add missing
5a5fa834 15678 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15679 Reported by Claudio Bley <claudio.bley@gmail.com>.
15680 (open-gnutls-stream): Add usage example.
15681
15682 * net/network-stream.el (network-stream-open-starttls): Give host
15683 parameter to `gnutls-negotiate'.
15684 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15685 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15686
841a1577 156872011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15688
cd22b309
JB
15689 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15690 Use correct match group (bug#8438).
05842630 15691
3ba7869c
CY
156922011-04-24 Chong Yidong <cyd@stupidchicken.com>
15693
512e3ae1
CY
15694 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15695 (package-menu--generate): New arg specifying packages to show.
15696 (package-menu-refresh, package-menu-execute, list-packages):
15697 Callers changed.
15698 (package-show-package-list): New function, replacing deleted
15699 package--list-packages (renamed because it is non-internal).
15700
15701 * finder.el (finder-list-matches): Use package-show-package-list
15702 instead of deleted package--list-packages.
15703
e92f3bd3
SM
15704 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15705 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15706 (vc-annotate-mode-map): Bind it to RET.
15707
7031be6d
UR
157082011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15709
15710 * progmodes/etags.el (next-file): Don't use set-buffer to change
15711 buffers (Bug#8478).
15712
4ef177aa
CY
157132011-04-24 Chong Yidong <cyd@stupidchicken.com>
15714
c8d173eb
CY
15715 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15716
4ef177aa
CY
15717 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15718 (apropos-accumulator): Doc fix.
15719 (apropos-function, apropos-macro, apropos-command)
15720 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15721 (apropos-plist): Add face property.
15722 (apropos-symbols-internal): Fix indentation.
15723 (apropos-print): Simplify help, and recognize apropos-multi-type.
15724 (apropos-print-doc): Use button-type-get to extract the button's
15725 face property. Fill docstring (Bug#8352).
15726
4ffd0d6b 157272011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15728
15729 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15730
c6c32125 15731 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15732 (mpuz-mode-map): Use mapc.
c6c32125
JB
15733 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15734 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15735 Fix typos in docstrings.
15736
58d468b4
JB
15737 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15738 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15739
6470c3c6
JB
15740 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15741
4ffd0d6b 157422011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15743
15744 * minibuffer.el (completion--do-completion): Avoid the "Next char
15745 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15746
3ad8bad0
CY
15747 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15748 mouse-2 into unread-command-events, it is interpreted correctly.
15749
71d73c9c 15750 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15751 (image-toggle-display): Doc fix.
71d73c9c 15752
841a1577 157532011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15754
4ffd0d6b
GM
15755 * textmodes/page.el (what-page): Use line-number-at-pos to
15756 calculate line number (Bug#6825).
6e1dbaa9 15757
c2fb1b60
JB
157582011-04-22 Juanma Barranquero <lekktu@gmail.com>
15759
15760 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15761 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15762 Pass argument NO-DEFAULT to `find-tag-interactive'.
15763
e02f48d7
JB
157642011-04-22 Juanma Barranquero <lekktu@gmail.com>
15765
15766 Lexical-binding cleanup.
15767
15768 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15769 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15770 * progmodes/ada-prj.el (ada-prj-initialize-values)
15771 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15772 (ada-prj-show-value):
15773 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15774 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15775 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15776 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15777 * progmodes/bug-reference.el (bug-reference-push-button):
15778 * progmodes/fortran.el (fortran-line-length):
15779 * progmodes/glasses.el (glasses-change):
15780 * progmodes/octave-mod.el (octave-fill-paragraph):
15781 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15782 (python-pdbtrack-grub-for-buffer, python-sentinel):
15783 * progmodes/sql.el (sql-save-connection):
15784 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15785 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15786 Mark unused parameters.
15787
15788 * progmodes/compile.el (compilation--flush-directory-cache)
15789 (compilation--flush-parse, compile-internal): Mark unused parameters.
15790 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15791 (compilation-next-error-function): Remove unused variable `timestamp'.
15792
15793 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15794 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15795
15796 * progmodes/dcl-mode.el (dcl-end-of-command):
15797 Remove unused variable `start'.
15798 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15799 (dcl-option-value-basic, dcl-option-value-offset)
15800 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15801 Mark unused parameters.
15802 (dcl-save-local-variable): Remove unused variable `val'.
15803 (mode): Declare.
15804
15805 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15806 Mark unused parameters.
15807 (delphi-ignore-changes): Move before first use.
15808 (delphi-charset-token-at): Remove unused variable `start'.
15809 (delphi-else-start): Remove unused variable `if-count'.
15810 (delphi-comment-block-start, delphi-comment-block-end):
15811 Remove unused variable `kind'.
15812 (delphi-indent-line): Remove unused variable `new-point'.
15813
15814 * progmodes/ebrowse.el (ebrowse-files-list)
15815 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15816 Mark unused parameters. Don't quote `lambda'.
15817 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15818 Don't quote `lambda'.
15819 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15820 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15821 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15822 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15823 Use `ignore-errors'.
15824 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15825 (ebrowse-view/find-file-and-search-pattern)
15826 (ebrowse-view/find-member-declaration/definition):
15827 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15828 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15829 Rename parameter PREFIX-ARG to PREFIX.
15830 (ebrowse-tags-read-name): Remove unused variables `start' and
15831 `member-info'.
15832 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15833 to `tags-file'.
15834
15835 * progmodes/etags.el (local-find-tag-hook): Declare.
15836 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15837 Mark unused parameters.
15838
15839 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15840 (executable-interpret): Mark unused parameter.
15841
15842 * progmodes/flymake.el (flymake-process-sentinel)
15843 (flymake-after-change-function)
15844 (flymake-create-temp-with-folder-structure)
15845 (flymake-get-include-dirs-dot): Mark unused parameters.
15846 (flymake-safe-delete-directory): Remove unused variable `err'.
15847
15848 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15849 (speedbar-timer-fn, speedbar-line-text)
15850 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15851 (speedbar-center-buffer-smartly): Declare functions.
15852 (gdb-find-watch-expression): Remove unused variable `array'.
15853 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15854 (gdb-starting): Mark unused parameters.
15855 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15856 (gdb-table-string): Remove unused variable `res'.
15857 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15858 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15859 (gdb-display-buffer): Remove unused variable `cur-size'.
15860
15861 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15862 allow lexical-binding compilation.
15863 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15864 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15865 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15866 Mark unused parameters.
15867 (gud-gdb-marker-filter): Remove unused variable `match'.
15868 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15869 lambda expressions and funcall them, instead of using `fset'.
15870
15871 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15872 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15873
15874 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15875 variable `header-beg'; use `let'.
15876
15877 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15878 `restart', `last-sexp' and `at-do'.
15879
15880 * progmodes/js.el (js--debug): Mark unused parameter.
15881 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15882 (js--splice-into-items): Remove unused variable `item'.
15883 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15884
15885 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15886 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15887 (makefile-complete): Remove unused variable `try'.
15888 (makefile-fill-paragraph, makefile-match-function-end):
15889 Mark unused parameters.
15890
15891 * progmodes/octave-inf.el (inferior-octave-complete):
15892 Remove unused variable `proc'.
15893 (inferior-octave-output-digest): Mark unused parameter.
15894
15895 * progmodes/perl-mode.el (perl-calculate-indent):
15896 Remove unused variable `err'.
15897
15898 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15899 (prolog-indent-line): Mark unused parameters.
15900 (prolog-indent-line): Remove unused variable `beg'.
15901
15902 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15903 (reporter-dont-compact-list): Declare.
15904
15905 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15906 Remove unused variable `char'.
15907 (sh-debug): Mark unused parameter.
15908 (sh-get-indent-info): Remove unused variable `start'.
15909 (sh-calculate-indent): Remove unused variable `var'.
15910
15911 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15912 (simula-electric-keyword): Remove unused variable `null'.
15913 (simula-search-backward, simula-search-forward): Remove unused
15914 variables `begin' and `end'.
15915
15916 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15917 Remove unused variable `pos'.
15918 (vera-electric-tab, vera-comment-uncomment-region):
15919 Mark unused parameters.
15920 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15921
7ede3b65
CY
159222011-04-22 Chong Yidong <cyd@stupidchicken.com>
15923
15924 * emacs-lisp/package.el (package--builtins, package-alist)
15925 (package-load-descriptor, package-built-in-p, package-activate)
15926 (define-package, package-installed-p)
15927 (package-compute-transaction, package-buffer-info)
15928 (package--push): Doc fix. Distinguish more clearly between
15929 version strings and version lists.
15930
121656e9
JB
159312011-04-21 Juanma Barranquero <lekktu@gmail.com>
15932
15933 Lexical-binding cleanup.
15934
15935 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15936 (5x5-make-mutate-best):
15937 * play/fortune.el (fortune-in-buffer):
15938 * play/gomoku.el (gomoku-init-display):
15939 * play/solitaire.el (solitaire, solitaire-do-check):
15940 * play/tetris.el (tetris-default-update-speed-function):
15941 Mark unused parameters.
15942
15943 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15944 (bubbles--shift): Remove unused variable `char-org'.
15945 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15946 (bubbles--show-images): Remove unused variable `char'.
15947
15948 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15949 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15950 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15951 (decipher-analyze-buffer): Use ?\s.
15952 (decipher-make-checkpoint): Remove unused variable `mapping'.
15953
15954 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15955
15956 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15957 Remove unused variable `result'; use `let'.
15958
15959 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15960 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15961 (gametree-children-shown-p, gametree-compute-reduced-score):
15962 Use `ignore-errors'.
15963
15964 * play/handwrite.el (ps-lpr-switches): Declare.
15965 (handwrite): Remove unused variables `pmin' and `lastp'.
15966
15967 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15968
15969 * play/landmark.el (landmark-init-display)
15970 (landmark-update-naught-weights): Mark unused parameters.
15971 (landmark-y): Remove unused variable `noise'. Simplify.
15972 (landmark-human-plays): Remove unused variable `score'.
15973
15974 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15975 (mpuz-try-proposal): Remove unused variable `game'.
15976
15977 * play/zone.el (life-patterns): Declare.
15978
80f499c7
JB
159792011-04-20 Juanma Barranquero <lekktu@gmail.com>
15980
15981 * vc/vc.el (ediff-vc-internal): Declare function.
15982
024ff170
SM
159832011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15984
c0a193ea
SM
15985 * shell.el: Use lexical-binding and std completion UI.
15986 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15987 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15988 comint-preoutput-filter-functions rather than on
15989 comint-output-filter-functions.
15990 (shell-command-completion, shell--command-completion-data)
15991 (shell-filename-completion, shell-environment-variable-completion)
15992 (shell-c-a-p-replace-by-expanded-directory): New functions.
15993 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15994 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15995 (shell-dynamic-complete-environment-variable): Use them.
15996 (shell-dynamic-complete-as-environment-variable)
15997 (shell-dynamic-complete-as-command): Remove.
15998 (shell-match-partial-variable): Match past point.
15999 * comint.el: Clean up use of completion-at-point-functions.
16000 (comint-completion-at-point): New function.
16001 (comint-mode): Use it completion-at-point-functions.
16002 (comint-dynamic-complete): Make it obsolete.
16003 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16004 (comint-c-a-p-replace-by-expanded-history): New function.
16005 (comint-dynamic-complete-functions)
16006 (comint-replace-by-expanded-history): Use it.
16007 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16008 termination strings. Try harder to avoid second try-completion.
16009 (completion-in-region-mode-map): Disable bindings that don't work yet.
16010
2dbaa080
SM
16011 * comint.el: Use lexical-binding. Require CL.
16012 (comint-dynamic-complete-functions): Use comint-filename-completion.
16013 (comint-completion-addsuffix): Tweak custom type.
16014 (comint-filename-completion, comint--common-suffix)
16015 (comint--common-quoted-suffix, comint--table-subvert)
16016 (comint--complete-file-name-data): New functions.
16017 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16018 (comint-dynamic-list-filename-completions): Use them.
16019 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 16020
2dbaa080
SM
16021 * minibuffer.el (completion-in-region-mode):
16022 Keep completion-in-region-mode--predicate global.
16023 (completion-in-region--postch):
16024 Assume completion-in-region-mode--predicate is not null.
16025
c79a6f38
SM
16026 * progmodes/flymake.el (flymake-start-syntax-check-process):
16027 Obey `dir'. Simplify.
16028
024ff170
SM
16029 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16030 we're in VC after all.
16031
1c6c854e
CS
160322011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16033
16034 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 16035 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
16036 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16037
bed7f140
SM
160382011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16039
332e62ab
SM
16040 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16041 add sanity check.
16042
bed7f140
SM
16043 * obsolete/erc-hecomplete.el: Make obsolete.
16044 * obsolete/: Standardize obsolescence info in the header.
16045
f195c582
GM
160462011-04-20 Glenn Morris <rgm@gnu.org>
16047
16048 * calendar/solar.el (solar-horizontal-coordinates):
16049 Use the longitude argument rather than `calendar-longitude'.
16050 (solar-date-next-longitude): Remove unused locals.
16051
cb79b8c0
VJL
160522011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16053
16054 * whitespace.el: New version 13.2.1.
16055
160562011-04-20 felix <EmacsWiki> (tiny change)
16057
d8e4b68b 16058 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
16059 switching between major modes on a file.
16060
602ea69d
SM
160612011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16062
16063 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16064 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16065 multi-line comments as well.
16066
06b60517
JB
160672011-04-19 Juanma Barranquero <lekktu@gmail.com>
16068
16069 Lexical-binding cleanup.
16070
16071 * arc-mode.el (archive-mode-revert):
16072 * cmuscheme.el (scheme-interactively-start-process):
16073 * custom.el (custom-initialize-delay):
16074 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16075 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16076 * emacs-lock.el (emacs-lock-clear-sentinel):
16077 * ezimage.el (defezimage):
16078 * follow.el (follow-avoid-tail-recenter):
16079 * fringe.el (set-fringe-mode-1):
16080 * generic-x.el (bat-generic-mode-compile):
16081 * help-mode.el (help-info-variable, help-do-xref)
16082 (help-mode-revert-buffer):
16083 * help.el (view-emacs-todo):
16084 * iswitchb.el (iswitchb-completion-help):
16085 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16086 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16087 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16088 * locate.el (locate-update):
16089 * longlines.el (longlines-encode-region)
16090 (longlines-after-change-function):
16091 * outline.el (outline-isearch-open-invisible):
16092 * ps-def.el (declare-function, charset-dimension, char-width)
16093 (encode-char):
16094 * ps-mule.el (ps-mule-plot-string):
16095 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16096 (recentf-edit-list-select, recentf-edit-list-validate)
16097 (recentf-open-files-action):
16098 * rect.el (delete-whitespace-rectangle-line)
16099 (rectangle-number-line-callback):
16100 * register.el (window-configuration-to-register)
16101 (frame-configuration-to-register):
16102 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16103 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16104 (xselect-convert-to-targets, xselect-convert-to-delete)
16105 (xselect-convert-to-filename, xselect-convert-to-charpos)
16106 (xselect-convert-to-lineno, xselect-convert-to-colno)
16107 (xselect-convert-to-os, xselect-convert-to-host)
16108 (xselect-convert-to-user, xselect-convert-to-class)
16109 (xselect-convert-to-name, xselect-convert-to-integer)
16110 (xselect-convert-to-atom, xselect-convert-to-identity):
16111 * subr.el (declare, ignore, process-kill-without-query)
16112 (text-clone-maintain):
16113 * terminal.el (te-get-char, te-tic-sentinel):
16114 * tool-bar.el (tool-bar-make-keymap):
16115 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16116 * type-break.el (type-break-mode, type-break-noninteractive-query):
16117 * view.el (View-back-to-mark):
16118 * wid-browse.el (widget-browse-action, widget-browse-widget)
16119 (widget-browse-widgets, widget-browse-sexp):
16120 * widget.el (define-widget-keywords):
16121 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16122 Mark unused parameters.
16123
16124 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16125 (align-areas): Remove unused variable `look'.
16126 (align-region): Remove unused variables `real-end' and `pos-list'.
16127
16128 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16129
16130 * bindings.el (mode-line-modified, mode-line-remote):
16131 Mark unused parameters.
16132 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16133
16134 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16135 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16136
16137 * comint.el (comint-history-isearch-pop-state)
16138 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16139 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16140 (comint-substitute-in-file-name): Doc fix.
16141
16142 * completion.el (cmpl-statistics-block): Mark unused parameter.
16143 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16144 (save-completions-to-file, load-completions-from-file):
16145 Remove unused local variable `e'.
16146
16147 * composite.el (compose-chars): Remove unused variable `len'.
16148 (lgstring-insert-glyph): Remove unused variable `g'.
16149 (compose-glyph-string): Remove unused variables `ascent',
16150 `descent', `lbearing' and `rbearing'.
16151 (compose-glyph-string-relative): Remove unused variables
16152 `lbearing', `rbearing' and `wadjust'.
16153 (compose-gstring-for-graphic): Remove unused variables `header',
16154 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16155 (compose-gstring-for-terminal): Remove unused variables `header'
16156 and `nchars'. Use `let', not `let*'.
16157
16158 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16159 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16160 (Custom-buffer-done, custom-buffer-create-internal)
16161 (custom-browse-visibility-action, custom-browse-group-tag-action)
16162 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16163 (widget-magic-mouse-down-action, custom-toggle-parent)
16164 (custom-add-parent-links, custom-toggle-hide-variable)
16165 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16166 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16167 (custom-face-menu-create, custom-variable-menu-create, get)
16168 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16169 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16170 (customize-apropos): Remove unused variable `tests'.
16171 (custom-group-value-create): Remove unused variable `hidden-p'.
16172 (sort-fold-case): Declare.
16173
16174 * cus-theme.el (custom-reset-standard-faces-list)
16175 (custom-reset-standard-variables-list): Declare.
16176 (customize-create-theme, custom-theme-revert, custom-theme-write)
16177 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16178 Mark unused parameters.
16179
16180 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16181
16182 * delim-col.el (delimit-columns-max): Move defvar before first use.
16183
16184 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 16185 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
16186
16187 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16188 (auto-insert): Declare.
16189 (desktop-restore-file-buffer): Rename desktop-* parameters;
16190 mark unused ones.
16191 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16192 (desktop-buffer): Rename desktop-* parameters.
16193
16194 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16195 (dframe-reposition-frame-xemacs, dframe-help-echo)
16196 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16197 Mark unused parameters.
16198
16199 * dired-aux.el (backup-extract-version-start, overwrite-query)
16200 (overwrite-backup-query, rename-regexp-query)
16201 (rename-non-directory-query): Declare.
16202 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16203 (dired-add-entry): Remove unused variable `orig-file-name'.
16204 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16205 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16206 `dired-copy-preserve-time' directly.
16207 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16208 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16209
16210 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16211 (dired-virtual-revert, dired-make-relative-symlink):
16212 Mark unused parameters.
16213 (manual-program): Declare.
16214 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16215 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16216 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16217
16218 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16219
16220 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16221
16222 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16223 Declare.
16224
16225 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16226
16227 * electric.el (Electric-command-loop): Rename parameter
16228 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16229
16230 * expand.el (expand-in-literal): Remove unused variable `here'.
16231
16232 * facemenu.el (facemenu-add-new-color):
16233 Remove unused variable `docstring'.
16234
16235 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16236 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16237 (face-attr-construct): Mark unused parameter. Doc fix.
16238 (read-color): Remove unused variable `hex-string'.
16239
16240 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16241 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16242 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16243 (display-buffer-other-frame): Remove unused variable `old-window'.
16244 (kill-buffer-hook): Declare.
16245 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16246 Mark unused parameters.
16247 (after-find-file): Pass 1 to `auto-save-mode', not t.
16248
16249 * files-x.el (auto-insert): Declare.
16250 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16251
16252 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16253 variable `buf'. Mark unused parameter.
06b60517
JB
16254 (find-lisp-insert-directory): Mark unused parameter.
16255
16256 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16257 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16258 (format-common-tail): Remove, unused.
16259 (format-deannotate-region): Remove unused variable `loc'.
16260 (format-annotate-region): Remove unused variable `p'.
16261 (format-annotate-single-property-change): Remove unused variables
16262 `default' and `tail'.
16263
16264 * forms.el (read-file-filter): Declare.
16265 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16266
16267 * frame.el (frame-creation-function-alist): Mark unused parameter.
16268 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16269
16270 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16271 Remove unused parameters.
16272 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16273 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16274
16275 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16276 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16277 (hfy-prepare-tag-map): Mark unused parameters.
16278 (htmlfontify-buffer): Use `called-interactively-p'.
16279
16280 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16281 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16282 (ibuffer-do-occur): Mark unused parameters.
16283 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16284 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16285
16286 * ibuffer.el: Don't quote `lambda'.
16287 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16288 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16289 Mark unused parameters.
16290
16291 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16292 (ido-completing-read): Mark unused parameters.
16293 (ido-copy-current-word): Mark unused parameters;
16294 remove unused variable `name'.
16295 (ido-sort-merged-list): Remove unused parameter `dirs'.
16296
16297 * ielm.el (ielm-input-sender): Mark unused parameter.
16298 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16299 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16300 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16301 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16302 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16303
16304 * image-dired.el (image-dired-display-thumbs): Remove unused
16305 variables `curr-file' and `count'.
16306 (image-dired-remove-tag): Remove unused variable `start'.
16307 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16308 variable `curr-file'
16309 (image-dired-rotate-original): Remove unused variable `temp-file'.
16310 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16311 Remove unused variable `file'.
16312 (image-dired-gallery-generate): Remove unused variable `curr'.
16313 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16314
16315 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16316
16317 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16318
16319 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16320
16321 * isearch.el (minibuffer-history-symbol): Declare.
16322 (isearch-edit-string): Remove unused variable `err'.
16323 (isearch-message-prefix, isearch-message-suffix):
16324 Mark unused parameters.
16325
16326 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16327
16328 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16329
16330 * makesum.el (double-column): Remove unused variable `cnt'.
16331
16332 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16333 (ido-ignore-item-temp-list): Declare.
16334
16335 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16336 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16337 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16338 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16339 `mouse-col-delta'.
16340
16341 * mouse-sel.el (mouse-extend-internal):
16342 Remove unused variable `orig-window-frame'.
16343
16344 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16345 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16346 Move declarations before first use.
16347 (pcomplete-opt): Mark unused parameters; doc fix.
16348
16349 * proced.el (proced-revert): Mark unused parameter.
16350 (proced-send-signal): Remove unused variable `err'.
16351
16352 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16353 Rename parameter PREFIX-ARG to ARG.
16354 (ps-basic-plot-string, ps-basic-plot-whitespace):
16355 Mark unused parameters.
16356
16357 * replace.el (replace-count): Define.
16358 (occur-revert-function): Mark unused parameters.
16359 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16360 (isearch-case-fold-search, isearch-string): Declare.
16361 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16362 bind `case-fold-search'. Remove unused variables `beg' and `end',
16363 and simplify.
16364 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16365 COUNT and bind `replace-count'.
16366 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16367 to COUNT.
16368
16369 * savehist.el (print-readably, print-string-length): Declare.
16370
16371 * shadowfile.el (shadow-expand-cluster-in-file-name):
16372 Remove unused variable `cluster'.
16373 (shadow-copy-file): Remove unused variable `i'.
16374 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16375 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16376 (shadow-define-literal-group, shadow-define-regexp-group)
16377 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16378
16379 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16380 (shell): Use `called-interactively-p'.
16381 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16382
16383 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16384 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16385 (delete-backward-char): Remove unused variable `ocol'.
16386 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16387 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16388 (event-apply-hyper-modifier, event-apply-shift-modifier)
16389 (event-apply-control-modifier, event-apply-meta-modifier):
16390 Mark unused parameters.
16391 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16392 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16393
16394 * speedbar.el (speedbar-ignored-directory-expressions)
16395 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16396 (speedbar-find-file, speedbar-dir-follow)
16397 (speedbar-directory-buttons-follow, speedbar-tag-find)
16398 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16399 (speedbar-buffers-line-directory, speedbar-buffer-click):
16400 Mark unused parameters.
16401 (speedbar-tag-file): Remove unused variable `mode'.
16402 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16403
16404 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16405
16406 * talk.el (talk): Remove unused variable `display'.
16407
16408 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16409 (tar-write-region-annotate): Mark unused parameter.
16410
16411 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16412 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16413 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16414 warning by another.
16415
16416 * time-stamp.el (time-stamp-string-preprocess):
16417 Remove unused variable `require-padding'.
16418
16419 * tree-widget.el (widget-glyph-enable): Declare.
16420 (tree-widget-action): Mark unused parameter.
16421
16422 * w32-fns.el (x-get-selection): Mark unused parameter.
16423 (autoload-make-program, generated-autoload-file): Declare.
16424
16425 * wdired.el (wdired-revert): Mark unused parameters.
16426 (wdired-xcase-word): Remove unused variable `err'.
16427
16428 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16429 (whitespace-help-scroll): Remove unused variable `data-help'.
16430
16431 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16432 (widget-image-insert, widget-after-change, default)
16433 (widget-default-format-handler, widget-default-notify)
16434 (widget-default-prompt-value, widget-info-link-action)
16435 (widget-url-link-action, widget-function-link-action)
16436 (widget-variable-link-action, widget-file-link-action)
16437 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16438 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16439 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16440 (widget-insert-button-action, widget-delete-button-action, visibility)
16441 (widget-documentation-link-action, widget-documentation-string-action)
16442 (widget-const-prompt-value, widget-regexp-match, symbol)
16443 (widget-coding-system-prompt-value)
16444 (widget-key-sequence-value-to-external, sexp)
16445 (widget-sexp-value-to-internal, character, vector, cons)
16446 (widget-choice-prompt-value, widget-boolean-prompt-value)
16447 (widget-color--choose-action): Mark unused parameters.
16448 (widget-item-match-inline, widget-choice-match-inline)
16449 (widget-checklist-match, widget-checklist-match-inline)
16450 (widget-group-match): Rename parameter VALUES to VALS.
16451 (widget-field-value-set): Remove unused variable `size'.
16452 (widget-color-action): Remove unused variables `value' and `start'.
16453
16454 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16455 variable `dir'. Doc fix.
06b60517
JB
16456 (windmove-find-other-window): Don't pass it.
16457
16458 * window.el (count-windows): Mark unused parameter.
16459 (bw-adjust-window): Remove unused variable `err'.
16460
16461 * woman.el (woman-file-name): Remove unused variable `default'.
16462 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16463 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16464 (global-font-lock-mode): Declare.
16465 (woman-decode-region): Mark unused parameter.
16466 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16467
16468 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16469 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16470 (x-dnd-handle-moz-url): Remove unused variable `title'.
16471 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16472
16473 * xml.el (xml-parse-tag, xml-parse-attlist):
16474 Remove unused variable `pos'.
16475
bc4f7f3d
GM
164762011-04-19 Glenn Morris <rgm@gnu.org>
16477
16478 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16479 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16480 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16481 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16482 * calendar/cal-html.el (cal-html-insert-minical):
16483 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16484 (calendar-mark-date-pattern):
16485 Prefix "unused" locals.
16486
16487 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16488 optional argument `style'.
16489
16490 * calendar/appt.el (appt-make-list):
16491 * calendar/cal-china.el (calendar-chinese-date-string):
16492 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16493 (diary-hebrew-yahrzeit):
16494 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16495 * calendar/calendar.el (calendar-generate-window):
16496 * calendar/time-date.el (time-to-days):
16497 Remove unused local variables.
16498
16a43933
CY
164992011-04-18 Chong Yidong <cyd@stupidchicken.com>
16500
16501 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16502 glyphless-char-display table.
16503 (tabulated-list-glyphless-char-display): New var.
16504
7eed1860
SS
165052011-04-18 Sam Steingold <sds@gnu.org>
16506
16507 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16508 to acknowledgments.
16509
4d2d1ccd
GM
165102011-04-17 Glenn Morris <rgm@gnu.org>
16511
16512 * calendar/diary-lib.el (diary-sexp-entry):
16513 * calendar/holidays.el (holiday-sexp):
16514 Set debug-on-error rather than the removed stack-trace-on-error.
16515
239da61d
GM
165162011-04-16 Glenn Morris <rgm@gnu.org>
16517
16518 * progmodes/f90.el: Use lexical-binding.
16519 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16520
8b05752a
SM
165212011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16522
daca8ba5
SM
16523 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16524 (mail-mode): Setup mailalias completion here instead.
16525 * mail/mailalias.el: Use lexical-binding.
16526 (pattern, mailalias-done): Declare dynamic.
16527 (mail-completion-at-point-function): New function, from mail-complete.
16528 (mail-complete): Use it.
16529 (mail-completion-expand): New function.
16530 (mail-get-names): Use it.
16531 (mail-directory, mail-directory-process, mail-directory-stream):
16532 Don't use `pattern' for lexically bound arg.
16533
6f542485
SM
16534 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16535
037e7c3f
SM
16536 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16537 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16538 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16539
8b05752a
SM
16540 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16541 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16542 (byte-interactive-p): Define them again, for use when inlining
16543 old code.
16544
49093f60
JB
165452011-04-15 Juanma Barranquero <lekktu@gmail.com>
16546
16547 * loadup.el: Use `string-to-number', not `string-to-int'.
16548
b5b8e7de
SM
165492011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16550
16551 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16552 gud-gdb-complete-command.
16553 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16554 (gud-gdb-completion-at-point): New function.
16555 (gud-gdb-completions): Remove.
16556
f42efeb5
MA
165572011-04-14 Michael Albinus <michael.albinus@gmx.de>
16558
49093f60
JB
16559 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16560 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16561 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16562 whether `executable-find' is bound.
f42efeb5
MA
16563
16564 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16565
e240cc21
SM
165662011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16567
16568 * minibuffer.el (completion-in-region-mode-predicate)
16569 (completion-in-region-mode--predicate): New vars.
16570 (completion-in-region, completion-in-region--postch)
16571 (completion-in-region-mode): Use them.
16572 (completion--capf-wrapper): Also return the hook function.
16573 (completion-at-point, completion-help-at-point):
16574 Adjust and provide a predicate.
c2bd2ab0
SM
16575
16576 Preserve arg names for advice of subr and lexical functions (bug#8457).
16577 * help-fns.el (help-function-arglist): Consolidate the subr and
16578 new-byte-code cases. Add argument `preserve-names' to extract names
16579 from the docstring when needed.
16580 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16581 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16582 (ad-arglist): Use help-function-arglist's new arg.
16583 (ad-definition-type): Use cond.
16584
c183f693
JB
165852011-04-13 Juanma Barranquero <lekktu@gmail.com>
16586
06641a47
JB
16587 * autorevert.el (auto-revert-handler):
16588 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16589 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16590 Don't quote lambda.
16591
c183f693
JB
16592 * image-mode.el (image-transform-set-scale):
16593 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16594
1e3b6001
G
165952011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16596
16597 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16598 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16599 Upgrades via gnutls-cli are too slow to be done opportunistically.
16600
2d6af8dd
JB
166012011-04-12 Juanma Barranquero <lekktu@gmail.com>
16602
16603 * dframe.el (dframe-current-frame): Remove spurious quote.
16604
c0749a51
GM
166052011-04-12 Glenn Morris <rgm@gnu.org>
16606
088d0d61
GM
16607 * calendar/cal-tex.el (cal-tex-end-document):
16608 Try to automatically use latin1 input if needed.
16609
c0749a51
GM
16610 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16611 Don't try to cons a mark onto an empty element.
16612
5c90fde0
LL
166132011-04-11 Leo Liu <sdl.web@gmail.com>
16614
16615 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16616 buffers.
16617 (ido-kill-buffer-at-head): Support killing virtual buffers.
16618
369e974d
CY
166192011-04-10 Chong Yidong <cyd@stupidchicken.com>
16620
16621 * minibuffer.el (completion-show-inline-help): New var.
16622 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16623 (minibuffer-force-complete, minibuffer-complete-word):
16624 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16625
16626 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16627 to avoid interference from inline help (Bug#5849).
16628
37f1c930
LL
166292011-04-10 Leo Liu <sdl.web@gmail.com>
16630
099c39a4
JB
16631 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16632 Fix typo.
37f1c930 16633
a32d4040
CY
166342011-04-09 Chong Yidong <cyd@stupidchicken.com>
16635
16636 * image-mode.el (image-toggle-display-image): Signal an error if
16637 not in Image mode.
16638 (image-transform-mode, image-transform-resize)
16639 (image-transform-set-rotation): Doc fix.
daca8ba5 16640 (image-transform-set-resize): Delete.
a32d4040
CY
16641 (image-transform-set-scale, image-transform-fit-to-height)
16642 (image-transform-fit-to-width): Handle image-toggle-display-image
16643 and image-transform-resize directly.
16644
099c39a4 166452011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16646
16647 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16648 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16649 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16650 (doc-view-mode-map): Add bindings for the new functions.
16651
099c39a4 166522011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16653
4d61f28d 16654 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16655 Fix typo in docstring.
16656
3726838a
EZ
166572011-04-08 Eli Zaretskii <eliz@gnu.org>
16658
04f33f1e
EZ
16659 * files.el (file-size-human-readable): Produce one digit after
16660 decimal, like "ls -lh" does.
16661
16662 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16663 the file size representation.
16664
3726838a
EZ
16665 * simple.el (list-processes): If async subprocesses are not
16666 available, error out with a clear error message.
16667
cbb59342
CY
166682011-04-08 Chong Yidong <cyd@stupidchicken.com>
16669
16670 * help.el (help-form-show): New function, to be called from C.
16671 Put help-form output in a buffer named differently than *Help*.
16672
e3971c44
EZ
166732011-04-08 Eli Zaretskii <eliz@gnu.org>
16674
16675 * files.el (file-size-human-readable): New function.
16676
16677 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16678 computing the representation inline. Don't require `cl'.
16679
12544bbe
GM
166802011-04-08 Glenn Morris <rgm@gnu.org>
16681
a1de6c6a
GM
16682 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16683
3c4671f4
GM
16684 * net/browse-url.el (browse-url-firefox):
16685 Test system-type, not system-configuration.
16686
b605679c
GM
16687 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16688 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16689 Use log-edit-empty-buffer-p. (Bug#7598)
16690
56442f0c
GM
16691 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16692 (rlogin-mode-map): Initialize in the defvar.
16693 (rlogin): Use ignore-errors.
16694
12544bbe
GM
16695 * replace.el (occur-mode-map): Some fixes for menu items.
16696
eb237b0f
AH
166972011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16698
16699 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16700
7d668f2c
CY
167012011-04-06 Chong Yidong <cyd@stupidchicken.com>
16702
e67a13ab
CY
16703 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16704 issuing unused warnings.
16705
16706 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16707 macro directly.
16708
7d668f2c
CY
16709 * simple.el: Lisp reimplement of list-processes. Based on an
16710 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16711 (process-menu-mode): New major mode.
16712 (list-processes--refresh, list-processes):
16713 (process-menu-visit-buffer): New functions.
16714
16715 * files.el (save-buffers-kill-emacs): Don't assume any return
16716 value of list-processes, which is undocumented anyway.
16717
a83ec3c9
CY
167182011-04-06 Chong Yidong <cyd@stupidchicken.com>
16719
16720 * emacs-lisp/tabulated-list.el: New file.
16721
e91a96fe
CY
16722 * emacs-lisp/package.el: Use Tabulated List mode.
16723 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16724 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16725 table format using Tabulated List mode variables.
16726 (package--push): New macro, replacing package-list-maybe-add.
16727 (package-menu--generate): Use package--push. Renamed from
16728 package--generate-package-list.
16729 (package-menu-refresh, list-packages): Use it.
daca8ba5 16730 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16731 Return insertion data instead of inserting it directly.
099c39a4
JB
16732 (package-menu-describe-package, package-menu-execute):
16733 Use tabulated-list-get-id.
e91a96fe
CY
16734 (package-menu-mark-delete, package-menu-mark-install)
16735 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16736 (package-menu-mark-obsolete-for-deletion):
16737 Use tabulated-list-put-tag.
e91a96fe
CY
16738 (package--list-packages, package-menu-revert)
16739 (package-menu-get-package, package-menu-get-version)
16740 (package-menu-sort-by-column): Functions deleted.
16741 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16742 (package-menu--status-predicate, package-menu--version-predicate)
16743 (package-menu--name-predicate)
16744 (package-menu--description-predicate): Handle arguments in the
16745 Tabulated List format.
16746 (package-list-packages-no-fetch): Call list-packages.
16747
3e214b50
JB
167482011-04-06 Juanma Barranquero <lekktu@gmail.com>
16749
16750 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16751 (after-find-file): Don't bind it.
3e214b50
JB
16752 (revert-buffer-in-progress-p): New variable.
16753 (revert-buffer): Bind it.
16754 Pass nil for `after-find-file-from-revert-buffer'.
16755
16756 * saveplace.el (save-place-find-file-hook): Use new variable
16757 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16758
3f0f1700
GM
167592011-04-06 Glenn Morris <rgm@gnu.org>
16760
c0274801
GM
16761 * Makefile.in (AUTOGEN_VCS): New variable.
16762 (autoloads): Use $AUTOGEN_VCS.
16763
3f0f1700
GM
16764 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16765 * calendar/calendar.el (calendar-mode-map):
16766 Check for toolkit scroll bars. (Bug#8305)
16767
41ea9e48
CY
167682011-04-05 Chong Yidong <cyd@stupidchicken.com>
16769
16770 * minibuffer.el (completion-in-region--postch)
16771 (completion-in-region-mode): Remove unnecessary messages.
16772
6194c800
JB
167732011-04-05 Juanma Barranquero <lekktu@gmail.com>
16774
33256f14
JB
16775 * font-lock.el (font-lock-refresh-defaults):
16776 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16777 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16778
6194c800
JB
16779 * info.el (Info-directory-list, Info-read-node-name-2)
16780 (Info-split-parameter-string): Doc fixes.
16781 (Info-virtual-nodes): Reflow docstring.
16782 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16783 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16784 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16785 Fix typos in docstrings.
16786 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16787 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16788 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16789 (Info-restore-desktop-buffer): Mark unused parameters.
16790 (Info-directory-find-file, Info-directory-find-node)
16791 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16792 (Info-virtual-index-find-node, Info-apropos-find-file)
16793 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16794 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16795 (Info-virtual-index): Remove unused local variable `nodename'.
16796
b87a8200 167972011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16798
b87a8200
DD
16799 * net/rcirc.el: Update my e-mail address.
16800 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16801
3b2ff876
CY
168022011-04-05 Chong Yidong <cyd@stupidchicken.com>
16803
16804 * startup.el (command-line): Save the cursor's theme-face
16805 directly, instead of using face-override-spec.
16806
16807 * custom.el (load-theme): Minor optimization in assigning faces.
16808
8d17e7ca
JB
168092011-04-04 Juanma Barranquero <lekktu@gmail.com>
16810
16811 * help-fns.el (describe-variable): Complete all variables having
16812 documentation, including keywords.
16813 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16814
2fbc1934
JB
168152011-04-04 Juanma Barranquero <lekktu@gmail.com>
16816
16817 Convert to lexical-binding.
16818
16819 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16820 (bs--get-marked-string, bs--get-modified-string)
16821 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16822 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16823 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16824
16825 * ehelp.el (electric-help-execute-extended)
16826 (electric-help-ctrl-x-prefix):
16827 * hexl.el (hexl-revert-buffer-function):
16828 * linum.el (linum-after-change, linum-after-scroll):
16829 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16830
16831 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16832
74f50695
DU
168332011-04-04 Daiki Ueno <ueno@unixuser.org>
16834
16835 * epa-dired.el:
16836 * epa-mail.el:
16837 * epa-hook.el:
16838 * epa-file.el:
16839 * epa.el:
16840 * epg.el: Use lexical binding.
16841
c11325f7
CY
168422011-04-03 Chong Yidong <cyd@stupidchicken.com>
16843
0d9e9a12
CY
16844 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16845
c11325f7 16846 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16847 dictionary case for flyspell-mark-duplications-exceptions.
16848 Use regexp matching for languages.
c11325f7
CY
16849 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16850 default dictionary (Bug#7926).
16851
da91b5f2
CY
168522011-04-02 Chong Yidong <cyd@stupidchicken.com>
16853
099c39a4
JB
16854 * emacs-lisp/package.el (package--with-work-buffer):
16855 Recognize https URLs.
da91b5f2 16856
099c39a4
JB
16857 * net/network-stream.el: Move from gnus/proto-stream.el.
16858 Change prefix to network-stream throughout.
da91b5f2
CY
16859 (open-protocol-stream): Merge into open-network-stream, leaving
16860 open-protocol-stream as an alias. Handle nil BUFFER args.
16861
16862 * subr.el (open-network-stream): Move to net/network-stream.el.
16863
afa8e9f6
GM
168642011-04-02 Glenn Morris <rgm@gnu.org>
16865
1d2e369d
GM
16866 * find-dired.el (find-exec-terminator): New option.
16867 (find-ls-option): Test for -ls support.
16868 (find-ls-subdir-switches): Test for -b in find-ls-option.
16869 (find-dired, find-grep-dired): Doc fixes.
16870 (find-dired): Use find-exec-terminator.
16871
8abb7da8 16872 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16873 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16874 (find-name-arg): Remove purecopy.
8abb7da8 16875
f3ca7378
GM
16876 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16877 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16878 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16879 accordingly. Don't add the null-device if not needed.
16880
afa8e9f6
GM
16881 * files.el (save-some-buffers): Doc fix.
16882
35eae264
EZ
168832011-04-02 Eli Zaretskii <eliz@gnu.org>
16884
16885 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16886
26b51db5
JB
168872011-04-01 Juanma Barranquero <lekktu@gmail.com>
16888
16889 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16890 Use `dolist' rather than `mapcar'.
16891
7200d79c
SM
168922011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16893
03408648 16894 Add lexical binding.
7200d79c 16895
03408648
SM
16896 * subr.el (apply-partially): Use new closures rather than CL.
16897 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16898 (dolist, dotimes): Use slightly different expansion for lexical code.
16899 (functionp): Move to C.
16900 (letrec): New macro.
16901 (with-wrapper-hook): Use it and apply-partially instead of CL.
16902 (eval-after-load): Preserve lexical-binding.
16903 (save-window-excursion, with-output-to-temp-buffer): Turn them
16904 into macros.
7200d79c 16905
03408648
SM
16906 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16907
16908 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16909 than the arglist.
16910 (help-add-fundoc-usage): Don't add `Not documented'.
16911 (help-function-arglist): Handle closures, subroutines, and new
16912 byte-code-functions.
16913 (help-make-usage): Remove leading underscores.
16914 (describe-function-1): Handle closures.
16915 (describe-variable): Use special-variable-p for completion.
16916
16917 * files.el (lexical-binding): Declare safe.
f488fb65 16918
03408648
SM
16919 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16920 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16921 (pcase): Add `let' pattern.
16922 Change memoization so it actually works.
16923 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16924 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16925 <let>: New case.
f488fb65 16926
03408648
SM
16927 * emacs-lisp/macroexp.el: Use lexical binding.
16928 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16929 Don't convert ' to #' without checking that it's indeed quoting
16930 a lambda.
16931
16932 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16933 Use eval-sexp-add-defvars.
03408648
SM
16934 (eval-sexp-add-defvars): New fun.
16935
16936 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16937
16938 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16939 Don't autoload.
16940 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16941 than the internal `byte-compile-lambda'.
16942 (defmethod): Don't hide code under quotes.
16943 (eieio-defmethod): New `code' argument.
16944
16945 * emacs-lisp/eieio-comp.el: Remove.
16946
16947 * emacs-lisp/edebug.el (edebug-eval-defun)
16948 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16949 (edebug-toggle): Avoid `eval'.
16950
16951 * emacs-lisp/disass.el (disassemble-internal): Handle new
16952 `closure' objects.
16953 (disassemble-1): Handle new byte codes.
16954
16955 * emacs-lisp/cl.el (pushnew): Silence warning.
16956
16957 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16958 (cl-byte-compile-throw): Remove.
16959 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16960
16961 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16962 closures.
16963
16964 * emacs-lisp/cconv.el: New file.
16965
16966 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16967 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16968 (byte-compile-initial-macro-environment):
16969 Handle declare-function here.
16970 (byte-compile--lexical-environment): New var.
16971 (byte-stack-ref, byte-stack-set, byte-discardN)
16972 (byte-discardN-preserve-tos): New lap codes.
16973 (byte-interactive-p): Don't use any more.
16974 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16975 New macros.
16976 (byte-compile-lapcode): Use them and handle new lap codes.
16977 (byte-compile-obsolete): Remove.
16978 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16979 (byte-compile-arglist-warn): Check late def of inlinable funs.
16980 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16981 since they should have been expanded by now.
16982 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16983 (byte-compile-from-buffer): Remove unused second arg.
16984 (byte-compile-preprocess): New function.
16985 (byte-compile-toplevel-file-form): New function to distinguish
16986 file-form calls from outside from file-form calls from hunk-handlers.
16987 (byte-compile-file-form): Simplify.
16988 (byte-compile-file-form-defsubst): Remove.
16989 (byte-compile-file-form-defmumble): Simplify now that
16990 byte-compile-lambda always returns a byte-code-function.
16991 (byte-compile): Preprocess.
16992 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16993 Remove, not used any more.
16994 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16995 (byte-compile-make-args-desc): New funs.
16996 (byte-compile-lambda): Handle lexical functions. Always return
16997 a byte-code-function.
16998 (byte-compile-reserved-constants): New var, to make up room for
16999 closed-over variables.
17000 (byte-compile-constants-vector): Obey it.
17001 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17002 (byte-compile-macroexpand-declare-function): New function.
17003 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17004 byte-code-functions.
17005 (byte-compile-form): Check obsolescence here.
17006 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17007 (byte-compile-variable-ref): Remove.
17008 (byte-compile-dynamic-variable-op): New fun.
17009 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17010 (byte-compile-variable-set): New funs.
17011 (byte-compile-discard): Add 2 args.
17012 (byte-compile-stack-ref, byte-compile-stack-set)
17013 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17014 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17015 macroexpand-all instead.
17016 (byte-compile-quote-form): Remove.
17017 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17018 (byte-compile-bind, byte-compile-unbind): New funs.
17019 (byte-compile-let): Handle let* and lexical binding.
17020 (byte-compile-let*): Remove.
17021 (byte-compile-catch, byte-compile-unwind-protect)
17022 (byte-compile-track-mouse, byte-compile-condition-case):
17023 Handle a new :fun-body form, used for lexical scoping.
17024 (byte-compile-save-window-excursion)
17025 (byte-compile-with-output-to-temp-buffer): Remove.
17026 (byte-compile-defun): Simplify.
17027 (byte-compile-stack-adjustment): New fun.
17028 (byte-compile-out): Use it.
17029 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17030
17031 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17032 handler any more.
17033
17034 * emacs-lisp/byte-opt.el: Use lexical binding.
17035 (byte-inline-lapcode): Remove (to bytecomp).
17036 (byte-compile-inline-expand): Pay attention to inlining to/from
17037 lexically bound code.
17038 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17039 any more.
17040 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17041 any more and don't call compiler-macros.
17042 (byte-compile-splice-in-already-compiled-code): Remove.
17043 (byte-code): Don't inline any more.
17044 (disassemble-offset): Receive `bytes' as argument rather than via
17045 dynamic scoping.
17046 (byte-compile-tag-number): Declare before first use.
17047 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17048 `return' even if make-spliceable.
17049 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17050 obsolete interactive-p.
17051 (byte-optimize-lapcode): Optimize new lap-codes.
17052 Don't trip up on new form of `byte-constant' lap code.
17053
17054 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17055
17056 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17057
17058 * custom.el (custom-initialize-default, custom-declare-variable):
17059 Use `defvar'.
17060
17061 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17062 New variables.
17063 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17064 (COMPILE_FIRST): Add macroexp and cconv.
17065 * makefile.w32-in: Mirror changes in Makefile.in.
17066
17067 * vc/cvs-status.el:
17068 * vc/diff-mode.el:
17069 * vc/log-edit.el:
17070 * vc/log-view.el:
17071 * vc/smerge-mode.el:
17072 * textmodes/bibtex-style.el:
090bd7cb 17073 * textmodes/css-mode.el:
03408648
SM
17074 * startup.el:
17075 * uniquify.el:
da91b5f2
CY
17076 * minibuffer.el:
17077 * newcomment.el:
17078 * reveal.el:
17079 * server.el:
17080 * mpc.el:
17081 * emacs-lisp/smie.el:
17082 * doc-view.el:
17083 * dired.el:
03408648
SM
17084 * abbrev.el: Use lexical binding.
17085
0f0c1f27
EZ
170862011-04-01 Eli Zaretskii <eliz@gnu.org>
17087
17088 * info.el (info-display-manual): New function.
17089
c82b2579
SM
170902011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17091
17092 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17093
221ddf68
TH
170942011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17095
17096 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 17097 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 17098
cba6e77e
GM
170992011-03-31 Glenn Morris <rgm@gnu.org>
17100
e040639f
GM
17101 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17102
cba6e77e
GM
17103 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17104
6d0f1c9e
CS
171052011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17106
17107 * progmodes/python.el (python-default-interpreter)
17108 (python-python-command-args, python-jython-command-args)
17109 (python-which-shell, python-which-args, python-which-bufname)
17110 (python-file-queue, python-comint-output-filter-function)
17111 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17112 variables and functions.
17113
3e2d70fd
SM
171142011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17115
17116 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17117 (completion-in-region-mode): New minor mode.
17118 (completion-in-region): Use it.
17119 (completion-in-region--data, completion-in-region-mode-map): New vars.
17120 (completion-in-region--postch): New function.
17121 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17122 New vars.
17123 (completion--capf-wrapper): New function.
17124 (completion-at-point): Use it to track well-behavedness of
17125 hook functions.
17126 (completion-help-at-point): New command.
17127
f3e4086c
JM
171282011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17129
17130 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17131 syntax class to search for whitespace on a single line
17132 (Message-ID: <4D938140.4030905@redhat.com>).
17133
eb7ffc14
LL
171342011-03-30 Leo Liu <sdl.web@gmail.com>
17135
17136 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17137 New commands.
17138 (edit-abbrevs-map): Bind them here.
17139 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17140
d806ab68
KM
171412011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17142
17143 * allout.el (allout-hide-by-annotation, allout-flag-region):
17144 Reduce possibility of overlay leakage by making them volatile.
17145
17146 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17147 hash is not shared between buffers. Mode initialization is
17148 responsible for giving it a useful starting value.
17149 (allout-item-span): Reduce possibility of overlay leakage by
17150 making them volatile.
17151 (allout-widgets-count-buttons-in-region): Add diagnostic function
17152 for tracking down button overlay leaks.
17153
ea622834
LL
171542011-03-29 Leo Liu <sdl.web@gmail.com>
17155
17156 * ido.el (ido-read-internal): Use the default history var
17157 minibuffer-history if no HISTORY is specified.
17158
b62f8267
G
171592011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17160
03408648
SM
17161 * net/imap.el (imap-shell-open, imap-process-connection-type):
17162 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
17163 Kerberos, SSL, other subprocesses.
17164
947b6566
LL
171652011-03-28 Leo Liu <sdl.web@gmail.com>
17166
17167 * abbrev.el (abbrev-table-empty-p): New function.
17168 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17169 nonempty ones. (Bug#5937)
17170
5ffb62aa
JD
171712011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17172
17173 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17174
7a097943
LL
171752011-03-27 Leo Liu <sdl.web@gmail.com>
17176
17177 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17178 for foreground and background colors.
17179 (ansi-color-make-color-map): Adapt.
17180
c5b40130
LL
171812011-03-25 Leo Liu <sdl.web@gmail.com>
17182
1f48f7d2
LL
17183 * midnight.el (midnight-time-float): Remove. Note it calculates
17184 the microsecond component incorrectly and seconds-to-time does the
17185 same job.
625897ec 17186 Remove redundant (require 'timer).
1f48f7d2 17187
c5b40130
LL
17188 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17189 (ido-completions): Remove unused arguments. (Bug#8329)
17190
d86d2721
SM
171912011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17192
17193 * minibuffer.el (completion--flush-all-sorted-completions):
17194 Remove itself from hook.
17195 (completion-at-point): Let the functions perform the completion
17196 immediately and return nil or t.
17197 * comint.el (comint-dynamic-complete-functions): Now identical to
17198 completion-at-point-functions.
17199 (comint-dynamic-list-input-ring): Remove unused var `index'.
17200 (comint--match-partial-filename, comint--unquote&expand-filename):
17201 New funs, split from comint-match-partial-filename.
17202 (comint-dynamic-complete): Use completion-at-point.
17203 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17204
e8974c48
DA
172052011-03-24 Drew Adams <drew.adams@oracle.com>
17206
17207 * thingatpt.el: Support `defun'.
17208
def71b5e
LL
172092011-03-23 Leo Liu <sdl.web@gmail.com>
17210
cb5af48e
LL
17211 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17212
def71b5e
LL
17213 * help-mode.el (help-mode-finish): Tweak regexp.
17214
927c53e7
GM
172152011-03-23 Glenn Morris <rgm@gnu.org>
17216
18d05bed
GM
17217 * eshell/esh-opt.el (eshell-eval-using-options):
17218 Do not bind unused local variable `eshell-option-stub'.
17219
927c53e7
GM
17220 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17221
9d0da923
JB
172222011-03-22 Juanma Barranquero <lekktu@gmail.com>
17223
17224 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17225 keymap variable in `with-no-warnings' to avoid a warning when the
17226 keymap has been already `defconst'ed.
17227
4b978a67
LL
172282011-03-22 Leo Liu <sdl.web@gmail.com>
17229
17230 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17231 encode all chars in abbrevs; otherwise use emacs-mule or
17232 utf-8-emacs. (Bug#8308)
17233
5fd62452
JB
172342011-03-22 Juanma Barranquero <lekktu@gmail.com>
17235
0b1596c6
JB
17236 * simple.el (backward-delete-char-untabify):
17237 Avoid warning about using `delete-backward-char'.
17238
5fd62452
JB
17239 * image.el (image-type-file-name-regexps): Make it variable.
17240 `imagemagick-register-types' modifies it, and the user may want
17241 to add new extensions for known image types.
17242 (imagemagick-register-types): Throw error if not using ImageMagick.
17243
0b4e93f1
LL
172442011-03-22 Leo Liu <sdl.web@gmail.com>
17245
17246 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17247 located before rcirc-prompt-end-marker.
17248 (rcirc-complete): Error if point is not after rcirc prompt.
17249 Handle the case when table is nil.
9882e214 17250 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17251
fccee4ab
CY
172522011-03-22 Chong Yidong <cyd@stupidchicken.com>
17253
17254 * custom.el (custom--inhibit-theme-enable): Make it affect only
17255 custom-theme-set-variables and custom-theme-set-faces.
17256 (provide-theme): Ignore custom--inhibit-theme-enable.
17257 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17258 (custom-enabling-themes): Delete variable.
d86d2721
SM
17259 (enable-theme): Accept only loaded themes as arguments.
17260 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17261 (custom-enabled-themes): Forbid themes from setting this.
17262 Eliminate use of custom-enabling-themes.
17263 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17264
af896da6
LL
172652011-03-21 Leo Liu <sdl.web@gmail.com>
17266
17267 * ido.el (ido-read-internal): Add ido-selected to history instead
17268 of user input.
17269
78f64af0
SM
172702011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17271
17272 * subr.el (deferred-action-list, deferred-action-function):
17273 Mark obsolete.
17274
b16ac1ec
LL
172752011-03-21 Leo Liu <sdl.web@gmail.com>
17276
810f7698
LL
17277 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17278 change on 2011-02-13 (bug#8309).
17279
b16ac1ec
LL
17280 * minibuffer.el (read-file-name-function): Change default value.
17281 (read-file-name--defaults): Rename from read-file-name-defaults.
17282 (read-file-name-default): Rename from read-file-name.
17283 (read-file-name): Call read-file-name-function.
17284
4e05e67e
GM
172852011-03-21 Glenn Morris <rgm@gnu.org>
17286
17287 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17288 Doc fixes.
17289
4359915b
CY
172902011-03-21 Chong Yidong <cyd@stupidchicken.com>
17291
17292 * cus-theme.el: Add missing provide statement.
17293 (customize-create-theme): Extract theme value correctly.
17294 (custom-theme-visit-theme): Autoload.
17295 (customize-create-theme): Prompt before inserting default faces.
17296
1fe275ee
JB
172972011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17298
17299 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17300 units and musical notes.
17301
cd394be1 173022011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17303
17304 * ido.el (ido-read-internal): Use completing-read-default.
17305 (ido-completing-read): Fix compatibility with completing-read.
17306
7d476bde
CO
173072011-03-20 Christian Ohler <ohler@gnu.org>
17308
17309 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17310 (ert-delete-all-tests): Use `called-interactively-p' rather than
17311 `interactive-p'.
17312 (ert--make-xrefs-region): Respect END.
17313
fe0fb33e
CY
173142011-03-19 Chong Yidong <cyd@stupidchicken.com>
17315
ff854b0b
CY
17316 * dired-aux.el (dired-create-directory): Signal an error if the
17317 directory already exists (Bug#8246).
17318
fe0fb33e
CY
17319 * facemenu.el (list-colors-display): Call list-faces-display
17320 inside with-help-window.
17321 (list-colors-print): Use display property to align the final
17322 column, instead of checking window-width.
17323
576bce32
EZ
173242011-03-19 Eli Zaretskii <eliz@gnu.org>
17325
4d61f28d 17326 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17327 windows-nt systems.
17328 (emerge-protect-metachars): Quote correctly for ms-dos and
17329 windows-nt systems.
17330
89c41d68 173312011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17332
17333 * info.el (info-initialize): Replace all uses of `:' with
17334 path-separator for compatibility with non-Unix systems.
17335 Cache quoting of path-separator. (Bug#8258)
17336
b14e3e21 173372011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17338
17339 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17340 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17341 (mouse-avoidance-mode): Fix typos in docstrings.
17342
4525ce3e
CY
173432011-03-19 Chong Yidong <cyd@stupidchicken.com>
17344
17345 * startup.el (package-subdirectory-regexp): Move from package.el.
17346 Omit \\` and \\', and let callers add them.
17347
17348 * emacs-lisp/package.el (package-strip-version)
17349 (package-load-all-descriptors): Add \\` and \\' to
17350 package-subdirectory-regexp before using it.
17351 (package-untar-buffer): New arg DIR; ensure that file untars only
17352 into this expected directory. Remove superfluous delete-region.
17353 (package-unpack): Caller changed.
17354 (package-tar-file-info): Use package-subdirectory-regexp.
17355
a904a09a 173562011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17357
a904a09a
SM
17358 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17359 diff-mode-shared-map (bug#8284).
17360 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17361
173622011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17363
17364 * calendar/time-date.el (format-seconds): Use assoc instead of
17365 assoc-string, since assoc-string doesn't exist in XEmacs.
17366
171fc304
JB
173672011-03-17 Juanma Barranquero <lekktu@gmail.com>
17368
17369 * custom.el (custom-known-themes): Reflow docstring.
17370 (custom-theme-load-path): Fix typo in docstring.
17371 (load-theme): Fix typo in error message.
17372 (custom-available-themes, custom-variable-theme-value):
17373 Use `let', not `let*'.
17374
d71990a1
JB
173752011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17376
17377 * calc/README: Mention inclusion of musical notes.
17378
17379 * calc/calc-units.el (calc-lu-quant): Rename from
17380 `calc-logunits-quantity'.
17381 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17382 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17383 (calc-db): Rename from `calc-dblevel'.
17384 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17385 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17386 (calc-np): Rename from `calc-nplevel'.
17387 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17388 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17389 (calc-lu-plus): Rename from `calc-logunits-add'.
17390 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17391 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17392 (calc-lu-minus): Rename from `calc-logunits-sub'.
17393 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17394 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17395 (calc-lu-times): Rename from `calc-logunits-mul'.
17396 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17397 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17398 (calc-lu-divide): Rename from `calc-logunits-div'.
17399 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17400 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17401
17402 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17403 functions being autoloaded.
17404
17405 * calc/calc.el (calc-lu-power-reference): Rename from
17406 `calc-logunits-power-reference'.
17407 (calc-lu-field-reference): Rename from
17408 `calc-logunits-field-reference'.
17409
7a71b18d
GM
17410 * calc/calc-help.el (calc-l-prefix-help):
17411 Mention musical note functions.
d71990a1 17412
40c2934b
SM
174132011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17414
17415 * minibuffer.el (completion-all-sorted-completions):
17416 Use :completion-cycle-penalty text property if present.
17417
b0911414
KM
174182011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17419
17420 * allout.el (allout-yank-processing): Adjust for new rebulleting
17421 regime so bullet being yanked is used without prompting the user
17422 for a choice.
17423
8a05b668
JB
174242011-03-16 Juanma Barranquero <lekktu@gmail.com>
17425
17426 * startup.el (command-line): Warn the user that _emacs is deprecated.
17427
5ba5fb81
JB
174282011-03-16 Juanma Barranquero <lekktu@gmail.com>
17429
17430 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17431 (delphi-verbose, delphi-comment-face, delphi-string-face)
17432 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17433 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17434 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17435 (delphi-new-comment-line, delphi-font-lock-defaults)
17436 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17437 Fix typos in docstrings.
17438
2dab465b
KM
174392011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17440
5ba5fb81 17441 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17442 Invert the roles of character and string values for INSTEAD, so a
17443 string is used for the more common case of a defaulting prompt.
17444
0adf5618
SM
174452011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17446
17447 * progmodes/ruby-mode.el (ruby-backward-sexp):
17448 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17449 * play/gamegrid.el (gamegrid-make-face):
17450 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17451 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17452 * notifications.el (notifications-notify):
17453 * net/xesam.el (xesam-search-engines):
17454 * net/quickurl.el (quickurl-list-insert):
17455 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17456
d72700e5
CY
174572011-03-15 Chong Yidong <cyd@stupidchicken.com>
17458
17459 * startup.el (command-line): Update package subdirectory regexp.
17460
49c5410a
SM
174612011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17462
c6eee9aa
SM
17463 * allout.el (allout-abbreviate-flattened-numbering)
17464 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17465
49c5410a
SM
17466 * subr.el (read-char-choice): Only show the cursor after the prompt,
17467 not after the answer.
17468
047b2bb9
KR
174692011-03-15 Kevin Ryde <user42@zip.com.au>
17470
17471 * help-fns.el (variable-at-point): Skip leading quotes, if any
17472 (bug#8253).
17473
0a57d256
SM
174742011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17475
17476 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17477 warning message.
17478
77c992bc
MA
174792011-03-14 Michael Albinus <michael.albinus@gmx.de>
17480
17481 * shell.el (shell): When called interactively, offer to change the
17482 shell file name on remote hosts.
17483
eebc475d
TZ
174842011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17485
17486 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17487 integration for LDAP parameters. The host, base, user or binddn,
17488 and secret tokens can be specified in a netrc file, for instance.
17489 This is optional because an `auth-source' parameter must be
17490 specified in the search attributes.
17491
9d05d1ba
JB
174922011-03-13 Juanma Barranquero <lekktu@gmail.com>
17493
17494 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17495
09d9db2c
GM
174962011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17497
17498 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17499 into declaration. Remove redundant and harmful binding.
17500
175012011-03-12 Eli Zaretskii <eliz@gnu.org>
17502
17503 * files.el (file-ownership-preserved-p): Pass `integer' as an
17504 explicit 2nd argument to `file-attributes'. If the file's owner
17505 is the Administrators group on Windows, and the current user is
17506 Administrator, consider that a match.
17507
17508 * server.el (server-ensure-safe-dir): Consider server directory
17509 safe on MS-Windows if its owner is the Administrators group while
17510 the current Emacs user is Administrator. Use `=' to compare
17511 numerical UIDs, since they could be integers or floats.
17512
219bd536
JB
175132011-03-12 Juanma Barranquero <lekktu@gmail.com>
17514
17515 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17516
f3afd36b
MA
175172011-03-12 Michael Albinus <michael.albinus@gmx.de>
17518
17519 Sync with Tramp 2.2.1.
17520
17521 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17522
17523 * net/trampver.el: Update release number.
17524
3aaaa6f1
SM
175252011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17526
94642599
SM
17527 * progmodes/compile.el (compilation--previous-directory): Fix up
17528 various nil/dead-marker mismatches (bug#8014).
17529 (compilation-directory-properties, compilation-error-properties):
17530 Don't call it at a position past the one we're about to change.
17531
3aaaa6f1
SM
17532 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17533 Disable obsolescence warnings in the file that declares it.
17534
14239447
KM
175352011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17536
099c39a4
JB
17537 * allout-widgets.el (allout-widgets-tally):
17538 Initialize allout-widgets-tally as a hash table rather than nil to
17539 prevent mode-line redisplay warnings. Also, clarify the module
17540 description and fix a comment typo.
14239447 17541
135e287c
JB
175422011-03-11 Juanma Barranquero <lekktu@gmail.com>
17543
17544 * help-fns.el (describe-variable): Don't complete keywords.
17545 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17546
ffbf300e
CY
175472011-03-10 Chong Yidong <cyd@stupidchicken.com>
17548
ba08b241
CY
17549 * emacs-lisp/package.el (package-version-join): Impose a standard
17550 string representation for pre/alpha/beta version lists.
17551 (package-unpack-single): Standardize the directory name by passing
17552 it through package-version-join.
17553 (package-strip-rcs-id): Accept any version string that does not
17554 signal an error in version-to-list.
ffbf300e 17555
f346fd6b
MA
175562011-03-10 Michael Albinus <michael.albinus@gmx.de>
17557
17558 * simple.el (delete-trailing-whitespace): Return nil for the
17559 benefit of `write-file-functions'.
17560
ccb55d27
GM
175612011-03-10 Glenn Morris <rgm@gnu.org>
17562
5ceaac0c
GM
17563 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17564
02da65ff
GM
17565 * vc/vc-git.el (vc-git-program): New option.
17566 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17567 (vc-git--call): Use it.
17568
b2f603cc
GM
17569 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17570
5772caab
GM
17571 * cus-edit.el (Custom-newline): If no button at point, look
17572 for a subgroup button at start-of-line. (Bug#2298)
17573
ccb55d27
GM
17574 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17575
ec6ecaed
JD
175762011-03-10 Julien Danjou <julien@danjou.info>
17577
17578 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17579 `cursor-type' is nil.
17580
9d5aa01d
JB
175812011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17582
17583 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17584
b6a5875b
KM
175852011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17586
7a71b18d 17587 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17588 preserves the existing header prefix, rebulleting it if necessary,
17589 rather than replacing it. This is necessary for proper operation
17590 of cooperative addons like allout-widgets.
1154d12e
JB
17591 (allout-make-topic-prefix, allout-rebullet-heading):
17592 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17593 value as alternate bullet to be used, instead of prompting the user
17594 for a bullet character.
b6a5875b 17595
ee545c35
MA
175962011-03-09 Michael Albinus <michael.albinus@gmx.de>
17597
d86d2721
SM
17598 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17599 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17600 `tramp-default-port'.
17601
c47971d7
DD
176022011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17603
17604 * net/rcirc.el (rcirc-handler-001): Remove useless
17605 with-rcirc-process-buffer.
17606 (rcirc-check-auth-status): Swap arguments to string-match.
17607
13522cb4
GM
176082011-03-09 Glenn Morris <rgm@gnu.org>
17609
0be6f4f1
GM
17610 * shell.el (shell-mode):
17611 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17612
13522cb4
GM
17613 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17614 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17615
515de2e3
CY
176162011-03-08 Chong Yidong <cyd@stupidchicken.com>
17617
17618 * emacs-lisp/package.el (package-refresh-contents)
17619 (package-menu-execute): Use condition-case-no-debug.
17620
b511b994
MA
176212011-03-08 Michael Albinus <michael.albinus@gmx.de>
17622
17623 * simple.el (shell-command-to-string): Use `process-file'.
17624
17625 * emacs-lisp/package.el (package-tar-file-info): Handle also
17626 remote files.
17627
d86d2721
SM
17628 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17629 Use `equal' for upload base check.
b511b994 17630
25bbfb31
AM
176312011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17632
17633 * textmodes/texinfo.el (texinfo-environments):
17634 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17635
be996521
GM
176362011-03-08 Glenn Morris <rgm@gnu.org>
17637
e9c8529f
GM
17638 * cus-start.el (cursor-in-non-selected-windows):
17639 Fix :set quoting oddness. (Bug#8192)
17640
be996521
GM
17641 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17642 in some setf expressions. (Bug#2159)
17643
2bb5649e
CY
176442011-03-08 Chong Yidong <cyd@stupidchicken.com>
17645
17646 * custom.el (custom-available-themes): Return themes in
17647 alphabetical order.
17648
33383987 17649See ChangeLog.15 for earlier changes.
e3d51b27
MR
17650
17651;; Local Variables:
17652;; coding: utf-8
e3d51b27
MR
17653;; End:
17654
acaf905b 17655 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17656
17657 This file is part of GNU Emacs.
17658
17659 GNU Emacs is free software: you can redistribute it and/or modify
17660 it under the terms of the GNU General Public License as published by
17661 the Free Software Foundation, either version 3 of the License, or
17662 (at your option) any later version.
17663
17664 GNU Emacs is distributed in the hope that it will be useful,
17665 but WITHOUT ANY WARRANTY; without even the implied warranty of
17666 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17667 GNU General Public License for more details.
17668
17669 You should have received a copy of the GNU General Public License
17670 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.