Allow face-remapping using :font, and use it in mouse-appearance-menu.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
383dcbf9
CY
12012-08-17 Chong Yidong <cyd@gnu.org>
2
3 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4 font spec, set the font directly (Bug#3228).
5
998c4a6a
MR
62012-08-17 Martin Rudalics <rudalics@gmx.at>
7
8 * window.el (delete-window): Fix last fix.
9
52162052
MR
102012-08-16 Martin Rudalics <rudalics@gmx.at>
11
12 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
13 (window-child, window-child-count, window-last-child)
14 (window-normalize-window, window-combined-p)
15 (window-combinations, window-atom-root, window-min-size)
16 (window-sizable, window-sizable-p, window-size-fixed-p)
17 (window-min-delta, window-max-delta, window--resizable)
18 (window--resizable-p, window-resizable, window-total-size)
19 (window-full-height-p, window-full-width-p, window-body-size)
20 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
21 (minimize-window, window-deletable-p, delete-window)
22 (delete-other-windows, set-window-buffer-start-and-point)
23 (next-buffer, previous-buffer, split-window, balance-windows-2)
24 (set-window-text-height, window-buffer-height)
25 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
26 (truncated-partial-width-window-p): Minor code adjustments. In
27 doc-strings state whether the argument window has to denote a
28 live, valid or any window.
52162052 29
1c308380
PS
302012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
31
32 * progmodes/subword.el (subword-forward-function)
33 (subword-backward-function, subword-forward-regexp)
34 (subword-backward-regexp): New variables.
35 (subword-forward, subword-forward-internal, subword-backward-internal):
36 Use new variables, eg so that different "word" definitions
37 can be easily used. (Bug#11411)
38
94c9ece1
SM
392012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
42 for composite selectors.
43 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
44 operation just because we can't find a previous revision.
45
f2045622
CY
462012-08-15 Chong Yidong <cyd@gnu.org>
47
48 * frame.el (set-frame-font): Accept font objects.
49
582db660
SM
502012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
51
52 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
53
2f29c200
WJ
542012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
55
456e62c2
WJ
56 * man.el (Man-overstrike-face, Man-underline-face)
57 (Man-reverse-face): Remove variables.
58 (Man-overstrike, Man-underline, Man-reverse): New faces.
59 (Man-fontify-manpage): Use them instead of the variables.
60 (Man-cleanup-manpage): Comment change.
61 (Man-ansi-color-map): New variable.
62 (Man-fontify-manpage): Use it.
63 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
64
2f29c200
WJ
65 Implement ANSI SGR parameters 22-27 (bug#12146).
66 * ansi-color.el (ansi-colors): Doc fix.
67 (ansi-color-context, ansi-color-context-region): Doc fix.
68 (ansi-color--find-face): New function.
69 (ansi-color-apply, ansi-color-apply-on-region): Use it.
70 Rename the local variable `face' to `codes' since it is now a list of
71 ansi codes. Doc fix.
72 (ansi-color-get-face): Remove.
73 (ansi-color-parse-sequence): New function, derived from
74 ansi-color-get-face.
75 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
76 codes 22-27.
77
b4f5e9df
SM
782012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
79
80 * subr.el (read-passwd): Allow use from a minibuffer.
81
ba025fbd
EZ
822012-08-14 Eli Zaretskii <eliz@gnu.org>
83
84 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
85 inside comments and strings as identifiers.
86
87 * progmodes/gud.el (gud-tooltip-print-command): Quote the
88 expression to evaluate. This allows to evaluate expressions with
89 embedded whitespace.
90 (gud-tooltip-tips): Add a blank before the newline in the
91 message-box text, for the benefit of message-box emulation on
92 MS-Windows.
93
94 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
95 messages from GDB, pop them up in a tooltip to give feedback to
96 user.
b4f5e9df
SM
97 (gdb-tooltip-print-1): Quote the expression to evaluate.
98 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
99 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
100 if the TTY name is nil or empty (which happens when communicating
101 with the inferior via pipes, e.g. on MS-Windows).
102 (gdb-internals): If GDB sends a "&\n" empty debugging message,
103 don't send that to the GUD buffer.
104
c548f821
GM
1052012-08-14 Glenn Morris <rgm@gnu.org>
106
107 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
108 Optimize away setq-default with no args, as for setq. (Bug#12195)
109
55802e4a
CY
1102012-08-14 Chong Yidong <cyd@gnu.org>
111
4abcdac8
CY
112 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
113
55802e4a
CY
114 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
115 (Bug#12085).
116
3c3cda1a
GM
1172012-08-14 Glenn Morris <rgm@gnu.org>
118
119 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
120
e1873bd0
MA
1212012-08-14 Michael Albinus <michael.albinus@gmx.de>
122
123 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
124 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
125 Use cached shell name.
126
925411b4
FEG
1272012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
128
129 * progmodes/python.el (python-shell-send-string):
3c3cda1a 130 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 131
e636fafe
DG
1322012-08-14 Dmitry Gutov <dgutov@yandex.ru>
133
134 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
135 (ruby-percent-literal-beg-re): New constant.
136 (ruby-syntax-general-delimiters-goto-beg): Rename to
137 `ruby-syntax-enclosing-percent-literal', improve literal type check.
138 (ruby-syntax-propertize-general-delimiters): Rename to
139 `ruby-syntax-propertize-percent-literal', it's a shorter and more
140 popular term. Adjust comments everywhere.
141 (ruby-syntax-propertize-percent-literal): Only propertize when not
142 inside a simple string or comment. When the literal is unclosed,
143 leave the text after it unpropertized.
f063063a
DG
144 (ruby-syntax-methods-before-regexp): New constant.
145 (ruby-syntax-propertize-function): Use it to recognize regexps.
146 Don't look at the text after regexp, just use the whitelist.
e636fafe 147
e5b19827
AS
1482012-08-14 Andreas Schwab <schwab@linux-m68k.org>
149
150 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
151 non-nil always load the compiled file if it exists. (Bug#12197)
152
a9f6f311
CY
1532012-08-14 Chong Yidong <cyd@gnu.org>
154
155 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
156 (hi-lock-set-pattern): When deciding whether to use font lock or
157 overlays, look at font-lock-mode instead of font-lock-fontified
158 (Bug#12168).
159 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
160 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
161
7d806b1e
DU
1622012-08-14 Daiki Ueno <ueno@unixuser.org>
163
164 * subr.el (internal--after-with-selected-window): Fix typo
165 (Bug#12193).
166
5beed586
FEG
1672012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
168
169 Use `completion-table-dynamic' for completion functions.
170 * progmodes/python.el
171 (python-shell-completion--do-completion-at-point)
e636fafe
DG
172 (python-shell-completion--get-completions):
173 Remove functions.
5beed586
FEG
174 (python-shell-completion-complete-at-point): New function.
175 (python-completion-complete-at-point): Use it.
176
92cb3b04
J
1772012-08-13 Jambunathan K <kjambunathan@gmail.com>
178
179 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
180 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
181
89660017
SM
1822012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
183
3c98c962
SM
184 * subr.el (function-get): Refine `autoload' arg so it can also
185 autoload functions for gv.el (bug#12191).
186 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
187 autoloads macros.
188
aa7c6dbe
SM
189 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
190 Prefer pcase-let over destructuring-bind.
191 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
192 Also, remove whitespace as we go, rather than after accumulating the
193 various places.
194
89660017
SM
195 * subr.el (internal--before-with-selected-window)
196 (internal--after-with-selected-window): Fix typo seleted->selected.
197 (with-selected-window): Adjust callers.
198 Reported by Dmitry Gutov <dgutov@yandex.ru>.
199
31cd32c9
BG
2002012-08-13 Bastien Guerry <bzg@gnu.org>
201
202 * window.el (special-display-popup-frame): Small docstring
203 enhancement. (Bug#12172)
204
1b15d8ad
AS
2052012-08-13 Andreas Schwab <schwab@linux-m68k.org>
206
31e54db0
AS
207 * tar-mode.el (tar-header-data-end): Only ignore size for files of
208 type 1-6.
209 (tar-header-block-summarize, tar-get-descriptor): Handle pax
210 extended headers.
211
1b15d8ad
AS
212 * files.el (hack-local-variables-filter): Remove useless eval.
213
35cb9c06
MR
2142012-08-13 Martin Rudalics <rudalics@gmx.at>
215
216 * subr.el (with-selected-window): Fix last change.
217
1439443b
SM
2182012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
219
220 * subr.el (internal--before-with-seleted-window)
221 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
222 (with-selected-window): Use them, to replace dependency on
223 tty-top-frame.
1439443b 224
0d9e2599
NN
2252012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
226
227 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
228 binding for `newline'.
229 (ruby-move-to-block): When moving backward, stop at block opening,
230 not indentation.
231 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
232 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
233 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
234 `ruby-toggle-block'.
235
ba10c48c
SM
2362012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
237
238 * ibuffer.el (ibuffer-do-toggle-read-only):
239 * dired.el (dired-toggle-read-only):
240 * buff-menu.el (Buffer-menu-toggle-read-only):
241 * bindings.el (mode-line-toggle-read-only):
242 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
243
9229c658
AS
2442012-08-12 Andreas Schwab <schwab@linux-m68k.org>
245
246 * descr-text.el (describe-char): Put the overlays over the
247 "displayed as" character.
248
0fd09128
JB
2492012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
250
251 * calc/calc-units.el (math-default-units-table): Give an
252 initial value.
253 (math-put-default-units): Add options to put composite units and
254 unit systems in the default units table.
255 (calc-convert-units): Send composite units to
256 `math-put-default-units' when appropriate.
257
9ff9402d 2582012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 259
fbb5e336
GM
260 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
261
7aacaf15
GM
262 * tutorial.el (help-with-tutorial):
263 * emacs-lisp/copyright.el (copyright-update-directory):
264 * emacs-lisp/autoload.el (autoload-find-generated-file)
265 (autoload-find-file): Disable local eval: (for insurance).
266
f40b9f10
GM
267 * files.el (hack-local-variables-filter): If an eval: form is not
268 known to be safe, and enable-local-variables is :safe, then ignore
269 the form totally, as is done for non-eval forms. (Bug#12155)
270
daa9f1a6
SM
2712012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
272
273 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
274 (rx-form): Simplify.
275
9cd80478
DG
2762012-08-09 Dmitry Gutov <dgutov@yandex.ru>
277
0d9e2599
NN
278 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
279 ?, _, and : are symbol constituents, ! is not (but kinda should be).
280 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
281 (ruby-syntax-propertize-function): Adjust for changes in
282 `ruby-syntax-propertize-heredoc'.
283
2842012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
285
9cd80478
DG
286 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
287 binding (use `M-;' instead).
9cd80478 288 (ruby-singleton-class-p): New function.
0d9e2599 289 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 290
d301b413
SM
2912012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
292
293 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
294
1530c98e
CY
2952012-08-10 Chong Yidong <cyd@gnu.org>
296
297 * progmodes/python.el (python-shell-get-process-name): Don't mess
298 with same-window-buffer-names.
299
300 * eshell/eshell.el (eshell-add-to-window-buffer-names)
301 (eshell-remove-from-window-buffer-names): Make obsolete.
302 (eshell-buffer-name, eshell-unload-hook): Don't use them.
303 (eshell): Just use pop-to-buffer-same-window instead.
304
e1293765
CY
3052012-08-10 Chong Yidong <cyd@gnu.org>
306
307 * bindings.el: Bind M-= back to count-words-region.
308
309 * simple.el (count-words-region): Accept a prefix arg for acting
310 on the entire buffer.
311 (count-words--buffer-message): New helper function.
312
e1894109
SM
3132012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
314
315 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
316 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
317 (event-start, event-end): Use posn-at-point to return a more
318 informative posn.
319 (posnp): New function.
320 * mouse.el (popup-menu-normalize-position): Use it.
321
c69f56a2
MY
3222012-08-10 Masatake YAMATO <yamato@redhat.com>
323
324 * mouse.el (popup-menu-normalize-position): New function.
325 (popup-menu): Use `popup-menu-normalize-position' to normalize
326 the form for POSITION argument.
327
328 * term/x-win.el (x-menu-bar-open):
329 Use the value returend from (posn-at-point) as position
330 passed to `popup-menu'.
331
31673780
JB
3322012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
333
334 * calc/calccomp.el (math-compose-expr): Add extra argument
335 indicating that parentheses should be put around products in
336 denominators. Give multiplication precedence over division during
337 composition.
338
dab7711b
CY
3392012-08-09 Chong Yidong <cyd@gnu.org>
340
dee4ef93
CY
341 * man.el (Man-switches, Man-sed-command, Man-awk-command)
342 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
343 (Man-untabify-command, manual-program): Convert to defcustom
344 (Bug#10429).
345
73e2bbc5
CY
346 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
347
3e861c8a
CY
348 * descr-text.el (describe-char): Don't insert extra newlines
349 (Bug#10127).
350
a9f5a649
CY
351 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
352 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
353
dab7711b
CY
354 * align.el (align-region): Delete temporary markers (Bug#10047).
355 Plus some code cleanups.
356
e0cc4efa
FEG
3572012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
358
359 * progmodes/python.el (python-pdbtrack-tracked-buffer)
360 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
361 (python-shell-internal-last-output): Use make-local-variable
362 instead of make-variable-buffer-local.
363
489af14f
FEG
3642012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
365
366 * progmodes/python.el: Enhancements to forward-sexp.
367 (python-nav-forward-sexp): Rename from
368 python-nav-forward-sexp-function.
c69f56a2
MY
369 (python-nav--forward-sexp, python-nav--backward-sexp):
370 New functions.
489af14f 371
0fc50303
JB
3722012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
373
374 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
375 modes and simplification modes.
376
5d65606a
SM
3772012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
378
379 * delsel.el (delete-selection-pre-hook): Don't propagate the
380 file-supersession signals (bug#12161).
381
4250fdf5
SM
3822012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
383
384 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
385 (cl-map-extents): Add compatibility aliases (bug#12135).
386
d9f9b465
MA
3872012-08-08 Michael Albinus <michael.albinus@gmx.de>
388
389 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
390 tests by `ignore-error'.
391 (tramp-find-shell): Open also a new shell, when cache is already
392 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
393
ce0fcefa
JL
3942012-08-08 Juri Linkov <juri@jurta.org>
395
396 * bookmark.el: Add `defaults' property to the bookmark record.
397 (bookmark-current-buffer): Doc fix.
398 (bookmark-make-record): Add `defaults' property with default values
399 to the bookmark record.
400 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
401 with `bookmark-insert-current-bookmark'.
402 (bookmark-set): Get `defaults' property from the bookmark record
403 and use it in `read-from-minibuffer'.
404 (bookmark-insert-current-bookmark): Remove function.
405
406 * info.el (Info-bookmark-make-record): Add `defaults' property
407 with values of canonical Info node name, the current Info file
408 name and the current Info node name. (Bug#12107)
409
53fa8652
JL
4102012-08-08 Juri Linkov <juri@jurta.org>
411
412 * files.el (basic-save-buffer): Use `buffer-name' as the default
413 of `read-file-name' when buffer is not visiting a file (bug#12128).
414
242c0a95
JL
4152012-08-08 Juri Linkov <juri@jurta.org>
416
417 * info.el (Info-isearch-search): Doc fix.
418 (Info-search): Change search-failed message from "initial node" to
419 "end of node" (bug#12078).
420 (Info-isearch-search): Change `isearch-string-state' to
421 `isearch--state-string'.
422
32ac3a6b
GM
4232012-08-08 Glenn Morris <rgm@gnu.org>
424
425 * language/persian.el: Remove file.
f8c1afd5 426 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
427 * loadup.el: Remove language/persian.
428
2c2d9c9c
OF
4292012-08-08 Óscar Fuentes <ofv@wanadoo.es>
430
431 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
432
2d79ec42
FEG
4332012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
434
435 * progmodes/python.el Fixed defsubst warning.
436 (python-syntax-context) Rename from python-info-ppss-context.
437 (python-syntax-context-type): Rename from
438 python-info-ppss-context-type.
439 (python-syntax-comment-or-string-p): Rename from
440 python-info-ppss-comment-or-string-p.
441
2bd255dd
JB
4422012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
443
444 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
445
c395097f
AS
4462012-08-07 Andreas Schwab <schwab@linux-m68k.org>
447
6125983e
AS
448 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
449 a defcustom that is quoted with backquote.
450
4250fdf5
SM
451 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
452 Fix handling of interactive spec when the body uses return.
651eaf36
AS
453 (math-do-arg-check, math-define-function-body): Use backquote forms.
454 * calc/calc-ext.el (math-defcache): Likewise.
455 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
456 * allout.el (allout-new-exposure): Likewise.
457 * calc/calcalg2.el (math-tracing-integral): Likewise.
458 * info.el (Info-last-menu-item): Likewise.
459 * emulation/vip.el (vip-loop): Likewise.
460 * textmodes/artist.el (artist-funcall): Likewise.
461 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
462 Construct menu-item directly.
463
4250fdf5
SM
464 * progmodes/autoconf.el (font-lock-syntactic-keywords):
465 Don't declare.
c395097f 466
5fb50dd3
CY
4672012-08-07 Chong Yidong <cyd@gnu.org>
468
469 * simple.el (deactivate-mark): Preserve text properties when
470 saving the primary selection (Bug#8384).
471
54eea618
KR
4722012-08-07 Kevin Ryde <user42@zip.com.au>
473
474 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
475 (woman-parse-numeric-value): On a bad .IP line, issue a warning
476 and continue processing (Bug#12110).
477
638eaeb9
SM
4782012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
479
480 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
481 syntax-propertize-function (bug#10095).
482
ea376861
SM
4832012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
484
f91b35be
SM
485 * help-fns.el (help-fns--key-bindings, help-fns--signature)
486 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
487 describe-function-1.
488 (describe-function-1): Use them. Move compiler macro after sig.
489 (help-fns--compiler-macro): Use function-get. Assume we're already in
490 standard-output. Adjust layout to new call order.
491
ea376861
SM
492 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
493 re-binding a symbol that has a symbol-macro (bug#12119).
494
d5be7bd0
MB
4952012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
496
497 * language/persian.el: New file. (Bug#11812)
498 * loadup.el: Add language/persian.el.
499
90749b53
CY
5002012-08-06 Chong Yidong <cyd@gnu.org>
501
502 * window.el (window--maybe-raise-frame): New function.
503 (window--display-buffer): Split off from here.
504 (display-buffer-reuse-window, display-buffer-pop-up-frame)
505 (display-buffer-pop-up-window, display-buffer-use-some-window):
506 Obey an inhibit-switch-frame action alist entry.
507 (display-buffer): Update doc.
508
509 * replace.el (occur-after-change-function): Avoid losing focus by
510 using the inhibit-switch-frame display parameter (Bug#12139).
511
ba7b0154
FEG
5122012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
513
514 Make internal shell process buffer names start with space.
515 * progmodes/python.el (python-shell-make-comint): Add optional
516 argument INTERNAL.
517 (run-python-internal): Use it.
518 (python-shell-internal-get-or-create-process): Check for new
519 internal buffer names.
520
5eaeacb5
GM
5212012-08-06 Glenn Morris <rgm@gnu.org>
522
e296d94b 523 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
524 Do less getting and setting of environment variables.
525
b7ccbdc2
CY
5262012-08-05 Chong Yidong <cyd@gnu.org>
527
777fe95e
CY
528 * proced.el (proced): Add substitution string to docstring to
529 trigger autoloading of the proced library on C-h f (Bug#1768).
530
4250fdf5
SM
531 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
532 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
533
534 * imenu.el (imenu-generic-expression): Move documentation here
535 from imenu--generic-function.
536 (imenu--generic-function): Refer to imenu-generic-expression.
537
9e3b7800 5382012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
539
540 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
541 indentation declaration.
542 (viper-loop): Add indentation declaration (Bug#7025).
543
e5d9c0d1
CY
5442012-08-05 Chong Yidong <cyd@gnu.org>
545
f0422feb
CY
546 * help-fns.el (describe-variable): Add hyperlink for
547 directory-local variables files. Improve buffer-local and
548 permanent-local reporting; suggested by MON KEY (Bug#6644).
549
550 * help-mode.el (help-dir-local-var-def): New button type.
551
e5d9c0d1
CY
552 * files.el (kill-buffer-hook): Provide a defvar.
553
a4f2deaa
GM
5542012-08-05 Glenn Morris <rgm@gnu.org>
555
556 * eshell/esh-ext.el (eshell/addpath):
557 Also update eshell-path-env. (Bug#12013)
558
a9dd5754
CY
5592012-08-05 Chong Yidong <cyd@gnu.org>
560
a4f2deaa 561 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 562
d014c740
CY
563 * fringe.el (fringe-styles): Add docstring.
564 (fringe--check-mode): New function.
565 (set-fringe-mode, set-fringe-style): Use it.
566 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
567
a9dd5754
CY
568 * files.el (set-auto-mode): Fix invalid setq call.
569
7c2dc8bd
SM
5702012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
571
572 * isearch.el: Misc simplification; use defstruct.
573 (isearch-mode-map): Dense maps now work like sparse ones.
574 (isearch--state): New defstruct.
575 (isearch-string-state, isearch-message-state, isearch-point-state)
576 (isearch-success-state, isearch-forward-state)
577 (isearch-other-end-state, isearch-word-state, isearch-error-state)
578 (isearch-wrapped-state, isearch-barrier-state)
579 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
580 replaced by defstruct's accessors.
581 (isearch--set-state): Rename from isearch-top-state and change
582 calling convention.
583 (isearch-push-state): Use new isearch--get-state.
584 (isearch-toggle-word): Disable regexp when enabling word.
585 (isearch-message-prefix): Remove unused arg _c-q-hack.
586 (isearch-message-suffix): Remove unused arg _ellipsis.
587
7fcc0070
AS
5882012-08-04 Andreas Schwab <schwab@linux-m68k.org>
589
590 * simple.el (list-processes--refresh): For a server use :host or
591 :local as the address.
97ad0769 592 (list-processes): Doc fix.
7fcc0070 593
00340faf
MN
5942012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
595
596 * lisp/mpc.el: Support password in host argument.
597 (mpc--proc-connect): Parse and use new password element.
598 Set mpc-proc variable instead of returning process.
599 (mpc-proc): Adjust accordingly.
600
6dad7178
EZ
6012012-08-03 Eli Zaretskii <eliz@gnu.org>
602
18949c2f
EZ
603 * whitespace.el (whitespace-display-mappings): Use Unicode
604 codepoints, instead of emacs-mule codepoints. See
605 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
606 for the details.
607
6dad7178
EZ
608 * files.el (file-truename): Don't skip symlink-chasing part on
609 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
610 Windows into the loop that recursively chases symlinks.
611 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
612 MS-DOS.
613
385b0198
CY
6142012-08-03 Chong Yidong <cyd@gnu.org>
615
6200f3c4
CY
616 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
617
385b0198
CY
618 * sort.el (sort-regexp-fields): Doc fix.
619
b9e74744
TH
6202012-08-03 Tassilo Horn <tsdh@gnu.org>
621
622 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
623 labels regex position point at the expected place.
624
41013cb4
MK
6252012-08-03 MON KEY <monkey@sandpframing.com>
626
627 * net/imap.el (imap-interactive-login, imap-authenticate)
628 (imap-mailbox-lsub, imap-mailbox-list)
629 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
630 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
631 (imap-parse-response): Doc fix.
632
0ffee616
JT
6332012-08-03 João Távora <joaotavora@gmail.com>
634
635 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
636 if sexp scanning does not move point (Bug#5734).
637
cfcc9cc8
TH
6382012-08-02 Tassilo Horn <tsdh@gnu.org>
639
640 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
641 Add listings, minted, and ctable packages.
642 (reftex-label-alist-builtin): Move listings, minted, and ctable
643 entries before LaTeX.
a01bbb84 644 (reftex-label-alist): Docfix.
cfcc9cc8 645
66ec2442
BG
6462012-08-02 Bastien Guerry <bzg@gnu.org>
647
648 * replace.el (occur): Fix docstring (bug#12122).
649
837b365b
GM
6502012-08-02 Glenn Morris <rgm@gnu.org>
651
652 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
653
e098de97
PE
6542012-08-02 Paul Eggert <eggert@cs.ucla.edu>
655
656 Obsolete alias inactivate-current-input-method-function (Bug#10150).
657 * international/mule-cmds.el: Create
658 inactivate-current-input-method-function as an obsolete alias for
659 deactivate-current-input-method-function. See Katsumi Yamaoka in
660 <http://bugs.gnu.org/10150#46>.
661
a0f95636
JB
6622012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
663
664 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
665 of nested `if's.
666
0d26d7c4
GM
6672012-08-01 Glenn Morris <rgm@gnu.org>
668
669 * progmodes/autoconf.el (autoconf-definition-regexp):
670 Add AH_TEMPLATE, adjust submatch numbering.
671 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
672 (autoconf-current-defun-function): Update for above change.
673 (autoconf-current-defun-function): First skip to end of current word.
674
b686ba06
RS
6752012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
676
677 * calendar/cal-html.el (cal-html-insert-agenda-days):
678 Fix typo. (Bug#12018)
679
0d49da68
FEG
6802012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
681
682 Shell processes: enhancements to startup and CEDET compatibility.
683 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
684 (python-shell-make-comint): accept-process-output at startup.
685 (run-python-internal): Set inferior-python-mode-hook to nil.
686 (python-shell-internal-get-or-create-process): call sit-for.
687 (python-preoutput-result): Add obsolete alias.
688 (python-shell-internal-send-string): Use it.
689 (python-shell-send-setup-code): Remove call to
690 accept-process-output.
691
f1a71c6e
AS
6922012-07-31 Andreas Schwab <schwab@linux-m68k.org>
693
694 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
695 (Bug#12108)
696
d2605269
JB
6972012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
698
699 * calc-mode.el (calc-basic-simplification-mode): Rename from
700 `calc-limited-simplification-mode'.
701 (calc-alg-simplification-mode): New function.
d66060f8 702 (calc-set-simplify-mode): Adjust message.
f1a71c6e 703
d2605269
JB
704 * calc.el (calc-set-mode-line): Adjust mode line display for
705 basic simplification mode.
706
707 * calc-help.el (calc-m-prefix-help): Update help message.
708
709 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
710 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
711
a3827a43
BG
7122012-07-31 Bastien Guerry <bzg@gnu.org>
713
714 * man.el (man): Fix comment. (bug#12101)
715
502e3f89
MR
7162012-07-31 Martin Rudalics <rudalics@gmx.at>
717
718 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
719 Don't return a non-nil value when no suitable buffer was found.
720
d7714961
FEG
7212012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
722
723 * progmodes/python.el (run-python-internal): Disable font lock for
724 internal shells.
725
1f45e27e
SM
7262012-07-30 Stefan Merten <smerten@oekonux.de>
727
728 * rst.el: Silence `checkdoc-ispell'.
729 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
730 (rst-official-version, rst-official-cvs-rev)
731 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
732 (rst-mode-map): New key binding.
733
0aee6912
PE
7342012-07-30 Paul Eggert <eggert@cs.ucla.edu>
735
736 Update .PHONY listings in makefiles.
737 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
738 autoloads, update-subdirs, updates, bzr-update, update-authors,
739 compile-onefile, compile-calc, backup-compiled-files,
740 compile-after-backup, compile-one-process, mh-autoloads,
741 bootstrap-clean, distclean, maintainer-clean.
742
9052f9f0
JB
7432012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
744
1823ac5a
JB
745 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
746 (calc-set-mode-line): Don't display "AlgSimp ".
747
748 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
749 (calc-lim-simplify-mode): New function.
750 (calc-set-simplify-mode): Default to 'alg.
751 (calc-default-simplify-mode): Make algebraic simplifications
752 the default.
753
754 * calc/calc-ext.el (calc-init-extensions): Remove binding for
755 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
756
8d7c7eed 757 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
758 indicate new simplification modes.
759
1823ac5a
JB
760 * calc/README: Mention new default simplification mode.
761
9052f9f0
JB
762 * calc/calc.el (math-normalize-error): New variable.
763 (math-normalize): Set `math-normalize-error' to t
764 when there's an error.
765
766 * calc/calc-alg.el (math-simplify): Don't simplify when
767 `math-normalize' returns an error.
768
20ba0cb4
EZ
7692012-07-29 Eli Zaretskii <eliz@gnu.org>
770
771 * international/mule-cmds.el (set-locale-environment): Revert last
772 change, since display-graphic-p returns nil when this function is
773 called during startup. Instead...
774
775 * term/w32console.el (terminal-init-w32console): ...setup the
776 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
777
a5dcc929
JL
7782012-07-29 Juri Linkov <juri@jurta.org>
779
780 * simple.el (goto-line): Don't display default line number in the
781 prompt because it should be displayed by `read-number' (bug#9952).
782 Add the current line number to the defaults of `goto-line' to
783 allow its easier modification by users with `M-n' (bug#9201).
784
785 * subr.el (read-number): Support multiple default values like in
786 other minibuffer reading functions. Replace `read' with
787 `string-to-number' for consistency with `number-to-string'.
788
72b255c7
PE
7892012-07-29 Paul Eggert <eggert@cs.ucla.edu>
790
791 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
792 * emulation/viper-init.el (viper-deactivate-input-method-action):
793 Rename from viper-inactivate-input-method-action.
794 (viper-deactivate-input-method):
795 Rename from viper-inactivate-input-method.
796 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
797 * international/mule-cmds.el (deactivate-input-method):
798 Rename from inactivate-input-method.
799 Also run input-method-deactivate-hook.
800 (deactivate-current-input-method-function):
801 Rename from inactivate-current-input-method-function.
802 (input-method-deactivate-hook): New hook.
803 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
804 (inactivate-input-method): Mark obsolete.
805
72b255c7
PE
806 * international/quail.el (quail-activate):
807 Also run quail-deactivate-hook.
808 (quail-deactivate): Rename from quail-inactivate.
809 * international/robin.el (robin-activate):
810 Also run robin-deactivate-hook.
811 (robin-deactivate): Rename from robin-inactivate.
812
2549c068
CY
8132012-07-29 Chong Yidong <cyd@gnu.org>
814
815 * simple.el (indicate-copied-region): New function.
816 (kill-ring-save): Split off from here.
817
818 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
819 (kill-rectangle): Set deactivate-mark to t on read-only error.
820
821 * register.el (copy-to-register, copy-rectangle-to-register):
822 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
823 (append-to-register, prepend-to-register):
824 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
825
826 * simple.el (async-shell-command-buffer): New defcustom.
827 (shell-command): Use it. (Bug#4719)
828
01bd1b0d
EZ
8292012-07-28 Eli Zaretskii <eliz@gnu.org>
830
831 * international/mule-cmds.el (set-locale-environment): In a
832 console session on MS-Windows, set up keyboard and terminal
833 encoding from the OEM codepage, not the ANSI codepage.
834 (Bug#12055)
835
a55739d3
CY
8362012-07-28 Chong Yidong <cyd@gnu.org>
837
838 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
839 gdb-get-location.
840
0e1a094f 8412012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
842
843 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
844 the alist (bug#12029).
845
20329d73
EZ
8462012-07-28 Eli Zaretskii <eliz@gnu.org>
847
848 * makefile.w32-in (custom-deps, finder-data, updates, compile)
849 (compile-always, compile-first)
850 ($(lisp)/calendar/cal-loaddefs.el)
851 ($(lisp)/calendar/diary-loaddefs.el)
852 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
853 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
854 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
855 instead of on update-subdirs.
856 (bootstrap-clean): Delete $(lisp)/subdirs.el.
857
345a2258
CY
8582012-07-28 Chong Yidong <cyd@gnu.org>
859
1eee6341
CY
860 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
861 directory if vc-deduce-backend returns nil (Bug#7350).
862
345a2258
CY
863 * simple.el (delete-trailing-lines): New option.
864 (delete-trailing-whitespace): Obey it (Bug#11879).
865
049a0936
DE
8662012-07-28 David Engster <deng@randomsample.de>
867
868 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
869 Explanation of new 'symbol-qnames feature in doc-strings.
870 (xml-maybe-do-ns): Return expanded names as plain symbols if
871 'symbol-qnames was provided in XML-NS argument (Bug#11916).
872 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
873
aa81af71
FEG
8742012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
875
876 Consistent completion in inferior python with emacs -nw.
877 * progmodes/python.el (inferior-python-mode): replace "<tab>"
878 binding in inferior-python-mode-map with "\t".
879 (python-shell-completion-complete-at-point)
880 (python-completion-complete-at-point): Remove interactive spec.
881
e827b1eb
JB
8822012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
883
884 * calc/calccomp.el (math-compose-expr): Undo previous change.
885
a90dfb95
FEG
8862012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
887
4250fdf5 888 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
889 run-python.
890 (python-shell-make-comint): Fix pop-to-buffer call.
891 (run-python): Autoload. New arg SHOW.
892 (python-shell-get-or-create-process): Do not pop python process
893 buffer.
894
32770973 8952012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
896
897 * notifications.el (notifications-on-action-signal)
898 (notifications-on-closed-signal): Use also the bus address for the map.
899 (notifications-notify, notifications-close-notification)
900 (notifications-get-capabilities): Add optional argument BUS.
901
86332df2
TH
9022012-07-27 Tassilo Horn <tsdh@gnu.org>
903
4250fdf5
SM
904 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
905 Add support for the lstlisting and minted environments, and for the
86332df2
TH
906 ctable macro.
907 * textmodes/reftex.el (reftex-compile-variables): Also recognize
908 labels written in keyvals syntax.
909
ca1302a4
JB
9102012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
911
912 * calc/calccomp.el (math-compose-expr): Use parentheses when
913 there is a product in the denominator of a fraction.
914
f8b91036
EZ
9152012-07-26 Eli Zaretskii <eliz@gnu.org>
916
917 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
918 ($(lisp)/calendar/diary-loaddefs.el)
919 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
920 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
921 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
922 rewritten while the autoload files are built at the same time,
923 which needs to load subdirs.el.
924
c8e5a42c
MR
9252012-07-26 Martin Rudalics <rudalics@gmx.at>
926
927 * mouse.el (popup-menu): Fix doc-string and re-indent code.
928 (mouse-drag-line): Don't exit tracking when a switch-frame or
929 switch-window event occurs (Bug#12006).
930
670d85ea
SM
9312012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
932
933 * mouse.el (popup-menu): Fix last change.
934
7abaf5cc
SM
9352012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
936
937 Autoload from Lisp with more care. Follow aliases when looking for
938 function properties.
939 * subr.el (autoloadp): New function.
940 (symbol-file): Use it.
941 (function-get): New function.
942 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
943 autoload-do-load.
944 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
945 (lisp-indent-function):
946 * emacs-lisp/gv.el (gv-get):
947 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
948 * emacs-lisp/byte-opt.el (byte-optimize-form):
949 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
950 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
951 Use function-get.
952 * emacs-lisp/cl.el: Don't propagate function properties any more.
953
954 * speedbar.el (speedbar-add-localized-speedbar-support):
955 * emacs-lisp/disass.el (disassemble-internal):
956 * desktop.el (desktop-load-file):
957 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
958 (describe-function-1):
959 * emacs-lisp/find-func.el (find-function-noselect):
960 * emacs-lisp/elp.el (elp-instrument-function):
961 * emacs-lisp/advice.el (ad-has-proper-definition):
962 * apropos.el (apropos-safe-documentation, apropos-macrop):
963 * emacs-lisp/debug.el (debug-on-entry):
964 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
965 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
966 * calc/calc.el (name): Use autoloadp & autoload-do-load.
967
b1364986
AA
9682012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
969
970 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
971 function, not an obsolete variable (Bug#12046).
972
67ada220
AS
9732012-07-25 Andreas Schwab <schwab@linux-m68k.org>
974
975 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
976
f08088e3
CS
9772012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
978
979 * emacs-lisp/pp.el (pp-display-expression): Select old selected
980 window only if it is still live (Bug#12034).
981
8137e7b3
MR
9822012-07-25 Martin Rudalics <rudalics@gmx.at>
983
984 * subr.el (redirect-frame-focus): Add advertised calling
985 convention (Bug#12030).
986
09ae5da1
PE
9872012-07-25 Paul Eggert <eggert@cs.ucla.edu>
988
989 Prefer typical American spelling for "acknowledgment".
990 * vc/add-log.el (change-log-acknowledgment): Rename from
991 change-log-acknowledgement, with an alias for the old name.
992
3cc5a3a8
JB
9932012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
994
995 * calc-alg.el (math-simplify-divide): Don't cross multiply
996 in an equation when the lhs is a variable.
997
b7af7f62
JD
9982012-07-24 Julien Danjou <julien@danjou.info>
999
1000 * net/netrc.el (netrc-find-service-number, netrc-store-data):
1001 Remove, unused.
1002
ec1b09b1
EZ
10032012-07-23 Eli Zaretskii <eliz@gnu.org>
1004
1005 * startup.el (command-line): Don't display an empty user name in
1006 the error message about non-existent home directory, when
1007 init-file-user was set to an empty string. See
1008 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1009 for the details and context.
1010
b525fd8a
VB
10112012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
1012
1013 * ses.el (ses-cell-formula-aset): New macro.
1014 (ses-cell-references-aset): New macro.
1015 (ses-cell-p): New function.
1016 (ses-rename-cell): Do no longer rely on complex operations like
1017 ses-cell-set-formula or ses-set-cell to change the cell and handle
1018 the undo at the same time, but rather use lower level new macros
1019 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1020 the undo directly. Refresh the mode line.
1021
2c73e345
LL
10222012-07-21 Leo Liu <sdl.web@gmail.com>
1023
670d85ea
SM
1024 * progmodes/cc-cmds.el (c-defun-name):
1025 Use match-string-no-properties instead for consistency.
2c73e345 1026
542dfbde
LL
10272012-07-20 Leo Liu <sdl.web@gmail.com>
1028
3646bcd6
LL
1029 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1030 (Bug#7879)
1031
542dfbde
LL
1032 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1033
25721031
CY
10342012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1035
1036 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1037 * progmodes/bug-reference.el, misearch.el: Provide themselves
1038 (bug#11915).
1039
1040 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1041 of narrowed buffer (bug#11966).
1042
316e68a7
VB
10432012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
1044
1045 * ses.el (ses-rename-cell): Set new name also in reference list of
1046 cells of which the renamed cell depends.
1047
bbf0e7d9
MY
10482012-07-20 Masatake YAMATO <yamato@redhat.com>
1049
1050 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1051 to check whether menu-bar is shown or not. If not shown,
1052 show the menu-bar as a popup menu instead of using tmm.
1053 * mouse.el (popup-menu): Accept `point' as `position' argument.
1054
c28662a8
DG
10552012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1056
1057 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1058 up inside string symbol literal (bug#11923).
1059
87ab808f
EZ
10602012-07-20 Eli Zaretskii <eliz@gnu.org>
1061
1062 * startup.el (fancy-startup-text): Read the whole tutorial, not
1063 just its first 256 bytes. Prevents gibberish in display of the
1064 tutorial title.
1065
89dea803
DA
10662012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1067
1068 Drop idle buffer compaction due to an absence of the
1069 proved efficiency.
1070 * compact.el: Remove.
1071
8a4e6db8
SS
10722012-07-19 Sam Steingold <sds@gnu.org>
1073
1074 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1075 vc-bzr-pull & vc-bzr-merge-branch.
1076 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1077 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1078 for consistency with compilation-error-regexp-alist.
1079 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1080 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1081 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1082 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1083
5db81e33
SM
10842012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1085
1086 * emacs-lisp/chart.el: Use lexical-binding.
1087 (chart-emacs-storage): Don't hardcode the list of entries.
1088
5b835e1d
DA
10892012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1090
1091 Next round of tweaks caused by Fgarbage_collect changes.
1092 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1093
9cd47b72
DA
10942012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1095
1096 Compact buffers when idle.
1097 * compact.el: New file.
1098
1d6fc0df
SM
10992012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1100
1101 * subr.el (eventp): Presume that if it looks vaguely like an event,
1102 it's an event (bug#10190).
1103
1d29cc7d
FEG
11042012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
1105
1106 Enhancements to ppss related code (thanks Stefan).
1107 * progmodes/python.el (python-indent-context)
1108 (python-indent-calculate-indentation, python-indent-dedent-line)
1109 (python-indent-electric-colon, python-nav-forward-block)
1110 (python-mode-abbrev-table)
1d6fc0df 1111 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
1112 for ppss context.
1113 (python-info-continuation-line-p): Cleanup.
1114 (python-info-ppss-context): Do not catch 'quote.
1115 (python-info-ppss-context-type)
1116 (python-info-ppss-comment-or-string-p): Simplify.
1117
d583cbe6
FEG
11182012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
1119
1120 * progmodes/python.el: Enhancements to eldoc support.
1121 (python-info-current-symbol): New function.
1122 (python-eldoc-at-point): Use python-info-current-symbol.
1123 (python-info-current-defun): Fix cornercase on first defun scan.
1124 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1125 and signal error when no inferior python process is available.
1126
eceb6feb
DG
11272012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1128
1129 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1130 assume it's always t.
1131 (vc-git-registered): Remove caching, the function is only called
1132 once.
1133 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1134
4c8ff0fe
CY
11352012-07-18 Chong Yidong <cyd@gnu.org>
1136
19fb7186
CY
1137 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1138
9587c688
CY
1139 * simple.el (count-words): Report on narrowing (Bug#9959).
1140
0fe776a1
CY
1141 * bindings.el: Bind M-= to count-words.
1142
4c8ff0fe
CY
1143 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1144
7f5331cc
MY
11452012-07-18 Masatake YAMATO <yamato@redhat.com>
1146
1147 * progmodes/sh-script.el (sh-imenu-generic-expression):
1148 Capture a function with `function' keyword and without parentheses
1149 like "function FOO" (bug#11856).
1150
2dc2a609
TH
11512012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1152
1153 * window.el (split-window-sensibly): Make WINDOW argument
1154 optional.
1155
439f7677
CY
11562012-07-18 Chong Yidong <cyd@gnu.org>
1157
9aeb25a6
CY
1158 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1159
439f7677
CY
1160 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1161 and make C-x 8 RET exit isearch (Bug#11439).
1162
1163 * international/iso-transl.el: Move isearch-mode-map key
1164 definitions to isearch.el.
1165
12999ea8
SM
11662012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1167
1168 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1169 (eieio-defclass): Use gv-define-setter when possible.
1170
3ab6e069
DA
11712012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1172
1173 Reflect recent changes in Fgarbage_collect.
1174 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1175 reflect new format of data returned by Fgarbage_collect.
1176
0a60bc10
FEG
11772012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1178
1179 New utility functions + python-info-ppss-context fix (Bug#11910).
1180 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1181 (python-info-ppss-comment-or-string-p): New functions.
1182 (python-info-ppss-context): Small fix for string check.
1183
6dafa0d5
JL
11842012-07-17 Juri Linkov <juri@jurta.org>
1185
1186 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1187 (dired-do-async-shell-command): Don't add `*' at the end of the
1188 command (Bug#11815).
1189 (dired-do-shell-command): Doc fix.
1190 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1191 Join the individual commands using either "&" or ";" as the
1192 separator depending on the values of these trailing characters.
1193 At the end re-add the trailing "&". (Bug#10598)
1194
1195 * simple.el (async-shell-command): Sync the interactive spec with
1196 `shell-command'. Doc fix.
1197 (shell-command): Doc fix.
1198
b19dd9d1
JL
11992012-07-17 Juri Linkov <juri@jurta.org>
1200
1201 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1202
bcdc27d7 12032012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 1204
bcdc27d7 1205 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
1206 * progmodes/python.el (python-nav-beginning-of-statement):
1207 Rename from python-nav-statement-start.
bcdc27d7
FEG
1208 (python-nav-end-of-statement): Rename from
1209 python-nav-statement-end.
1210 (python-nav-beginning-of-block): Rename from
1211 python-nav-block-start.
1212 (python-nav-end-of-block): Rename from python-nav-block-end.
1213
191da00e
FEG
12142012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1215
7f5331cc
MY
1216 * progmodes/python.el (python-shell-send-string-no-output):
1217 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
1218 future interactions (Bug#11868).
1219
4dc7c8d5 12202012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 1221
88ecaf8f
SM
1222 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1223
ef501ef0
SM
1224 * emacs-lisp/elint.el (elint-find-args-in-code):
1225 Use help-function-arglist, so as to handle lexical byte-code.
1226
aa7aaf8f
SM
1227 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1228 change (bug#11826).
1229
45fd731c
SM
12302012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1231
2143fa32
SM
1232 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1233 Avoid spuriously marking the buffer as modified because of c-is-sws.
1234
efc26dbe
SM
1235 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1236 as not-a-comment (bug#11946).
1237
f5695c9a
SM
1238 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1239 for uninterned vars.
1240
1241 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1242 Use read-event since we don't really want to read chars but bytes.
1243
45fd731c
SM
1244 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1245 $$..$$ but also $..$ using regexps (bug#11953).
1246 Use tex-verbatim for \url and \path.
1247 (tex-font-lock-keywords): Define as defconst like the others.
1248 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1249
ddfc8813
RK
12502012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1251
1252 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1253 alias for insert-char.
1254
758e556a
FEG
12552012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1256
1257 * progmodes/python.el: Simplified imenu implementation.
1258 (python-nav-jump-to-defun): Remove command.
1259 (python-mode-map): Use `imenu' instead.
1260 (python-nav-list-defun-positions-cache)
1261 (python-imenu-include-defun-type, python-imenu-make-tree)
1262 (python-imenu-subtree-root-label, python-imenu-index-alist):
1263 Remove vars.
1264 (python-nav-list-defun-positions, python-nav-read-defun)
1265 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1266 (python-imenu-make-tree, python-imenu-create-index):
1267 Remove functions.
758e556a
FEG
1268 (python-mode): Update to interact with imenu by setting
1269 `imenu-extract-index-name-function' only.
1270
032d23ab
FEG
12712012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1272
1273 * progmodes/python.el: Enhancements to navigation commands.
1274 (python-nav-backward-sentence)
1275 (python-nav-forward-sentence): Remove.
1276 (python-nav-backward-statement, python-nav-forward-statement)
1277 (python-nav-statement-start, python-nav-statement-end)
1278 (python-nav-backward-block, python-nav-forward-block)
1279 (python-nav-block-start, python-nav-block-end)
1280 (python-nav-forward-sexp-function)
1281 (python-info-current-line-comment-p)
1282 (python-info-current-line-empty-p): New functions.
1283 (python-indent-context): Use `python-nav-statement-start'.
1284
01795a1b
MA
12852012-07-16 Michael Albinus <michael.albinus@gmx.de>
1286
9328d9aa
MA
1287 * eshell/em-ls.el (eshell/ls): Use `apply'.
1288
1289 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1290 multi-hops, instead of Tramp internals.
1291
01795a1b
MA
1292 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1293
1294 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1295 when F1 and F2 are located on different hosts.
1296
63408057
CY
12972012-07-14 Chong Yidong <cyd@gnu.org>
1298
1299 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1300 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1301 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1302 (xterm-mouse--read-event-sequence-1000)
1303 (xterm-mouse--read-event-sequence-1006): New functions. For old
1304 mouse protocol, handle M-mouse-X events correctly.
1305 (xterm-mouse-event): New arg specifying mouse protocol.
1306 (turn-on-xterm-mouse-tracking-on-terminal)
1307 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1308 sequence to toggle extended coordinates on newer XTerms.
1309 This appears to be harmless on terminals which do not support this.
63408057 1310
cd276f6e
LL
13112012-07-14 Leo Liu <sdl.web@gmail.com>
1312
28ca98ac
LL
1313 Add fringe bitmap indicators for flymake. (Bug#11253)
1314 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1315 (flymake-make-overlay): New arg BITMAP.
1316 (flymake-error-bitmap, flymake-warning-bitmap)
1317 (flymake-fringe-indicator-position): New user variables.
1318
cd276f6e
LL
1319 * fringe.el: New bitmap exclamation-mark.
1320
04408072
JD
13212012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1322
1323 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1324 also (Bug#7879).
1325
b5cf7fc4
CY
13262012-07-14 Chong Yidong <cyd@gnu.org>
1327
1328 * electric.el (electric-pair-post-self-insert-function): Fix pair
1329 insertion in empty-region case (Bug#11520).
1330
be755c79
RT
13312012-07-14 Chong Yidong <cyd@gnu.org>
1332
45fd731c
SM
1333 * bindings.el: Consolidate ctl-x-r-map bindings.
1334 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1335
1336 * rect.el, register.el: Move bindings to bindings.el.
1337
13382012-07-14 Reuben Thomas <rrt@sc3d.org>
1339
1340 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1341
7f5b3198
AS
13422012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1343
1344 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1345
97662200
JB
13462012-07-13 Juanma Barranquero <lekktu@gmail.com>
1347
80185fed
JB
1348 * bindings.el (top): Use `mapc' instead of `mapcar'.
1349
97662200
JB
1350 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1351
2bb1ae55
MA
13522012-07-13 Michael Albinus <michael.albinus@gmx.de>
1353
1354 * progmodes/sql.el (sql-comint): Suppress the check for program on
1355 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1356 (Bug#11908)
1357
dea31bd3
CY
13582012-07-13 Chong Yidong <cyd@gnu.org>
1359
1360 * bindings.el: Assign a non-nil permanent-local property to
1361 per-buffer variables which lack a default value (Bug#11930).
1362
1363 * help-fns.el (describe-variable): In the "automatically becomes
1364 local" notice, take note of permanent-local variables.
1365
b68b3337
CY
13662012-07-13 Chong Yidong <cyd@gnu.org>
1367
1368 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1369 to allow printing the message when called from Lisp.
1370
1371 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1372 Remove toggle-read-only.
1373
1374 * bs.el (bs-toggle-readonly):
45fd731c
SM
1375 * buff-menu.el (Buffer-menu-toggle-read-only):
1376 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1377
1378 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1379 Remove with-no-warnings around toggle-read-only.
1380 (ffap-read-only, ffap-read-only-other-window)
1381 (ffap-read-only-other-frame): Callers changed.
1382
1383 * help-mode.el: Don't require view package.
1384 (help-mode-finish): Set buffer-read-only instead of calling
1385 toggle-read-only.
1386
1387 * bindings.el (mode-line-toggle-read-only):
1388 * dired.el (dired-toggle-read-only):
1389 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1390 with non-nil second arg.
1391
1392 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1393 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1394 directly.
1395
56bc1586
EZ
13962012-07-12 Eli Zaretskii <eliz@gnu.org>
1397
1398 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1399 not incf.
1400
a464a6c7
SM
14012012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1402
1403 More CL cleanups and reduction of use of cl.el.
1404 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1405 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1406 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1407 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1408 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1409 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1410 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1411 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1412 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1413 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1414 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1415 * eshell/em-cmpl.el, eshell/em-banner.el:
1416 * calendar/parse-time.el: Use cl-lib.
1417 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1418 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1419 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1420 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1421 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1422 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1423 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1424 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1425 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1426 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1427 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1428 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1429 `lambda' rather than with `quote'.
1430 (eshell-do-opt): Adjust accordingly.
1431 (eshell-process-option): Simplify.
1432 * eshell/esh-var.el:
1433 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1434 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1435 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1436 to `pcase--dontcare'.
1437 * emacs-lisp/cl.el (labels): Mark obsolete.
1438 (cl--letf, letf): Move to cl-lib.
1439 (cl--letf*, letf*): Remove.
1440 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1441 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1442 (cl-progv): Rewrite.
1443 (cl--letf, cl-letf): Move from cl.el.
1444 (cl-letf*): New macro.
1445 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1446
7ad4afe1
MA
14472012-07-11 Michael Albinus <michael.albinus@gmx.de>
1448
1449 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1450
9af57756
CY
14512012-07-11 Chong Yidong <cyd@gnu.org>
1452
1453 * vc/log-edit.el (log-edit-vc-backend): New variable.
1454 (log-edit): Doc fix.
1455
1456 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1457 argument of log-edit to set up all local variables.
1458 (vc-start-logentry): New optional arg specifying VC backend.
1459
1460 * vc/vc.el (vc-checkin): Use it.
1461 (vc-deduce-fileset): Handle Log Edit buffers.
1462 (vc-diff): Make first argument optional too.
1463
1464 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1465
8477cc7a
MA
14662012-07-10 Michael Albinus <michael.albinus@gmx.de>
1467
1468 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1469 command, just in case. The function is not needed anymore.
1470 (eshell-external-command): Do not call `eshell-remote-command'.
1471
19faa8e8
SM
14722012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1473
f58e0fd5
SM
1474 Reduce use of (require 'cl).
1475 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1476 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1477 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1478 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1479 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1480 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1481 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1482 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1483 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1484 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1485 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1486 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1487 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1488 (byte-compile-unfold-bcf, byte-compile-check-variable):
1489 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1490 (byte-compile-nilconstp):
1491 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1492 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1493
2519d43a
SM
1494 * emacs-lisp/gv.el (cond): Make it a valid place.
1495 (if): Simplify slightly.
1496
19faa8e8
SM
1497 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1498 (pcase--self-quoting-p): New function.
1499 (pcase--u1): Use it.
1500
c4907a5e
GM
15012012-07-10 Glenn Morris <rgm@gnu.org>
1502
1503 * emacs-lisp/authors.el (authors-fixed-entries):
1504 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1505
c4444d16
PE
15062012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1507
1508 Rename configure.in to configure.ac (Bug#11603).
1509 * emacs-lisp/authors.el (authors-canonical-file-name):
1510 * progmodes/autoconf.el (autoconf-mode):
1511 Prefer configure.ac to configure.in.
1512
d75be97d
CY
15132012-07-08 Chong Yidong <cyd@gnu.org>
1514
01ac65bd
CY
1515 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1516 Implement the mouse-1-click-follows-link handling properly.
1517
1518 * info.el (Info-link-keymap): Use follow-link mechanism for
1519 header-line links (Bug#374).
1520
d75be97d
CY
1521 * simple.el (deactivate-mark): Do not set the primary selection
1522 if another program has acquired it (Bug#11772).
1523
87a92845 15242012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1525
1526 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1527 (woman-decode-region): Replace escaped-escapes without destroying
1528 bold or underline (Bug#11552).
87a92845 1529 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1530
621b9d6c
CY
15312012-07-07 Chong Yidong <cyd@gnu.org>
1532
1533 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1534 (interprogram-cut-function, interprogram-paste-function):
1535 Mention that we typically mean the clipboard.
621b9d6c 1536
133a11fc
GM
15372012-07-06 Glenn Morris <rgm@gnu.org>
1538
0d27a45e
GM
1539 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1540
133a11fc
GM
1541 * files.el (toggle-read-only): Restrict message to interactive use.
1542
07b151f1
MA
15432012-07-06 Michael Albinus <michael.albinus@gmx.de>
1544
1545 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1546
1547 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1548
211b896b
GM
15492012-07-06 Glenn Morris <rgm@gnu.org>
1550
50394322
GM
1551 * Makefile.in (compile-one-process): Rename from "recompile".
1552
211b896b
GM
1553 * Makefile.in (bzr-update): "compile" is the same as "recompile
1554 autoloads", but parallelizable, so use that instead.
1555
4737eec9
DG
15562012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1557
1558 * window.el (quit-window): Always restore window height when
8137e7b3 1559 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1560
226c3633 15612012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1562
1563 * simple.el (kill-whole-line): Doc tweak.
1564
226c3633 15652012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1566
1567 * files.el (file-relative-name): Compare file names
1568 case-insensitively if on MS-Windows or MS-DOS, or if
1569 read-file-name-completion-ignore-case is non-nil. Don't use
1570 case-fold-search for this purpose. (Bug#11827)
1571
4dc7c8d5
SM
15722012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1573
1574 * calendar/cal-dst.el (calendar-current-time-zone):
1575 Return calendar-current-time-zone-cache if non-nil.
1576
15772012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 15782012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1579
19faa8e8
SM
1580 * calendar/cal-dst.el (calendar-current-time-zone):
1581 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1582
60198fc9
GM
15832012-07-06 Glenn Morris <rgm@gnu.org>
1584
1585 * Makefile.in (cvs-update): Remove old alias.
1586
957b3189
MA
15872012-07-05 Michael Albinus <michael.albinus@gmx.de>
1588
1589 Sync with Tramp 2.2.6-pre.
1590
1591 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1592 compatible declaration.
1593
19faa8e8
SM
1594 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1595 Protect `list-load-path-shadows' call.
957b3189
MA
1596
1597 * net/tramp-compat.el (top): Require packages, which aren't
1598 autoloaded anymore for XEmacs. Protect call of
1599 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1600 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1601 it hurts at least for SXEmacs.
1602 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1603 standard-value for `temporary-file-directory'.
1604
1605 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1606 Redirect stderr to /dev/null.
1607 (tramp-sh-handle-write-region): uid and gid can be floats.
1608 Reported by Russell Sim <russell.sim@gmail.com>.
1609 (tramp-sh-handle-vc-registered): Hide errors.
1610 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1611 and `start-file-process'.
1612 (tramp-maybe-open-connection): Check also whether `non-essential'
1613 is bound.
1614
566df3fc
CY
16152012-07-04 Chong Yidong <cyd@gnu.org>
1616
1617 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1618 (xml-parse-tag): Likewise, and avoid changing entity tables.
1619 (xml-syntax-table): Define from scratch, making sure not to give
1620 x2000 and other Unicode spaces whitespace syntax, since those are
1621 not spaces in XML.
1622 (xml-parse-fragment): Delete unused function.
1623 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1624 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1625 (xml-entity-ref, xml-pe-reference-re)
1626 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1627 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1628 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1629 (xml-entity-value-re): Use syntax references in regexps where
1630 possible; no need to define inside a let-binding.
1631 (xml-parse-dtd): Use xml-pe-reference-re.
1632 (xml-entity-or-char-ref-re): New defconst.
1633 (xml-parse-string, xml-substitute-special): Use it.
1634
30eabd7a
SM
16352012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1636
0781098a
SM
1637 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1638 (find-file--read-only): New function.
1639 (find-file-read-only, find-file-read-only-other-window)
1640 (find-file-read-only-other-frame): Use it.
1641 (insert-file-contents-literally): Don't `fset'.
1642 (get-free-disk-space): Use locate-dominating-file.
1643
b5771c0d
SM
1644 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1645 function is already compiled.
1646
30eabd7a
SM
1647 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1648
b4886f6e
MA
16492012-07-03 Michael Albinus <michael.albinus@gmx.de>
1650
1651 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1652 files on the same host.
1653
b9d82339
AS
16542012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1655
1656 * help-fns.el (describe-function-1): Only call
1657 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1658
a76e6535
CY
16592012-07-03 Chong Yidong <cyd@gnu.org>
1660
1661 * xml.el: Protect parser against XML bombs.
1662 (xml-entity-expansion-limit): New variable.
1663 (xml-parse-string, xml-substitute-special): Use it.
1664 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1665
b544fef2
GM
16662012-07-03 Glenn Morris <rgm@gnu.org>
1667
1668 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1669 Allow linking to specific messages in debbugs reports (eg 123#5).
1670
a7aef6f5
CY
16712012-07-02 Chong Yidong <cyd@gnu.org>
1672
1673 * xml.el: Fix entity and character reference expansion, allowing
1674 them to expand into markup as per XML spec.
1675 (xml-default-ns): New variable.
1676 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1677 (xml-parse-region): Make first two arguments optional.
1678 Discard text properties.
1679 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1680 All callers changed.
a7aef6f5
CY
1681 (xml-parse-tag): Call xml-parse-tag-1. For backward
1682 compatibility, this function should not modify buffer contents.
1683 (xml-parse-tag-1): Fix opening-tag regexp.
1684 (xml-parse-string): Rewrite, handling entity and character
1685 references properly.
1686 (xml--entity-replacement-text): Signal an error if a parameter
1687 entity is undefined.
1688
3df31c9f
SM
16892012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1690
2b5208f1
SM
1691 * comint.el (comint-output-filter): Filter out repeated prompts.
1692
3df31c9f
SM
1693 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1694 and file-name-absolute-p.
1695 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1696 internal calls.
1697
e3ac1281
PE
16982012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1699
1700 Spelling fixes.
1701 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1702 Rename from byte-compile--refiy-function. All uses changed.
1703
fbf2e7ad
CY
17042012-07-01 Chong Yidong <cyd@gnu.org>
1705
1706 * xml.el (xml--parse-buffer): New function. Move most of
1707 xml-parse-region here.
1708 (xml-parse-region): Copy region into a temporary buffer, since
1709 parameter entity substitution requires changing buffer contents.
1710 Use xml--parse-buffer.
1711 (xml-parse-file): Use xml--parse-buffer.
1712 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1713 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1714
9bf0aa15
GM
17152012-06-30 Glenn Morris <rgm@gnu.org>
1716
bbce2853
GM
1717 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1718
9bf0aa15
GM
1719 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1720 Remove outdated and unnecessary dbus declarations.
1721
0d23c240
EZ
17222012-06-30 Eli Zaretskii <eliz@gnu.org>
1723
1724 * emacs-lisp/timer.el (timer-until): Subtract results of
1725 float-time, instead of taking float-time of the result of
1726 time-subtract, since float-time signals an error for negative time
1727 arguments.
1728
b3218de1
CY
17292012-06-30 Chong Yidong <cyd@gnu.org>
1730
1731 * xml.el (xml-*-re): Convert defvars into defconsts, and
1732 eval-and-compile them so eval-and-compile works on derivatives.
1733 (xml--entity-replacement-text): Use eval-and-comple.
1734
a40c87a0
MA
17352012-06-30 Michael Albinus <michael.albinus@gmx.de>
1736
1737 * vc/vc-git.el (vc-git-registered): Use cache property
1738 `git-registered'.
1739 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1740 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1741 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1742
ac87de97
DG
17432012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1744
1745 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1746 removed (likely outside Emacs). (Bug#11757)
ac87de97 1747
ac10fe06
SM
17482012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1749
3df31c9f 1750 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1751
7f3fbd5d
CY
17522012-06-30 Chong Yidong <cyd@gnu.org>
1753
1754 * xml.el: Implement XML parameter entities.
1755 (xml-parameter-entity-alist): New variable.
1756 (xml-parse-region, xml-parse-fragment): Preserve previous values
1757 of xml-entity-alist and xml-parameter-entity-alist, so that
1758 repeated calls on different documents do not change them.
1759 (xml-parse-tag): Fix doctype regexp.
1760 (xml--entity-replacement-text): New function.
1761 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1762 properly requires url retrieval which is unimplemented.
1763 (xml-escape-string): Doc fix.
1764
3cfbebba
SM
17652012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1766
1767 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1768
2af3565e
DA
17692012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1770
1771 * fringe.el (fringe-mode): Doc fix.
1772
929df0e7
MA
17732012-06-29 Michael Albinus <michael.albinus@gmx.de>
1774
1775 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1776 is non-nil.
1777 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1778 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1779
c8d3a25c 17802012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1781
c8d3a25c
GM
1782 * calendar/cal-dst.el (calendar-current-time-zone):
1783 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1784
c8d3a25c 17852012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1786
1787 * progmodes/which-func.el (which-func-format):
1788 Add mouse-face. (Bug#11698)
1789
c8d3a25c
GM
17902012-06-29 Leo Liu <sdl.web@gmail.com>
1791
1792 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1793
17942012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1795
1796 * minibuffer.el (minibuffer-confirm-exit-commands):
1797 Add completion-at-point (bug#11725).
1798
17992012-06-29 Glenn Morris <rgm@gnu.org>
1800
1801 * progmodes/f90.el (f90-font-lock-keywords-2):
1802 Add some preprocessor elements. (Bug#10499)
1803
18042012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1805
1806 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1807 Use syntax-propertize (bug#11739).
1808
2badeec4
JB
18092012-06-28 Juanma Barranquero <lekktu@gmail.com>
1810
1811 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1812
ae4969c2
JD
18132012-06-28 Julien Danjou <julien@danjou.info>
1814
1815 * term.el (term-handle-colors-array): Use a set of new faces to
1816 color the terminal. Also uses :inverse-video property.
1817 (term-default-fg-color): Set to nil by default, deprecate in favor
1818 of `term-face'.
1819 (term-default-bg-color): Set to nil by default, deprecate in favor
1820 of `term-face'.
1821 (term-current-face): Use `term-face' by default.
1822 (term-bold-attribute): Variable deleted.
1823
1c9bd870
GM
18242012-06-28 Glenn Morris <rgm@gnu.org>
1825
1826 * simple.el (completion-list-mode-finish):
1827 Don't use toggle-read-only. (Since completion-list-mode has
1828 a special mode-class, it wasn't doing anything extra anyway.)
1829
c207708c
SM
18302012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1831
1832 Make inlining of other-mode interpreted functions work (bug#11799).
1833 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1834 (byte-compile): Use it to fix compilation of lexical-binding closures.
1835 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1836 function, if needed.
1837
3fd56834
SM
18382012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1839
04901786
SM
1840 * help-mode.el (help-make-xrefs): Don't just withstand
1841 cyclic-variable-indirection but any error in documentation-property.
1842
1ec4b7b2
SM
1843 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1844 memory use.
1845 * bindings.el (bindings--define-key): New function.
1846 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1847 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1848 * bindings.el: Use it to purecopy define-key bindings.
1849
e309e2a5
SM
1850 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1851
d5c6faf9
SM
1852 * emacs-lisp/cl.el (flet): Mark obsolete.
1853 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1854 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1855 * progmodes/js.el (js-c-fill-paragraph):
1856 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1857 (ebrowse-switch-member-buffer-to-derived-class):
1858 * play/5x5.el (5x5-solver): Use cl-flet.
1859
6e9590e2
SM
1860 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1861 (cl--symbol-function): New macro.
1862 (cl--letf, cl--letf*): Use it.
1863
3fd56834
SM
1864 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1865 Strip "toggle-" if any.
1866
35ff222c
GM
18672012-06-27 Glenn Morris <rgm@gnu.org>
1868
1ba6038a
GM
1869 * info.el (Info-default-directory-list): Move here from paths.el.
1870 * paths.el: Remove file, which is now empty.
1871 * loadup.el: No longer load "paths".
1872
0ea0e51b
GM
1873 * custom.el (custom-initialize-delay): Doc fix.
1874
35ff222c
GM
1875 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1876 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1877 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1878 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1879 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1880 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1881 * eshell/eshell.el (eshell-defgroup): Remove alias.
1882
c89926a5
CY
18832012-06-27 Chong Yidong <cyd@gnu.org>
1884
1885 * help.el (help-enable-auto-load): New variable.
1886
1887 * help-fns.el (help-fns--autoloaded-p): New function.
1888 (describe-function-1): Refer to a function as "autoloaded" if it
1889 was autoloaded at any time in the past. Perform autoloading if
1890 help-enable-auto-load is non-nil.
1891
cc06e7e7
EZ
18922012-06-26 Eli Zaretskii <eliz@gnu.org>
1893
1894 * makefile.w32-in (compile, compile-always): Depend on
1895 update-subdirs, not on subdirs.el. Otherwise, several different
1896 sub-targets of 'bootstrap' running in parallel could
1897 simultaneously write to subdirs.el, producing a garbled file.
1898
d2c32364
SS
18992012-06-26 Sam Steingold <sds@gnu.org>
1900
1901 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1902 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1903 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1904 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1905 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1906 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1907 * textmodes/tex-mode.el: Use it.
1908 Did not touch cedet and org because they are maintained elsewhere.
1909
5cf983b2
MR
19102012-06-26 Martin Rudalics <rudalics@gmx.at>
1911
1912 * calendar/calendar.el (calendar-exit): Don't try to delete or
1913 iconify last frame. See:
1914 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1915
8c4f2952
JD
19162012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1917
1918 * server.el (server-process-filter): Remember dir in the
1919 process's `server-client-directory' properties.
1920
772b2e2c
CY
19212012-06-24 Chong Yidong <cyd@gnu.org>
1922
1923 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1924 non-tag text.
1925
711b11e1
JB
19262012-06-23 Juanma Barranquero <lekktu@gmail.com>
1927
1928 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1929
dc5d230c
SM
19302012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1931
1932 * help-fns.el (describe-variable): Don't croak when doc is not found.
1933 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1934 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1935 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1936 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1937 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1938 ((lambda ..) ..).
1939 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1940
136e1c1d
CY
19412012-06-23 Chong Yidong <cyd@gnu.org>
1942
e8c1cabf
CY
1943 * info.el (Info-mouse-follow-link): Accept symbol values of
1944 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1945 (Info-fontify-node): Use Info-link-keymap for all navigation
1946 buttons, with link-args property to perform the desired action.
1947 (Info-link-keymap): Doc fix.
1948 (Info-next-link-keymap, Info-prev-link-keymap)
1949 (Info-up-link-keymap): Delete now-unused keymaps.
1950
0e9e6c6a
CY
19512012-06-23 Chong Yidong <cyd@gnu.org>
1952
05e89fea
CY
1953 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1954
0e9e6c6a
CY
1955 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1956 system abbrevs.
1957
1958 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1959
e33c6771
SM
19602012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1961
b68581e2
SM
1962 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1963 (bug#11719).
1964
e33c6771
SM
1965 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1966 the requote function doesn't work properly (bug#11714).
1967
7117e105
GM
19682012-06-23 Glenn Morris <rgm@gnu.org>
1969
1970 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1971
36cec983
SM
19722012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1973
1974 Further GV/CL cleanups.
1975 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1976 gv-expander.
1977 (gv--defun-declaration): New function.
1978 (defun-declarations-alist): Use it.
1979 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1980 (gv-place): Autoload.
1981 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1982 original definition of dotimes and dolist.
1983 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1984 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1985 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1986 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1987 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1988 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1989 to the function's definition.
1990 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1991 * window.el:
1992 * files.el:
1993 * faces.el:
1994 * env.el: Don't use CL.
1995
d35af63c
PE
19962012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1997
1998 Support higher-resolution time stamps (Bug#9000).
1999
2000 * calendar/time-date.el (with-decoded-time-value): New arg
2001 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
2002 (encode-time-value): New optional arg PICO. New type 3.
2003 (time-to-seconds) [!float-time]: Support the new picoseconds
2004 component if it's used.
2005 (seconds-to-time, time-subtract, time-add):
2006 Support ps-resolution time stamps as well.
2007
2008 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
2009 (timerp): Timer vectors now have length 9, not 8.
2010 (timer--time): Support new-style (4-part) time stamps.
2011 (timer-next-integral-multiple-of-time): Time stamps now have
2012 picosecond resolution, so take a bit more care about rounding.
2013 (timer-relative-time, timer-inc-time): New optional arg psecs.
2014 (timer-set-time-with-usecs): Set psecs to 0.
2015 (timer--activate): Check psecs component, too.
2016
2017 * proced.el (proced-time-lessp): Support ps-resolution stamps.
2018
ac77b21a
SM
20192012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2020
f143bfe3
SM
2021 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2022 Move the non-essential binding to the post/pre-command-hook where it is
2023 more obviously correct.
2024
ac77b21a
SM
2025 * subr.el (read-passwd): Don't use a history at all.
2026 * savehist.el (savehist-save): Remove password saved accidentally
2027 because of the above bug.
2028
76386c5a
BG
20292012-06-22 Bastien Guerry <bzg@gnu.org>
2030
2031 * files.el (toggle-read-only): Display a message telling whether
2032 the buffer is read-only or not (bug#11726).
2033
2ee3d7f0
SM
20342012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2035
2036 * emacs-lisp/gv.el: New file.
2037 * subr.el (push, pop): Extend to generalized variables.
2038 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2039 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2040 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2041 gv-define-simple-setter, and gv-define-expander.
2042 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2043 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2044 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2045 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2046 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2047 gv-letplace.
2048 (cl-defstruct): Don't define setf-method any more.
2049 * emacs-lisp/cl.el (flet): Don't autoload.
2050 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2051 (define-setf-expander, defsetf, define-modify-macro)
2052 (cl-struct-setf-expander): Move from cl-lib.el.
2053 * emacs-lisp/syntax.el:
2054 * emacs-lisp/ewoc.el:
2055 * emacs-lisp/smie.el:
2056 * emacs-lisp/cconv.el:
2057 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2058 (timer--time): Use gv-define-simple-setter.
2059 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2060 to avoid coding-system problems in subr.el. Adjust all users.
2061 (macroexp--maxsize, macroexp-small-p): New functions.
2062 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2063 * scroll-bar.el (scroll-bar-mode):
2064 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2065 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2066 * winner.el (winner-configuration, winner-make-point-alist)
2067 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2068 * files.el (locate-file-completion-table): Avoid list*.
2069
c5695d1d
CY
20702012-06-22 Chong Yidong <cyd@gnu.org>
2071
2072 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2073 (dired-create-files): Doc fix (Bug#11329).
2074 (dired-do-copy): Doc fix (Bug#11334).
2075 (dired-mark-read-string): Doc fix (Bug#11553).
2076
2ee3d7f0
SM
2077 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2078 Doc fix (Bug#11326).
c5695d1d
CY
2079 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2080 (dired-dwim-target): Doc fix.
2081
2082 * wdired.el (wdired-mode): Doc fix.
2083
89b5595a
GM
20842012-06-22 Glenn Morris <rgm@gnu.org>
2085
575db3f1
GM
2086 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2087 (pcmpl-rpm-cache-stamp-file): New constant.
2088 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2089 (pcmpl-rpm-packages): Optionally cache list of packages.
2090
a4c8dd51
GM
2091 * pcmpl-rpm.el (pcmpl-rpm): New group.
2092 (pcmpl-rpm-query-options): New option.
2093 (pcmpl-rpm-packages): No need to inline it.
2094 Use pcmpl-rpm-query-options.
2095
89b5595a
GM
2096 * calendar/calendar.el (calendar-in-read-only-buffer):
2097 Avoid some needless mode changes.
2098
e76f0800
CY
20992012-06-21 Chong Yidong <cyd@gnu.org>
2100
2101 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2102 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 2103 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 2104
297a8f1d
CY
21052012-06-20 Chong Yidong <cyd@gnu.org>
2106
2107 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2108
d34c18b1
DR
21092012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2110
2111 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2112 (bug#11201).
2113
32f7f28e
CY
21142012-06-20 Chong Yidong <cyd@gnu.org>
2115
2116 * term.el (term-window-width): Handle the case of a missing right
2117 fringe (Bug#8837).
2118 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
2119 (term-mode): Use define-derived-mode. Minor cleanups.
2120 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
2121 (term-move-columns, term-insert-char, term-emulate-terminal)
2122 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 2123
493c6688
MA
21242012-06-20 Michael Albinus <michael.albinus@gmx.de>
2125
d34c18b1
DR
2126 * net/ange-ftp.el (ange-ftp-get-passwd):
2127 Bind `enable-recursive-minibuffers'.
493c6688
MA
2128 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2129
3f06ecf4
DR
21302012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2131
2132 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2133
68f12411
GM
21342012-06-19 Glenn Morris <rgm@gnu.org>
2135
2136 * progmodes/python.el (python-mode): Derive from prog-mode.
2137
b3820318
KG
21382012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2139
2140 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2141 (edt-user-menu-bar-update-buffers): New functions.
2142 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2143
c6bf3022
CY
21442012-06-19 Chong Yidong <cyd@gnu.org>
2145
2146 * subr.el (with-selected-window): Preserve the selected window's
2147 terminal's top-frame (Bug#4702).
2148
2149 * window.el (save-selected-window): Likewise.
2150
25f09295
SM
21512012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2152
2153 * progmodes/python.el (python-rx-constituents): Move backquote.
2154 (python-skeleton-define, python-define-auxiliary-skeleton):
2155 Use `declare'.
2156
6b11952a
MA
21572012-06-18 Michael Albinus <michael.albinus@gmx.de>
2158
2159 * minibuffer.el (read-file-name-default): Revert the patch from
2160 2012-06-17.
2161
ee4b1330
SM
21622012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2165 (pcase--u1, pcase--q1): Don't use apply-partially.
2166
35647f79
GM
21672012-06-18 Glenn Morris <rgm@gnu.org>
2168
2169 * progmodes/python.el (python-proc, python-buffer)
2170 (python-send-receive, python-send-string): Fix obsolete versions.
2171
24b0cff0
MR
21722012-06-18 Martin Rudalics <rudalics@gmx.at>
2173
2174 * window.el (special-display-p): Completely remove stringp
2175 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2176
29855149
MA
21772012-06-17 Michael Albinus <michael.albinus@gmx.de>
2178
2179 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2180
2181 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2182
2183 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2184 * net/tramp-sh.el (tramp-maybe-open-connection):
2185 Throw if `non-essential' is non-nil.
2186
07463363
MR
21872012-06-17 Martin Rudalics <rudalics@gmx.at>
2188
2189 * window.el (special-display-p): Signal an error if BUFFER-NAME
2190 is not a string (Bug#11713).
2191
48d1354e
PE
21922012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2193
2194 * progmodes/python.el (python-info-beginning-of-backslash):
2195 Rename from python-info-beginning-of-backlash, as a spelling fix.
2196
eb4a8a9a
CY
21972012-06-17 Chong Yidong <cyd@gnu.org>
2198
2199 * term.el (term-emulate-terminal): If term-check-size is called,
2200 move point to the process mark without resetting point (Bug#4635).
2201
ddfbf826 22022012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
2203
2204 * international/mule-cmds.el (mule-menu-keymap)
2205 (set-language-environment, set-locale-environment): Doc tweaks.
2206
9b0e3eba
AA
22072012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2208
2209 * cus-face.el (custom-face-attributes): Add wave-style underline
2210 attribute.
2211 * faces.el (set-face-attribute): Update docstring to describe
2212 wave-style underline attribute.
2213
771e3eae
CY
22142012-06-16 Chong Yidong <cyd@gnu.org>
2215
2216 * term/xterm.el (terminal-init-xterm): Discard input before
2217 querying background mode (Bug#10959).
2218
7ae2ea10
SM
22192012-06-16 Stefan Merten <smerten@oekonux.de>
2220
2221 * textmodes/rst.el: Added and corrected some comments.
2222 (rst-re-alist-def): Improve symbol syntax.
2223 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
2224 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2225 (rst-official-version, rst-official-cvs-rev): Update version
2226 information.
7ae2ea10 2227
b6974efa
JB
22282012-06-15 Juanma Barranquero <lekktu@gmail.com>
2229
2230 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2231 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2232
8826d473
GM
22332012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2234
2235 * progmodes/python.el: New python.el merge.
2236 (python-guess-indent): Obsolete var.
2237 (python-indent-guess-indent-offset): New defcustom.
2238 (python-indent): Obsolete var.
2239 (python-indent-offset): New defcustom.
2240 (python-python-command, python-jython-command): Delete var.
2241 (python-shell-interpreter): New defcustom.
2242 (python-pdbtrack-do-tracking-p): Delete var.
2243 (python-pdbtrack-activate): New defcustom.
2244 (python-use-skeletons): Obsolete var.
2245 (python-skeleton-autoinsert): New defcustom.
2246 (inferior-python-filter-regexp, python-continuation-offset)
2247 (python-honour-comment-indentation, python-indent-string-contents)
2248 (python-jython-packages, python-mode-hook)
2249 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2250 (python-shell-prompt-alist)
2251 (python-source-modes): Delete defcustoms.
2252 (python-check-buffer-name, python-eldoc-setup-code)
2253 (python-eldoc-string-code, python-ffap-setup-code)
2254 (python-ffap-string-code, python-fill-comment-function)
2255 (python-fill-decorator-function, python-fill-paren-function)
2256 (python-fill-string-function, python-imenu-include-defun-type)
2257 (python-imenu-make-tree, python-imenu-subtree-root-label)
2258 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2259 (python-shell-compilation-regexp-alist)
2260 (python-shell-completion-module-string-code)
2261 (python-shell-completion-pdb-string-code)
2262 (python-shell-completion-setup-code)
2263 (python-shell-completion-string-code)
2264 (python-shell-enable-font-lock, python-shell-exec-path)
2265 (python-shell-extra-pythonpaths)
2266 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2267 (python-shell-process-environment)
2268 (python-shell-prompt-block-regexp)
2269 (python-shell-prompt-output-regexp)
2270 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2271 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2272 (python-shell-virtualenv-path): New defcustoms.
2273 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2274 (inferior-python-mode-syntax-table, python--prompt-regexp)
2275 (python-buffer, python-command python-python-command)
2276 (python-default-template, python-imports, python-indent-index)
2277 (python-indent-list, python-indent-list-length)
2278 (python-mode-running, python-pdbtrack-is-tracking-p)
2279 (python-preoutput-continuation, python-preoutput-leftover)
2280 (python-preoutput-result, python-preoutput-skip-next-prompt)
2281 (python-prev-dir/file, python-recursing)
2282 (python-saved-check-command, python-version-checked)
2283 (python-which-func-length-limit)
2284 (view-return-to-alist): Delete vars.
2285 (python-check-custom-command, python-dotty-syntax-table)
2286 (python-imenu-index-alist, python-indent-current-level)
2287 (python-indent-dedenters, python-indent-levels)
2288 (python-nav-beginning-of-defun-regexp)
2289 (python-nav-list-defun-positions-cache)
2290 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2291 (python-shell-internal-buffer)
2292 (python-skeleton-available): New vars.
2293 (def-python-skeleton): Delete macro.
2294 (python-skeleton-define): New macro.
2295 (python-define-auxiliary-skeleton, python-rx): New macros.
2296 (python-insert-class): Delete command.
2297 (python-skeleton-class): New command.
2298 (python-insert-def): Delete command.
2299 (python-skeleton-def): New command.
2300 (python-insert-for): Delete command.
2301 (python-skeleton-for): New command.
2302 (python-insert-if): Delete command.
2303 (python-skeleton-if): New command.
2304 (python-insert-try/except, python-insert-try/finally): Delete commands.
2305 (python-skeleton-try): New command.
2306 (python-insert-while): Delete command.
2307 (python-skeleton-while): New command.
2308 (python-backspace): Delete command.
2309 (python-indent-dedent-line-backspace): New command.
2310 (python-electric-colon): Delete command.
2311 (python-indent-electric-colon): New command.
2312 (python-guess-indent): Delete command.
2313 (python-indent-guess-indent-offset): New command.
2314 (python-shift-left): Delete command.
2315 (python-indent-shift-left): New command.
2316 (python-shift-right): Delete command.
2317 (python-indent-shift-right): New command.
2318 (python-find-function): Delete command.
2319 (python-nav-jump-to-defun): New command.
2320 (python-next-statement): Delete command.
2321 (python-nav-forward-sentence): New command.
2322 (python-previous-statement): Delete command.
2323 (python-nav-backward-sentence): New command.
2324 (python-fill-paragraph): Delete command.
2325 (python-fill-paragraph-function): New command.
2326 (python-send-buffer): Delete command.
2327 (python-shell-send-buffer): New command.
2328 (python-send-defun): Delete command.
2329 (python-shell-send-defun): New command.
2330 (python-send-region, python-send-region-and-go): Delete commands.
2331 (python-shell-send-region)
2332 (python-shell-switch-to-shell): New commands.
2333 (python-send-string): Delete command.
2334 (python-shell-send-string): New command.
2335 (python-switch-to-python): Delete command.
2336 (python-shell-switch-to-shell): New command.
2337 (python-describe-symbol): Delete command.
2338 (python-eldoc-at-point): New command.
2339 (python--set-prompt-regexp, python-args-to-list)
2340 (python-after-info-look, python-check-version)
2341 (python-check-comint-prompt, python-find-imports)
2342 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2343 (python-unload-function, python-expand-template)
2344 (python-maybe-jython, python-preoutput-filter)
2345 (python-pdbtrack-get-source-buffer)
2346 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2347 (python-pdbtrack-toggle-stack-tracking)
2348 (python-pdbtrack-track-stack-file, python-initial-text)
2349 (python-first-word, python-comment-line-p, python-send-command)
2350 (python-setup-brm, python-sentinel, python-set-proc)
2351 (python-skip-out, python-input-filter, python-outdent-p)
2352 (python-outline-level, python-backslash-continuation-line-p)
2353 (python-end-of-block, python-end-of-statement, python-mark-block)
2354 (python-beginning-of-block, python-beginning-of-statement)
2355 (python-blank-line-p, python-beginning-of-string)
2356 (python-open-block-statement-p): Delete functions.
2357 (python-indent-line, python-indent-line-1): Delete functions.
2358 (python-indent-line): New function.
2359 (python-indentation-levels): Delete function.
2360 (python-indent-calculate-levels): New function.
2361 (python-proc): Delete function.
2362 (python-shell-get-process): New function.
2363 (python-send-receive): Delete function.
2364 (python-shell-send-string-no-output): New function.
2365 (python-module-path): Delete function.
2366 (python-ffap-module-path): New function.
2367 (python-completion-at-point)
2368 (python-symbol-completions): Delete functions.
2369 (python-completion-complete-at-point): New function.
2370 (python-load-file): Delete function.
2371 (python-shell-send-file): New function.
2372 (python-calculate-indentation): Delete function.
2373 (python-indent-calculate-indentation): New function.
2374 (python-skip-comments/blanks): Delete function.
2375 (python-util-forward-comment): New function.
2376 (python-continuation-line-p): Delete function.
2377 (python-info-continuation-line-p): New function.
2378 (python-which-func, python-current-defun): Delete function.
2379 (python-info-current-defun): New function.
2380 (python-beginning-of-defun): Delete function.
2381 (python-nav-beginning-of-defun): New function.
2382 (python-close-block-statement-p)
2383 (python-block-end-p): Delete function.
2384 (python-info-closing-block): New function.
2385 (python-comint-output-filter-function)
2386 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2387 (python-fill-comment, python-fill-decorator, python-fill-paren)
2388 (python-fill-string, python-imenu-make-element-tree)
2389 (python-imenu-make-tree, python-imenu-tree-assoc)
2390 (python-indent-context, python-indent-dedent-line)
2391 (python-indent-line-function)
2392 (python-indent-post-self-insert-function)
2393 (python-indent-toggle-levels)
2394 (python-info-assignment-continuation-line-p)
2395 (python-info-beginning-of-backlash)
2396 (python-info-block-continuation-line-p)
2397 (python-info-closing-block-message)
2398 (python-info-line-ends-backslash-p)
2399 (python-info-looking-at-beginning-of-defun)
2400 (python-info-ppss-context, python-info-ppss-context-type)
2401 (python-nav-list-defun-positions, python-nav-read-defun)
2402 (python-nav-sentence-end, python-nav-sentence-start)
2403 (python-pdbtrack-comint-output-filter-function)
2404 (python-pdbtrack-set-tracked-buffer)
2405 (python-shell-calculate-exec-path)
2406 (python-shell-calculate-process-environment)
2407 (python-shell-completion--do-completion-at-point)
2408 (python-shell-completion--get-completions)
2409 (python-shell-completion-complete-at-point)
2410 (python-shell-completion-complete-or-indent)
2411 (python-shell-get-or-create-process)
2412 (python-shell-get-process-name)
2413 (python-shell-internal-get-or-create-process)
2414 (python-shell-internal-get-process-name)
2415 (python-shell-internal-send-string, python-shell-make-comint)
2416 (python-shell-parse-command, python-shell-send-setup-code)
2417 (python-skeleton-add-menu-items)
2418 (python-util-clone-local-variables, python-util-position)
2419 (run-python-internal, python-indentation-levels)
2420 (python-nav-beginning-of-defun)
2421 (python-completion-complete-at-point): New functions.
2422 (run-python): Change arguments. New API requirements.
2423
4302f5ba
SM
24242012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2425
f38ea36d
SM
2426 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2427 (bug#11649).
2428
2429 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2430 (macroexp--expand-all): Use it.
2431
4302f5ba
SM
2432 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2433 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2434 Use `cl-function' instead.
2435
33377562
JB
24362012-06-14 Juanma Barranquero <lekktu@gmail.com>
2437
2438 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2439 Suggested by Stefan Monnier while discussing bug#11657.
2440
54c5ba1a
SS
24412012-06-14 Sam Steingold <sds@gnu.org>
2442
2443 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2444
f9f1b1fe
AS
24452012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2446
2447 * play/doctor.el (doctor-doc): Remove parameter and use
2448 doctor-sent instead of sent.
2449 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2450
a81068ba
SM
24512012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2452
5a315f9c
SM
2453 * files.el: Require cl-lib.
2454 (file-name-non-special): Replace case -> cl-case.
2455
2456 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2457
a81068ba
SM
2458 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2459 mapping from #' to function*.
2460
8cca9703
CY
24612012-06-13 Chong Yidong <cyd@gnu.org>
2462
2463 * mouse.el (mouse-drag-track): Do not set the mark if the user
2464 releases the mouse without selecting anything (Bug#11588).
2465
a12ac9d7
SM
24662012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2467
ccf1dc18
SM
2468 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2469 as well (bug#11646).
2470
ef62b23d
SM
2471 * loadup.el: Count byte-code functions as well.
2472
c4c8444a
SM
2473 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2474 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2475
a12ac9d7
SM
2476 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2477 (bug#11649). Add cl-defun and cl-defmacro.
2478
87e6e64f
DA
24792012-06-13 Drew Adams <drew.adams@oracle.com>
2480
2481 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2482 Fix last change.
2483
682cefaf
MA
24842012-06-13 Michael Albinus <michael.albinus@gmx.de>
2485
2486 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2487 Otherwise, it blocks in batch mode.
2488
773e1f08
JB
24892012-06-13 Juanma Barranquero <lekktu@gmail.com>
2490
2491 * help-mode.el (bookmark-make-record-default): Declare.
2492
60057926
CY
24932012-06-13 Chong Yidong <cyd@gnu.org>
2494
2495 * emacs-lisp/package.el (list-packages): Compute a list of
2496 packages that are newly-available since the last list-packages
2497 invocation.
2498 (package-menu--new-package-list): New var.
2499 (package-menu--generate, package-menu--print-info)
2500 (package-menu--status-predicate, package-menu-mark-install):
2501 Handle new status label "new".
2502
ad4d226c
SM
25032012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2504
2505 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2506 conversion to backquotes.
2507
f1a4e679
CY
25082012-06-12 Chong Yidong <cyd@gnu.org>
2509
2510 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2511 Rename from gud-inhibit-global-bindings.
2512
2513 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2514
2515 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2516 hook from nxml-glyph-set-hook.
2517
2518 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2519 declaration.
2520
2521 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2522
2523 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2524 Convert to defcustom.
2525
0c9e42b5
DA
25262012-06-12 Drew Adams <drew.adams@oracle.com>
2527
2528 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2529 New functions.
2530 (help-mode): Use them.
2531
09e06855
GM
25322012-06-11 Glenn Morris <rgm@gnu.org>
2533
2534 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2535 Use preprocessor face for directives.
2536 (fortran-directive-re): Doc fix.
2537
71adb94b
SM
25382012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2539
2eb87922
SM
2540 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2541 conversion to backquotes (bug#11652).
2542
71adb94b
SM
2543 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2544 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2545 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2546 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2547 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2548 (cl-ninth, cl-tenth): Mark them as inlinable.
2549 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2550 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2551 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2552 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2553 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2554 (cl-list*, cl-adjoin): Don't put an autoload manually.
2555 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2556 (cl--compiler-macro-list*): Add autoload cookie.
2557 (cl--compiler-macro-cXXr): New function.
2eb87922 2558
71adb94b
SM
2559 * help-fns.el (help-fns--compiler-macro): New function extracted from
2560 describe-function-1; follow aliases and use `compiler-macro' property.
2561 (describe-function-1): Use it.
2562
a6674402
CY
25632012-06-11 Chong Yidong <cyd@gnu.org>
2564
2565 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2566 is uninstalled, if imagemagick is installed.
2567
bb3faf5b
SM
25682012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2569
2570 * emacs-lisp/cl-lib.el: Use lexical-binding.
2571 (cl-map-extents, cl-maclisp-member): Remove.
2572 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2573 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2574 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2575 * emacs-lisp/cl-extra.el: Use lexical-binding.
2576 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2577 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2578 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2579 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2580 * emacs-lisp/cl-seq.el: Use lexical-binding.
2581 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2582 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2583 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2584 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2585 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2586 CL's internals.
2587
2fe4b125
MA
25882012-06-11 Michael Albinus <michael.albinus@gmx.de>
2589
2590 Sync with Tramp 2.2.6-pre.
2591
2592 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2593 `print-length' and `print-level' to nil, in order to avoid
2594 truncation. Reported by Christopher Schmidt
2595 <christopher@ristopher.com>.
2596
2597 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2598
2599 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2600 New defmacro.
2601 (tramp-compat-copy-directory): Add optional argument
2602 COPY-CONTENTS. It is not handled yet.
2603
2604 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2605 (tramp-ftp-file-name-p): Simplify.
2606
2607 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2608 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2609 connection vector.
2610
2611 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2612 (tramp-methods): Do not use `tramp-password-end-of-line'.
2613 (tramp-completion-function-alist-putty): Handle UNIX case.
2614 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2615 (tramp-do-file-attributes-with-stat)
2616 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2617 gid as real numbers. They could run out of integer range on cygwin.
2618 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2619 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2620 (tramp-open-connection-setup-interactive-shell):
2621 Use `tramp-cleanup'. Move check for busyboxes ...
2622 (tramp-find-shell): ... here. Simplify implementation.
2623 Set "remote-shell" property also for alternative shells.
2624 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2625 If failing, a regular file would be written otherwise.
2626 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2627 (tramp-find-inline-encoding): Cache the coding commands in the
2628 process cache. Apply test command on the remote side, if defined.
2629 (tramp-find-inline-compress): Cache the compress commands in the
2630 process cache.
2631 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2632 when requested. Handle hops.
2633 (tramp-current-connection): New defvar.
87e6e64f
DA
2634 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2635 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2636 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2637 (tramp-get-inline-compress, tramp-get-inline-coding):
2638 Read connection properties from the process cache.
2fe4b125
MA
2639
2640 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2641 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2642 New defconsts.
2fe4b125
MA
2643 (tramp-smb-prompt): Extend for powershell prompt.
2644 (tramp-smb-file-name-handler-alist): Add handlers for
2645 `process-file', `shell-command' and `start-file-process'.
2646 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2647 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2648 (tramp-smb-file-name-p): Simplify.
2649 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2650 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2651 (tramp-smb-shell-quote-argument): New defuns.
2652 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2653 Implement using "tar". By this, time-stamps are preserved.
2654 (tramp-smb-handle-copy-file): Handle also the case of directories.
2655 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2656 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2657 Use `tramp-get-connection-buffer').
2fe4b125
MA
2658 (tramp-smb-handle-rename-file): Use "rename", when source and
2659 target are on the same share.
87e6e64f
DA
2660 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2661 Use `tramp-smb-server-version'.
2fe4b125
MA
2662 (tramp-smb-wait-for-output): Remove prompt.
2663
2664 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2665 (tramp-methods, tramp-rsh-end-of-line):
2666 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2667 (tramp-save-ad-hoc-proxies): New defcustom.
2668 (tramp-completion-function-alist): Adapt docstring.
2669 (tramp-default-password-end-of-line): Remove defcustom.
2670 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2671 (tramp-user-regexp, tramp-file-name-regexp-unified)
2672 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2673 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2674 (tramp-remote-file-name-spec-regexp): New defconst.
2675 (tramp-file-name-structure): Extend structure for hops.
2676 (tramp-get-method-parameter): Move up.
2677 (tramp-file-name-p, tramp-dissect-file-name)
2678 (with-parsed-tramp-file-name): Handle hops.
2679 (tramp-file-name-hop): New defun.
2680 (tramp-make-tramp-file-name): New optional arg HOP.
2681 (tramp-message-show-progress-reporter-message): New defvar.
2682 (tramp-with-progress-reporter): Use it. We cannot use
2683 `tramp-message-show-message' here, because this suppresses also
2684 error buffers.
2685 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2686 `tramp-message-show-message' is nil.
2687 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2688 (tramp-cleanup): New defun.
2689 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2690 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2691 an error unchanged.
2692 (tramp-completion-handle-file-name-all-completions): Handle hops.
2693 Fix an error when called from ido.
2694 (tramp-completion-dissect-file-name): Use better local variable
2695 name. Add hop to the vector.
2696 (tramp-handle-insert-file-contents): Use progress-reporter for the
2697 whole scenario.
2698 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2699 to `t'.
2700 (tramp-check-for-regexp): Simplify search.
2701 (tramp-enter-password): Remove it. Move implementation ...
2702 (tramp-action-password): ... here.
2703 (tramp-mode-string-to-int, tramp-local-host-p)
2704 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2705 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2706 Set tramp-autoload cookie.
2fe4b125
MA
2707
2708 * net/trampver.el: Update release number.
2709
27102012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2711 Michael Albinus <michael.albinus@gmx.de>
2712
2713 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2714 (tramp-parse-group, tramp-parse-file)
2715 (tramp-parse-shostkeys-sknownhosts): New defuns.
2716 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2717 (tramp-parse-shosts-group, tramp-parse-sconfig)
2718 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2719 (tramp-parse-sknownhosts, tramp-parse-hosts)
2720 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2721 Use them.
2722 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2723 (tramp-parse-putty-group): Don't narrow.
2724 (tramp-parse-putty): Make a loop.
2725 (tramp-file-name-handler): Catch the `suppress' signal.
2726
72834e10
CY
27272012-06-11 Chong Yidong <cyd@gnu.org>
2728
2729 * image.el (imagemagick-register-types): Put the ImageMagick entry
2730 at the end of image-type-file-name-regexps.
2731
a4712e11
JB
27322012-06-11 Johan Bockgård <bojohan@gnu.org>
2733
2734 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2735 (pcase, pcase-let*, pcase-dolist): Use them.
2736
82ad98e3
SM
27372012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2738
2739 * emacs-lisp/pcase.el (pcase--let*): New function.
2740 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2741 (pcase--expand): Use macroexp-let².
2742
f80efb86
SM
27432012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2744
2745 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2746 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2747 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2748 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2749 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2750 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2751
31ca4639 27522012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2753
31ca4639
CY
2754 * mail/rmail.el (rmail-yank-current-message): Leave point at
2755 correct position. (Bug#11660)
94f0aa34 2756
31ca4639 27572012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2758
31ca4639 2759 * allout-widgets.el: Fix code header.
9e1b8ec4 2760
31ca4639 27612012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2762
f80efb86
SM
2763 * cus-edit.el (customize-changed-options-previous-release):
2764 Bump to 24.1.
31ca4639 2765
642b6d30
AS
27662012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2767
2768 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2769
4f5d2ba1
CY
27702012-06-09 Chong Yidong <cyd@gnu.org>
2771
2772 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2773
e75852fd
MR
27742012-06-09 Martin Rudalics <rudalics@gmx.at>
2775
2776 * window.el (special-display-popup-frame): Don't use
2777 window--display-buffer (Bug#11651).
2778
1e48e282
EZ
27792012-06-09 Eli Zaretskii <eliz@gnu.org>
2780
8a26b487
EZ
2781 Fix parallel builds: make sure loaddefs.el is not being written
2782 while Lisp files are compiled.
2783 (compile): Don't depend on 'mh-autoloads'.
2784 (compile-CMD, compile-SH): Depend on 'autoloads'.
2785 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2786
1e48e282
EZ
2787 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2788
6175e34b
CY
27892012-06-09 Chong Yidong <cyd@gnu.org>
2790
2791 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2792 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2793 Doc fixes (Bug#11225).
2794
d9857e53
SM
27952012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2796
2797 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2798 a function if there's a clear indication that it has a compiler-macro.
2799 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2800 (macro-declarations-alist): Add arglist to declaration functions.
2801 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2802 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2803 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2804 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2805 Also add autoload to find the compiler macro.
2806 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2807 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2808 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2809 (cl--compiler-macro-get): New functions, replacing calls to
2810 cl-define-compiler-macro.
2811 (cl-typep) [compiler-macro]: Use macroexp-let².
2812
f81298f8 28132012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2814
2815 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2816 string properly, fixes Bug#11473.
2817
4b56d0fe
CY
28182012-06-08 Chong Yidong <cyd@gnu.org>
2819
2820 * faces.el (set-face-attribute): Doc fix.
2821 (modify-face): Don't use :bold and :italic.
2822 (error, warning, success): Tweak definitions.
2823
2824 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2825 (custom-modified, custom-set, custom-changed, custom-themed)
2826 (custom-saved, custom-button, custom-button-mouse)
2827 (custom-button-pressed, custom-state, custom-comment-tag)
2828 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2829 (custom-group-subtitle): Use new-style face specs.
2830 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2831 (custom-set-face, custom-changed-face, custom-saved-face)
2832 (custom-button-face, custom-button-pressed-face)
2833 (custom-documentation-face, custom-state-face)
2834 (custom-comment-face, custom-comment-tag-face)
2835 (custom-variable-tag-face, custom-variable-button-face)
2836 (custom-face-tag-face, custom-group-tag-face-1)
2837 (custom-group-tag-face): Remove obsolete face alias.
2838
2839 * epa.el (epa-validity-high, epa-validity-medium)
2840 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2841 (epa-field-name, epa-field-body):
2842 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2843 (font-lock-keyword-face, font-lock-builtin-face)
2844 (font-lock-function-name-face, font-lock-variable-name-face)
2845 (font-lock-type-face, font-lock-constant-face):
2846 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2847 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2848 * speedbar.el (speedbar-button-face, speedbar-file-face)
2849 (speedbar-directory-face, speedbar-tag-face)
2850 (speedbar-selected-face, speedbar-highlight-face)
2851 (speedbar-separator-face):
2852 * whitespace.el (whitespace-newline, whitespace-space)
2853 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2854 (whitespace-line, whitespace-space-before-tab)
2855 (whitespace-space-after-tab, whitespace-indentation)
2856 (whitespace-empty):
2857 * emulation/cua-base.el (cua-global-mark):
2858 * eshell/em-prompt.el (eshell-prompt):
2859 * net/newst-plainview.el (newsticker-new-item-face)
2860 (newsticker-old-item-face, newsticker-immortal-item-face)
2861 (newsticker-obsolete-item-face, newsticker-date-face)
2862 (newsticker-statistics-face, newsticker-default-face):
2863 * net/newst-reader.el (newsticker-feed-face)
2864 (newsticker-extra-face, newsticker-enclosure-face):
2865 * net/newst-treeview.el (newsticker-treeview-face)
2866 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2867 (newsticker-treeview-immortal-face)
2868 (newsticker-treeview-obsolete-face)
2869 (newsticker-treeview-selection-face):
2870 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2871 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2872 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2873 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2874 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2875 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2876 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2877 (mpuz-text):
2878 * progmodes/vera-mode.el (vera-font-lock-number)
2879 (vera-font-lock-function, vera-font-lock-interface):
2880 * textmodes/table.el (table-cell): Use new-style face specs, and
2881 don't use the old :bold and :italic attributes.
2882
2883 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2884 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2885 (ebrowse-member-class, ebrowse-progress): Likewise.
2886 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2887 (ebrowse-file-name-face, ebrowse-default-face)
2888 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2889 (ebrowse-progress-face): Remove obsolete faces.
2890
2891 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2892 Inherit from error and warning faces respectively.
2893
2894 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2895 Likewise.
f80efb86
SM
2896 (flyspell-incorrect-face, flyspell-duplicate-face):
2897 Remove obsolete aliases.
4b56d0fe 2898
03310646
MA
28992012-06-08 Michael Albinus <michael.albinus@gmx.de>
2900
2901 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2902 Avoid infloop.
2903
513749ee
SM
29042012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2905
2906 * startup.el (argv, argi): Make lexically scoped.
2907 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2908 * emacs-lisp/cl-macs.el: Use lexical-binding.
2909 Rename cl-bind-* to cl--bind-*.
2910 * files.el: Don't require `cl' since it doesn't use it.
2911 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2912
595ef4ad
JB
29132012-06-08 Juanma Barranquero <lekktu@gmail.com>
2914
2915 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2916 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2917 instead of calling external sort utility.
2918 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2919
e9f66fcb
EZ
29202012-06-08 Eli Zaretskii <eliz@gnu.org>
2921
2922 * descr-text.el (describe-char): Mention how to insert the
2923 character, if the current input method doesn't support it.
2924 See the discussion in this thread for the details:
2925 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2926
3d10db47
SS
29272012-06-08 Sam Steingold <sds@gnu.org>
2928
2929 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2930 XF86Back to previous-buffer.
2931 (minibuffer-local-map): Bind them to next-history-element and
2932 previous-history-element respectively.
2933 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2934 help-go-back respectively.
2935 * info.el (Info-mode-map): Bind them to Info-history-forward and
2936 Info-history-back respectively.
2937 These are the keys next to Up on the ThinkPad keyboard.
2938
de7e2b36
SM
29392012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2940
2941 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2942 * emacs-lisp/cl-macs.el: Provide itself.
2943 (cl--labels-convert-cache): New var.
2944 (cl--labels-convert): New function.
2945 (cl-flet, cl-labels): New implementation with new semantics, relying on
2946 lexical-binding.
2947 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2948 (cl-closure-vars, cl--function-convert-cache)
2949 (cl--function-convert): Move from cl-macs.el.
2950 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2951 rename by removing the "cl-" prefix.
2952 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2953
6fa6c4ae
SM
29542012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2955
2956 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2957 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2958 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2959 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2960 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2961 (cl-hash-table-count): Add old compatibility aliases.
2962
2963 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2964 Use macroexpand-all-environment instead.
2965 (cl--old-macroexpand): New var.
2966 (cl--sm-macroexpand): New function.
2967 (cl-symbol-macrolet): Use it during macro expansion.
2968 (cl--function-convert-cache): New var.
2969 (cl--function-convert): New function, extracted from
2970 cl-macroexpand-all.
2971 (cl-lexical-let): Use it.
2972
2973 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2974 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2975 (cl-member): Remove old alias.
2976
2977 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2978 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2979 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2980 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2981 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2982 (cl-macroexpand-cmacs): Remove var.
2983 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2984 Use macroexpand-all instead.
2985
4dd1c416
SM
29862012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2987
2988 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2989 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2990 (macroexp-copyable-p): New functions and macros.
2991 * emacs-lisp/edebug.el (edebug-unwrap):
2992 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2993 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2994 (pcase--let*): Remove.
2995 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2996 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2997 macroexp-const-p instead.
2998 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2999
3000 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3001 instead of "cl-" for internal definitions. Use macroexp-const-p.
3002 (cl-old-bc-file-form): Remove var.
3003 (cl-const-exprs-p): Remove fun.
3004 (cl-labels, cl-macrolet): Use backquote.
3005 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
3006 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3007 (cl-define-setf-expander): Rename from cl-define-setf-method.
3008 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3009
3010 * international/mule-cmds.el: Don't require CL.
3011 (view-hello-file): Don't use `letf'.
3012
ed8bd4d7
SM
30132012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
3014
7287f2f3
SM
3015 * tmm.el (tmm-prompt): Use string-prefix-p.
3016 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3017 (tmm-add-prompt): Use minibuffer-completion-help.
3018 (tmm-delete-map): Remove.
3019
ed8bd4d7
SM
3020 * subr.el (kbd): Make it its own function.
3021
7b4cdbf4
SM
30222012-06-07 Stefan Merten <smerten@oekonux.de>
3023
3024 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3025 Silence compiler warnings. Fix versions.
ed8bd4d7 3026 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 3027 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 3028 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
3029 (rst-package-emacs-version-alist): Correct Emacs version to
3030 represent major merge with upstream.
ed8bd4d7 3031 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 3032
2b48d721
GM
30332012-06-06 Glenn Morris <rgm@gnu.org>
3034
3035 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3036 Only print environment variables if set.
3037
fa779ab0
SM
30382012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3039
3040 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3041 (macroexp--cons): Rename from maybe-cons.
3042 (macroexp--accumulate): Rename from macroexp-accumulate.
3043 (macroexp--all-forms): Rename from macroexpand-all-forms.
3044 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3045 (macroexp--expand-all): Rename from macroexpand-all-1.
3046
628299e0
SS
30472012-06-06 Sam Steingold <sds@gnu.org>
3048
3049 * calendar/calendar.el (calendar-in-read-only-buffer):
3050 Call `special-mode' to enable the standard read-only keybindings.
3051
b7bb5838
SM
30522012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3053
3054 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3055 with "loading" messages (bug#11635).
3056
dfb308ba
MA
30572012-06-06 Michael Albinus <michael.albinus@gmx.de>
3058
3059 * files.el (enable-remote-dir-locals): New option.
3060 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3061
0372ee92
MA
3062 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3063 Ensure, that the temp directory is local.
3064
3065 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3066 `temporary-file-directory'.
3067
eed0bb91
MA
3068 * progmodes/python.el (python-send-region): Ensure, that the
3069 temporary file is created also in the remote case.
3070
7a58f64d
GM
30712012-06-06 Glenn Morris <rgm@gnu.org>
3072
f7dd4e98
GM
3073 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3074 (vc-rcs-update-changelog): Use it.
3075
090bd7cb 3076 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 3077
7a58f64d
GM
3078 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3079 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3080 (vc-sccs-diff): Replace use of the external vcdiff script.
3081
daed4003
GM
30822012-06-05 Glenn Morris <rgm@gnu.org>
3083
3084 * ledit.el: Move to obsolete/.
3085
48c455c7
SS
30862012-06-05 Sam Steingold <sds@gnu.org>
3087
ed9265fc 3088 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
3089 patch (Bug#11140).
3090
57a7d507
SM
30912012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3092
090bd7cb 3093 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 3094
53aacf21
SM
3095 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3096 compiler-macro expansion.
3097
57a7d507
SM
3098 Add native compiler-macro support.
3099 * emacs-lisp/macroexp.el (macroexpand-all-1):
3100 Support compiler-macros directly. Properly follow aliases and apply
3101 the compiler macros more thoroughly.
3102 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3103 macroexpand now properly follows aliases.
3104 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3105 (cl-compiler-macroexpand): Use new prop.
3106 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3107
3108 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3109
51a5f9d8
MR
31102012-06-05 Martin Rudalics <rudalics@gmx.at>
3111
3112 * window.el (get-lru-window, get-mru-window, get-largest-window):
3113 New argument NOT-SELECTED to avoid picking the selected window.
3114 (window--display-buffer-1, window--display-buffer-2): Replace by
3115 new function window--display-buffer
3116 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
3117 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3118 Use window--display-buffer.
51a5f9d8
MR
3119 (display-buffer-use-some-window): Remove temporary dedication
3120 hack by calling get-lru-window and get-largest-window with
3121 NOT-SELECTED argument non-nil. Call window--display-buffer.
3122
08f9f738
GM
31232012-06-05 Glenn Morris <rgm@gnu.org>
3124
3125 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3126 Replace external vcdiff script.
3127
e364a2b7
SM
31282012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3129
3130 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3131
041df390
CY
31322012-06-04 Chong Yidong <cyd@gnu.org>
3133
e364a2b7
SM
3134 * image.el (imagemagick-types-inhibit): Revert last change.
3135 Add INFO and M.
47b36b94 3136 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 3137
7c1898a7
SM
31382012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3139
3140 * emacs-lisp/cl-lib.el: Rename from cl.el.
3141 * emacs-lisp/cl.el: New compatibility file.
3142 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3143 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3144 to obey the "cl-" prefix.
3145 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3146
0c3461de
GM
31472012-06-03 Glenn Morris <rgm@gnu.org>
3148
1e266c88
GM
3149 * emacs-lisp/authors.el (authors-aliases): Addition.
3150
0c3461de
GM
3151 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3152 Fix :version.
3153
d8a52e15
SM
31542012-06-03 Stefan Merten <smerten@oekonux.de>
3155
3156 * textmodes/rst.el: Add comments.
3157 (rst-transition, rst-adornment): New faces.
3158 (rst-adornment-faces-alist): Make default safe to reevaluate.
3159 Fixes
3160 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3161 Improve customization tags.
3162 (rst-define-level-faces): Clarify meaning.
3163
5205d6f6
CY
31642012-06-03 Chong Yidong <cyd@gnu.org>
3165
3166 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
3167 (compilation-mode-line-run, compilation-mode-line-exit):
3168 New faces.
5205d6f6
CY
3169 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3170
757ee657
JD
31712012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3172
7c1898a7
SM
3173 * progmodes/which-func.el (which-func-update-ediff-windows):
3174 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 3175
5f2c76c6
CY
31762012-06-03 Chong Yidong <cyd@gnu.org>
3177
3178 * bindings.el: Remove explicit help text from format-mode-line.
3179 It is now supplied by mode-line-default-help-echo.
3180 (mode-line-front-space, mode-line-end-spaces)
3181 (mode-line-misc-info): New variables.
3182 (mode-line-modes, mode-line-position): Move the default value to
3183 the variable definition.
3184 (mode-line-default-help-echo): New defcustom.
383f7350
CY
3185 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3186 (mode-line-modified-help-echo): New functions.
3187 (mode-line-mule-info, mode-line-modified): Use them.
3188 (mode-line-eol-desc, propertized-buffer-identification):
3189 Consistency fixes for help text.
cbe46e5f
CY
3190 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3191 set-buffer-file-coding-system (Bug#289).
3192 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 3193
f2d6a3df
SM
31942012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3195
3196 * simple.el (execute-extended-command): Set real-this-command
3197 (bug#11506).
3198
37269466
CY
31992012-06-02 Chong Yidong <cyd@gnu.org>
3200
3201 Remove incorrect uses of "modeline" in comments, docstrings, and
3202 function/variable names (Bug#10329).
3203
3204 * cus-edit.el (mode-line):
3205 * dframe.el (dframe-mouse-hscroll):
3206 * emacs-lisp/re-builder.el:
3207 * emacs-lisp/easy-mmode.el (define-minor-mode):
3208 * frame.el (set-frame-name):
3209 * help.el (lookup-minor-mode-from-indicator):
3210 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3211 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3212 (c-toggle-hungry-state):
3213 * progmodes/antlr-mode.el (antlr-language-alist):
3214 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3215 * progmodes/vhdl-mode.el (vhdl-mode):
3216 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3217 * term/ns-win.el (ns-face-at-pos):
3218 * term/sup-mouse.el (sup-mouse-report):
3219 * textmodes/flyspell.el (flyspell-mode-line-string):
3220 * textmodes/ispell.el (ispell-highlight-face):
3221 * textmodes/reftex-global.el:
3222 * vc/vc-arch.el (vc-arch-mode-line-string):
3223 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3224 * vc/vc-git.el (vc-git-mode-line-string):
3225 * vc/vc-hooks.el (vc-display-status)
3226 (vc-default-mode-line-string):
3227 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3228
3229 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3230
3231 * dired.el (dired-sort-set-mode-line): Rename from
3232 dired-sort-set-modeline. All callers changed.
3233
3234 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3235 eshell-status-in-modeline.
3236
3237 * foldout.el (foldout-mode-line-string): Rename from
3238 foldout-modeline-string. All callers changed.
3239 (foldout-update-mode-line): Rename from foldout-update-modeline.
3240
3241 * subr.el (redraw-modeline): Make into obsolete alias.
3242
3243 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3244 timeclock-modeline-display. Make old name an alias.
3245 (timeclock-update-mode-line): Likewise. All callers changed.
3246 (timeclock-mode-line-display): No need to check before using
3247 add-hook.
3248 (timeclock-relative, timeclock-day-over-hook)
3249 (timeclock-use-elapsed, timeclock-mode-string)
3250 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3251
3252 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3253 crisp-mode-modeline-string.
3254
3255 * play/solitaire.el (solitaire-build-mode-line): Rename from
3256 solitaire-build-modeline. All callers changed.
3257
3258 * play/zone.el (zone-hiding-mode-line): Rename from
3259 zone-hiding-modeline. All callers changed.
3260 (zone): Remove unusued `modeline-hidden-level' property.
3261
3262 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3263 xscheme-modeline-initialize. All callers changed.
3264
3265 * strokes.el (strokes-lighter): Rename from
3266 strokes-modeline-string.
3267
3268 * textmodes/sgml-mode.el (html-face-tag-alist)
3269 (html-tag-face-alist): Use mode-line face instead of obsolete
3270 alias modeline.
3271
42152ee4
SM
32722012-06-02 Stefan Merten <smerten@oekonux.de>
3273
3274 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3275 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3276
95f520b5
CY
32772012-06-02 Chong Yidong <cyd@gnu.org>
3278
3279 * image.el (imagemagick-enabled-types): Rename from
3280 imagemagick-types-enable. Add many more types.
3281 (imagemagick-types-inhibit): Change default to nil.
3282 (imagemagick-filter-types): Caller changed.
3283
4a5f187a
SM
32842012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3285
03fef3e6
SM
3286 * emacs-lisp/cl-macs.el: Use backquotes.
3287 (cl-transform-function-property): Use eval-and-compile rather than
3288 abusing `require'.
3289 (defstruct): Use declare-function instead of with-no-warnings.
3290
4a5f187a
SM
3291 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3292 (byte-compile-output-docform): Re-add the print-circle bindings.
3293 (byte-compile-fix-header): Use #$ just because it's shorter.
3294 (byte-compile-output-file-form): Remove defun/defmacro.
3295
bd56924f
MR
32962012-06-01 Martin Rudalics <rudalics@gmx.at>
3297
3298 * simple.el (choose-completion): Remove now obsolete binding for
3299 owindow.
3300
046e38ce
MA
33012012-06-01 Michael Albinus <michael.albinus@gmx.de>
3302
3303 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3304 in order to avoid "Stack overflow in regexp matcher".
3305
32d72c2f
GM
33062012-05-31 Glenn Morris <rgm@gnu.org>
3307
3308 * image.el: For clarity, call imagemagick-register-types at
3309 top-level, rather than relying on a custom :initialize.
3310 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3311 (imagemagick-filter-types): New function. (Bug#7406)
3312 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3313 If disabling support, remove elements altogether rather
3314 than using an impossible regexp.
3315 (imagemagick-types-inhibit): Give it the default init function.
3316
dd41169b
SM
33172012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3318
4a5f187a
SM
3319 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3320 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3321
efc00ab1 33222012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3323
3324 * desktop.el (desktop-read): Clear previous and next buffers for
3325 all windows and bury *Messages* buffer (bug#11556).
3326
500fcedc
SM
33272012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3328
3329 Add `declare' for `defun'. Align `defmacro's with it.
3330 * emacs-lisp/easy-mmode.el (define-minor-mode)
3331 (define-globalized-minor-mode): Don't autoload the var definitions.
3332 * emacs-lisp/byte-run.el: Use lexical-binding.
3333 (defun-declarations-alist, macro-declarations-alist): New vars.
3334 (defmacro, defun): Use them.
3335 (make-obsolete, define-obsolete-function-alias)
3336 (make-obsolete-variable, define-obsolete-variable-alias):
3337 Use `declare'.
3338 (macro-declaration-function): Mark obsolete.
3339 * emacs-lisp/autoload.el: Use lexical-binding.
3340 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3341
6e8a1786
AM
33422012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3343
3344 * textmodes/ispell.el (ispell-with-no-warnings):
3345 Define as a macro.
500fcedc
SM
3346 (ispell-kill-ispell, ispell-change-dictionary):
3347 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3348 `interactive-p'.
3349
61b108cc
SM
33502012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3351
3352 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3353 (macro-declaration-function): Move var from C code.
3354 (macro-declaration-function): Define function with defalias.
3355 * emacs-lisp/macroexp.el (macroexpand-all-1):
3356 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3357 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3358 defun/defmacro any more.
3359 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3360 Provide fallback for unknown arglist.
3361 (byte-compile-arglist-warn): Change calling convention.
3362 (byte-compile-output-file-form): Move print-vars binding.
3363 (byte-compile-output-docform): Simplify accordingly.
3364 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3365 (byte-compile-defmacro-declaration): Remove.
3366 (byte-compile-file-form-defmumble): Generalize to defalias.
3367 (byte-compile-output-as-comment): Return byte-positions.
3368 Simplify callers accordingly.
3369 (byte-compile-lambda): Use `assert'.
3370 (byte-compile-defun, byte-compile-defmacro): Remove.
3371 (byte-compile-file-form-defalias):
3372 Use byte-compile-file-form-defmumble.
3373 (byte-compile-defalias-warn): Remove.
3374
6d3f7c2f
SM
33752012-05-29 Stefan Merten <smerten@oekonux.de>
3376
3377 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3378 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3379
3380 (rst-mode-abbrev-table): Merge definition.
3381 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3382 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3383
6dbaa1c7
UJ
33842012-05-29 Ulf Jasper <ulf.jasper@web.de>
3385
3386 * calendar/icalendar.el
3387 (icalendar-export-region): Export UID properly.
3388
d209e2fb 33892012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3390 * calendar/icalendar.el (icalendar-import-format):
3391 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3392 (icalendar-import-format-uid): New.
3393 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3394 Export UID.
3395
6876a58d
SM
33962012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3397
3398 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3399 different alternative patterns.
3400 (pcase-codegen): Be more careful to preserve identity.
3401 (pcase--u1): Don't forget to mark vars as used.
3402
3403 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3404 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3405 (byte-compile-from-buffer): ...rather than here.
3406
3407 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3408 functions from byte-compile-function-environment.
3409
46b7967e
TN
34102012-05-29 Troels Nielsen <bn.troels@gmail.com>
3411
3412 * window.el (window-deletable-p): Avoid deleting the root window
3413 of a frame with an active minibuffer.
3414
69d565e2
MR
34152012-05-29 Martin Rudalics <rudalics@gmx.at>
3416
3417 * simple.el (choose-completion): Use quit-window (Bug#11567).
3418
a149fa51
CY
34192012-05-29 Chong Yidong <cyd@gnu.org>
3420
3421 * whitespace.el (whitespace-cleanup): Fix usage of
3422 whitespace-empty-at-bob-regexp (Bug#11492).
3423
2b311310
AH
34242012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3425
3426 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3427 revert (Bug#11488).
3428
b9cb2387
JL
34292012-05-29 Juri Linkov <juri@jurta.org>
3430
3431 * isearch.el (isearch-mode-map): Bind `M-s _' to
3432 `isearch-toggle-symbol'. Bind `M-s c' to
3433 `isearch-toggle-case-fold'.
3434 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3435 (isearch-forward): Add `M-s _' to the docstring.
3436 (isearch-forward-symbol, isearch-toggle-case-fold)
3437 (isearch-symbol-regexp): New functions. (Bug#11381)
3438
d5e61c1c
JL
34392012-05-29 Juri Linkov <juri@jurta.org>
3440
3441 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3442 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3443 a function, call it to get the regexp.
3444 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3445 property `isearch-message-prefix' instead of the string "word ".
3446 (isearch-search-fun-default): For the case of `isearch-word',
3447 return a lambda that calls re-search-forward/re-search-backward
3448 with a regexp returned by `word-search-regexp' or by the function
3449 in `isearch-word'.
3450
8cbd80f7
JL
34512012-05-29 Juri Linkov <juri@jurta.org>
3452
3453 * isearch.el (isearch-search-fun-default): New function.
3454 (isearch-search-fun): Move default part to the new function
3455 `isearch-search-fun-default'.
3456 (isearch-search-fun-function): Set the default value to
3457 `isearch-search-fun-default'. (Bug#11381)
3458
3459 * comint.el (comint-history-isearch-end):
3460 Use `isearch-search-fun-default'.
3461 (comint-history-isearch-search): Use `isearch-search-fun-default'
3462 and remove spacial case for `isearch-word'.
3463 (comint-history-isearch-wrap): Remove spacial case for
3464 `isearch-word'.
3465
3466 * hexl.el (hexl-isearch-search-function):
3467 Use `isearch-search-fun-default'.
3468
3469 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3470 Use `word-search-regexp' for `isearch-word'.
3471
3472 * misearch.el (multi-isearch-search-fun):
3473 Use `isearch-search-fun-default'.
3474
3475 * simple.el (minibuffer-history-isearch-search):
3476 Use `isearch-search-fun-default' and remove spacial case for
3477 `isearch-word'.
3478 (minibuffer-history-isearch-wrap): Remove spacial case for
3479 `isearch-word'.
3480
3481 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3482 Remove spacial case for `isearch-word'.
3483 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3484
85c8c5b6
AM
34852012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3486
3487 Decrease XEmacs incompatibilities.
3488 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3489 Use `string-match'.
3490 (flyspell-delete-region-overlays): Use alternative definition for
3491 XEmacs.
3492 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3493 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3494 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3495 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3496 `define-obsolete-face-alias' under XEmacs, but old method.
3497
3498 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3499 `with-no-warnings' definition or Emacs alias.
3500 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3501 (ispell-word): Do not use `region-p' if XEmacs.
3502
8cab9efc
AM
35032012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3504
3505 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3506 Check for `ispell-dictionary-base-alist' instead of full
3507 `ispell-dictionary-alist'.
3508 (ispell-init-process): Show spellchecker when starting new Ispell
3509 process.
3510
fda91268
RZ
35112012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3512
3513 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3514 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3515
694ea8e3
JB
35162012-05-27 Juanma Barranquero <lekktu@gmail.com>
3517
3518 * version.el (motif-version-string, gtk-version-string)
3519 (ns-version-string): Declare.
3520
e4d4f539
JL
35212012-05-27 Juri Linkov <juri@jurta.org>
3522
3523 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3524 after the `eval-defun-1' specialcaseing
3525 like in `edebug-eval-defun' (bug#10181).
3526
3527 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3528 like in `eval-defun-1'.
3529
33017faf 35302012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3531
fda91268
RZ
3532 * mail/sendmail.el (mail-yank-region):
3533 Recognize rmail-yank-current-message in addition to insert-buffer.
3534 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3535 a *mail* buffer created through rmail-start-mail with sendmail as
3536 mail-user-agent.
3537
33017faf
GM
35382012-05-27 Chong Yidong <cyd@gnu.org>
3539
3540 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3541 Default to 256 (Bug#11267).
3542
3543 * help.el (describe-mode): Doc fix.
3544
04188bb9
GM
35452012-05-26 Glenn Morris <rgm@gnu.org>
3546
38264cc9
GM
3547 * w32-fns.el (w32-init-info): Remove.
3548 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3549
eb7afdad
GM
3550 * info.el (info-initialize): For self-contained NS builds, put the
3551 included info/ directory at the front. (Bug#2791)
3552
04188bb9
GM
3553 * paths.el (Info-default-directory-list): Make it a defcustom,
3554 mainly so that we can use custom-initialize-delay.
3555
a179e3f7
SM
35562012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3557
43416392
SM
3558 * subr.el (buffer-has-markers-at): Mark obsolete.
3559
a179e3f7 3560 * subr.el (lambda): Use declare.
43416392 3561
a179e3f7
SM
3562 * emacs-lisp/lisp-mode.el (lambda):
3563 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3564
34a008d9
AH
35652012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3566
3567 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3568
0a3b289f
GM
35692012-05-26 Glenn Morris <rgm@gnu.org>
3570
3571 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3572
758c81e8
GM
35732012-05-25 Glenn Morris <rgm@gnu.org>
3574
f9f334f0
GM
3575 * paths.el: Remove no-byte-compile.
3576 * loadup.el: No need to load paths.el uncompiled.
3577
87eb79c2
GM
3578 * image.el (imagemagick-types-inhibit): Doc fix.
3579
758c81e8
GM
3580 * version.el: Remove no-byte-compile and associated formatting.
3581 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3582 is ancient code from when there was an "inc-vers.el".
3583
e7e85dc0
SM
35842012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3585
3586 * progmodes/gdb-mi.el: Minor style changes.
3587 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3588 Turn into minor modes.
3589 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3590 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3591 (gdb-shell): Remove unneeded let-binding.
3592 (gdb-get-many-fields): Eliminate O(n²) behavior.
3593
f31237a4
EZ
35942012-05-25 Eli Zaretskii <eliz@gnu.org>
3595
3596 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3597 platforms that don't link in fontset.c.
3598
bc1b21bb
JL
35992012-05-25 Juri Linkov <juri@jurta.org>
3600
3601 Use the same diff color scheme as in modern VCSes (bug#10181).
3602
3603 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3604 to avoid confusion with `diff-added' that now uses green colors.
3605 (diff-removed): Use shades of red.
3606 (diff-added): Use shades of green.
3607 (diff-changed): Leave just the yellow color.
3608 (diff-use-changed-face): New variable.
3609 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3610 how to highlight context diff changes.
3611 (diff-refine-change): Use shades of yellow.
3612 (diff-refine-removed): New face that uses shades of red.
3613 (diff-refine-added): New face that uses shades of green.
3614 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3615 `diff-refine-removed' in the call to `smerge-refine-subst'
3616 depending on the value of `diff-use-changed-face'.
3617
3618 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3619 (smerge-other): Use shades of green.
3620 (smerge-base): Use shades of yellow.
3621 (smerge-refined-change): Empty face.
3622 (smerge-refined-removed): New face that uses shades of red.
3623 (smerge-refined-added): New face that uses shades of green.
3624 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3625 args `props-r' and `props-a', and use them. Doc fix.
3626 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3627 on its value use different faces `smerge-refined-change',
3628 `smerge-refined-removed', `smerge-refined-added' in the call to
3629 `smerge-refine-subst'.
3630
3631 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3632 Add face condition `min-colors 88' with shades of red.
3633 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3634 `min-colors 88' with shades of green.
3635 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3636 `min-colors 88' with shades of yellow.
3637
6df9112c
GM
36382012-05-24 Glenn Morris <rgm@gnu.org>
3639
ead5edc0
GM
3640 * paths.el (prune-directory-list, remote-shell-program): Move to...
3641 * files.el (prune-directory-list, remote-shell-program): ...here.
3642 For the latter, delay initialization, prefer ssh, just search PATH.
3643
f18b81e6
GM
3644 * paths.el (term-file-prefix): Move to faces.el (the only user).
3645 * faces.el (term-file-prefix): Move here, make it a defcustom.
3646
ee2f89a6
GM
3647 * paths.el (news-directory, news-path, news-inews-program):
3648 Move to gnus/nnspool.el.
61a583ca 3649
f8815e4c
GM
3650 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3651
c8f3b42c
GM
3652 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3653 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3654 Make the latter a defcustom, with a delayed initialization.
3655
6df9112c
GM
3656 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3657 These were deleted from Gnus itself late 2010.
3658
5dadff36
JB
36592012-05-22 Juanma Barranquero <lekktu@gmail.com>
3660
9e1701c6
JB
3661 * progmodes/which-func.el (which-func-ff-hook):
3662 Check against user-error, not error.
3663
bd7239f5 3664 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3665 cl-specs.el, which no longer exists.
3666
3290526d
GM
36672012-05-22 Glenn Morris <rgm@gnu.org>
3668
3669 * info.el (info-emacs-bug): New command.
3670 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3671 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3672
ff0c3cfb
GM
36732012-05-21 Glenn Morris <rgm@gnu.org>
3674
3675 * makefile.w32-in (update-subdirs-SH):
3676 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3677
5814f126
SM
36782012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3679
a52c0aa0
SM
3680 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3681
5814f126
SM
3682 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3683 Simplify Maven regexp, and make sure the file can't start with a space
3684 (bug#11517).
3685
b847032c
GM
36862012-05-21 Glenn Morris <rgm@gnu.org>
3687
3688 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3689 Scrap superfluous subshells.
3690
3858bfe7
SM
36912012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3692
3693 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3694 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3695
d14b0029
JB
36962012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3697
3698 * calc/calc.el (calc-ensure-consistent-units): New variable.
3699
a52c0aa0
SM
3700 * calc/calc-units.el (math-consistent-units-p)
3701 (math-check-unit-consistency): New functions.
3702 (calc-quick-units, calc-convert-units):
3703 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3704 is non-nil.
d14b0029
JB
3705 (calc-extract-units): Fix typo.
3706
60c4db3a
SM
37072012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3708
77f3b62e
SM
3709 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3710
60c4db3a
SM
3711 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3712 (flyspell-default-deplacement-commands): Don't spell check after
3713 repeated window/frame switches (e.g. triggered by mouse-movement).
3714 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3715 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3716 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3717 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3718 Remove unused vars.
3719 (flyspell-get-casechars, flyspell-get-not-casechars):
3720 Simplify; Don't bother removing a ] just to add it back.
3721 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3722
d209e2fb 37232012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3724
3725 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3726 New functions.
bd7239f5 3727 (math-function-table): Add support for more C functions.
b1a10716 3728
3f1b25b5
AM
37292012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3730
090bd7cb
JB
3731 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3732 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3733 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3734
b581bb5c
SM
37352012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3736
3737 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3738 their respective macro declarations.
3739 * skeleton.el (define-skeleton):
3740 * progmodes/compile.el (define-compilation-mode):
3741 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3742 (define-ibuffer-filter):
3743 * emacs-lisp/generic.el (define-generic-mode):
3744 * emacs-lisp/easy-mmode.el (define-minor-mode)
3745 (define-globalized-minor-mode):
3746 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3747 * emacs-lisp/byte-run.el (defsubst):
3748 * custom.el (deftheme): Add doc-string metadata.
3749
70b8ef8f
SM
37502012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3753
b1198e17
SM
37542012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3755
9abdc45d
SM
3756 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3757
b1198e17
SM
3758 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3759 * emacs-lisp/cl-macs.el: Idem.
3760 * emacs-lisp/cl-specs.el: Remove.
3761
4735906a
SM
37622012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3763
3764 Minor renaming of internal CL functions and variables.
3765 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3766 (cl--position): Rename from cl-position.
3767 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3768 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3769 (cl--random-state): Rename from *random-state*.
3770
ac348012
SM
37712012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3772
3773 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3774 parens around the arg list (bug#11499).
3775
a0a79cde
JL
37762012-05-17 Juri Linkov <juri@jurta.org>
3777
3778 * isearch.el (word-search-regexp, word-search-backward)
3779 (word-search-forward, word-search-backward-lax)
3780 (word-search-forward-lax): Move functions from search.c
3781 (bug#10145, bug#11381).
3782
65034a51
AM
37832012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3784
090bd7cb
JB
3785 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3786 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3787 Delay for otherchars as for normal word components.
65034a51 3788
1a72a195
SM
37892012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3790
3791 * minibuffer.el (completion--sifn-requote): Fix last change.
3792 (minibuffer-local-must-match-filename-map):
3793 Move define-obsolete-variable-alias before its var.
3794
fdb058c2
SM
37952012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3796
c41045e6
SM
3797 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3798
036dfb8b
SM
3799 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3800 behavior.
3801 (completion--string-equal-p): New function.
3802 (completion--twq-all): Use it to get better assertion failure data.
3803
2473256d
SM
3804 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3805 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3806 (shell--requote-argument): New functions.
3807 (shell-completion-vars): Use them.
3808 (shell--parse-pcomplete-arguments): Rename from
3809 shell-parse-pcomplete-arguments.
3810 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3811 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3812 Obey comint-file-name-quote-list.
3813
fdb058c2
SM
3814 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3815 (smie-indent-keyword): Use it.
3816
51fa99f1
SM
38172012-05-14 Stefan Merten <smerten@oekonux.de>
3818
3819 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3820
e18afed7 38212012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3822
3823 * net/rlogin.el (rlogin-mode-map): Fix last change.
3824
e18afed7 38252012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3826
3827 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3828 the following \r\n using a single `process-send-string', since the
3829 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3830 with two `process-send-string's (Bug#11444).
8633b1f4 3831
e18afed7 38322012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3833
fdb058c2
SM
3834 * shell.el (shell-parse-pcomplete-arguments):
3835 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3836
2d21d7f6
WJ
38372012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3838
e18afed7 3839 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3840 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3841 (image-transform-width, image-transform-fit-width): New functions.
3842 (image-transform-properties): Use them.
3843 (image-transform-check-size): New function.
3844 (image-toggle-display-image): Use it (for testing).
3845 (image-transform-set-rotation): Reduce angle mod 360.
3846 Delete obsolete comment.
3847
7102e6d0
WJ
38482012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3849
3850 * image-mode.el: Fix scaling (bug#11399).
3851 (image-transform-resize): Doc fix.
3852 (image-transform-properties): Default scale is 1 and height should
3853 be an integer.
3854
06bc5e6e
SM
38552012-05-13 Johan Bockgård <bojohan@gnu.org>
3856
3857 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3858 than hard-coding `car', to fix misbehavior when moving forward.
3859
0ae03b6a
CY
38602012-05-13 Chong Yidong <cyd@gnu.org>
3861
3862 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3863 (tabulated-list-entries, tabulated-list-padding)
3864 (tabulated-list-sort-key): Make permanent-local.
3865
3866 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3867 (electric-buffer-list): Put electric buffer menu
3868 command descriptions in this docstring, instead of the docstring
3869 of electric-buffer-menu-mode. Code cleanups.
3870 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3871 Electric-buffer-menu-mode.
3872 (electric-buffer-update-highlight): Minor code cleanup.
3873
205a7391
MA
38742012-05-13 Michael Albinus <michael.albinus@gmx.de>
3875
3876 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3877 (Bug#11447)
3878
e5bd0a28
SM
38792012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3880
3881 Move define-obsolete-variable-alias before the var's definition.
3882 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3883 * tooltip.el (tooltip-hook):
3884 * textmodes/reftex-toc.el (reftex-toc-map):
3885 * textmodes/reftex-sel.el (reftex-select-label-map)
3886 (reftex-select-bib-map):
3887 * textmodes/reftex-index.el (reftex-index-map)
3888 (reftex-index-phrases-map):
3889 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3890 * progmodes/meta-mode.el (meta-mode-map):
3891 * novice.el (disabled-command-hook):
3892 * loadhist.el (unload-hook-features-list):
3893 * frame.el (blink-cursor):
3894 * files.el (find-file-not-found-hooks, write-file-hooks)
3895 (write-contents-hooks):
3896 * emulation/tpu-edt.el (GOLD-map):
3897 * emacs-lock.el (emacs-lock-from-exiting):
3898 * emacs-lisp/generic.el (generic-font-lock-defaults):
3899 * emacs-lisp/chart.el (chart-map):
3900 * dos-fns.el (register-name-alist):
3901 * dired-x.el (dired-omit-files-p):
3902 * desktop.el (desktop-enable):
3903 * cus-edit.el (custom-mode-hook):
3904 * buff-menu.el (buffer-menu-mode-hook):
3905 * bookmark.el (bookmark-read-annotation-text-func)
3906 (bookmark-exit-hooks):
3907 * allout.el (allout-mode-deactivate-hook)
3908 (allout-exposure-change-hook, allout-structure-added-hook)
3909 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3910 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3911 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3912 comes before the corresponding variable's definition.
3913
ac59c2f6
CY
39142012-05-12 Chong Yidong <cyd@gnu.org>
3915
3916 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3917 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3918 (Buffer-menu-mode-map): Bind it.
3919 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3920
dee6c9a3
SM
39212012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3922
2171cea5
SM
3923 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3924 (prolog-upper-case-string, prolog-lower-case-string)
3925 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3926 (prolog-use-smie, prolog-smie-grammar): New vars.
3927 (prolog-smie-forward-token, prolog-smie-backward-token)
3928 (prolog-smie-rules): New funs.
3929 (prolog-comment-indent): Remove.
3930 (prolog-mode-variables): Use default comment indentation instead.
3931 Setup SMIE.
3932 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3933 (prolog-mode): Don't call them any more.
3934 (prolog-electric-colon, prolog-electric-dash)
3935 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3936
aa0382bd
SM
3937 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3938
dbacb4bd
SM
3939 * minibuffer.el (completion--twq-all): Again, allow case differences.
3940
13bdd94c
SM
3941 * term.el: Move keymap initialization code to be more idiomatic.
3942 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3943 (term-terminal-menu): Move initialization into declaration.
3944 (term-escape-char): Let the user set it in her .emacs.
3945
ff46c759
SM
3946 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3947 Provide SMIE-based indentation (not enabled by default yet).
3948 (sh-mode-map): Don't bind electric keys.
3949 Use electric-pair-mode instead of skeleton-pair.
3950 (sh-assignment-regexp): Fit within 80 columns.
3951 (sh-indent-supported): Specify actual shell name instead of boolean.
3952 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3953 (sh-maybe-here-document): Use it. Make obsolete.
3954 (sh-electric-here-document-mode) New minor mode.
3955 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3956 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3957 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3958 (sh-smie-rc-grammar, sh-use-smie): New vars.
3959 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3960 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3961 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3962 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3963 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3964 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3965 (sh-set-shell): Use smie-setup if requested.
3966
dee6c9a3
SM
3967 * term.el (term-set-escape-char): Properly set term-escape-char.
3968 See http://stackoverflow.com/questions/10524656.
3969
9f9aa044
CY
39702012-05-10 Chong Yidong <cyd@gnu.org>
3971
3972 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3973 Use url-generic-parse-url, and handle host names and Windows
3974 filenames properly.
3975 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3976 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3977 URL schemes to work on.
3978 (ffap--toggle-read-only): New function.
3979 (ffap-read-only, ffap-read-only-other-window)
3980 (ffap-read-only-other-frame): Use it.
3981 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3982 necessary for ffap-url-unwrap-remote.
3983
836d29b3
DA
39842012-05-10 Dave Abrahams <dave@boostpro.com>
3985
3986 * cus-start.el (create-lockfiles): Add it.
3987
00fd78ed
CY
39882012-05-09 Chong Yidong <cyd@gnu.org>
3989
3990 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3991 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3992
666b903b 39932012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3994
3995 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3996
666b903b 39972012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3998
3999 * ansi-color.el (ansi-color-process-output): Check for validity of
4000 comint-last-output-start before using it. This avoids a bad
4001 interaction with gdb-mi's input/output buffer.
4002
666b903b 40032012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
4004
4005 * files.el (dir-locals-read-from-file):
4006 Mention dir-locals in any error message.
4007
666b903b 40082012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
4009
4010 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4011 package (Bug#11410).
4012
f677562b
CY
4013 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4014 variables into description.
4015
666b903b 40162012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
4017
4018 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4019 shell-delimiter-argument-list (bug#11348).
4020 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4021
b499d8d0
JB
40222012-05-09 Juanma Barranquero <lekktu@gmail.com>
4023
8f6b6da8
JB
4024 * textmodes/rst.el: Silence byte-compiler warnings.
4025 (rst-re-alist, rst-reset-section-caches): Move around.
4026 (rst-re): Use `characterp', not `char-valid-p'.
4027 (font-lock-beg, font-lock-end): Declare.
4028
4824146a
JB
4029 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4030 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4031
b499d8d0
JB
4032 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4033
ad89bb83
GM
40342012-05-08 Glenn Morris <rgm@gnu.org>
4035
4036 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4037
8bba5a75
SM
40382012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4039
49ed9c8e
SM
4040 * vc/log-edit.el: Add GNU coding standards highlighting.
4041 (log-edit-font-lock-gnu-style)
4042 (log-edit-font-lock-gnu-keywords): New vars.
4043 (log-edit-font-lock-keywords): New fun.
4044 (log-edit-mode): Don't fold case in font-lock.
4045 (log-edit-font-lock-keywords): Do not assume case-folding.
4046
07d00b56
SM
4047 * imenu.el: Misc cleanup. Make docstrings out of comments.
4048 Use lexical-binding.
4049 (imenu--index-alist, imenu--last-menubar-index-alist)
4050 (imenu-menubar-modified-tick): Use defvar-local.
4051 (imenu--split-menu): Remove unused var.
4052 (imenu--cleanup-seen): Declare as global.
4053 (imenu--cleanup): Use dolist.
4054
8bba5a75
SM
4055 * subr.el (defvar-local): Add debug spec and doc-string position.
4056
5075bdb5
GM
40572012-05-08 Glenn Morris <rgm@gnu.org>
4058
090bd7cb 4059 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
4060 * language/english.el, language/georgian.el, language/greek.el:
4061 * language/japanese.el, language/khmer.el, language/korean.el:
4062 * language/lao.el, language/misc-lang.el, language/romanian.el:
4063 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4064 * language/thai.el, language/utf-8-lang.el:
4065 Remove no-byte-compile setting.
4066
5075bdb5
GM
4067 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4068
06f679a7
AH
40692012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4070
4071 * progmodes/make-mode.el (makefile-browse):
4072 Remove unnecessary interactive. (Bug#11324)
4073
03794570
GM
40742012-05-07 Glenn Morris <rgm@gnu.org>
4075
af8630f4
GM
4076 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4077
03794570
GM
4078 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4079
f0809a9d
SM
40802012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4081
28be5ce7
SM
4082 * loadup.el: Preload newcomment.el.
4083 * newcomment.el: Move autoload-only code to toplevel.
4084
f0809a9d
SM
4085 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4086 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4087 Handle new :right-align column property.
4088 (tabulated-list-print-col): Idem, plus use `display' text-property to
4089 try and preserve alignment for variable pitch fonts.
4090
1241b724
CY
40912012-05-07 Chong Yidong <cyd@gnu.org>
4092
4093 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4094 (tabulated-list-use-header-line): New var.
4095 (tabulated-list-init-header): Use it.
4096 (tabulated-list-print-fake-header): New function.
4097 (tabulated-list-print): Use it.
4098 (tabulated-list-sort-button-map): Add non-header-line commands.
4099 (tabulated-list-init-header): Add column name property to basic
4100 labels as well.
4101 (tabulated-list-col-sort): Handle non-header-line button case.
4102 (tabulated-list--sort-by-column-name): Fix a corner case.
4103
f0809a9d
SM
4104 * buff-menu.el (list-buffers--refresh):
4105 Handle Buffer-menu-use-header-line.
1241b724 4106
e5f9458f
CY
41072012-05-06 Chong Yidong <cyd@gnu.org>
4108
4109 * buff-menu.el: Convert to Tabulated List mode.
4110 (Buffer-menu-buffer+size-width): Make obsolete.
4111 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4112 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4113 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4114 documentation into docstring of buffer-menu.
4115 (Buffer-menu-toggle-files-only): Add an informative message.
4116 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4117 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4118 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4119 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4120 (Buffer-menu-execute, Buffer-menu-select)
4121 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4122 (Buffer-menu-bury): Use Tabulated List machinery.
4123 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4124 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 4125 Delete.
e5f9458f
CY
4126 (list-buffers--refresh): New function.
4127 (list-buffers-noselect): Use it.
4128 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4129 (Buffer-menu--pretty-file-name): New helper functions.
4130
4131 * loadup.el: Preload tabulated-list.
4132
4133 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4134 tabulated-list-sort-column.
4135 (tabulated-list-init-header): Add the initial aligning space even
4136 if tabulated-list-padding is zero.
4137
e129292c
CS
41382012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4139
4140 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4141 whose cdr is not a cons cell correctly (bug#11038).
4142
6632d361
CY
41432012-05-06 Chong Yidong <cyd@gnu.org>
4144
e129292c
CS
4145 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4146 Accept additional plist in column descriptors.
6632d361
CY
4147 (tabulated-list-init-header): Obey it.
4148 (tabulated-list-get-entry): New function.
4149 (tabulated-list-put-tag): Use it. Use string-width instead of
4150 length.
4151 (tabulated-list--column-number): New function.
4152 (tabulated-list-print): Use it.
e129292c
CS
4153 (tabulated-list-print-col): New function.
4154 Set `tabulated-list-column-name' property on each column's text.
6632d361 4155 (tabulated-list-print-entry): Use it.
e129292c
CS
4156 (tabulated-list-delete-entry, tabulated-list-set-col):
4157 New functions.
6632d361
CY
4158 (tabulated-list-sort-column): New command (Bug#11337).
4159
3cc99f68
CY
4160 * buff-menu.el (list-buffers): Move C-x C-b binding from
4161 buff-menu.el to bindings.el.
4162
4163 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4164 :advertised-binding feature.
4165
52b61776
TN
41662012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4167
4168 * progmodes/compile.el (compilation-internal-error-properties):
4169 Calculate start position correctly when end-col is set but
4170 end-line is not (Bug#11382).
4171
ebfe2597
WJ
41722012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4173
4174 * man.el (Man-unindent): Use text-property-default-nonsticky to
4175 prevent untabify from inheriting face properties (Bug#11408).
4176
6d3f7c2f
SM
41772012-05-05 Stefan Merten <smerten@oekonux.de>
4178
4179 * textmodes/rst.el: Major merge with upstream development up to
4180 Docutils SVN r7399 / rst.el V1.2.1.
4181
4182 Clarify maintainership and authors.
4183
4184 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4185 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4186 (rst-official-version, rst-official-cvs-rev, rst-version)
4187 (rst-package-emacs-version-alist): New functions and variables
4188 for version information.
4189
4190 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4191 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4192 (rst-mode-syntax-table, rst-mode): New and corrected functions
4193 and variables representing reStructuredText features.
4194
4195 (rst-re): New function for reStructuredText regexes. Use in
4196 many places.
4197
4198 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4199 (rst-mode-map): Rebind keys.
4200
4201 (rst-mode-lazy, rst-font-lock-keywords)
4202 (rst-font-lock-extend-region)
4203 (rst-font-lock-extend-region-internal)
4204 (rst-font-lock-extend-region-extend)
4205 (rst-font-lock-find-unindented-line-limit)
4206 (rst-font-lock-find-unindented-line-match)
4207 (rst-adornment-level, rst-font-lock-adornment-level)
4208 (rst-font-lock-adornment-match)
4209 (rst-font-lock-handle-adornment-pre-match-form)
4210 (rst-font-lock-handle-adornment-matcher): Major revision of
4211 font-locking. Integrate with other code. Use `jit-lock-mode'.
4212
4213 (rst-preferred-adornments, rst-adjust-hook)
4214 (rst-new-adornment-down, rst-preferred-bullets)
4215 (rst-preferred-bullets, rst-indent, rst-indent-width)
4216 (rst-indent-field, rst-indent-literal-normal)
4217 (rst-indent-literal-minimized, rst-indent-comment): Change,
4218 extend and improve customization.
4219
4220 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4221 (rst-normalize-cursor-position, rst-get-decoration)
4222 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4223 (rst-rstrip, rst-toc-insert-find-delete-contents)
4224 (rst-shift-fill-region, rst-compute-bullet-tabs)
4225 (rst-debug-print-tabs, rst-debug-mark-found)
4226 (rst-shift-region-guts, rst-shift-region-right)
4227 (rst-shift-region-left, rst-use-char-classes)
4228 (rst-font-lock-keywords-function)
4229 (rst-font-lock-indentation-point)
4230 (rst-font-lock-find-unindented-line-begin)
4231 (rst-font-lock-find-unindented-line-end)
4232 (rst-font-lock-find-unindented-line)
4233 (rst-font-lock-adornment-point, rst-font-lock-level)
4234 (rst-adornment-level-alist): Remove functions and variables.
4235
4236 (rst-compare-adornments, rst-get-adornment-match)
4237 (rst-suggest-new-adornment, rst-get-adornments-around)
4238 (rst-adornment-complete-p, rst-get-next-adornment)
4239 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4240 (rst-straighten-adornments): Standardize function names to
4241 use "adornment" instead of "decoration". Correct callers.
4242 Similar standardizing in many places.
4243
4244 (rst-update-section, rst-adjust, rst-promote-region)
4245 (rst-enumerate-region, rst-bullet-list-region)
4246 (rst-repeat-last-character): Correct use of `interactive'.
4247
4248 (rst-classify-adornment, rst-find-all-adornments)
4249 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4250 (rst-find-leftmost-column, rst-repeat-last-character):
4251 Refactor functions.
4252
4253 (rst-find-title-line, rst-reset-section-caches)
4254 (rst-get-adornments-around, rst-adjust-adornment-work)
4255 (rst-arabic-to-roman, rst-roman-to-arabic)
4256 (rst-insert-list-pos, rst-insert-list-new-item)
4257 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4258 New functions.
4259
4260 (rst-all-sections, rst-section-hierarchy)
4261 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4262 New variables.
4263
4264 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4265 configuration instead of only buffer. Change where necessary.
4266
4267 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4268 (rst-shift-region, rst-adaptive-fill): New functions for
4269 indentation and filling.
4270
4271 (rst-comment-line-break, rst-comment-indent)
4272 (rst-comment-insert-comment, rst-comment-region)
4273 (rst-uncomment-region): New functions for handling comments.
4274
4275 (rst-compile): Quote shell arguments.
4276
4277 (rst-compile-pdf-preview, rst-compile-slides-preview):
4278 Delete temporary files after use.
4279
a43f98b3
GM
42802012-05-05 Glenn Morris <rgm@gnu.org>
4281
48176e8b
GM
4282 * calendar/cal-html.el: Optionally include holidays in the output.
4283 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4284 (cal-html-holidays): New option.
4285 (cal-html-css-default): Add holiday entry.
4286 (holiday-in-range): Autoload it.
4287 (cal-html-htmlify-entry): Add optional class argument.
4288 (cal-html-htmlify-list): Add optional holidays argument.
4289 (cal-html-insert-agenda-days): Include holidays in the output.
4290 (cal-html-one-month): Maybe include holidays.
4291
a43f98b3
GM
4292 * calendar/holidays.el (holiday-in-range):
4293 Move here from cal-tex-list-holidays.
4294 * calendar/cal-tex.el (cal-tex-list-holidays):
4295 Make it an obsolete alias for holiday-in-range. Update all callers.
4296
fef9d149 42972012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4298
4299 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4300 Nextstep.
4301
248da2f4
RW
43022012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4303
4304 * files.el (file-auto-mode-skip): New var.
4305 (set-auto-mode-1): Use it.
4306
f95e9344
SM
43072012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4308
df96ab1e
SM
4309 * repeat.el: Use lexical-binding.
4310 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4311 (repeat-undo-count): Remove.
4312 (repeat):
4313 * progmodes/octave-mod.el (octave-abbrev-start):
4314 * progmodes/f90.el (f90-abbrev-start):
4315 * face-remap.el (text-scale-adjust):
4316 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4317
5342bb06
SM
4318 * emacs-lisp/pcase.el (pcase--let*): New function.
4319 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4320 a bit more.
4321 (pcase--split-pred): Be more clever about ruling out overlap between
4322 a predicate and some constant pattern.
4323 (pcase--q1): Use `null' instead of (eq foo nil).
4324
f95e9344
SM
4325 * subr.el (setq-local, defvar-local): New macros.
4326 (kbd): Redefine as an alias.
4327 (with-selected-window): Leave unrelated frames alone.
4328 (set-temporary-overlay-map): New function.
4329
71873e2b
SM
43302012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4331
4332 * subr.el (user-error): New function.
4333 * window.el (switch-to-buffer):
4334 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4335 (smerge-match-conflict):
4336 * simple.el (previous-matching-history-element)
4337 (next-matching-history-element, goto-history-element, undo-more)
4338 (undo-start):
4339 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4340 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4341 (next-file, tags-loop-scan, list-tags, complete-tag):
4342 * progmodes/compile.el (compilation-loop):
4343 * mouse.el (mouse-minibuffer-check):
4344 * man.el (Man-bgproc-sentinel, Man-goto-page):
4345 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4346 (Info-history-forward, Info-follow-reference, Info-menu)
4347 (Info-extract-menu-item, Info-extract-menu-counting)
4348 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4349 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4350 (Info-next-reference, Info-prev-reference, Info-index)
4351 (Info-index-next, Info-follow-nearest-node)
4352 (Info-copy-current-node-name):
4353 * imenu.el (imenu--make-index-alist)
4354 (imenu-default-create-index-function, imenu-add-to-menubar):
4355 * files.el (basic-save-buffer, recover-file):
4356 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4357 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4358 (checkdoc-message-text, checkdoc-defun):
4359 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4360 * cus-edit.el (customize-changed-options, customize-rogue)
4361 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4362 (custom-variable-mark-to-reset-standard)
4363 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4364 (custom-file):
4365 * completion.el (check-completion-length):
4366 * comint.el (comint-search-arg)
4367 (comint-previous-matching-input-string-position)
4368 (comint-previous-matching-input)
4369 (comint-replace-by-expanded-history-before-point, comint-send-input)
4370 (comint-copy-old-input, comint-backward-matching-input)
4371 (comint-goto-process-mark, comint-set-process-mark):
4372 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4373 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4374
8a61ee22
SM
43752012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4376
66408d1e
SM
4377 * dabbrev.el (dabbrev--ignore-case-p): New function.
4378 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4379 Use it.
4380
8a61ee22
SM
4381 * files.el (automount-dir-prefix): Mark as obsolete.
4382
3c74813a
GM
43832012-05-04 Glenn Morris <rgm@gnu.org>
4384
4385 * patcomp.el, play/bruce.el: Move to obsolete/.
4386
0bfcf5c5
PE
43872012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4388
4389 Fix minor Y10k bugs.
4390 * arc-mode.el (archive-unixdate):
4391 * autoinsert.el (auto-insert-alist):
4392 * calc/calc-forms.el (math-this-year):
4393 * emacs-lisp/copyright.el (copyright-current-year)
4394 (copyright-update-year, copyright):
4395 * tar-mode.el (tar-clip-time-string):
4396 * time.el (display-time-update):
4397 Don't assume years have 4 digits.
4398
78f3273a
CY
43992012-05-04 Chong Yidong <cyd@gnu.org>
4400
4401 * dos-w32.el (file-name-buffer-file-type-alist)
4402 (direct-print-region-use-command-dot-com):
4403 * ffap.el (ffap-menu-regexp):
4404 * find-file.el (ff-special-constructs):
4405 * follow.el (follow-debug):
4406 * forms.el (forms--debug):
4407 * iswitchb.el (iswitchb-all-frames):
4408 * ido.el (ido-all-frames):
4409 * emacs-lisp/timer.el (timer-max-repeats):
4410 * mail/feedmail.el (feedmail-mail-send-hook)
4411 (feedmail-mail-send-hook-queued):
4412 * mail/footnote.el (footnote-signature-separator):
4413 * mail/mailabbrev.el (mail-alias-separator-string)
4414 (mail-abbrev-mode-regexp):
4415 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4416 * progmodes/idlwave.el (idlwave-libinfo-file)
4417 (idlwave-default-completion-case-is-down)
4418 (idlwave-library-routines): Convert defvars to defcustoms.
4419
4420 * mail/rmail.el (rmail-decode-mime-charset):
4421 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4422 (idlwave-shell-fix-inserted-breaks)
4423 (idlwave-shell-activate-alt-keybindings)
4424 (idlwave-shell-use-breakpoint-glyph):
4425 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4426
f7ae6719
SM
44272012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4428
4429 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4430
47086495
WS
44312012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4432
4433 * progmodes/verilog-mode.el (font-lock-keywords):
4434 Fix mis-highligting auto. Reported by Craig Barner.
4435 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4436 defines from global name space. Reported by Dan Dever.
4437 (verilog-auto-reset, verilog-auto-reset-widths)
4438 (verilog-auto-tieoff): Support using unbased numbers for
4439 AUTORESET and AUTOTIEOFF.
4440 (verilog-submit-bug-report): Update variable list.
4441 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4442 parenthesis from not matching. Reported by Michael Rytting.
4443 (verilog-auto-template-lint): Fix hash error when linting modules
4444 with no used templates.
4445 (verilog-warn, verilog-warn-error)
4446 (verilog-warn-fatal): When non-interactive report multiple
4447 warnings before exiting. Suggested by Brad Dobbie.
4448 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4449 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4450 to report unused template errors. Reported by Brad Dobbie.
4451 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4452 nets, bug438. Reported by Vns Blore.
4453 (verilog-auto-inout-module, verilog-auto-reg)
4454 (verilog-read-decls, verilog-read-sub-decls-sig)
4455 (verilog-signals-edit-wire-reg, verilog-signals-with):
4456 Fix passing of Verilog data types in ANSI input/output ports
4457 such as "output logic" into the AUTOs. Special case "wire" and
4458 "reg" for backwards compatibility presuming Verilog 2001.
4459 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4460 (verilog-preprocess): Fix replication of preprocess output.
4461 Reported by Brad Dobbie.
4462 (verilog-auto-inst-interfaced-ports):
4463 Create verilog-auto-inst-interfaced-ports, bug429.
4464 Reported by Julian Gorfajn.
4465 (verilog-after-save-font-hook)
4466 (verilog-before-save-font-hook): New variable.
4467 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4468 (verilog-save-font-mods): Wrap disabling fontification, reported
4469 by David Rogoff.
4470 (verilog-do-indent, verilog-pretty-declarations-auto)
4471 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4472 Reported by Pierre-David Pfister.
4473 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4474 of class declarations, bug292. Reported by Kevin Heilman.
4475 (verilog-read-decls): Fix 'parameter type' not appearing in
4476 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4477 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4478 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4479 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4480 Reported by David Kravitz.
4481
44822012-05-03 Michael McNamara <mac@mail.brushroad.com>
4483
4484 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4485 assignment with tests in ifs and for loops.
4486 (verilog-extended-complete-re, verilog-complete-reg): Change so
4487 that DPI inport functions don't look like fuction declarations.
4488 (verilog-pretty-expr): Don't line up assignment
4489 operations to the test and increment in if and for loops
4490 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4491 that DPI inport functions don't look like fuction declarations.
47086495 4492
2e51d4b5
KH
44932012-05-03 Kenichi Handa <handa@m17n.org>
4494
4495 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4496 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4497 (Bug#11282).
4498
2bd785a2
SM
44992012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4500
4501 * emacs-lisp/bytecomp.el
4502 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4503 since cconv.el might have introduced :fun-body, internal-make-closure,
4504 and friends for bytecomp to handle (bug#11391).
4505 * custom.el (defcustom): Avoid ((λ ..) ..).
4506
99d27583
SM
45072012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4508
4509 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4510
55a71479
JB
45112012-05-02 Juanma Barranquero <lekktu@gmail.com>
4512
4513 * notifications.el (dbus-debug):
4514 * term/linux.el (gpm-mouse-enable):
4515 * term/screen.el (xterm-register-default-colors): Declare.
4516
7b97c764
CY
45172012-05-02 Chong Yidong <cyd@gnu.org>
4518
2bc356d7
CY
4519 * cus-start.el (gc-cons-percentage, exec-suffixes)
4520 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4521 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4522 (make-cursor-line-fully-visible, void-text-area-pointer)
4523 (font-list-limit): Add customization data.
4524
7b97c764
CY
4525 * allout.el (allout-exposure-change-functions)
4526 (allout-structure-added-functions)
4527 (allout-structure-deleted-functions)
4528 (allout-structure-shifted-functions): Rename abnormal hooks from
4529 *-hook, and convert to defcustoms.
5d3385a0
JB
4530 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4531 Convert to defcustoms.
7b97c764
CY
4532 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4533
4534 * allout-widgets.el: Hook callers changed.
4535
90207a15 45362012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4537
4538 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4539 the yanked message in preference to the default value of
4540 buffer-file-coding-system.
4541
90207a15 45422012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4543
5d3385a0
JB
4544 * window.el (display-buffer--action-function-custom-type):
4545 Fix entry.
d9558cad 4546
90207a15 45472012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4548
4549 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4550
d80ac57b
GM
45512012-05-01 Glenn Morris <rgm@gnu.org>
4552
976f7668
GM
4553 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4554
beb83b5a
GM
4555 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4556
d80ac57b
GM
4557 * cus-edit.el (custom-variable-documentation): Simplify with format.
4558
b593d6a9 45592012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4560 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4561
4562 * simple.el (suggest-key-bindings, execute-extended-command):
4563 Move from keyboard.c.
4564
782fbf2a
CY
45652012-05-01 Chong Yidong <cyd@gnu.org>
4566
4567 * follow.el: Eliminate advice.
4568 (set-process-filter, process-filter, sit-for): Advice deleted.
4569 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4570 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4571 Vars deleted.
782fbf2a
CY
4572 (follow-auto): Use a :set function.
4573 (follow-mode): Rewritten. Don't advise process filters.
4574 (follow-switch-to-current-buffer-all, follow-scroll-up)
4575 (follow-scroll-down): Assume follow-mode is bound.
4576 (follow-comint-scroll-to-bottom)
4577 (follow-align-compilation-windows): New functions.
4578 (follow--window-sorter): New function.
4579 (follow-all-followers): Use it to explicitly sort windows by their
4580 positions; don't make assumptions about next-window order.
4581 (follow-windows-start-end, follow-delete-other-windows-and-split)
4582 (follow-calc-win-start): Doc fix.
4583 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4584 vertical-motion unnecessarily.
4585 (follow-adjust-window): New function.
4586 (follow-post-command-hook): Use it.
4587 (follow-call-set-process-filter, follow-call-process-filter)
4588 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4589 (follow-stop-intercept-process-output, follow-generic-filter):
4590 Functions deleted.
4591 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4592 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4593 New functions, replacing advice on scroll-bar-* commands.
87233a14 4594 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4595
4596 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4597 (comint-postoutput-scroll-to-bottom): Use it.
4598 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4599
290af740
GM
46002012-05-01 Glenn Morris <rgm@gnu.org>
4601
4602 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4603 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4604 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4605 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4606 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4607 Remove no-byte-compile setting.
4608
6eac8dc9
SM
46092012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4612 all-completions code to not return a number in the last cdr.
4613
9cc7819c
LL
46142012-04-30 Leo Liu <sdl.web@gmail.com>
4615
4616 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4617 read-only error.
4618
c93b886f
CY
46192012-04-29 Chong Yidong <cyd@gnu.org>
4620
4621 * follow.el (follow-calc-win-end): Rewrite to handle partial
4622 screen lines correctly (Bug#8390).
4623 (follow-avoid-tail-recenter): Minor cleanup.
4624
8b6c19f4
SM
46252012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4626
4627 Avoid the obsolete `assoc' package.
4628 * speedbar.el (speedbar-refresh): Avoid adelete.
4629 (speedbar-file-lists): Simplify and avoid aput.
4630 * man.el (Man--sections, Man--refpages): New vars, replacing
4631 Man-sections-alist and Man-refpages-alist.
4632 (Man-build-section-alist, Man-build-references-alist):
4633 Use them; avoid aput.
4634 (Man--last-section, Man--last-refpage): New vars.
4635 (Man-follow-manual-reference): Use them.
4636 Use the `default' arg of completing-read.
4637 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4638
c5bb7569
CY
46392012-04-27 Chong Yidong <cyd@gnu.org>
4640
d1d2e2e8
CY
4641 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4642
15cd8efd
CY
4643 * startup.el (x-apply-session-resources): New function.
4644
4645 * term/ns-win.el (ns-initialize-window-system):
4646 * term/w32-win.el (w32-initialize-window-system):
4647 * term/x-win.el (x-initialize-window-system): Use it to properly
4648 set menu-bar-mode and other vars from X resources, even if the
4649 initial frame is not a window-system frame (Bug#2299).
4650
c5bb7569
CY
4651 * subr.el (read-key): Avoid running filter function when setting
4652 up temporary tool bar entries (Bug#9922).
4653
a8e7d6d7 46542012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4655
4656 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4657 (Bug#11344)
4658
a8e7d6d7 46592012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4660
4661 * select.el (xselect--encode-string): New function, split from
4662 xselect-convert-to-string.
4663 (xselect-convert-to-string): Use it.
4664 (xselect-convert-to-filename, xselect-convert-to-os)
4665 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4666 returned strings are properly encoded (Bug#11315).
4667
a8e7d6d7 46682012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4669
4670 * simple.el (delete-active-region): Move to killing custom group.
4671
a8e7d6d7 46722012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4673
4674 * progmodes/which-func.el (which-func-current): Quote %
4675 characters for mode-line processing.
4676
578c1d4b 46772012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4678
4679 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4680 reaching eob (Bug#11286).
4681
a8e7d6d7 46822012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4683
4684 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4685 (gdb): Make it buffer-local and init to zero.
4686 (gdb-control-commands-regexp): New variable.
4687 (gdb-send): Don't wrap in "-interpreter-exec console" if
4688 gdb-control-level is positive. Increment gdb-control-level
4689 whenever the command matches gdb-control-commands-regexp, and
4690 decrement it each time the command is "end". (Bug#11279)
4691
a8e7d6d7 46922012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4693
4694 * window.el (adjust-window-trailing-edge, enlarge-window)
4695 (shrink-window, window-resize):
4696 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4697 windows (Bug#11276).
4698
b3608390
CY
46992012-04-27 Chong Yidong <cyd@gnu.org>
4700
4701 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4702 fix "missing prefix" warning. All callers changed.
b3608390 4703
797e6e88
SM
47042012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * emacs-lisp/assoc.el: Move to obsolete/.
4707
e95a67dc
SM
47082012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4709
657c21e4 4710 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4711
4712 * term/ns-win.el (ns-define-service):
4713 * progmodes/pascal.el (pascal-goto-defun):
4714 * progmodes/js.el (js--read-tab):
4715 * progmodes/etags.el (tags-lazy-completion-table):
4716 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4717 * emacs-lisp/ewoc.el (ewoc--wrap):
4718 * emacs-lisp/assoc.el (aput, adelete, amake):
4719 * doc-view.el (doc-view-convert-current-doc):
4720 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4721
cb3e7ae0
CY
47222012-04-26 Chong Yidong <cyd@gnu.org>
4723
dce04f7f
CY
4724 * image.el (image-type-from-buffer): Only return supported image
4725 type (Bug#9045).
4726
cb3e7ae0
CY
4727 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4728 value, for symmetry with diff-end-of-hunk.
4729 (diff-split-hunk, diff-find-source-location)
4730 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4731 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4732 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4733 compute the relevant hunk or file properly (Bug#6005).
4734 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4735
0d42eb3e
SM
47362012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4737
4738 * vc/vc-mtn.el:
4739 * vc/vc-hg.el:
4740 * vc/vc-git.el:
4741 * vc/vc-dir.el:
4742 * vc/vc-cvs.el:
4743 * vc/vc-bzr.el:
4744 * vc/vc-arch.el:
4745 * vc/vc.el: Replace lexical-let by lexical-binding.
4746 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4747 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4748 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4749
f08ae1c9
CY
47502012-04-26 Chong Yidong <cyd@gnu.org>
4751
8b71081d
CY
4752 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4753 (diff-mode-shared-map): Bind it to / and [remap undo].
4754
f08ae1c9
CY
4755 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4756 (ediff-window-setup-function): Use it as the default, to set up
4757 windows based on whether the current frame is graphical (Bug#2138).
4758 (ediff-choose-window-setup-function-automatically): Make obsolete.
4759
4760 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4761
ef24141c
SM
47622012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4763
cc356a5d
SM
4764 * ffap.el: Remove old code for obsolete package.
4765 (ffap-complete-as-file-p): Remove.
4766
b4ff4f1f
SM
4767 Use completion-table-with-quoting for comint and pcomplete.
4768 * comint.el (comint--unquote&requote-argument)
4769 (comint--unquote-argument, comint--requote-argument): New functions.
4770 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4771 (comint-quote-filename): Use regexp-opt-charset.
4772 (comint--common-suffix, comint--common-quoted-suffix)
4773 (comint--table-subvert): Remove.
4774 (comint-unquote-function, comint-requote-function): New vars.
4775 (comint--complete-file-name-data): Use them with
4776 completion-table-with-quoting.
4777 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4778 * pcomplete.el (pcomplete-arg-quote-list)
4779 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4780 (pcomplete-unquote-argument-function): Default to non-nil.
4781 (pcomplete-unquote-argument): Simplify.
4782 (pcomplete--common-quoted-suffix): Remove.
4783 (pcomplete-requote-argument-function): New var.
4784 (pcomplete--common-suffix): New function.
4785 (pcomplete-completions-at-point): Use completion-table-with-quoting
4786 and completion-table-subvert.
4787
79c4eeb4
SM
4788 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4789 (minibuffer--double-dollars): Preserve properties.
4790 (completion--sifn-requote): New function.
4791 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4792
ef24141c
SM
4793 * minibuffer.el: Add support for completion of quoted/escaped data.
4794 (completion-table-with-quoting, completion-table-subvert): New funs.
4795 (completion--twq-try, completion--twq-all): New functions.
4796 (completion--nth-completion): New function.
4797 (completion-try-completion, completion-all-completions): Use it.
4798
784e7d6e
LL
47992012-04-25 Leo Liu <sdl.web@gmail.com>
4800
dd2ac746
SM
4801 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4802 Use compilation-message if available to find real filename.
784e7d6e 4803
07875ee7
CY
48042012-04-25 Chong Yidong <cyd@gnu.org>
4805
4806 * vc/diff-mode.el (diff-setup-whitespace): New function.
4807 (diff-mode): Use it.
4808
4809 * vc/diff.el (diff-sentinel):
4810 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4811 Whitespace mode variables based on diff style (Bug#8612).
4812
5055880d
LL
48132012-04-25 Leo Liu <sdl.web@gmail.com>
4814
daf75653
LL
4815 * progmodes/python.el (python-send-region): Add suffix .py to the
4816 temp file.
4817
5055880d
LL
4818 * files.el (auto-mode-alist): Use javascript-mode instead.
4819
db9b177b
AH
48202012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4821
ef24141c 4822 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4823
090bd7cb 4824 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4825 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4826 references, see Bug#9.
ef24141c 4827 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4828 when receiving a fault reply.
ef24141c 4829 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4830
090bd7cb 4831 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4832 (soap-inspect-simple-type): New function.
db9b177b 4833
090bd7cb 4834 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4835 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4836 (soap-decode-basic-type, soap-encode-basic-type):
4837 support unsignedInt and double basic types.
db9b177b 4838 (soap-resolve-references-for-simple-type)
ef24141c
SM
4839 (soap-parse-simple-type, soap-encode-simple-type): New function.
4840 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4841
090bd7cb 4842 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4843 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4844 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4845 the local name of "soapenc:Array".
4846 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4847 decoding integer, byte and anyURI xsd types.
4848
1fc6097b
CY
48492012-04-25 Chong Yidong <cyd@gnu.org>
4850
4851 * cus-edit.el (custom-buffer-create-internal): Update header text.
4852
afc6df87
EZ
48532012-04-25 Eli Zaretskii <eliz@gnu.org>
4854
4855 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4856 settings on 'system-type', not on 'window-system'. On MS-Windows,
4857 set interactive-mode on in GDB.
4858
dfbd787f
SM
48592012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4860
4861 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4862 (ruby-syntax-propertize-regexp): Remove.
4863 (ruby-syntax-propertize-function): Split regexp into chunks.
4864 Match following code directly.
4865
85222d44
DG
48662012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4867
51a8ea2a
DG
4868 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4869 (ruby-syntax-propertize-regexp): New function.
4870 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4871 by a special keyword.
4872
85222d44
DG
4873 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4874 (ruby-syntax-general-delimiters-goto-beg)
4875 (ruby-syntax-propertize-general-delimiters): New functions.
4876 (ruby-syntax-propertize-function): Use them to handle GDL.
4877 (ruby-font-lock-keywords): Move old handling of GDL...
4878 (ruby-font-lock-syntactic-keywords): .. to here.
4879 (ruby-calculate-indent): Adjust indentation for GDL.
4880
b613912b
MA
48812012-04-24 Michael Albinus <michael.albinus@gmx.de>
4882
b5380639
MA
4883 * notifications.el (top): Remove unneeded declarations.
4884 (notifications-specification-version): Change to "1.2".
e43042fe 4885 (notifications-interface, notifications-notify-method)
b613912b
MA
4886 (notifications-close-notification-method): Fix docstring.
4887 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4888 (notifications-notify): Add :action-items, :resident and
4889 :transient hints. Change "image_data" to "image-data" and
4890 "image_path" to "image-path".
b613912b
MA
4891 (notifications-get-capabilities): New defun.
4892
257440aa
LL
48932012-04-24 Leo Liu <sdl.web@gmail.com>
4894
4895 * progmodes/python.el: Move hideshow setup to the end.
4896
b1bac16e
MR
48972012-04-24 Martin Rudalics <rudalics@gmx.at>
4898
4899 * window.el (handle-select-window): Clear echo area since this is
4900 no more done by read_char (Bug#11304).
4901
d81bd059
SM
49022012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4903
4904 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4905 and `/ M' to filter-derived-mode.
4906 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4907 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4908 (ibuffer-mark-by-mode): Use default rather than initial-input.
4909 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4910
c4cf6d91
IA
49112012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4912
4913 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4914 (ibuffer-filter-by-derived-mode): New filter.
4915 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4916
7511ded8
CY
49172012-04-23 Andreas Politz <politza@fh-trier.de>
4918
4919 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4920
775c916b
CY
49212012-04-23 Chong Yidong <cyd@gnu.org>
4922
4923 * cus-edit.el (customize-apropos, customize-apropos-options):
4924 Disable matching of non-option variables (Bug#11176).
4925 (customize-option, customize-option-other-window)
4926 (customize-changed-options): Doc fix.
4927 (customize-apropos-options, customize-apropos-faces)
4928 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4929
4930 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4931 Fix word list splitting (Bug#11132).
46c71e23
CY
4932 (apropos-symbol, apropos-keybinding, apropos-label)
4933 (apropos-property, apropos-function-button)
4934 (apropos-variable-button, apropos-misc-button): New faces.
4935 (apropos-symbol-face, apropos-keybinding-face)
4936 (apropos-label-face, apropos-property-face, apropos-match-face):
4937 Variables removed (Bug#8396).
4938 (apropos-library-button, apropos-format-plist, apropos-print)
4939 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4940
2df41f9c
MA
49412012-04-23 Michael Albinus <michael.albinus@gmx.de>
4942
4943 * net/xesam.el (xesam-mode-map): Use let-bound map in
4944 initialization. (Bug#11292)
4945
da00640a
AM
49462012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4947
4948 Preserve ispell session localwords when switching back to
4949 original buffer.
4950
090bd7cb
JB
4951 * textmodes/ispell.el (ispell-buffer-session-localwords):
4952 New buffer-local variable to hold buffer session localwords.
ed9265fc 4953 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4954 localwords.
4955 (ispell-command-loop, ispell-change-dictionary)
4956 (ispell-buffer-local-words): Preserve session localwords when
4957 needed.
4958
090bd7cb
JB
4959 * textmodes/flyspell.el (flyspell-process-localwords)
4960 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4961
f621ccf5
AM
49622012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4963
090bd7cb
JB
4964 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4965 using obsolete `translation-table-for-input'.
ef24141c
SM
4966 (ispell-word, ispell-process-line, ispell-complete-word):
4967 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4968
c2d1019e
CY
49692012-04-22 Chong Yidong <cyd@gnu.org>
4970
4971 * cus-edit.el (custom-variable-menu)
4972 (custom-variable-reset-saved, custom-face-menu)
4973 (custom-face-reset-saved): If there is no saved value, make the
4974 "reset-saved" operation bring back the default (Bug#9509).
4975 (custom-face-state): Properly detect themed faces.
4976
eeddc531
CY
4977 * faces.el (face-spec-set): Stop supporting deprecated form of
4978 third arg.
4979
dcbf5805
MA
49802012-04-22 Michael Albinus <michael.albinus@gmx.de>
4981
4982 Move functions from C to Lisp. Make non-blocking method calls
4983 the default. Implement further D-Bus standard interfaces.
4984
ef24141c
SM
4985 * net/dbus.el (dbus-message-internal): Declare function.
4986 Remove unneeded function declarations.
dcbf5805
MA
4987 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4988 (dbus-message-type-method-return, dbus-message-type-error)
4989 (dbus-message-type-signal): Declare variables. Remove local
4990 definitions.
4991 (dbus-interface-dbus, dbus-interface-peer)
4992 (dbus-interface-introspectable, dbus-interface-properties)
4993 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4994 Adapt docstring.
4995 (dbus-interface-objectmanager): New defconst.
4996 (dbus-call-method, dbus-call-method-asynchronously)
4997 (dbus-send-signal, dbus-method-return-internal)
4998 (dbus-method-error-internal, dbus-register-service)
4999 (dbus-register-signal, dbus-register-method): New defuns, moved
5000 from dbusbind.c
5001 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
5002 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5003 New defuns.
dcbf5805
MA
5004 (dbus-call-method-non-blocking): Make it an obsolete function.
5005 (dbus-unregister-object, dbus-unregister-service)
5006 (dbus-handle-event, dbus-register-property)
5007 (dbus-property-handler): Obey the new structure of
5008 `bus-registered-objects'.
5009 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
5010 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5011 Use `dbus-call-method'.
5012
cf20dee0
CY
50132012-04-22 Chong Yidong <cyd@gnu.org>
5014
5015 * cus-edit.el (custom-commands, custom-reset-menu)
5016 (Custom-reset-standard): Tweak labels.
5017 (custom-reset-button-menu): Change default to t.
5018 (custom-buffer-create-internal): For the custom-reset-button-menu
5019 case, put the revert button first.
5020 (custom-group-subtitle): New face.
5021 (custom-group-value-create): Align docstring to a specific column.
5022
5023 * wid-edit.el (widget-documentation-link-add): Don't handle
5024 indentation in this function.
5025 (widget-documentation-string-indent-to): New function.
5026 (widget-documentation-string-value-create): Use it.
5027
5028 * autorevert.el (auto-revert):
5029 * epg-config.el (epg):
5030 * ibuffer.el (ibuffer):
5031 * mpc.el (mpc):
5032 * ses.el (ses):
5033 * eshell/eshell.el (eshell):
5034 * net/ange-ftp.el (ange-ftp):
5035 * progmodes/ebnf2ps.el (postscript):
5036 * progmodes/flymake.el (flymake):
5037 * progmodes/prolog.el (prolog):
5038 * progmodes/verilog-mode.el (verilog-mode):
5039 * progmodes/which-func.el (which-func):
5040 * term/xterm.el (xterm):
5041 * textmodes/picture.el (picture):
5042 * textmodes/tildify.el (tildify):
5043 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5044 customization buffers.
5045
583e23bd
AM
50462012-04-22 Alan Mackenzie <acm@muc.de>
5047
5048 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5049 Adding a ) can hide the resulting (..) from searches. Fix it.
5050 Bound the backward search to the position of the existing (.
5051
7dd51bf1
JB
50522012-04-21 Juanma Barranquero <lekktu@gmail.com>
5053
5054 * progmodes/verilog-mode.el (verilog-mode): Check whether
5055 which-func-modes is t before adding verilog-mode.
5056 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5057
d64a438f
LL
50582012-04-21 Leo Liu <sdl.web@gmail.com>
5059
7dd51bf1 5060 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 5061
081e8d65
MV
50622012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5063
5064 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5065 filling of the last column of a table (Bug#5635).
5066 (woman-find-next-control-line): New arg, specifying an additional
5067 regexp component for the control line.
5068 (woman2-roff-buffer): Use it.
5069 (woman-break-table): New function.
5070 (woman2-TS): Use it.
5071
50722012-04-21 Chong Yidong <cyd@gnu.org>
5073
5074 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5075 (woman-horizontal-escapes, woman-negative-vertical-space)
5076 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5077 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5078
ed571ccb
SM
50792012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5080
5081 * minibuffer.el (completion-file-name-table): Complete user names.
5082
39773899
LL
50832012-04-20 Leo Liu <sdl.web@gmail.com>
5084
5085 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5086 and pcase-let*.
5087
de6ff46d
CY
50882012-04-20 Chong Yidong <cyd@gnu.org>
5089
5090 * server.el (server-execute): Respect initial-buffer-choice if it
5091 is a string and there are no files to open (Bug#2825).
5092 (server-create-window-system-frame, server-create-tty-frame):
5093 Don't switch buffers here.
2d0e8e61
CY
5094 (server-process-filter): Only try to open a window system frame if
5095 compiled with graphical support (Bug#8314).
de6ff46d 5096
54071013
DN
50972012-04-20 Dan Nicolaescu <dann@gnu.org>
5098
5099 * battery.el (battery-echo-area-format): Display remaining time
5100 for sysfs backend too (Bug#11269).
5101 (battery-linux-sysfs): Fix conditional for the charge.
5102
f30d612a
CY
51032012-04-20 Chong Yidong <cyd@gnu.org>
5104
c07a4c0b 5105 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
5106 (gdb-inferior-io--init-proc): New function.
5107 (gdb-init-1): Use it.
5108 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5109 responsible for allocating a new pty and hooking it to gdb when
5110 the old pty gets an EIO due to process exit.
5111 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5112 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5113 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5114
2116e93c
EZ
51152012-04-20 Eli Zaretskii <eliz@gnu.org>
5116
5117 * window.el (window-min-size, window-sizable, window-min-delta)
5118 (window-max-delta, window--resizable, window-resizable)
5119 (window-total-size, window-full-height-p, window-full-width-p)
5120 (window-in-direction, window--resize-mini-window, window-resize)
5121 (window--resize-child-windows-normal)
5122 (window--resize-child-windows, window--resize-siblings)
5123 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 5124 (enlarge-window, shrink-window): Doc fixes.
2116e93c 5125
c07a4c0b 51262012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 5127
ef24141c
SM
5128 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5129 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
5130 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5131 pty process (Bug#11273).
5132 (gdb-update): New arg to suppress talking to the gdb process.
5133 (gdb-done-or-error): Use it.
5134 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5135 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5136 sentinel not being called.
5137
5138 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5139
d02766ab
CY
5140 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5141
c07a4c0b 51422012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
5143
5144 * net/network-stream.el (open-network-stream): Doc fix.
5145
c07a4c0b 51462012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
5147
5148 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5149
c07a4c0b 51502012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
5151
5152 Ensure searching for keywords is case sensitive.
5153
5154 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5155 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5156 (c-defun-name, c-mark-function, c-cpp-define-name)
5157 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 5158 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 5159
ef24141c
SM
5160 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5161 Bind case-fold-search to nil.
f0f6bc35 5162
c07a4c0b 51632012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
5164
5165 * mail/sendmail.el (mail-bury): Call return action with the right
5166 Rmail buffer (Bug#11242).
5167
9a864fa2
CY
5168 * server.el (server-process-filter): Handle corner case where both
5169 tty and nowait options are present (Bug#11102).
5170
539aa513
EZ
51712012-04-20 Eli Zaretskii <eliz@gnu.org>
5172
5173 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
5174 (top level): Put into the executable the ident-style '$Id:' tag on
5175 windows-nt as well.
539aa513 5176
cfc7d5da
SM
51772012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * electric.el (electric-indent-post-self-insert-function): Check that
5180 electric-indent-mode is enabled in current buffer.
5181
5b01685c
JB
51822012-04-19 Juanma Barranquero <lekktu@gmail.com>
5183
5184 * imenu.el (imenu-progress-message): Restore; it is "used" in
5185 erc/erc-imenu.el and net/snmp-mode.el.
5186
4d6769e1
JB
51872012-04-19 Juanma Barranquero <lekktu@gmail.com>
5188
5189 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5190 (mouse-avoidance-nudge-mouse): Remove unused binding.
5191
5192 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5193
5194 * descr-text.el (describe-char):
5195 * progmodes/python.el (python-describe-symbol):
5196 Don't call `toggle-read-only', set `buffer-read-only'.
5197
5198 * imenu.el (imenu-default-goto-function): Mark unused args.
5199 (imenu-progress-message): Remove obsolete macro; all callers changed.
5200
5201 * subr.el (keymap-canonicalize): Remove unused binding.
5202 (read-passwd): Mark unused arg.
5203
5204 * tutorial.el (tutorial--display-changes): Remove unused binding.
5205 (tutorial--save-tutorial-to): Remove unused variable.
5206
5207 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5208 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5209 (package-generate-autoloads, package-menu--generate)
5210 (package-menu--find-upgrades): Remove unused bindings.
5211
5212 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5213 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5214 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5215 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5216 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5217 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5218 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5219 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5220 (cua-delete-char-rectangle): Mark unused args.
5221 (cua-align-rectangle): Remove unused binding.
5222
5223 * mail/rmail.el (compilation--message->loc)
5224 (epa--find-coding-system-for-mime-charset): Declare.
5225
5226 * net/dbus.el (dbus-register-service): Declare.
5227 (dbus-name-owner-changed-handler): Remove unused binding.
5228
5229 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5230 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5231 (nxml-scan-backward-within): Mark unused arg.
5232 (nxml-dynamic-markup-word): Remove unused binding.
5233
5234 * mouse.el (mouse-menu-major-mode-map):
5235 * emacs-lisp/authors.el (authors-scan-change-log)
5236 (authors-add-to-author-list):
5237 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5238 * emacs-lisp/smie.el (smie-auto-fill):
5239 * mail/sendmail.el (mail-bury):
5240 * mail/unrmail.el (unrmail):
5241 * net/tls.el (open-tls-stream):
5242 * textmodes/picture.el (picture-mouse-set-point):
5243 Remove unused bindings.
5244
8c8fc5df
MA
52452012-04-19 Michael Albinus <michael.albinus@gmx.de>
5246
5247 * net/tramp.el (tramp-action-password): Let-bind
5248 `enable-recursive-minibuffers' to t.
5249
a77b0ac9
SS
52502012-04-18 Sam Steingold <sds@gnu.org>
5251
5252 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5253 instead of 'string to accommodate values like [f11].
5254 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5255 * progmodes/gdb-mi.el: Likewise.
5256
12a106a9
LL
52572012-04-18 Leo Liu <sdl.web@gmail.com>
5258
5259 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5260 current buffer.
5261 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5262 LOCAL is nil.
5263
bc6494ef
CY
52642012-04-18 Chong Yidong <cyd@gnu.org>
5265
5266 * simple.el (line-move): Use forward-line if in batch mode
5267 (Bug#11053).
5268
c09c46b2
CS
52692012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5270
5271 * files.el (after-find-file): Do not try to add a final newline if
5272 the buffer is read-only (Bug#11156).
5273
5f6530ea
RS
52742012-04-17 Richard Stallman <rms@gnu.org>
5275
5276 * mail/rmail.el (rmail-start-mail):
5277 Pass (rmail-mail-return...) for the return-action.
5278 Pass (rmail-yank-current-message...) for the yank-action.
5279 (rmail-yank-current-message): New function.
5280 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5281 (rmail-reply): Likewise.
5282 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5283
5284 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5285 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5286 buffer, not newbuf.
5287
197b6f3c
JB
52882012-04-17 Juanma Barranquero <lekktu@gmail.com>
5289
5290 * server.el (server-ensure-safe-dir): Simplify.
5291
2311d8e5 52922012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5293
2311d8e5
GM
5294 * emacs-lisp/smie.el: Provide smarter auto-filling.
5295 (smie-auto-fill): New function.
5296 (smie-setup): Use it.
98fb480e 5297
2311d8e5
GM
5298 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5299
53002012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5301
5302 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5303 (comment-indent): Use it.
5304
2311d8e5 53052012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5306
5307 * ses.el: The overall change is to add cell renaming, that is
5308 setting fancy names for cell symbols other than name matching
5309 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5310 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5311 (ses-create-cell-variable): New defun.
2311d8e5 5312 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5313 (ses-relocate-formula): Relocate formulas only for cells the
5314 symbols of which are not renamed, i.e. symbols whose names do not
5315 match regexp "\\`[A-Z]+[0-9]+\\'".
5316 (ses-relocate-all): Relocate values only for cells the symbols of
5317 which are not renamed.
5318 (ses-load): Create cells variables as the (ses-cell ...) are read,
5319 in order to check row col consistency with cell symbol name only
5320 for cells that are not renamed.
5321 (ses-replace-name-in-formula): New defun.
5322 (ses-rename-cell): New defun.
4bdf2ad2 5323
fc72b15c
PO
53242012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5325
5326 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5327 New option (bug#11118).
5328 (perl-calculate-indent): Respect it.
5329
12e10e61
GM
53302012-04-17 Glenn Morris <rgm@gnu.org>
5331
5332 * dired-aux.el (dired-mark-read-string): Doc fix.
5333
30009afd
DA
53342012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5335
5336 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5337 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5338
41f03f4d
GM
53392012-04-17 Glenn Morris <rgm@gnu.org>
5340
5341 * mouse.el (mouse-drag-track):
5342 * speedbar.el (speedbar-frame-mode):
5343 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5344
f45f90f3
LL
53452012-04-16 Leo Liu <sdl.web@gmail.com>
5346
5347 * progmodes/python.el: Trivial cleanup.
5348
94ee8db5
GM
53492012-04-16 Glenn Morris <rgm@gnu.org>
5350
121b8917
GM
5351 * vc/vc.el (vc-string-prefix-p):
5352 * vc/pcvs-util.el (cvs-string-prefix-p):
5353 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5354 * mpc.el (mpc-string-prefix-p):
5355 Make all of these into obsolete aliases for string-prefix-p.
5356 Update callers.
5357 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5358
1197ecfa
GM
5359 * textmodes/two-column.el: Move custom options to the start.
5360 (frame-width): Remove compat definition.
5361 (2C-associate-buffer, 2C-dissociate):
5362 Use with-current-buffer rather than save-excursion.
5363 (2C-dissociate): Force a mode-line update.
5364 (2C-autoscroll): Use ignore-errors.
5365
099e7202
GM
5366 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5367 Autoload trivia.
5368
bf350d6a
GM
5369 * emacs-lisp/cl-extra.el (*random-state*):
5370 Remove unnecessary declaration.
5371
0e829eab
GM
5372 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5373
e3ad7552
GM
5374 * play/cookie1.el (cookie-snarf):
5375 Give an explicit error if input file cannot be read.
5376
68892d27
GM
5377 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5378
20f0c46d
GM
5379 * progmodes/perl-mode.el (c-macro-expand):
5380 Remove unnecessary autoload (it is in loaddefs.el).
5381
5a0978ce
GM
5382 * textmodes/picture.el (picture-desired-column)
5383 (picture-update-desired-column): Convert comments to doc-strings.
5384 (picture-substitute): Remove function.
5385 (picture-mode-map): Initialize in the defvar.
5386
6b955486
GM
5387 * woman.el: Remove eval-after-load for tar-mode.
5388 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5389 (woman-tar-extract-file): Autoload it.
5390
94ee8db5
GM
5391 * frame.el (automatic-hscrolling): Make this alias obsolete.
5392
177eca34
AM
53932012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5394
090bd7cb 5395 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5396 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5397 (ispell-dictionary-base-alist): Revert to original XEmacs
5398 friendly version for default. [:alpha:] will be added in
090bd7cb 5399 `ispell-set-spellchecker-params' if needed.
177eca34 5400
c505aaeb
CY
54012012-04-16 Chong Yidong <cyd@gnu.org>
5402
b19dd9d1 5403 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5404 (imagemagick-register-types): Use it.
5405 (imagemagick-types-inhibit): Add :set function. Allow new value
5406 of t to inhibit all types.
5407
5408 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5409 so we can preload it.
5410
5411 * loadup.el (fboundp): Preload regexp-opt, needed by
5412 imagemagick-register-types.
5413
60efac0f
CY
54142012-04-15 Chong Yidong <cyd@gnu.org>
5415
5416 * frame.el (scrolling): Remove nearly unused customization group.
5417
5418 * scroll-all.el (scroll-all-mode): Move to windows group.
5419
5dd1713e
CY
54202012-04-15 Chong Yidong <cyd@gnu.org>
5421
5422 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5423
e6fd457e
CY
54242012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5425
5426 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5427 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5428
e153c136
GM
54292012-04-15 Glenn Morris <rgm@gnu.org>
5430
5431 * simple.el (process-file-side-effects): Doc fix.
5432
e6fd457e 54332012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5434
5435 * international/mule-cmds.el (set-language-environment): Doc fix.
5436
3603c3b1
JB
54372012-04-14 Juanma Barranquero <lekktu@gmail.com>
5438
5439 * server.el (server-auth-key, server-generate-key): Doc fixes.
5440 (server-get-auth-key): Doc fix. Use `string-match-p'.
5441 (server-start): Reflow docstring.
5442
e6de100c
LI
54432012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5444
5445 * server.el (server-generate-key): `called-interactively-p'
5446 requires a parameter.
5447
29734c21
MN
54482012-04-14 Michal Nazarewicz <mina86@mina86.com>
5449
5450 * server.el (server-auth-key): New variable.
75f1671a 5451 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5452 (server-start): Use the new variable and functions to allow
5453 setting a permanent server key (bug#9423).
5454
d65c9521
LL
54552012-04-14 Leo Liu <sdl.web@gmail.com>
5456
5457 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5458
5ae255c7
PE
54592012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5460
5461 Spelling fixes.
5462 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5463 Emacs uses American spelling.
5464
d5e6342e
JB
54652012-04-14 Juanma Barranquero <lekktu@gmail.com>
5466
5467 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5468 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5469 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5470 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5471
ab036cd7
SM
54722012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5473
5474 * progmodes/which-func.el (which-func-modes): Change default.
5475
35dc09a1 54762012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5477
5478 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5479 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5480
35dc09a1 54812012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5482
5483 * custom.el (custom-theme-set-variables): Doc fix.
5484
35dc09a1 54852012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5486
5487 * international/mule.el (set-auto-coding-for-load): Doc fix.
5488
35dc09a1 54892012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5490
35dc09a1
GM
5491 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5492 imenu work again for Objective C Mode. Correct the *-index values,
5493 these having been disturbed by a previous change in 2011-08.
57f845ee 5494
0de3da9f
AM
5495 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5496 Correct two search limits.
5497
35dc09a1 54982012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5499
5500 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5501
35dc09a1 55022012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5503
5504 * international/characters.el: Fix sorting.
5505
35dc09a1 55062012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5507
5508 * international/characters.el: Add more missing Latin case pairs.
5509
35dc09a1 55102012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5511
5512 * files.el (dir-locals-set-class-variables): Doc fix.
5513
35dc09a1 55142012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5515
3f1b5bf8
EZ
5516 * international/characters.el: Add set-case-syntax-pair call for
5517 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5518 counterpart. (Bug#11209)
5519
9f847f41
EZ
5520 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5521
35dc09a1 55222012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5523
5524 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5525
35dc09a1 55262012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5527
35dc09a1
GM
5528 * textmodes/ispell.el (ispell-dictionary-base-alist):
5529 Add data for Hebrew.
e2627d21 5530
35dc09a1 55312012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5532
35dc09a1
GM
5533 * net/rcirc.el (rcirc-cmd-quit):
5534 Revert 2012-03-18 change (Bug#11192).
5c14e333 5535
35dc09a1 55362012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5537
5538 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5539
35dc09a1 55402012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5541
4517fe3a
SM
5542 * minibuffer.el (completion-in-region-mode-map):
5543 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5544
b472a594
VD
55452012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5546
5547 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5548
09b95ce3
MY
55492012-04-13 Masatake YAMATO <yamato@redhat.com>
5550
5551 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5552 to allow `C-M-f' and `C-M-b' to move to the nearest path
5553 separator (bug#9511).
5554
4b63a9ca
LI
55552012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5556
5557 * avoid.el: Require cl when compiling. And also move the
5558 `provide' to the end.
5559
7b55b8bf
TV
55602012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5561
5562 * avoid.el (mouse-avoidance-banish-position): New variable.
5563 (mouse-avoidance-banish-destination): Use it (bug#10165).
5564
adedaa1f
LL
55652012-04-13 Leo Liu <sdl.web@gmail.com>
5566
5567 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5568
70e74021
KB
55692012-04-13 Ken Brown <kbrown@cornell.edu>
5570
5571 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5572 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5573 (browse-url-filename-alist): For the same reason, don't modify
5574 file:// URLs on Cygwin.
5575
e75e89ba
SM
55762012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5577
5578 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5579 the region on shift if the binding is already shifted (bug#11221).
5580
82f289a4
GM
55812012-04-12 Glenn Morris <rgm@gnu.org>
5582
5583 * mail/mailpost.el: Move to obsolete/.
5584
d333dc4c
DA
55852012-04-12 Drew Adams <drew.adams@oracle.com>
5586
5587 * imenu.el (imenu--generic-function): Ignore invisible definitions
5588 (bug#10123).
5589
0d15b5ba
VD
55902012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5591
5592 * hexl.el (hexl-bits): New variable.
5593 (hexl-options): Mention the variable in the doc string.
75f1671a 5594 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5595 (hexl-mode): Mention the new variable.
75f1671a
JB
5596 (hexl-mode, hexl-current-address, hexl-current-address):
5597 Use the displen.
0d15b5ba
VD
5598 (hexl-ascii-start-column): New function.
5599 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5600 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5601
64a440db
AM
56022012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5603
5604 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5605 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5606 the encoding, as expected by hunspell.
5607
6decb6c2
SM
56082012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5609
5610 * battery.el (battery--linux-sysfs-regexp): New const.
5611 (battery-status-function): Use it. Remove yeeloong special case.
5612 (battery-yeeloong-sysfs): Remove.
5613 (battery-echo-area-format): Remove yeeloong special case.
5614
088be6fb
SM
56152012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5616
6622e416
SM
5617 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5618 Reported by Noah Friedman.
5619
088be6fb
SM
5620 * subr.el (read-passwd): Use read-string.
5621
b49f886e
LMI
56222012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5623
5624 * vcursor.el (vcursor-move): Increase the priority of the overlay
5625 (bug#9663).
5626
a63067fc
DD
56272012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5628
5629 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5630 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5631
ac3cf14a
WS
56322012-04-11 William Stevenson <yhvh2000@gmail.com>
5633
5634 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5635 define-minor-mode (bug#10760).
5636
c4fc691b 56372012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5638
4d6769e1 5639 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5640 that directories matching `grep-find-ignored-files' won't be
5641 pruned (bug#10351).
5642
af23e2e5
CY
56432012-04-11 Chong Yidong <cyd@gnu.org>
5644
5645 * startup.el (command-line): Remove support for long-obsolete
5646 variable font-lock-face-attributes.
5647
ab7ce8c1
GM
56482012-04-11 Glenn Morris <rgm@gnu.org>
5649
5650 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5651
de8c03dc
SM
56522012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5653
5654 * window.el (window--state-get-1): Obey window-point-insertion-type.
5655
050cc68b
LB
56562012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5657
5658 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5659 to previous function when point is on the first character of a
75f1671a 5660 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5661
a38c310c
GM
56622012-04-11 Glenn Morris <rgm@gnu.org>
5663
effed0c2
GM
5664 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5665 not just file-errors.
5666
a38c310c
GM
5667 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5668 (vc-bzr-sha1): Use internal sha1.
5669
0221e323
SM
56702012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5673
43956923
SG
56742012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5675
5676 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5677 that start in the middle of the line (bug#10496).
5678
6a8c9eaf
DN
56792012-04-10 Dan Nicolaescu <dann@gnu.org>
5680
5681 * battery.el (battery-linux-proc-acpi): Only one battery is
5682 discharged at a time, but that seems to confuse battery.el when
5683 computing `rate-type' for the battery not being discharged
5684 (bug#10332).
5685
1930bf5d
SM
56862012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5687
2a718f6f
SM
5688 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5689
599430d0
SM
5690 * international/quail.el: Use dolist and simplify.
5691 (quail-define-package, quail-update-keyboard-layout)
5692 (quail-define-rules): Use dolist.
5693 (quail-insert-kbd-layout, quail-get-translation): CSE.
5694
a2754b6c
SM
5695 * tmm.el: Use dolist, remove left over hook.
5696 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5697 Use dolist.
5698 (calendar-load-hook): Don't mess with it.
5699
1930bf5d
SM
5700 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5701 Use derived-mode-p. Run the diff asynchronously.
5702
9f67961c
LMI
57032012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5704
5705 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5706
2a8ce227
JB
57072012-04-10 Juanma Barranquero <lekktu@gmail.com>
5708
5709 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5710 (list-dynamic-libraries--loaded): New function.
5711 (list-dynamic-libraries--refresh): Use it.
5712
8f33b5f8
NW
57132012-04-10 Nathan Weizenbaum <nweiz@google.com>
5714
1930bf5d
SM
5715 * progmodes/python.el (python-fill-paragraph):
5716 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5717 disabled (bug#7018).
5718
b12f0439
L
57192012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5720
1930bf5d 5721 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5722 DOS/MS Windows for the Baltic languages. There are still plenty
5723 of texts written in this encoding/codepage (bug#6519).
b12f0439 5724
57c3bd01
GM
57252012-04-10 Glenn Morris <rgm@gnu.org>
5726
5727 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5728 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5729
6c3eab30
FA
57302012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5731
1930bf5d 5732 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5733 next-line "n" and previous-line "p" in order to make recentf more
5734 consistent with ibuffer, dired or org-mode (bug#9387).
5735
24d78a88
LMI
57362012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5737
bc72b5d9
LMI
5738 * image.el (put-image): Return the overlay created instead of the
5739 optional input string (bug#7834). Note that this may break code
5740 that is (for some reason or other) depending on `put-image'
5741 returning the string.
5742
bd2dba5a
LMI
5743 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5744
74beb59f
LMI
5745 * simple.el (zap-to-char): Allow zapping using input methods
5746 (bug#1580).
5747
24d78a88
LMI
5748 * textmodes/fill.el (fill-region): Leave point and mark where they
5749 were before filling (bug#5399).
5750
263f20cd
GM
57512012-04-09 Glenn Morris <rgm@gnu.org>
5752
5753 * version.el (emacs-bzr-get-version):
5754 Handle lightweight checkouts of local branches.
5755
58d1f797
AS
57562012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5757
263f20cd 5758 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5759
b4d3bc10
CY
57602012-04-09 Chong Yidong <cyd@gnu.org>
5761
5762 * custom.el (custom-variable-p): Return nil for non-symbol
5763 arguments instead of signaling an error.
5764 (user-variable-p): Obsolete alias for custom-variable-p.
5765
5766 * apropos.el (apropos-variable):
5767 * files-x.el (read-file-local-variable):
5768 * simple.el (set-variable):
5769 * woman.el (woman-mini-help):
5770 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5771
fd06db5d
GM
57722012-04-09 Glenn Morris <rgm@gnu.org>
5773
e5fcdb5e
GM
5774 * startup.el (normal-top-level): Don't look for leim-list.el
5775 in places where it will not be found. (Bug#910)
5776
fd06db5d
GM
5777 * international/mule-cmds.el (set-default-coding-systems):
5778 * files.el (normal-mode):
5779 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5780 This function was removed with ucs-tables.el in 2008.
5781
b39bb7e1
EZ
57822012-04-08 Eli Zaretskii <eliz@gnu.org>
5783
5784 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5785 ispell-encoding8-command to "-i", without a trailing space.
5786 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5787 separate command-line arguments, to specify the encoding, since
5788 that's how hunspell expects it.
5789
5c5b8e23
GM
57902012-04-08 Glenn Morris <rgm@gnu.org>
5791
5792 * loadup.el: Load bindings before cus-start.
5793 This reduces somewhat the number of "rogue" settings in emacs -Q.
5794
a1ed8b05
GM
57952012-04-07 Glenn Morris <rgm@gnu.org>
5796
5797 * version.el (emacs-bzr-get-version): New function.
dfae128a 5798 (emacs-bzr-version): New variable.
a1ed8b05
GM
5799 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5800 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5801
b142f158
EZ
58022012-04-07 Eli Zaretskii <eliz@gnu.org>
5803
dfae128a
GM
5804 * international/uni-bidi.el, international/uni-category.el:
5805 * international/uni-combining.el, international/uni-decimal.el:
5806 * international/uni-decomposition.el, international/uni-digit.el:
5807 * international/uni-lowercase.el, international/uni-mirrored.el:
5808 * international/uni-name.el, international/uni-numeric.el:
5809 * international/uni-titlecase.el, international/uni-uppercase.el:
5810 Update for Unicode 6.1.
b142f158 5811
9078ead6
EZ
58122012-04-07 Eli Zaretskii <eliz@gnu.org>
5813
5814 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5815
f23d2c7d
LMI
58162012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5817
5818 * window.el (shrink-window): Mention the `window-min-height'
5819 variable in the doc string.
5820
0a0a3573
BG
58212012-04-05 Bastien Guerry <bzg@altern.org>
5822
5823 * color.el (color-lighten-name): Fix typo.
5824
e5248ac9
SM
58252012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5826
5827 * server.el (server--on-display-p): New function.
5828 (server--on-display-p): Use it.
5829
b4243e22
GV
58302012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5831
5832 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5833 (bug#11145).
5834
305d9f44
SM
58352012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5836
5837 * comint.el (comint--common-quoted-suffix): Check string boundary
5838 before comparing (bug#11158).
5839 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5840
3d439cd1
CY
58412012-04-04 Chong Yidong <cyd@gnu.org>
5842
321cc491
CY
5843 * minibuffer.el (completion-extra-properties): Doc fix.
5844
3d439cd1
CY
5845 * subr.el (delayed-warnings-hook): Doc fix.
5846
2d562c0f
DU
58472012-04-04 Daiki Ueno <ueno@unixuser.org>
5848
5849 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5850 selection (Bug#11159).
5851 (epa-insert-keys): Inform that the default public key will be
5852 exported if no key is selected.
5853
4443f204
RS
58542012-04-04 Richard Stallman <rms@gnu.org>
5855
5856 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5857
529c06b6
CY
58582012-04-03 Chong Yidong <cyd@gnu.org>
5859
5860 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5861 mail-insert-file, not its obsolete alias mail-attach-file.
5862
66b907dc
MA
58632012-04-03 Michael Albinus <michael.albinus@gmx.de>
5864
5865 * notifications.el (notifications-notify): Fix docstring.
5866
c0ea195d
GM
58672012-04-02 Glenn Morris <rgm@gnu.org>
5868
5869 * emacs-lisp/authors.el (authors-aliases): Another addition.
5870
5ca64e00
MA
58712012-04-02 Michael Albinus <michael.albinus@gmx.de>
5872
5873 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5874 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5875 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5876
42ee526b
CY
58772012-04-01 Chong Yidong <cyd@gnu.org>
5878
5879 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5880 Handle root directory properly.
5881 (copy-directory): Caller changed.
5882
5883 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5884 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5885
0b021094
GM
58862012-03-31 Glenn Morris <rgm@gnu.org>
5887
40f86458
GM
5888 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5889
7019c177
GM
5890 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5891
a1daddd6
GM
5892 * calendar/calendar.el (calendar-window-list)
5893 (calendar-hide-window): Restore. (Bug#11140)
5894 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5895
0b021094
GM
5896 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5897
40311efc
TV
58982012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5899
5900 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5901 Check if file is a symlink (Bug#10489).
5902
5903 * files.el (copy-directory): Likewise.
5904
5319014e
CY
59052012-03-30 Chong Yidong <cyd@gnu.org>
5906
5907 * image.el (imagemagick-types-inhibit)
5908 (imagemagick-register-types): Doc fix.
5909
935d1290
AM
59102012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5911
090bd7cb 5912 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5913 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5914 and treats ~word as ordinary words in pipe mode.
935d1290 5915
61c6e8fd
GM
59162012-03-30 Glenn Morris <rgm@gnu.org>
5917
5918 * tutorial.el (help-with-tutorial): Ensure local variables don't
5919 happen to make the buffer read-only. (Bug#11127)
5920
81fdff00
SM
59212012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5922
5923 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5924 (perl-calculate-indent): Return `noindent' in strings.
5925
6e7a6ec0
SS
59262012-03-28 Sam Steingold <sds@gnu.org>
5927
5928 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5929 instead of the broken adhockery which does not prevent calendar
5930 buffers from being displayed at random after exit.
5931 (calendar-window-list, calendar-hide-window): Remove the broken
5932 adhockery.
5933
fee88ca0
GM
59342012-03-28 Glenn Morris <rgm@gnu.org>
5935
5936 * replace.el (query-replace-map): Doc fix.
5937
38de3354
AS
59382012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5939
5940 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5941 contents. (Bug#11109)
5942
b973155e
SM
59432012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5944
5945 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5946 (bug#11077).
5947 (avl-tree--check, avl-tree--check-node): New funs.
5948
dcb6e7b3
MR
59492012-03-27 Martin Rudalics <rudalics@gmx.at>
5950
5951 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5952 (switch-to-prev-buffer, switch-to-next-buffer):
5953 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5954 showing a buffer already is done on the same frame.
5955
b4fa35fa
GM
59562012-03-27 Glenn Morris <rgm@gnu.org>
5957
5958 * startup.el (mail-host-address): Doc fix.
5959
f9210e18
SM
59602012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5961
5962 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5963 than 197 variables.
5964
c0bf7753
AF
59652012-03-26 Ami Fischman <ami@fischman.org>
5966
5967 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5968
33da7b16
GM
59692012-03-26 Glenn Morris <rgm@gnu.org>
5970
02243d9d
GM
5971 * files.el (save-buffers-kill-emacs): Doc fix.
5972
33da7b16
GM
5973 * startup.el (normal-top-level, command-line, command-line-1):
5974 Give them doc strings.
5975
e5a69fd0
EZ
59762012-03-25 Eli Zaretskii <eliz@gnu.org>
5977
5978 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5979 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5980
9a69676a
CY
59812012-03-25 Chong Yidong <cyd@gnu.org>
5982
4125cb8b
CY
5983 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5984 theme if it was previously enabled before (Bug#11031).
5985
dd470960
CY
5986 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5987 spec with custom-face-get-current-spec if its :shown-value is not
5988 determined yet (Bug#9337).
4125cb8b 5989 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5990
9a69676a
CY
5991 * button.el (button-at): Minor addition to docstring.
5992
6e7e90fa
SL
59932012-03-24 Simon Leinen <simon.leinen@gmail.com>
5994
5995 * vc/vc.el (vc-merge): Fix a prompt.
5996
f06e2758
CY
59972012-03-24 Chong Yidong <cyd@gnu.org>
5998
5999 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6000 point (Bug#9623).
6001
6e7e90fa
SL
6002 * button.el (button-at): Minor addition to docstring.
6003
b9d0879b
SM
60042012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
6005
6006 * newcomment.el (comment-choose-indent): No space after BOL.
6007
e71cebb3
SS
60082012-03-22 Sam Steingold <sds@gnu.org>
6009
6010 * window.el (switch-to-prev-buffer): Revert last patch because the
6011 bug turned out to be an advertised feature (Elisp manual 28.14).
6012
335aff35
GM
60132012-03-22 Glenn Morris <rgm@gnu.org>
6014
6015 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
6016 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6017
c676576a
LMI
60182012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
6019
6020 * net/network-stream.el (network-stream-open-starttls): Make error
6021 message under Windows be less misleading.
6022
126f3d39
LW
60232012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
6024
6025 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6026 understands (bug#9942).
6027
64fee311
CY
60282012-03-22 Chong Yidong <cyd@gnu.org>
6029
6030 * simple.el (end-of-visible-line): Handle return value of
6031 next-single-property-change properly (Bug#9371).
6032
a640d29a
KH
60332012-03-22 Kenichi Handa <handa@m17n.org>
6034
6035 * international/quail.el (quail-insert-kbd-layout): Fix previous
6036 change. To avoid unwanted bidi reordering, use
6037 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6038
39675016
DG
60392012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6040
6041 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6042 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6043 (ruby-beginning-of-indent): Be more careful with the difference
6044 between word-boundary and symbol boundary.
6045 (ruby-mode-syntax-table): Make : a symbol constituent.
6046
0a6934fc 60472012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 6048
3d008e4f
SM
6049 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6050
0a6934fc
SM
60512012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6052
af67c9d7
SM
6053 * progmodes/etags.el (tags-completion-at-point-function):
6054 Improve last fix.
6055
1acad97c
SM
6056 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6057
e298b5da
SS
60582012-03-21 Sam Steingold <sds@gnu.org>
6059
6060 * progmodes/etags.el (tags-completion-at-point-function):
6061 Avoid the error when point is inside the pattern.
6062
91d82a70
JY
60632012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6064
6065 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6066 line (Bug#10855).
6067
69188b79
CY
60682012-03-21 Drew Adams <drew.adams@oracle.com>
6069
6070 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6071
99fc91fe
AK
60722012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6073
6074 * ido.el (ido-set-current-directory, ido-read-internal)
6075 (ido-choose-completion-string, ido-completion-help): Handle nil
6076 value of ido-completion-buffer (Bug#11008).
6077
087bbb4c
SS
60782012-03-21 Sam Steingold <sds@gnu.org>
6079
6080 * window.el (switch-to-prev-buffer): Do not switch to a visible
6081 window previous buffer, just like with the frame previous buffers.
6082
fb5b8aca
CY
60832012-03-21 Chong Yidong <cyd@gnu.org>
6084
6085 * faces.el (make-face, make-empty-face, copy-face):
6086 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6087 Doc fixes.
6088
dc9924b8
SM
60892012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6090
6091 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6092 (widget-complete): Remove broken use of it.
6093
f0bcceb9
CY
60942012-03-20 Chong Yidong <cyd@gnu.org>
6095
dc9924b8
SM
6096 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6097 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
6098 characters.
6099
ee52ebf3
TH
61002012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6101
6102 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6103 to draw rectangles, not squares. (Regression introduced by revno
6104 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6105
4c5779ab
CY
61062012-03-18 Chong Yidong <cyd@gnu.org>
6107
6108 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6109 it is not yet defined (for temacs).
6110
15360934
LL
61112012-03-18 Leo Liu <sdl.web@gmail.com>
6112
dc9924b8 6113 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 6114
d9a8eb66
EZ
61152012-03-17 Eli Zaretskii <eliz@gnu.org>
6116
6117 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6118 (ispell-choices-win-default-height, ispell-silently-savep)
6119 (ispell-dictionary-alist, ispell-encoding8-command)
6120 (ispell-check-version, ispell-aspell-find-dictionary)
6121 (ispell-valid-dictionary-list, ispell-words-keyword)
6122 (ispell-get-word, ispell-internal-change-dictionary)
6123 (ispell-region, ispell-skip-region-list)
6124 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6125 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6126 (ispell-message-text-end, ispell-message)
6127 (ispell-buffer-local-parsing): Doc fix.
6128
f02ff80d
J
61292012-03-13 Jambunathan K <kjambunathan@gmail.com>
6130
6131 * htmlfontify.el: Add support for code block fontification for ODT
6132 export (Bug #9914).
6133 (hfy-optimisations): Define new option
6134 `body-text-only'
6135 (hfy-fontify-buffer): Honor above setting.
6136 (hfy-begin-span, hfy-end-span): New routines factored out form
6137 `hfy-fontify-buffer'.
6138 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6139 that permit insertion of custom tags.
6140 (hfy-fontify-buffer): Use above handlers.
6141 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6142 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 6143 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 6144 over multiple runs. This is made possible by having the caller let
f02ff80d
J
6145 bind a special variable `hfy-user-sheet-assoc'.
6146 (htmlfontify-string): New defun.
6147 (hfy-compile-face-map): Make sure that the last char in the
6148 buffer is correctly fontified.
6149 (hfy-face-resolve-face): Whitespace only change.
6150
9ac7a13f
EZ
61512012-03-17 Eli Zaretskii <eliz@gnu.org>
6152
6153 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6154 message more clear.
6155
e2b5bdd7
LL
61562012-03-16 Leo Liu <sdl.web@gmail.com>
6157
6158 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6159
2e492df3
AM
61602012-03-16 Alan Mackenzie <acm@muc.de>
6161
6162 Further optimise the handling of large macros.
6163
6164 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6165 limit to a call of `c-literal-limits'.
6166 (c-determine-+ve-limit): New function.
dc9924b8
SM
6167 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6168 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
6169 In CASE 5B, restrict a search limit to 500.
6170 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6171
6172 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6173 Restrict macro bounds to +-500 from after-change's BEG END.
6174
50e94f0c
LL
61752012-03-16 Leo Liu <sdl.web@gmail.com>
6176
6177 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6178
6f09f6ed
AH
61792012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6180
6181 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 6182 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 6183
c7e73d51
GM
61842012-03-16 Glenn Morris <rgm@gnu.org>
6185
da986230
GM
6186 * view.el (view-buffer, view-buffer-other-window)
6187 (view-buffer-other-frame): Doc fixes re special mode-class.
6188
0835f01e
GM
6189 * subr.el (eval-after-load): If named feature is provided not from
6190 a file, run after-load forms. (Bug#10946)
6191
c7e73d51
GM
6192 * calendar/calendar.el (calendar-insert-at-column):
6193 Handle non-unit-width characters a bit better. (Bug#10978)
6194
3f2eafd1
CY
61952012-03-15 Chong Yidong <cyd@gnu.org>
6196
6197 * emacs-lisp/ring.el (ring-extend): New function.
6198 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6199
6200 * comint.el (comint-read-input-ring)
6201 (comint-add-to-input-history): Grow comint-input-ring lazily.
6202
103af3fe
SM
62032012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6204
663b1677
SM
6205 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6206 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6207
103af3fe
SM
6208 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6209 (imenu-add-to-menubar): Don't add a redundant index.
6210 (imenu-update-menubar): Handle a dynamically composed keymap.
6211
899cb7cb
KY
62122012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6213
6214 * mail/sendmail.el (mail-encode-header):
6215 Bind rfc2047-encode-encoded-words to nil.
6216
3809f91d
GM
62172012-03-13 Glenn Morris <rgm@gnu.org>
6218
6219 * calendar/calendar.el (calendar-string-spread):
6220 Handle non-unit-width characters a bit better. (Bug#10978)
6221
9e345a01
LL
62222012-03-13 Leo Liu <sdl.web@gmail.com>
6223
6224 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6225 directory and file as argument (Bug#10822).
6226
4a07df36
KS
62272012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6228
6229 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6230 For dynamically generated code, follow $PC.
6231 (gdb-disassembly-handler-custom): Handle no function name case.
6232
4aaa9356
TL
62332012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6234
6235 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6236 * emulation/ws-mode.el (ws-query-replace):
6237 * sort.el (sort-regexp-fields):
6238 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6239
225979da
SM
62402012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6241
6242 * dabbrev.el: Fix cycle completion order (bug#10963).
6243 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6244 (dabbrev-completion): Don't use an obarray; provide
6245 a cycle-sort-function.
6246
e2f1fdab
LL
62472012-03-12 Leo Liu <sdl.web@gmail.com>
6248
dc9924b8 6249 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6250 (kill-do-not-save-duplicates): Doc fix.
6251
b19490ed
SM
62522012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6253
6254 * dabbrev.el: Fix cycle completion (bug#10963).
6255 Use lexical binding and wrap to 80 columns.
6256 (dabbrev-completion): Delay computing the list of completions.
6257
4b05d722
KH
62582012-03-12 Kenichi Handa <handa@m17n.org>
6259
6260 * international/quail.el (quail-insert-kbd-layout): Surround each
6261 row by LRO and PDF instead of inserting many LRMs. Pad the left
6262 and right of each non-spacing marks. Insert invisible space
6263 between lower and upper characters to prevent composition.
6264
dbbc2e69
SM
62652012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6266
6267 * minibuffer.el (minibuffer-complete): Don't get confused when the
6268 function is run twice via different commands (bug#10958).
6269 (complete-with-action): Fix docstring.
6270
292112ed
CY
62712012-03-12 Chong Yidong <cyd@gnu.org>
6272
5d1ac394
CY
6273 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6274 (nxml-completion-at-point-function): New function.
6275 (nxml-mode): Use it.
6276 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6277
292112ed
CY
6278 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6279 Load generated autoloads file before byte compiling (Bug#10970).
6280 (package--make-autoloads-and-compile): New helper fun.
6281
4098f8f7
CS
62822012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6283
6284 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6285
8f754691
MA
62862012-03-11 Michael Albinus <michael.albinus@gmx.de>
6287
6288 * autorevert.el (auto-revert-handler): Ensure, that
6289 file-readable-p is applied only for local files or in
6290 auto-revert-tail-mode.
6291
e29ab36b
AS
62922012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6293
dbbc2e69
SM
6294 * server.el (server-eval-at): Handle non-tcp connections.
6295 Decode result string.
ad0bf5b6 6296
e29ab36b
AS
6297 * server.el (server-msg-size): New constant.
6298 (server-reply-print): New function.
6299 (server-eval-and-print): Use it.
6300 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6301 Handle -print-nonl.
6302
de5939ba
CS
63032012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6304
6305 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6306 (Bug#10987).
6307
0c93eabf
CY
63082012-03-11 Chong Yidong <cyd@gnu.org>
6309
397a688f
CY
6310 * simple.el (goto-line): Doc fix (Bug#9938).
6311
2cc775f9
CY
6312 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6313
0c93eabf
CY
6314 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6315 when finished (Bug#10963).
6316
c491fa41
MR
63172012-03-11 Martin Rudalics <rudalics@gmx.at>
6318
6319 * window.el (split-window-below): Fix bug in case where
6320 split-window-keep-point is nil (Bug#10971).
6321
300e8fa5
JL
63222012-03-11 Juri Linkov <juri@jurta.org>
6323
6324 * replace.el (replace-highlight): Set isearch-word to nil
6325 unconditionally. (Bug#10887)
6326
dbf6c5a1
EZ
63272012-03-10 Eli Zaretskii <eliz@gnu.org>
6328
6329 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6330 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6331 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6332 (mairix-widget-create-query): Add usage information about mairix
6333 search forms: negating words, searching for substrings, etc.
6334
b9e501de
JP
63352012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6336
6337 * international/fontset.el (font-encoding-alist): Add an entry for
6338 ksx1001 (Bug#5667).
6339
92795c91
RS
63402012-03-10 Richard Stallman <rms@gnu.org>
6341
1694e6c1
RS
6342 * mail/sendmail.el (mail-encode-header):
6343 Set rfc2047-encode-encoded-words.
6344
607e8555
RS
6345 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6346
de3bc99a
RS
6347 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6348 view buffer means not swapped.
6349 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6350 (rmail-write-region-annotate): Error if real text has disappeared.
6351
92795c91
RS
6352 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6353
699bd04e
CY
63542012-03-10 Chong Yidong <cyd@gnu.org>
6355
6356 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6357 * emulation/cua-base.el (cua--init-keymaps):
6358 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6359
570a1714
MR
63602012-03-10 Martin Rudalics <rudalics@gmx.at>
6361
dbbc2e69
SM
6362 * speedbar.el (speedbar-unhighlight-one-tag-line):
6363 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6364
82dcf4e4
CY
63652012-03-10 Chong Yidong <cyd@gnu.org>
6366
7a2c7ca7
CY
6367 * minibuffer.el (completion-in-region, completion-help-at-point):
6368 Give the completion field overlay a high priority (Bug#6830).
6369
82dcf4e4
CY
6370 * dired.el (dired-goto-file): Recognize absolute file name
6371 listings (Bug#7126).
6372 (dired-goto-file-1): New helper function.
6373 (dired-toggle-read-only): Inhibit warnings.
6374
052e28ac
MA
63752012-03-09 Michael Albinus <michael.albinus@gmx.de>
6376
75f1671a 6377 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6378 there are no properties.
6379
95d5e396
LL
63802012-03-09 Leo Liu <sdl.web@gmail.com>
6381
6382 * savehist.el (savehist-printable): Stricter check for string
6383 value (Bug#10937).
6384
3f018d6d
EZ
63852012-03-09 Eli Zaretskii <eliz@gnu.org>
6386
dbbc2e69
SM
6387 * mail/smtpmail.el (smtpmail-send-it):
6388 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6389 valid mbox format.
6390
f7fd3d79
GM
63912012-03-09 Glenn Morris <rgm@gnu.org>
6392
6393 * files.el (dir-locals-find-file):
6394 Don't check result is regular, readable.
6395 (dir-locals-read-from-file): Demote errors.
6396
6ff6e72f
EZ
63972012-03-08 Eli Zaretskii <eliz@gnu.org>
6398
dbbc2e69
SM
6399 * international/quail.el (quail-insert-kbd-layout):
6400 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6401 layout cell, to prevent their reordering by bidi display engine.
6402 For details, see the discussion in
6403 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6404
9cec7834
AM
64052012-03-08 Alan Mackenzie <acm@muc.de>
6406
6407 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6408 the starting position; make it extend the marked region when
6409 invoked repeatedly - all under appropriate circumstances.
6410 Fixes bugs #5525, #10906.
6411
9a40b8d4
GM
64122012-03-08 Glenn Morris <rgm@gnu.org>
6413
6414 * files.el (locate-dominating-file, dir-locals-find-file):
6415 Undo 2012-03-06 change.
6416
7a08ed35
EZ
64172012-03-07 Eli Zaretskii <eliz@gnu.org>
6418
dbbc2e69
SM
6419 * international/quail.el (quail-help):
6420 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6421 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6422 for the reason.
6423
5aca4f71 64242012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6425
6426 Avoid superfluous registering of signals. (Bug#10807)
6427
6428 * notifications.el (notifications-on-action-object)
6429 (notifications-on-close-object): New defvars.
6430 (notifications-on-action-signal, notifications-on-closed-signal):
6431 Unregister the signal if not needed any longer.
6432 (notifications-notify): Register `notifications-action-signal' or
6433 `notifications-closed-signal', if :on-action or :on-close has been
6434 passed as argument.
6435
78e8b10a
CY
64362012-03-07 Chong Yidong <cyd@gnu.org>
6437
6438 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6439 non-X platforms.
6440
69481eb8
GM
64412012-03-06 Glenn Morris <rgm@gnu.org>
6442
6443 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6444 (x-disown-selection-internal, x-get-selection-internal):
6445 Doc fix (add arglist signatures). (Bug#10783)
6446
133b8e11
KS
64472012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6448
6449 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6450 Handle breakpoints with no "type".
6451
99a83064
GM
64522012-03-06 Glenn Morris <rgm@gnu.org>
6453
6454 * files.el (locate-dominating-file): Add optional predicate argument.
6455 (dir-locals-find-file): Make use of above change.
6456
17798e78
TTN
64572012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6458
6459 * info.el (Info-insert-dir): Also try "dir.gz".
6460
eb182446
GM
64612012-03-06 Glenn Morris <rgm@gnu.org>
6462
8f2114ee
GM
6463 * files.el (dir-locals-find-file):
6464 Ignore non-readable or non-regular files. (Bug#10928)
6465
eb182446
GM
6466 * files.el (locate-dominating-file): Doc fix.
6467
24679323
AS
64682012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6469
6470 * calendar/calendar.el (calendar-set-mode-line):
6471 `getenv' returns a string. (Bug#10951)
6472
01d972a9
LL
64732012-03-05 Leo Liu <sdl.web@gmail.com>
6474
109aa8a9
LL
6475 * simple.el (backward-delete-char-untabify): Constrain point to
6476 field (Bug#10939).
6477
01d972a9
LL
6478 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6479
10607bea
CY
64802012-03-05 Chong Yidong <cyd@gnu.org>
6481
6482 * simple.el (count-words): If called from Lisp, return the word
6483 count, for symmetry with `count-lines'. Arglist changed.
6484 (count-words--message): Args changed. Consolidate counting code
6485 from count-words and count-words-region.
6486 (count-words-region): Caller changed.
6487 (count-lines-region): Make it an obsolete alias.
6488
5dd11cfe
TH
64892012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6490
6491 * saveplace.el (save-place-to-alist)
6492 (save-place-ignore-files-regexp): Allow value nil to disable this
6493 feature.
6494
c349f4e6
CY
64952012-03-04 Chong Yidong <cyd@gnu.org>
6496
6497 * faces.el (face-spec-reset-face): For the default face, reset the
6498 attributes to default values (Bug#10748).
6499
e627be4c
LMI
65002012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6501
6502 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6503 previous patch: Check `message-send-mail-function', and not the
6504 default function (bug#10897).
6505
ebeabff4
MA
65062012-03-04 Michael Albinus <michael.albinus@gmx.de>
6507
a41a6cf4
MA
6508 * notifications.el (notifications-on-action-signal)
6509 (notifications-on-closed-signal): Check for unique service name of
6510 incoming event. Fix error in removing entry.
ebeabff4 6511 (top): Register for signals with wildcard service name.
a41a6cf4 6512 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6513
c1ca42b4
CY
65142012-03-04 Chong Yidong <cyd@gnu.org>
6515
dc9924b8 6516 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6517
ea16568d
GM
65182012-03-04 Glenn Morris <rgm@gnu.org>
6519
6520 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6521 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6522 (expand-abbrev, define-abbrev-table): Doc fixes.
6523
fbae4637
LMI
65242012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6525
6526 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6527 `message-default-send-mail-function' and not `send-mail-function'
6528 when doing the prompting for `sendmail-query-once' before sending
6529 in Message buffers (bug#10897).
6530
a1e7225c
LMI
6531 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6532 This is inconsistent with all the other stream functions, which leave
6533 the setting up to the higher levels (if so wanted) (bug#10931).
6534
56d093a9
AM
65352012-03-02 Alan Mackenzie <acm@muc.de>
6536
6537 Depessimize the handling of very large macros.
6538
6539 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6540 (c-macro-cache-syntactic): New variables to implement a one
6541 element macro cache.
6542 (c-invalidate-macro-cache): New function.
6543 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6544 Adapt to use the new cache.
6545 (c-state-safe-place): Use better the cache of safe positions.
6546 (c-state-semi-nonlit-pos-cache)
6547 (c-state-semi-nonlit-pos-cache-limit):
6548 New variables for...
6549 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6550 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6551 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6552 Use c-state-semi-safe-place.
56d093a9 6553
dbbc2e69
SM
6554 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6555 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6556
817e5c3d
MA
65572012-03-02 Michael Albinus <michael.albinus@gmx.de>
6558
dbbc2e69
SM
6559 * jka-compr.el (jka-compr-call-process):
6560 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6561 not remote.
6562
a032a702
MA
65632012-03-01 Michael Albinus <michael.albinus@gmx.de>
6564
6565 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6566 access of FILE2, if FILE1 does not exist.
6567
99a54f21
MA
6568 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6569 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6570
6571 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6572 Add "PAGER=" to `process-environment'.
6573
f6561e1f
MM
65742012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6575
6576 * progmodes/sql.el: Bug fix
6577 (sql-get-login-ext): Save login values in globals.
6578 (sql-get-login): Use new version of `sql-get-login-ext'.
6579 (sql-interactive-mode): Set global `sql-connection' to nil.
6580 (sql-connect): Set global values for connection.
6581 (sql-product-interactive): Save global values as buffer local.
6582
2d44d9cc
LL
65832012-02-29 Leo Liu <sdl.web@gmail.com>
6584
6585 * abbrev.el (define-abbrevs): Reset sys to nil.
6586
96b49301 65872012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6588
bf7f9bc5
JB
6589 * files.el (file-equal-p): Rename from `files-equal-p'.
6590 Return nil when one or both files don't exist.
96b49301 6591 (file-subdir-of-p): Now only top directory must exists,
6592 return nil if it doesn't.
bf7f9bc5
JB
6593 (copy-directory): No need to test with `file-subdir-of-p' after
6594 creating dir.
6595 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6596 to `file-equal-p'.
96b49301 6597
44e97401
GM
65982012-02-28 Glenn Morris <rgm@gnu.org>
6599
6600 * shell.el (shell-mode):
6601 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6602 * play/landmark.el (landmark-font-lock-face-O):
6603 * play/handwrite.el (handwrite):
6604 * play/gomoku.el (gomoku-O):
6605 * net/browse-url.el (browse-url-browser-display):
6606 * international/mule.el (define-charset):
6607 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6608 * filesets.el (filesets-find-file-delay):
6609 * eshell/em-xtra.el (eshell-xtra):
6610 * eshell/em-unix.el (eshell-grep):
6611 * emulation/viper.el (viper-mode):
6612 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6613 * emacs-lisp/easymenu.el (easy-menu-define):
6614 * calendar/timeclock.el (timeclock-use-display-time):
6615 * bs.el (bs-mode):
6616 * bookmark.el (bookmark-save-flag):
6617 Doc fix (standardize possessive apostrophe usage).
6618
c98c6276
CY
66192012-02-27 Chong Yidong <cyd@gnu.org>
6620
bf7f9bc5
JB
6621 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6622 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6623
c98c6276
CY
6624 * font-lock.el (font-lock-specified-p): Rename from
6625 font-lock-spec-present. Callers changed.
6626
9c62cd04 66272012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6628
bf7f9bc5
JB
6629 * emacs-lisp/package.el (package-compute-transaction):
6630 Handle holding a package version to t in package-load-list.
8ac9e529 6631
530739c9
MA
66322012-02-26 Michael Albinus <michael.albinus@gmx.de>
6633
6634 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6635 (tramp-get-inode, tramp-get-device): Use cached values.
6636
487915d7
AM
66372012-02-26 Alan Mackenzie <acm@muc.de>
6638
6639 Check there is a font-lock specification before doing initial
6640 fontification.
6641
6642 * font-core.el (font-lock-mode): Move the conditional from
6643 :after-hook to font-lock-initial-fontify.
6644 (font-lock-default-function): Move the check for a specification
6645 to font-lock-spec-present.
6646
dc9924b8 6647 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6648 (font-lock-spec-present): New function.
6649
4fd96557
JB
66502012-02-26 Jim Blandy <jimb@red-bean.com>
6651
6652 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6653 (gdb-send): Apply it to the operand of the '-interpreter-exec
6654 console' command, so that we can pass arguments with (say) quotes
6655 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6656
9a4888c0
CY
66572012-02-26 Chong Yidong <cyd@gnu.org>
6658
07498861
CY
6659 * help-fns.el (describe-function-1): Clarify description of
6660 remapping (Bug#10844).
6661
9a4888c0
CY
6662 * files.el (files-equal-p): Doc fix.
6663 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6664 and quit the loop once a mismatch is found.
6665
ea8fb88d
JB
66662012-02-25 Juanma Barranquero <lekktu@gmail.com>
6667
6668 * bs.el (bs--show-with-configuration): Don't throw an error
6669 if the window cannot be split; otherwise, subsequent calls to
6670 bs-show fail, restoring a stale window config. (Bug#10882)
6671
525795c1
JD
66722012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6673
6674 * term/ns-win.el (global-map): Bind ns-drag-file to
6675 ns-find-file (Bug#5855, Bug#10050).
6676
f008086f
AS
66772012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6678
6679 * calendar/parse-time.el (parse-time-string): Allow extractor to
6680 return nil.
6681
a3fcfa99
MA
66822012-02-25 Michael Albinus <michael.albinus@gmx.de>
6683
91027d08
JB
6684 * net/tramp.el (tramp-file-name-for-operation):
6685 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6686
6687 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6688 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6689 Add COPY-CONTENTS argument.
a3fcfa99 6690
67b0de11
CY
66912012-02-25 Chong Yidong <cyd@gnu.org>
6692
6693 Add custom groups for VC backends, for consistency with vc-bzr.
6694
6695 * vc/vc-arch.el (vc-arch):
6696 * vc/vc-cvs.el (vc-cvs):
6697 * vc/vc-git.el (vc-git):
6698 * vc/vc-hg.el (vc-hg):
6699 * vc/vc-mtn.el (vc-mtn):
6700 * vc/vc-rcs.el (vc-rcs):
6701 * vc/vc-sccs.el (vc-sccs):
6702 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6703 All relevant defcustoms reassigned.
6704
3c9dfce6
CY
67052012-02-25 Chong Yidong <cyd@gnu.org>
6706
1339bf43
CY
6707 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6708
3c9dfce6
CY
6709 * term/x-win.el (x-initialize-window-system): Reduce default for
6710 x-selection-timeout to 5 seconds (Bug#8869).
6711
25b2e303 67122012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6713
ec70a47d
GM
6714 * files.el (files-equal-p, file-subdir-of-p): New functions.
6715 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6716 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6717 * dired-aux.el (dired-copy-file-recursive): Same.
6718 (dired-create-files): Modify destination when source is equal to
6719 dest when copying files.
53a46cd0 6720 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6721
914260cd
MA
67222012-02-24 Michael Albinus <michael.albinus@gmx.de>
6723
6724 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6725 (Bug#10874)
6726
2cb228f7
AM
67272012-02-23 Alan Mackenzie <acm@muc.de>
6728
6729 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6730 parameter "after-hook:" to allow the expansion to run code after
6731 the execution of the mode hooks.
6732
6733 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6734 from font-lock-mode-internal.
2cb228f7 6735
91027d08 6736 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6737 :after-hook.
6738
8f0fde21
SM
67392012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6740
3e88618b
SM
6741 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6742 (completion--cache-all-sorted-completions): New function.
6743 (completion-all-sorted-completions): Use it.
6744 (completion--do-completion, minibuffer-force-complete):
6745 Use it to re-instate the flush hook.
6746
8f0fde21
SM
6747 * icomplete.el (icomplete-completions): Replace last fix with a better
6748 one (bug#10850).
6749
8e911f6f
DG
67502012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6751
6752 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6753 when it might call us back infinitely (bug#10797).
6754
49fe4321
GM
67552012-02-23 Glenn Morris <rgm@gnu.org>
6756
6757 * minibuffer.el (completion-category-overrides): Doc fix.
6758
b291b572
SM
67592012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6760
6761 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6762 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6763
31a9ef2e
GM
67642012-02-23 Glenn Morris <rgm@gnu.org>
6765
5e6e6794 6766 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6767 (authors-obsolete-files-regexps, authors-ignored-files)
6768 (authors-ambiguous-files, authors-renamed-files-alist):
6769 Add more entries.
6770
0bd1e074
JL
67712012-02-23 Juri Linkov <juri@jurta.org>
6772
6773 * isearch.el (isearch-occur): Sync interactive spec with occur's
6774 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6775
b617673c
JL
6776 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6777
19e9789e
JL
67782012-02-22 Juri Linkov <juri@jurta.org>
6779
6780 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6781 (ucs-insert): Doc fix. Check for hex digits in the string.
6782 Don't display `nil' in the error message. (Bug#10857)
6783
f41ce09d
AM
67842012-02-22 Alan Mackenzie <acm@muc.de>
6785
7a71b18d 6786 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6787
ac2eceee
GM
67882012-02-22 Glenn Morris <rgm@gnu.org>
6789
6790 * ffap.el (ffap-c-path):
6791 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6792
abd1f678
CY
67932012-02-22 Chong Yidong <cyd@gnu.org>
6794
6795 * custom.el (load-theme): Doc fix.
6796
f25aef2e
GM
67972012-02-22 Glenn Morris <rgm@gnu.org>
6798
6799 * dired-x.el (dired-guess-shell-alist-default):
6800 Remove escape sequences from nroff output. (Bug#172)
6801
5f8dc2ca
GM
68022012-02-21 Glenn Morris <rgm@gnu.org>
6803
6ff86ec4
GM
6804 * vc/emerge.el (emerge-defvar-local):
6805 Set `permanent-local' property rather than unused `preserved'.
6806
be3223a3 6807 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6808 (picture-mode-map): Use it. (Bug#10860)
6809 (picture-mode): Doc fix.
6810
3fe58f4f
JB
68112012-02-21 Juanma Barranquero <lekktu@gmail.com>
6812
6813 * newcomment.el (uncomment-region-default): Remove unused binding.
6814
f9a998c3
GM
68152012-02-21 Glenn Morris <rgm@gnu.org>
6816
6817 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6818 (picture-self-insert, picture-tab-chars): Doc fix.
6819 (picture-mode-map): Fix C-a, C-e.
6820
c6029348
GM
68212012-02-20 Glenn Morris <rgm@gnu.org>
6822
6823 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6824
ab1ce9d7
LL
68252012-02-20 Leo Liu <sdl.web@gmail.com>
6826
6827 * icomplete.el (icomplete-completions): Check FROM arg before
6828 passing to substring (Bug#10850).
6829
0fd40f89
CY
68302012-02-19 Chong Yidong <cyd@gnu.org>
6831
6832 * comint.el: Require ansi-color.
6833 (comint-output-filter-functions): Add ansi-color-process-output.
6834
6835 * ansi-color.el: Don't set comint-output-filter-functions; it is
6836 now in the initial value defined in comint.el.
6837 (ansi-color-apply-face-function): New variable.
6838 (ansi-color-apply-on-region): Use it.
6839 (ansi-color-apply-overlay-face): New function.
6840
6841 * shell.el (shell): No need to require ansi-color.
6842 (shell-mode): Use ansi-color-apply-face-function to highlight
6843 color escapes using font-lock-face property (Bug#10835).
6844
20af2394
CY
68452012-02-19 Chong Yidong <cyd@gnu.org>
6846
6847 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6848 mode-line formats (Bug#10839).
6849
e23a3fbe
GM
68502012-02-18 Glenn Morris <rgm@gnu.org>
6851
b474519e
GM
6852 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6853
6854 * mail/undigest.el (unforward-rmail-message): Doc fix.
6855
e23a3fbe
GM
6856 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6857
57939ff4
EZ
68582012-02-18 Eli Zaretskii <eliz@gnu.org>
6859
6860 * international/characters.el (script-list): Sync with the latest
6861 Unicode Character Database.
6862
0c23686e
AS
68632012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6864
6865 * international/titdic-cnv.el: Remove duplicate coding tag.
6866 * language/cham.el: Likewise.
6867 * language/tai-viet.el: Likewise.
6868
6818b449
GM
68692012-02-18 Glenn Morris <rgm@gnu.org>
6870
6871 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6872 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6873 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6874 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6875 * calendar/holidays.el (holiday-bahai-holidays)
6876 (calendar-holidays, list-holidays):
6877 Use utf-8 Bahá'í in doc-strings, menus, etc.
6878
0311a3fc
TH
68792012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6880
6881 * saveplace.el (save-place-ignore-files-regexp): New variable
6882 allowing for excluding files from saving their location of point.
6883 The default value matches the temporary commit message editing
6884 files from Git, SVN, Bazaar, and Mercurial.
6885 (save-place-to-alist): Use it.
6886
d209e2fb 68872012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6888 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6889
6890 * newcomment.el (uncomment-region-default): Don't leave extra space
6891 when an arg is provided (bug#8150).
6892
ee0ce425
TZ
68932012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6894
eb864a71 6895 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6896
95ddf442
GM
68972012-02-17 Glenn Morris <rgm@gnu.org>
6898
6899 * net/socks.el: Require network-stream. (Bug#10599)
6900
48dd1e39 69012012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6902
6903 * international/charprop.el:
6904 * international/uni-name.el:
6905 * international/uni-old-name.el:
6906 * international/uni-comment.el: Regenerate.
6907
d68cd087
GM
69082012-02-16 Glenn Morris <rgm@gnu.org>
6909
6910 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6911 Interactively in calendar buffer, give an error if not on a date.
6912
13932042
GM
69132012-02-15 Glenn Morris <rgm@gnu.org>
6914
6915 * shell.el (shell-delimiter-argument-list):
6916 Revert 2011-02-17 change. (Bug#8027)
6917
c3a70e2b
CY
69182012-02-15 Chong Yidong <cyd@gnu.org>
6919
60236b0d
CY
6920 * minibuffer.el (completion-at-point-functions): Doc fix.
6921
c3a70e2b
CY
6922 * custom.el (defcustom): Doc fix; note use of defvar.
6923
9f26dc24
GM
69242012-02-15 Glenn Morris <rgm@gnu.org>
6925
6926 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6927 Doc fixes.
6928
6546b134
GM
69292012-02-14 Glenn Morris <rgm@gnu.org>
6930
6931 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6932
d29b2b4c
LI
69332012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6934
6935 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6936 way the ports list is computed.
835bdcba
LI
6937 (smtpmail-query-smtp-server): Prompt the user for a port number if
6938 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6939
08dcdbc9
TZ
69402012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6941
6942 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6943
2605051a
GM
69442012-02-13 Glenn Morris <rgm@gnu.org>
6945
6946 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6947
7ee99f32
TZ
69482012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6949
6950 * net/gnutls.el (gnutls-trustfiles): New variable.
6951 (gnutls-negotiate): Use it.
6952
5f0af64f
LI
69532012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6954
6955 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6956 does its stuff if Gnus is running.
6957
c14fcc95
AM
69582012-02-13 Alan Mackenzie <acm@muc.de>
6959
6960 Fix a loop in c-set-fl-decl-start.
6961
7a71b18d 6962 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6963 c-backward-syntactic-ws actually moves backwards.
6964
142b4d90
LL
69652012-02-13 Leo Liu <sdl.web@gmail.com>
6966
6967 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6968 beginning so that all \C-o chars are removed.
6969
fa9958a6
TZ
69702012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6971
dc9924b8 6972 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6973
0bc5886a
AM
69742012-02-12 Alan Mackenzie <acm@muc.de>
6975
6976 Fix infinite loop with long macros.
4d6769e1 6977 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6978
d4bd55e7
CY
69792012-02-12 Chong Yidong <cyd@gnu.org>
6980
6981 * window.el (display-buffer): Doc fix (Bug#10785).
6982
66f3fe22
GM
69832012-02-12 Glenn Morris <rgm@gnu.org>
6984
bd7da63e
GM
6985 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6986 (x-disown-selection-internal, x-get-selection-internal):
6987 Sync docs with the xselect.c versions.
6988
66f3fe22
GM
6989 * allout-widgets.el: Add missing license notice.
6990
3e0d2fa7
GM
69912012-02-11 Glenn Morris <rgm@gnu.org>
6992
cfecdf09
GM
6993 * select.el (x-get-selection-internal, x-own-selection-internal)
6994 (x-disown-selection-internal):
6995 * x-dnd.el (x-get-selection-internal): Update declarations.
6996
6d216d7f
GM
6997 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6998
2bed3f04
GM
6999 * window.el (window-sides-slots):
7000 * tool-bar.el (tool-bar-position):
7001 * term/xterm.el (xterm-extra-capabilities):
7002 * ses.el (ses-self-reference-early-detection):
7003 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7004 (verilog-auto-wire-type)
7005 (verilog-auto-delete-trailing-whitespace)
7006 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7007 (verilog-auto-tieoff-declaration):
7008 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7009 (sql-oracle-statement-starters, sql-oracle-scan-on):
7010 * progmodes/prolog.el (prolog-align-comments-flag)
7011 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7012 (prolog-left-indent-regexp, prolog-paren-indent-p)
7013 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7014 (prolog-types, prolog-mode-specificators)
7015 (prolog-determinism-specificators, prolog-directives)
7016 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7017 (prolog-electric-dot-flag)
7018 (prolog-electric-dot-full-predicate-template)
7019 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7020 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7021 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7022 (prolog-program-switches, prolog-prompt-regexp)
7023 (prolog-debug-on-string, prolog-debug-off-string)
7024 (prolog-trace-on-string, prolog-trace-off-string)
7025 (prolog-zip-on-string, prolog-zip-off-string)
7026 (prolog-use-standard-consult-compile-method-flag)
7027 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7028 (prolog-imenu-max-lines, prolog-info-predicate-index)
7029 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7030 (prolog-char-quote-workaround):
7031 * progmodes/cc-vars.el (c-defun-tactic):
7032 * net/tramp.el (tramp-encoding-command-interactive)
7033 (tramp-local-end-of-line):
7034 * net/soap-client.el (soap-client):
7035 * net/netrc.el (netrc-file):
7036 * net/gnutls.el (gnutls):
7037 * minibuffer.el (completion-category-overrides)
7038 (completion-cycle-threshold)
7039 (completion-pcm-complete-word-inserts-delimiters):
7040 * man.el (Man-name-local-regexp):
7041 * mail/feedmail.el (feedmail-display-full-frame):
7042 * international/characters.el (glyphless-char-display-control):
7043 * eshell/em-ls.el (eshell-ls-date-format):
7044 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7045 (lisp-lambda-list-keyword-parameter-indentation)
7046 (lisp-lambda-list-keyword-parameter-alignment):
7047 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7048 * dired-x.el (dired-omit-verbose):
7049 * cus-theme.el (custom-theme-allow-multiple-selections):
7050 * calc/calc.el (calc-highlight-selections-with-faces)
7051 (calc-lu-field-reference, calc-lu-power-reference)
7052 (calc-note-threshold):
7053 * battery.el (battery-mode-line-limit):
7054 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7055 (archive-7z-update):
7056 * allout.el (allout-prefixed-keybindings)
7057 (allout-unprefixed-keybindings)
7058 (allout-inhibit-auto-fill-on-headline)
7059 (allout-flattened-numbering-abbreviation):
7060 * allout-widgets.el (allout-widgets-auto-activation)
7061 (allout-widgets-icons-dark-subdir)
7062 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7063 (allout-widgets-theme-dark-background)
7064 (allout-widgets-theme-light-background)
7065 (allout-widgets-item-image-properties-emacs)
7066 (allout-widgets-item-image-properties-xemacs)
7067 (allout-widgets-run-unit-tests-on-load)
7068 (allout-widgets-time-decoration-activity)
7069 (allout-widgets-hook-error-post-time)
7070 (allout-widgets-track-decoration):
7071 Add missing :version tags to new defcustoms and defgroups.
7072
5fec1b8e
GM
7073 * progmodes/sql.el (sql-ansi-statement-starters)
7074 (sql-oracle-statement-starters): Add custom type.
7075
3e0d2fa7
GM
7076 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7077 (prolog-system-version): Give it a type.
7078
90b671e2
EZ
70792012-02-11 Eli Zaretskii <eliz@gnu.org>
7080
7081 * term/pc-win.el (x-select-text, x-selection-owner-p)
7082 (x-own-selection-internal, x-disown-selection-internal)
7083 (x-get-selection-internal): Sync doc strings and argument lists
7084 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7085
5eac0c02
LL
70862012-02-11 Leo Liu <sdl.web@gmail.com>
7087
7088 * progmodes/python.el (python-end-of-statement): Fix infinite
7089 loop. (Bug#10788)
7090
f82cb659
GM
70912012-02-10 Glenn Morris <rgm@gnu.org>
7092
7093 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7094 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7095
cc26d239
LI
70962012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7097
7098 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7099 about SMTP before checking the From header.
7100
91027d08 7101 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
7102 into own function for reuse by emacsbug.el.
7103
1be3ca5a
LL
71042012-02-10 Leo Liu <sdl.web@gmail.com>
7105
7106 * subr.el (condition-case-unless-debug): Rename from
7107 condition-case-no-debug. All callers changed.
7108 (with-demoted-errors): Fix caller.
7109
7110 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7111 * nxml/rng-valid.el (rng-do-some-validation):
7112 * emacs-lisp/package.el (package-refresh-contents)
7113 (package-menu-execute):
7114 * desktop.el (desktop-create-buffer):
91027d08 7115 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 7116
b011fbfe
GM
71172012-02-10 Glenn Morris <rgm@gnu.org>
7118
b2096d72
GM
7119 * textmodes/bibtex.el:
7120 Add missing :version tags for new/changed defcustoms.
7121
b011fbfe
GM
7122 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7123
4c7e65bf
LI
71242012-02-09 Lars Ingebrigtsen <larsi@rusty>
7125
7126 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7127 (smtpmail-via-smtp): Use it, or fall back on the From address.
7128 (smtpmail-send-it): Ditto.
7129
f3934f6f
SM
71302012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7131
7132 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7133 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7134 (byte-compile-tmp-var): New const.
7135 (byte-compile-defvar): Use it to minimize .elc size.
7136 Just use `defvar' rather than simulate it (bug#10761).
7137
a075a2c5
GM
71382012-02-09 Glenn Morris <rgm@gnu.org>
7139
cf3aa21b
GM
7140 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7141
354998cd
GM
7142 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7143 Add :version tags.
7144
dc9924b8
SM
7145 * progmodes/compile.el (compilation-error-screen-columns)
7146 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 7147
dab3703d
GM
7148 * vc/log-view.el (log-view-toggle-entry-display):
7149 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7150
3f88cd72
GM
7151 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7152 (report-emacs-bug-can-use-xdg-email):
7153 (report-emacs-bug-insert-to-mailer): Doc fixes.
7154 (report-emacs-bug): Message fix.
7155
d95b247d
GM
7156 * net/browse-url.el (browse-url-can-use-xdg-open)
7157 (browse-url-xdg-open): Doc fixes.
7158
a075a2c5
GM
7159 * electric.el (electric-indent-mode, electric-pair-mode)
7160 (electric-layout-rules, electric-layout-mode): Doc fixes.
7161 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7162
ffb6157e
MR
71632012-02-08 Martin Rudalics <rudalics@gmx.at>
7164
7165 * server.el (server-unselect-display): Don't inadvertently kill
7166 the current buffer. (Bug#10729)
7167
e1ac4066
GM
71682012-02-08 Glenn Morris <rgm@gnu.org>
7169
34e8a2da
GM
7170 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7171 (sql-list-table): Doc fixes.
7172
b4ac6e8c
GM
7173 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7174 Comment out (does nothing).
7175
e1ac4066
GM
7176 * completion.el (dynamic-completion-mode):
7177 * dirtrack.el (dirtrack-debug-mode):
7178 * electric.el (electric-layout-mode):
7179 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7180 * face-remap.el (text-scale-mode, buffer-face-mode):
7181 * iimage.el (iimage-mode):
7182 * image-mode.el (image-transform-mode):
7183 * minibuffer.el (completion-in-region-mode):
7184 * scroll-lock.el (scroll-lock-mode):
7185 * simple.el (next-error-follow-minor-mode):
7186 * tar-mode.el (tar-subfile-mode):
7187 * tooltip.el (tooltip-mode):
7188 * vcursor.el (vcursor-use-vcursor-map):
7189 * wid-browse.el (widget-minor-mode):
7190 * emulation/tpu-edt.el (tpu-edt-mode):
7191 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7192 * international/iso-ascii.el (iso-ascii-mode):
7193 * language/thai-util.el (thai-word-mode):
7194 * mail/supercite.el (sc-minor-mode):
7195 * net/goto-addr.el (goto-address-mode):
7196 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7197 * progmodes/cwarn.el (cwarn-mode):
7198 * progmodes/flymake.el (flymake-mode):
7199 * progmodes/glasses.el (glasses-mode):
7200 * progmodes/hideshow.el (hs-minor-mode):
7201 * progmodes/pascal.el (pascal-outline-mode):
7202 * textmodes/enriched.el (enriched-mode):
7203 * vc/smerge-mode.el (smerge-mode):
7204 Doc fixes (minor mode argument).
7205
5e0d957f
EZ
72062012-02-07 Eli Zaretskii <eliz@gnu.org>
7207
7208 * ls-lisp.el (ls-lisp-sanitize): New function.
7209 (ls-lisp-insert-directory): Use it to fix or remove any elements
7210 in file-alist with missing attributes. (Bug#4673)
7211
98d7371e
AM
72122012-02-07 Alan Mackenzie <acm@muc.de>
7213
7214 Fix spurious recognition of c-in-knr-argdecl.
7215
7216 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7217 putative K&R region.
7218
667ced3a
AM
72192012-02-07 Alan Mackenzie <acm@muc.de>
7220
eb864a71
LM
7221 * progmodes/cc-engine.el (c-forward-objc-directive):
7222 Prevent looping in "#pragma mark @implementation".
667ced3a 7223
5b77774d
MA
72242012-02-07 Michael Albinus <michael.albinus@gmx.de>
7225
7226 * notifications.el (notifications-on-closed-signal): Make `reason'
7227 optional. (Bug#10744)
7228
af008560
GM
72292012-02-07 Glenn Morris <rgm@gnu.org>
7230
60d47423
GM
7231 * emacs-lisp/easy-mmode.el (define-minor-mode):
7232 Doc fixes for the macro and the mode it defines.
7233
dd605cc4
GM
7234 * image.el (imagemagick-types-inhibit): Doc fix.
7235
af008560
GM
7236 * cus-start.el (imagemagick-render-type): Add it.
7237
5cc59a37
LI
72382012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7239
4d6769e1
JB
7240 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7241 Set the default at load time, too, so that `font-lock-fontify-buffer'
7242 can be called without setting up the entire mode first. This fixes
7243 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 7244
9a6dd747
CY
72452012-02-06 Chong Yidong <cyd@gnu.org>
7246
2d16b285
CY
7247 * simple.el (list-processes--refresh): Delete exited processes
7248 (Bug#8094).
7249
171e9b6e
CY
7250 * comint.el (comint-next-prompt): next-single-char-property-change
7251 and prev-single-char-property-change never return nil (Bug#8657).
7252
9a6dd747
CY
7253 * custom.el (defcustom): Doc fix (Bug#9711).
7254
aa4589a7
CY
72552012-02-05 Chong Yidong <cyd@gnu.org>
7256
5c2a252f
CY
7257 * cus-edit.el (custom-variable-reset-backup): Quote the value
7258 before storing it in the customized-value property (Bug#6712).
4aab9006 7259 (custom-display): Add a customization type tag.
983b9602 7260 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7261
aa4589a7
CY
7262 * wid-edit.el (widget-field-value-get): New optional arg to
7263 suppress trailing whitespace truncation.
7264 (character): Use it (Bug#2689).
7265
1ff980ae
AS
72662012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7267
7268 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7269 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7270
03988c98
CY
72712012-02-05 Chong Yidong <cyd@gnu.org>
7272
eeb6cc88
CY
7273 * cus-edit.el (custom-variable-value-create): For mismatched
7274 types, show the current value (Bug#7600).
7275
03988c98
CY
7276 * custom.el (defcustom): Doc fix.
7277
f8cdeef0
GM
72782012-02-05 Glenn Morris <rgm@gnu.org>
7279
7280 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7281
0696d255
JB
72822012-02-05 Juanma Barranquero <lekktu@gmail.com>
7283
7284 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7285 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7286 (pp-last-sexp): Use `looking-at-p'.
7287
34c99998
GM
72882012-02-04 Glenn Morris <rgm@gnu.org>
7289
8f05da42
GM
7290 * files.el (revert-buffer):
7291 Doc fix (mention revert-buffer-in-progress-p).
7292
f160676e
GM
7293 * emacs-lisp/ert-x.el (ert-simulate-command):
7294 Check deferred-action-list (which is obsolete) is bound.
7295
c7291ad9
GM
7296 * subr.el (with-wrapper-hook): Doc fixes.
7297
34c99998
GM
7298 * simple.el (filter-buffer-substring-functions)
7299 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7300
6283a7d3
LL
73012012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7302
7303 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7304 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7305
e96e3013
LL
73062012-02-04 Leo Liu <sdl.web@gmail.com>
7307
7308 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7309
8ded50f2
GM
73102012-02-04 Glenn Morris <rgm@gnu.org>
7311
82ff1d13
GM
7312 * image.el (image-extension-data): Add obsolete alias.
7313
987a0a16
GM
7314 * isearch.el (isearch-update): Doc fix.
7315
ea32ef46
GM
7316 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7317
8ded50f2
GM
7318 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7319
eea14f31
GM
73202012-02-03 Glenn Morris <rgm@gnu.org>
7321
7322 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7323 (image-animate-timeout): Doc fix.
7324
7325 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7326
12f381b7
GM
73272012-02-02 Glenn Morris <rgm@gnu.org>
7328
953cebf5
GM
7329 * server.el (server-auth-dir): Doc fix.
7330 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7331
12f381b7
GM
7332 * subr.el (run-mode-hooks): Doc fix.
7333
953a8c3b
JL
73342012-02-02 Juri Linkov <juri@jurta.org>
7335
7336 * image-mode.el (image-toggle-display-image): Remove tautological
7337 `major-mode' from the `derived-mode-p' test.
7338
c5d3843c
KH
73392012-02-02 Kenichi Handa <handa@m17n.org>
7340
9f6e692e 7341 * composite.el (compose-region): Cancel previous change.
c5d3843c 7342
159462d4 73432012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7344
7345 * composite.el (compose-region, compose-string): Signal error for
7346 a null string component (Bug#6988).
7347
9f562668
CY
73482012-02-01 Chong Yidong <cyd@gnu.org>
7349
e2cef717
CY
7350 * view.el (view-buffer-other-window, view-buffer-other-frame):
7351 Handle special modes like view-buffer (Bug#10650).
7352 (view-buffer): Simplify.
7353
9f562668
CY
7354 * frame.el (set-frame-font): Tweak meaning of third argument.
7355
9f6e692e
JB
7356 * dynamic-setting.el (font-setting-change-default-font):
7357 Use set-frame-font (Bug#9982).
9f562668 7358
781acb9f
GM
73592012-02-01 Glenn Morris <rgm@gnu.org>
7360
6035be52
GM
7361 * progmodes/compile.el (compilation-internal-error-properties):
7362 Respect compilation-first-column in the "*compilation*" buffer.
7363
781acb9f
GM
7364 * emacs-lisp/easy-mmode.el (define-minor-mode):
7365 Relax :variable's test for a named function.
7366
abbceb00
AM
73672012-01-31 Alan Mackenzie <acm@muc.de>
7368
7369 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7370 off by one error.
7371
fce3fdeb
CY
73722012-01-31 Chong Yidong <cyd@gnu.org>
7373
7374 * frame.el (set-frame-font): New arg ALL-FRAMES.
7375
7376 * menu-bar.el (menu-set-font): Use set-frame-font.
7377
7378 * faces.el (face-spec-reset-face): Don't apply unspecified
7379 attribute values to the default face.
7380
47893581
JB
73812012-01-31 Juanma Barranquero <lekktu@gmail.com>
7382
7383 * progmodes/cwarn.el (cwarn): Remove dead link.
7384 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7385 Remove * from defcustom docstrings.
7386 (turn-on-cwarn-mode): Make obsolete.
7387 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7388 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7389
e58e988a
GM
73902012-01-31 Glenn Morris <rgm@gnu.org>
7391
60dc2671 7392 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7393 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7394 Allow named functions to be used as the cdr of :variable.
e58e988a 7395
7a3f511d
GM
73962012-01-30 Glenn Morris <rgm@gnu.org>
7397
7398 * emacs-lisp/authors.el (authors-fixed-entries):
7399 Remove reference to deleted file rnewspost.el.
7400
cb882333
JB
74012012-01-29 Juanma Barranquero <lekktu@gmail.com>
7402
7403 * window.el (window-with-parameter): Remove unused variable `windows'.
7404 (window--side-check): Remove unused variable `code'.
7405 (window--resize-siblings): Remove unused variable `first'.
7406 (adjust-window-trailing-edge): Remove unused variable `failed'.
7407 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7408 Use `let', not `let*'.
7409 (balance-windows-2): Remove unused variable `found'.
7410 (window--state-put-2): Remove unused variable `splits'.
7411 (window-state-put): Remove unused variable `selected'.
7412 (same-window-p): Use `string-match-p'.
7413 (display-buffer-assq-regexp): Remove unused variable `value'.
7414 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7415 Mark argument ALIST as ignored.
7416 (pop-to-buffer): Remove unused variable `old-window'.
7417
907201af
EZ
74182012-01-29 Eli Zaretskii <eliz@gnu.org>
7419
7420 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7421 and .lzma compressed files.
7422
ea162670
CY
74232012-01-29 Chong Yidong <cyd@gnu.org>
7424
5b95ee8a
CY
7425 * frame.el (window-system-default-frame-alist): Doc fix.
7426
ea162670
CY
7427 * dynamic-setting.el (font-setting-change-default-font): Don't
7428 change the default face if SET-FONT argument is non-nil (Bug#9982).
7429
d6e6f4b1
SB
74302012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7431
7432 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7433
0f29fa41 74342012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7435
7436 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7437 breakpoints in files outside current directory (Bug#6098).
7438
db174434
CY
74392012-01-29 Chong Yidong <cyd@gnu.org>
7440
6b25e4e2
SE
7441 * progmodes/python.el: Require ansi-color at top-level.
7442
6df6ae42
JB
7443 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7444 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7445 (lisp-mode-abbrev-table): Add doc.
7446 (lisp-mode-variables): Don't set local-abbrev-table.
7447 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7448
e70ee681
RW
74492012-01-28 Roland Winkler <winkler@gnu.org>
7450
7451 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7452
ace88aa2
RW
74532012-01-28 Roland Winkler <winkler@gnu.org>
7454
7455 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7456 (bibtex-set-dialect): Use it. Either set global values of
7457 dialect-dependent variables or bind these variables buffer-locally
7458 (Bug#10254).
7459 (bibtex-mode): Call bibtex-set-dialect via
7460 hack-local-variables-hook.
eb864a71
LM
7461 (bibtex-dialect): Update docstring.
7462 Add safe-local-variable predicate.
ace88aa2
RW
7463 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7464 bibtex-set-dialect.
7465 (bibtex-mode-map): Define menu for each dialect.
7466 (bibtex-entry): Fix docstring.
7467
93376c5b
CY
74682012-01-28 Chong Yidong <cyd@gnu.org>
7469
7470 * eshell/esh-arg.el (eshell-quote-argument): New function.
7471
7472 * eshell/esh-ext.el (eshell-invoke-batch-file):
7473 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7474 first arg to eshell-parse-command (Bug#10523).
7475
4372494f
DA
74762012-01-28 Drew Adams <drew.adams@oracle.com>
7477
7478 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7479 `default-directory' is non-nil.
7480
4d4ec1f8
EZ
74812012-01-28 Eli Zaretskii <eliz@gnu.org>
7482
7483 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7484 line that displays system-configuration-options. (Bug#9924)
7485
7c188927
DA
74862012-01-28 Drew Adams <drew.adams@oracle.com>
7487
7488 * descr-text.el (describe-char): Show information about POS, in
7489 addition to information about the character at POS. Improve and
7490 update the doc string. Change "code point" to "code point in
7491 charset", to avoid confusion with the character's Unicode code
7492 point shown above that. (Bug#10129)
7493
e0da685a
EZ
74942012-01-28 Eli Zaretskii <eliz@gnu.org>
7495
7496 * descr-text.el (describe-char): Show the raw character, not only
7497 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7498 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7499 for the reasons.
7500
70550acf
PH
75012012-01-28 Phil Hagelberg <phil@hagelb.org>
7502
eb864a71
LM
7503 * emacs-lisp/package.el (package-install):
7504 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7505
0ce8e868
CY
75062012-01-28 Chong Yidong <cyd@gnu.org>
7507
cb882333
JB
7508 * emacs-lisp/package.el (package-maybe-load-descriptor):
7509 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7510 (package-maybe-load-descriptor): Use it.
7511 (package-download-transaction): Fully load required packages
7512 inside the loop, so that `require' calls work (Bug#10593).
7513 (package-install): No need to call package-initialize now.
7514
2e7f3bea
CY
75152012-01-28 Chong Yidong <cyd@gnu.org>
7516
6e9bad14
CY
7517 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7518
f823b8ca
CY
7519 * tooltip.el (tooltip-mode): Doc fix.
7520 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7521
2680c309
CY
7522 * frame.el (set-cursor-color): Doc fix (Bug#352).
7523
d7a9e63b
CY
7524 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7525 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7526
2e7f3bea
CY
7527 * cus-edit.el (custom-buffer-create-internal): Fix search button
7528 action (Bug#10542).
2ae01800 7529 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7530
fc4f7a23
EW
75312012-01-27 Eduard Wiebe <usenet@pusto.de>
7532
7533 * dired.el (dired-mark-files-regexp):
7534 Include any subdirectory components. (Bug#10445)
7535
7dd37071
ML
75362012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7537
7538 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7539 Handle [host]:port syntax. (Bug#10533)
7540
a268160b
AH
75412012-01-27 Alex Harsanyi <harsanyi@mac.com>
7542
7543 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7544
e43273ef
GM
75452012-01-26 Glenn Morris <rgm@gnu.org>
7546
7547 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7548 * term.el (term-raw-escape-map): Use Control-X-prefix.
7549 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7550
1edf595d
MR
75512012-01-25 Martin Rudalics <rudalics@gmx.at>
7552
7553 * window.el (window-state-get, window--state-get-1): Don't deal
7554 with fixed-sizeness of windows. Simplify code.
7555
fa8eafef
JC
75562012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7557
6df6ae42
JB
7558 * window.el (window--state-get-1, window--state-put-2):
7559 Don't save and restore the mark.
fa8eafef 7560
0b21c100
CY
75612012-01-25 Chong Yidong <cyd@gnu.org>
7562
7563 * custom.el (custom-variable-p): Doc fix.
7564
5ae1a6c8
GM
75652012-01-25 Glenn Morris <rgm@gnu.org>
7566
40047858
GM
7567 * dired.el (dired-goto-file): Handle some of the more common
7568 characters that `ls -b' escapes. (Bug#10596)
7569
5ddce96c
GM
7570 * progmodes/compile.el (compilation-next-error-function):
7571 Respect compilation-first-column in the "*compilation*" buffer.
7572 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7573
5ae1a6c8
GM
7574 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7575
b559f1a9
GM
75762012-01-24 Glenn Morris <rgm@gnu.org>
7577
7578 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7579
6725d21a
JD
75802012-01-24 Julien Danjou <julien@danjou.info>
7581
7582 * color.el (color-rgb-to-hsl): Fix value computing.
7583 (color-hue-to-rgb): New function.
7584 (color-hsl-to-rgb): New function.
7585 (color-clamp, color-saturate-hsl, color-saturate-name)
7586 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7587 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7588
70df4bbe
GM
75892012-01-24 Glenn Morris <rgm@gnu.org>
7590
7591 * vc/vc-rcs.el (vc-rcs-create-tag):
7592 * vc/vc-sccs.el (vc-sccs-create-tag):
7593 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7594
802a2ae2
ML
75952012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7596
7597 * eshell/esh-util.el (eshell-read-hosts-file):
7598 Skip comment lines. (Bug#10549)
7599
d7128bb1
ML
7600 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7601
d1a5c3b4
JB
76022012-01-23 Juanma Barranquero <lekktu@gmail.com>
7603
2724d9c7
JB
7604 * subr.el (display-delayed-warnings): Doc fix.
7605 (collapse-delayed-warnings): New function to collapse identical
7606 adjacent warnings.
7607 (delayed-warnings-hook): Add it.
d1a5c3b4 7608
a5509865
MA
76092012-01-22 Michael Albinus <michael.albinus@gmx.de>
7610
7611 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7612
a5509865
MA
7613 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7614 (tramp-default-user-alist): Don't add "pscp".
7615 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7616 property "login-as", if set. (Bug#10530)
7617
cc6d5805
MA
76182012-01-21 Michael Albinus <michael.albinus@gmx.de>
7619
7620 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7621 "plink1" and "psftp". (Bug#10530)
7622
76232012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7624
7625 * international/mule-cmds.el (prefer-coding-system): Show a
7626 warning message if the default value of file-name-coding-system
7627 was not changed.
7628
f0960428
JC
76292012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7630
cb882333
JB
7631 * windmove.el (windmove-reference-loc):
7632 Fix windmove-reference-loc miscalculation.
f0960428 7633
dd6f2a63
JB
76342012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7635
7636 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7637 default unit.
7638
7b447e9b
GM
76392012-01-21 Glenn Morris <rgm@gnu.org>
7640
117a9ea1
GM
7641 * international/mule.el (auto-coding-alist): Add .tbz.
7642
7b447e9b
GM
7643 * files.el (local-enable-local-variables): Doc fix.
7644 (inhibit-local-variables-regexps): Rename from
7645 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7646 Doc fix. Add some extensions from auto-coding-alist.
7647 (inhibit-local-variables-suffixes):
7648 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7649 (inhibit-local-variables-p):
7650 New function, extracted from set-auto-mode-1.
7651 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7652 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7653 (hack-local-variables): Doc fix. Make the mode-only case
7654 respect enable-local-variables and friends.
7655 Respect inhibit-local-variables-regexps for file-locals, but
7656 not for directory-locals.
7657 (set-visited-file-name):
7658 Take account of inhibit-local-variables-regexps.
7659 Whether it applies may change as the file name is changed.
7660 * jka-cmpr-hook.el (jka-compr-install):
7661 * jka-compr.el (jka-compr-uninstall):
7662 Update for inhibit-first-line-modes-suffixes name change.
7663
dd6e3cdd
MR
76642012-01-20 Martin Rudalics <rudalics@gmx.at>
7665
7666 * help-macro.el (make-help-screen): Temporarily restore original
7667 binding for minor-mode-map-alist (Bug#10454).
7668
0d0deb38
JD
76692012-01-19 Julien Danjou <julien@danjou.info>
7670
7671 * color.el (color-name-to-rgb): Use the white color to find the max
7672 color component value and return correctly computed values.
7673 (color-name-to-rgb): Add missing float conversion for max value.
7674
34a02f46
MR
76752012-01-19 Martin Rudalics <rudalics@gmx.at>
7676
7677 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7678 special state value for window-persistent-parameters.
7679 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7680 (window--state-put-2): Reset all window parameters to nil before
7681 assigning values of persistent parameters.
7682
606c44c4
AM
76832012-01-18 Alan Mackenzie <acm@muc.de>
7684
7685 Eliminate sluggishness and hangs in fontification of "semicolon
7686 deserts".
7687
cb882333
JB
7688 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7689 Change value 10000 -> 3000.
606c44c4
AM
7690 (c-state-safe-place): Reformulate so it doesn't stack up an
7691 infinite number of wrong entries in c-state-nonlit-pos-cache.
7692 (c-determine-limit-get-base, c-determine-limit): New functions to
7693 determine backward search limits disregarding literals.
7694 (c-find-decl-spots): Amend commenting.
7695 (c-cheap-inside-bracelist-p): New function which detects "={".
7696
7697 * progmodes/cc-fonts.el
7698 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7699 backward search.
7700 (c-font-lock-declarations): Fix an occurrence of point being
7701 undefined. Check additionally for point being in a bracelist or
7702 near a macro invocation without a semicolon so as to avoid a
7703 fruitless time consuming search for a declarator. Give a more
7704 precise search limit for declarators using the new
7705 c-determine-limit.
7706
f3860cea
GM
77072012-01-18 Glenn Morris <rgm@gnu.org>
7708
7709 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7710 (set-auto-mode): Doc fixes.
7711
1db03b16
GM
77122012-01-17 Glenn Morris <rgm@gnu.org>
7713
0e6038be
GM
7714 * isearch.el (search-nonincremental-instead): Fix doc typo.
7715
1db03b16
GM
7716 * dired.el (dired-insert-directory): Handle newlines in directory name.
7717 (dired-build-subdir-alist): Unescape newlines in directory name.
7718
4cb0aa75
MA
77192012-01-17 Michael Albinus <michael.albinus@gmx.de>
7720
7721 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7722 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7723 (tramp-action-terminal): Use it. (Bug#10530)
7724
1d00653d
SM
77252012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7726
7727 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7728
6a6ee00d
MR
77292012-01-16 Martin Rudalics <rudalics@gmx.at>
7730
7731 * window.el (window-state-ignored-parameters): Remove variable.
7732 (window--state-get-1): Rename argument MARKERS to IGNORE.
7733 Handle persistent window parameters. Make copy of clone-of
7734 parameter only if requested. (Bug#10348)
7735 (window--state-put-2): Install a window parameter only if it has
7736 a non-nil value or an existing parameter shall be overwritten.
7737
97912def
MA
77382012-01-15 Michael Albinus <michael.albinus@gmx.de>
7739
7740 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7741
688070a5
EZ
77422012-01-14 Eli Zaretskii <eliz@gnu.org>
7743
7744 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7745 don't pass the (nil) value of `upnode' to string-match.
7746
301afadc
CY
77472012-01-14 Chong Yidong <cyd@gnu.org>
7748
7749 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7750 Fix values recognized by the cursorBlink resource.
301afadc 7751
9e5788aa
PE
77522012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7753
7754 * epg.el (epg--make-temp-file): Avoid permission race condition
7755 when running on old Emacs versions (bug#10403).
7756
3cdb7f5a
GM
77572012-01-14 Glenn Morris <rgm@gnu.org>
7758
7759 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7760
8c82b1b4
AM
77612012-01-13 Alan Mackenzie <acm@muc.de>
7762
7763 Fix filling for when filladapt mode is enabled.
7764
7765 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7766 c-mask-paragraph, pass in `fill-paragraph' rather than
7767 `fill-region-as-paragraph'. (This is a reversion of a previous
7768 change.)
eb864a71
LM
7769 * progmodes/cc-mode.el (c-basic-common-init):
7770 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7771
e517eda4
GM
77722012-01-13 Glenn Morris <rgm@gnu.org>
7773
1498536e
GM
7774 * dired.el (dired-switches-escape-p): New function.
7775 (dired-insert-directory): Use dired-switches-escape-p.
7776 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7777
e517eda4
GM
7778 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7779
328f984d
GM
77802012-01-12 Glenn Morris <rgm@gnu.org>
7781
7782 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7783 changes in adaptive-fill-regexp. (Bug#10276)
7784
2cc769a8
AM
77852012-01-11 Alan Mackenzie <acm@muc.de>
7786
7787 Fix Emacs bug #10463 - put `widen's around the critical spots.
7788
1d00653d 7789 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7790 widen around each invocation of c-state-pp-to-literal. Remove an
7791 unused let variable.
7792
e52c37fa
GM
77932012-01-11 Glenn Morris <rgm@gnu.org>
7794
7795 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7796 Doc fix.
e52c37fa 7797
96f8741e
CY
77982012-01-10 Chong Yidong <cyd@gnu.org>
7799
1d00653d
SM
7800 * net/network-stream.el (network-stream-open-starttls):
7801 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7802 response to the capability command.
7803
b09a806e
GM
78042012-01-10 Glenn Morris <rgm@gnu.org>
7805
7806 * mail/unrmail.el (unrmail): Tweak previous change.
7807
7655cb66
CY
78082012-01-09 Chong Yidong <cyd@gnu.org>
7809
7810 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7811
9d5a8f0b
AM
78122012-01-08 Alan Mackenzie <acm@muc.de>
7813
7814 Optimise font locking in long enum definitions.
7815
7816 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7817 arm to a cond form to handle enums.
7818 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7819 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7820
9a0115ab 78212012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7822
7823 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7824 (Bug#10401)
6bb72cbd 7825
f186bb95
LMI
78262012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7827
29232a68
LMI
7828 * faces.el (set-face-attribute): Clarify the meaning of the nil
7829 frame (bug#10294).
7830
4e5d086d
LMI
7831 * subr.el (with-selected-frame): Mention that the selected frame
7832 is restored (bug#9980).
7833
8e66aebe
LMI
7834 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7835 (bug#9759).
7836
cd394be1 7837 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7838 (password-read): Don't autoload unused function.
7839
adf4e762
JB
78402012-01-07 Juanma Barranquero <lekktu@gmail.com>
7841
7842 * progmodes/which-func.el (which-func-mode): Turn into a
7843 non-interactive function and mark as obsolete (bug#10428).
7844
89bd9ccd
CY
78452012-01-06 Chong Yidong <cyd@gnu.org>
7846
7847 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7848 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7849 functions, along with 1 and -1.
7850
4afee9d5
EZ
78512012-01-06 Eli Zaretskii <eliz@gnu.org>
7852
7853 * time.el (display-time-load-average)
7854 (display-time-default-load-average): Doc fixes. See the thread
7855 starting at
7856 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7857 for the details.
7858
536aea70
GM
78592012-01-06 Glenn Morris <rgm@gnu.org>
7860
665ae865
GM
7861 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7862 has no messages. (Bug#10377)
7863
c869783d
GM
7864 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7865 than Info-edit. (Bug#10385)
7866
2bb4227e
GM
7867 * time.el (display-time-load-average, display-time-next-load-average):
7868 Doc fixes.
7869
7d5944b9
GM
7870 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7871 local setting of buffer-read-only to the input buffer. (Bug#10419)
7872
536aea70
GM
7873 * calendar/calendar.el (calendar-mode):
7874 Locally set scroll-margin to 0. (Bug#10379)
7875
7dccca16
UM
78762012-01-06 Ulrich Mueller <ulm@gentoo.org>
7877
7878 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7879
afbb7930
GM
78802012-01-05 Glenn Morris <rgm@gnu.org>
7881
7882 * eshell/em-unix.el (diff-no-select): Autoload it.
7883 (eshell/diff): Use diff-no-select. (Bug#10420)
7884
04482335
CY
78852012-01-05 Chong Yidong <cyd@gnu.org>
7886
7baca3bc
CY
7887 * shell.el (shell-dynamic-complete-functions): Revert last change.
7888 (shell-command-completion-function): New function.
7889 (shell-completion-vars): Use it to implement
7890 shell-completion-execonly (Bug#10417).
7891
04482335
CY
7892 * custom.el (enable-theme): Don't set custom-safe-themes.
7893
1d00653d
SM
7894 * cus-theme.el (custom-theme-merge-theme):
7895 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7896
bb5aa5d6
MM
78972012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7898
7899 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7900 first prompt in `sql-interacive-mode'.
7901 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7902 keywords.
6df6ae42 7903 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7904 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7905 context of original buffer. Invoke `sql-login-hook'.
7906
a7183d7c
EZ
79072012-01-04 Eli Zaretskii <eliz@gnu.org>
7908
7909 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7910 letters in cite-prefix.
7911
a1eacd1e
LMI
79122012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7913
7914 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7915
787cdb34
CY
79162012-01-03 Chong Yidong <cyd@gnu.org>
7917
1d00653d
SM
7918 * shell.el (shell-dynamic-complete-functions):
7919 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7920 comint-filename-completion first (Bug#10417).
7921
30710442
RS
79222012-01-02 Richard Stallman <rms@gnu.org>
7923
7924 * battery.el (battery-status-function):
7925 Detect when to use battery-yeeloong-sysfs.
7926 (battery-echo-area-format): Add string for Yeeloong.
7927 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7928 (battery-yeeloong-sysfs): New function.
7929
f75bfc33
CY
79302012-01-02 Chong Yidong <cyd@gnu.org>
7931
7932 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7933 (dirtrack): Merge code for handling relative filenames in prompt
7934 from shell-dir-cookie-watcher.
7935 (dirtrack-debug-message): New arg to avoid excess format calls.
7936
7937 * shell.el (shell-dir-cookie-re): Variable deleted.
7938 (shell-dir-cookie-watcher): Function deleted.
7939 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7940 with dirtrack-mode.
7941
651e947e
EZ
79422012-01-01 Eli Zaretskii <eliz@gnu.org>
7943
1d00653d
SM
7944 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7945 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7946 libgnutls-26.dll.
7947
94d4c7dc
AS
79482011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7949
7950 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7951
8d43f3cd
EZ
79522011-12-31 Eli Zaretskii <eliz@gnu.org>
7953
7954 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7955 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7956
98c8795a
MA
79572011-12-29 Michael Albinus <michael.albinus@gmx.de>
7958
7959 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7960 also for alternative shells.
7961 (tramp-open-connection-setup-interactive-shell): Check, whether
7962 the shell is a busybox.
7963 (tramp-send-command): Don't suppress multiple prompts for
7964 busyboxes, it hurts.
7965
51281b32
CY
79662011-12-28 Chong Yidong <cyd@gnu.org>
7967
7968 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7969 (gdb-get-source-file): Move mode line update to
7970 gdb-get-source-file (Bug#10087).
7971
2170cb53
CY
79722011-12-25 Chong Yidong <cyd@gnu.org>
7973
7974 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7975 gud-gdb-marker-filter without taking it as an argument.
7976 (gud-gdb-run-command-fetch-lines): Caller changed.
7977 (gud-gdb-completion-function): New variable.
7978 (gud-gdb-completion-at-point): Use it.
7979 (gud-gdb-completions-1): Split from gud-gdb-completions.
7980
7981 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7982 function as separate arguments.
7983 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7984 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7985 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7986 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7987 (gdb-stopped, def-gdb-auto-update-trigger)
7988 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7989 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7990 Callers changed.
2170cb53
CY
7991 (gud-gdbmi-completions): New function.
7992 (gdb): Use it for generating the completion table.
7993
be8b11bb
AM
79942011-12-24 Alan Mackenzie <acm@muc.de>
7995
7996 Introduce a mechanism to widen the region used in context font
1d00653d 7997 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7998
1d00653d
SM
7999 * progmodes/cc-langs.el (c-before-font-lock-functions):
8000 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 8001 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
8002 functions to be run just before context (etc.) font locking.
8003
8004 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 8005 New, functionality extracted from
be8b11bb 8006 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 8007 (c-in-after-change-fontification): New variable.
be8b11bb
AM
8008 (c-after-change): Set c-in-after-change-fontification.
8009 (c-set-fl-decl-start): Rejig its interface, so it can be called
8010 from both after-change and context fontifying.
b81d40f0
JB
8011 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8012 New functions.
8013 (c-standard-font-lock-fontify-region-function): New variable.
8014 (c-font-lock-fontify-region): New function.
be8b11bb 8015
341cf6ac
JL
80162011-12-24 Juri Linkov <juri@jurta.org>
8017
8018 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8019 (Bug#10348)
8020
bffcee0a
MA
80212011-12-23 Michael Albinus <michael.albinus@gmx.de>
8022
8023 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8024 existence of source file. (Bug#10325)
8025
cb5e207c
AM
80262011-12-23 Alan Mackenzie <acm@muc.de>
8027
8028 Fix unstable fontification inside templates.
8029
b81d40f0
JB
8030 * progmodes/cc-langs.el (c-before-font-lock-functions):
8031 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
8032 additionally has c-set-fl-decl-start. The other languages (apart
8033 from AWK) have that as a single entry.
8034
b81d40f0
JB
8035 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8036 The functionality for "local" declarations has been extracted to
cb5e207c
AM
8037 c-set-fl-decl-start.
8038
b81d40f0
JB
8039 * progmodes/cc-mode.el (c-common-init, c-after-change):
8040 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
8041 (c-set-fl-decl-start): New function, extracted from
8042 c-font-lock-enclosing-decls and enhanced.
8043
60ff536c
JB
80442011-12-23 Juanma Barranquero <lekktu@gmail.com>
8045
8046 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8047
1c4757d6
JL
80482011-12-22 Juri Linkov <juri@jurta.org>
8049
8050 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8051
d031f2c7
CY
80522011-12-22 Chong Yidong <cyd@gnu.org>
8053
8054 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8055
bace743a
DA
80562011-12-21 Drew Adams <drew.adams@oracle.com>
8057
8058 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8059
728a1f2b
JC
80602011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8061
8062 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8063
0d373f73
TZ
80642011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8065
fec0aaa4
TZ
8066 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8067 highlighting and support. Fix up comments for capitalization.
8068 (cfengine-mode-debug): New var.
8069 (cfengine3-mode): Change the modeline indicator to "CFE3".
8070 (cfengine3-font-lock-keywords): Improve defun highlighting.
8071 (cfengine2-actions): Rename from `cfengine-actions'.
8072 (cfengine2-font-lock-keywords): Rename from
8073 `cfengine-font-lock-keywords'.
8074 (cfengine2-imenu-expression): Rename from
8075 `cfengine-imenu-expression'.
8076 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8077 (cfengine2-beginning-of-defun): Rename from
8078 `cfengine-beginning-of-defun'.
8079 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8080 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8081 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8082 modeline indicator to "CFE2".
8083 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8084 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 8085
bc86f573
CY
80862011-12-21 Chong Yidong <cyd@gnu.org>
8087
8088 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8089 filename argument.
8090
d45ba96b
MR
80912011-12-20 Martin Rudalics <rudalics@gmx.at>
8092
8093 * window.el (window-normalize-buffer-to-display): Remove.
8094 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8095
a6198c90
CY
80962011-12-19 Chong Yidong <cyd@gnu.org>
8097
8098 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8099 Don't signal an error in a predicate function; return non-nil.
8100 (vc-dir-mark-file): Move the error here.
8101 (vc-dir-mark-unmark): If acting on the region, keep going if one
8102 of the entries cannot be marked/unmarked.
8103 (vc-dir-mark-all-files): If current entry is a directory, mark
8104 only child files, as documented.
8105
34c5fb55
VB
81062011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
8107
8108 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8109 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8110 addition.
8111
c803b2b7
JD
81122011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8113
8114 * term/ns-win.el (ns-get-selection-internal)
8115 (ns-store-selection-internal): Declare.
1154d12e
JB
8116 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8117 Declare as obsolete.
8118 (ns-get-pasteboard, ns-paste-secondary):
8119 Use ns-get-selection-internal.
8120 (ns-set-pasteboard, ns-copy-including-secondary):
8121 Use ns-store-selection-internal.
c803b2b7 8122
9cff91f8 81232011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
8124
8125 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 8126 (vc-deduce-fileset): Doc fix.
99a289d9 8127
f16c898a
AS
81282011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8129
8130 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8131
763237c4
SS
81322011-12-13 Sam Steingold <sds@gnu.org>
8133
8134 * man.el (Man-getpage-in-background): When running under a
8135 window-system, ignore $MANWIDTH and $COLUMNS.
8136
5fc1c122
KH
81372011-12-15 Kenichi Handa <handa@m17n.org>
8138
8139 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8140 (setup-ethiopic-environment-internal): Comment out key-binding for
8141 ethio-toggle-punctuation.
8142
13d49cbb
AM
81432011-12-13 Alan Mackenzie <acm@muc.de>
8144
898169a2
AM
8145 Add the switch statement to AWK Mode.
8146
7a71b18d 8147 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
8148 "default" to the keywords regexp.
8149
7a71b18d 8150 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 8151 expression as the rest.
1d00653d
SM
8152 (c-nonlabel-token-key): Allow string literals for AWK.
8153 Refactor for the other modes.
898169a2 8154
13d49cbb 8155 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 8156 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
8157 routines. Limit backward searching in c-font-lock-enclosing.decl.
8158
8159 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8160 pp-state and literal type in addition to the limits.
1d00653d 8161 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 8162 (c-state-literal-at): Use the above new defun.
1d00653d
SM
8163 (c-slow-in-literal, c-fast-in-literal): Remove.
8164 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
8165
8166 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8167 being in a literal. Add a limit for backward searching.
8168
8169 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8170 c-slow-in-literal.
8171
15e0efc7
SM
81722011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8173
8174 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8175
454592a6
MR
81762011-12-13 Martin Rudalics <rudalics@gmx.at>
8177
8178 * window.el (delete-other-windows): Use correct frame in call to
8179 window-with-parameter.
8180
87393f26
DP
81812011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8182
8183 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8184 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8185 (makefile-gmake-statements, makefile-makepp-statements):
8186 Use it and add new makepp keywords.
8187 (makefile-makepp-font-lock-keywords): Add new patterns.
8188 (makefile-match-function-end): Match new [...] and [[...]].
8189
11636b22
JB
81902011-12-11 Juanma Barranquero <lekktu@gmail.com>
8191
8192 * ses.el (ses-call-printer-return, ses-cell-property-get)
8193 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8194 (ses-create-cell-variable, ses-reset-header-string)
8195 (ses-cell-set-formula, ses-repair-cell-reference-all)
8196 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8197 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8198 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8199 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8200 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8201 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8202 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8203 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8204 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8205 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8206 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8207 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8208
cf018193
VB
82092011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
8210
8211 * ses.el: The overall change is to add cell renaming, that is
8212 setting fancy names for cell symbols other than name matching
8213 "\\`[A-Z]+[0-9]+\\'" regexp .
8214 (ses-create-cell-variable): New defun.
8215 (ses-relocate-formula): Relocate formulas only for cells the
8216 symbols of which are not renamed, i.e. symbols whose names do not
8217 match regexp "\\`[A-Z]+[0-9]+\\'".
8218 (ses-relocate-all): Relocate values only for cells the symbols of
8219 which are not renamed.
8220 (ses-load): Create cells variables as the (ses-cell ...) are read,
8221 in order to check row col consistency with cell symbol name only
8222 for cells that are not renamed.
8223 (ses-replace-name-in-formula): New defun.
8224 (ses-rename-cell): New defun.
8225
ee957461
CY
82262011-12-11 Chong Yidong <cyd@gnu.org>
8227
8228 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8229 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8230
9a9e9ef0
MR
82312011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8232
8233 * window.el (other-window): Fix docstring.
8234
92a8eba5
EZ
82352011-12-10 Eli Zaretskii <eliz@gnu.org>
8236
8237 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
8238 `from' or `to' address before taking its substring.
8239 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
8240 encoded name is chopped in the middle of the encoded string, and
8241 thus displayed encoded.
8242
e152e577
JB
82432011-12-10 Juanma Barranquero <lekktu@gmail.com>
8244
8245 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8246
e5d84bfe
EZ
82472011-12-10 Eli Zaretskii <eliz@gnu.org>
8248
8249 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8250 to use texinfo-update-node and commands that call it if the
8251 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8252 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8253 (texinfo-all-menus-update, texinfo-master-menu)
8254 (texinfo-update-node, texinfo-every-node-update)
8255 (texinfo-multiple-files-update): Doc fix. Warn against updating
8256 all the @node lines.
8257 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8258 argument is numeric. Explain better in the doc string what the
8259 function really does.
8260 (texinfo-insert-master-menu-list): Improve the error message
8261 displayed if there's no menu in the Top node.
8262 (Bug#2975) See also this thread:
e5d84bfe
EZ
8263 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8264
1d84e9bb
MG
82652011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8266
8267 * speedbar.el (speedbar-supported-extension-expressions):
8268 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8269
382c953b
JB
82702011-12-09 Juanma Barranquero <lekktu@gmail.com>
8271
8272 * printing.el (pr-mode-alist):
8273 * simple.el (filter-buffer-substring-functions)
8274 (completion-list-insert-choice-function):
8275 * window.el (window-with-parameter, window-atom-root)
8276 (window-sides-slots, window-size-fixed, window-min-delta)
8277 (window-max-delta, window--resize-mini-window)
8278 (window--resize-child-windows-normal, window-tree)
8279 (delete-other-windows, quit-window, split-window)
8280 (display-buffer-record-window, special-display-buffer-names)
8281 (special-display-regexps, special-display-popup-frame)
8282 (same-window-p, split-window-sensibly)
8283 (display-buffer-overriding-action, display-buffer-alist)
8284 (display-buffer-base-action, display-buffer, switch-to-buffer)
8285 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8286 (fit-window-to-buffer, recenter-positions)
8287 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8288 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8289 and remove unneeded backslashes in docstrings.
8290
39c9faef
SM
82912011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8292
98449af8
SM
8293 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8294
39c9faef
SM
8295 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8296 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8297 end in ".mk".
8298 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8299 when reading the makefile (bug#10116).
8300
86ed9fdc
SM
83012011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8302
8303 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8304 (bug#10116).
8305
5580f89d
GM
83062011-12-06 Glenn Morris <rgm@gnu.org>
8307
8308 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8309
28d3917c
CY
83102011-12-06 Chong Yidong <cyd@gnu.org>
8311
8312 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8313
a98edce9
JB
83142011-12-06 Juanma Barranquero <lekktu@gmail.com>
8315
8316 * textmodes/table.el (table-shorten-cell): Fix typo.
8317
e65adfac
CG
83182011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8319
8320 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8321
71cc0b74
EZ
83222011-12-05 Eli Zaretskii <eliz@gnu.org>
8323
8324 * descr-text.el (describe-char): Fix display of strong
8325 right-to-left characters and directional embeddings and overrides.
8326
8327 * simple.el (what-cursor-position): Fix display of codepoints of
8328 strong right-to-left characters.
8329
315bc30d
CY
83302011-12-05 Chong Yidong <cyd@gnu.org>
8331
8332 * faces.el (read-color): Doc fix.
8333
58a70b94
GM
83342011-12-05 Glenn Morris <rgm@gnu.org>
8335
8336 * align.el (align--set-marker): Add doc-string.
8337 Don't try to move something that is not a marker. (Bug#10216)
8338
5158face
GM
83392011-12-04 Glenn Morris <rgm@gnu.org>
8340
8341 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8342 overly zealous deletion of trailing whitespace.
8343
520fca41
JB
83442011-12-04 Juanma Barranquero <lekktu@gmail.com>
8345
8346 * server.el (server-delete-client): On Windows, do not try to delete
8347 the only terminal.
8348 (server-process-filter): On Windows, treat requests for a tty frame as
8349 if they were for a GUI frame if the running server is in GUI mode.
8350
5e605a2e
GM
83512011-12-03 Glenn Morris <rgm@gnu.org>
8352
8353 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8354
5c3fe83f
SM
83552011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8356
6f5e57e7
SM
8357 * electric.el: Streamline electric-indent's hook.
8358 (electric-indent-chars): Revert to simple list.
8359 (electric-indent-functions): New var.
8360 (electric-indent-post-self-insert-function): Use it.
8361
5c3fe83f
SM
8362 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8363 there's no inferior buffer (bug#10196).
8364 (prolog-consult-compile): Don't use toggle-read-only.
8365
6bdac736
MA
83662011-12-02 Michael Albinus <michael.albinus@gmx.de>
8367
8368 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8369 interrupt. (Bug#10187)
8370
6131ba7f
SM
83712011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8372
99c79fee
SM
8373 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8374 (bug#9160).
8375
6131ba7f
SM
8376 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8377 (bug#10191).
8378
cb0a02ea
JL
83792011-12-02 Juri Linkov <juri@jurta.org>
8380
8381 * info.el (Info-search): Display "end of manual" when Isearch
8382 reaches the end of single-file Info manual. (Bug#9918)
8383
66e0570c
EZ
83842011-12-02 Eli Zaretskii <eliz@gnu.org>
8385
8386 * isearch.el (isearch-message-prefix): Run the input method part
8387 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8388
02b16839
JL
83892011-12-02 Juri Linkov <juri@jurta.org>
8390
8391 * isearch.el (isearch-occur): Use `word-search-regexp' for
8392 `isearch-word'.
8393 (isearch-search-and-update): Add condition for `isearch-word' and
8394 call `word-search-regexp'. (Bug#10145)
8395
0b950688
GM
83962011-12-01 Glenn Morris <rgm@gnu.org>
8397
8398 * eshell/em-hist.el (eshell-hist-initialize):
8399 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8400 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8401
9505c3c7
SM
84022011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8403
8404 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8405
1bbe96b2 84062011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8407
a1beca85
SM
8408 * progmodes/verilog-mode.el (verilog-pretty-expr):
8409 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8410 verilog, such as += *= and the like.
8411 (verilog-assignment-operator-re): Regular expression to find the
8412 assigment operator in a verilog assignment.
8413 (verilog-assignment-operation-re): Regular expression to find an
8414 assignment statement for pretty-expr.
8415 (verilog-in-attribute-p): Query returns true if point is in an
8416 attribute context; used to skip these for expression line up from
8417 pretty-expr.
8418 (verilog-in-parameter-p): Query returns true if point is in an
8419 parameter definition context; used to skip these for expression
8420 line up from pretty-expr.
8421 (verilog-in-parenthesis-p): Query returns true if point is in a
8422 parenthetical expression, specifically ( ) but not [ ] or { };
8423 used by pretty-expr.
8424 (verilog-just-one-space): If there is no space, don't add one.
8425 (verilog-get-lineup-indent-2): Specifically skip just attribute
8426 contexts for expression lineup, rather than skipping all
8427 parenthetical expressions.
8428 (verilog-calculate-indent): Fix comment, and fix indent.
8429 (verilog-do-indent): Indent declarations in lists (suggested by
8430 Joachim Lechner).
8431 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8432 skeleton items.
8433 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8434 by Alain Mellan).
8435
1bbe96b2 84362011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8437
8438 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8439 parameters with embedded comments. Reported by Ray Stevens.
8440 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8441 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8442 Reported by Tim Holt.
8443 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8444 instantiated by upper module causing wrong expansion until AUTOed a
8445 second time. Reported by K C Buckenmaier.
8446 (verilog-diff-auto): Fix showing .* as a difference when
8447 `verilog-auto-star-save' off. Reported by Dan Dever.
8448 (verilog-auto-reset, verilog-read-always-signals)
8449 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8450 temporary signals in reset list if
8451 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8452 style to each signal's assignment type, bug381.
8453 Reported by Thomas Esposito.
6288f0ca
WS
8454 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8455 (verilog-uvm-statement-re): Support UVM indentation and
8456 highlighting, with old OVM keywords only.
a1beca85 8457 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8458 Support AUTOTIEOFF creating non-wire data types.
8459 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8460 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8461 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8462 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8463 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8464 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8465 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8466 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8467 non-numeric vector width. Reported by Alex Reed.
8468 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8469 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8470 (verilog-auto-delete-trailing-whitespace):
8471 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8472 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8473 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8474 Fix verilog-scan-cache corruption when running user AUTO expansion
8475 hooks that call indentation routines.
8476 (verilog-simplify-range-expression): Fix typo ignoring lower case
8477 identifiers.
8478 (verilog-delete-auto): Fix delete-autos to also remove user created
8479 automatics, as long as they start with AUTO.
8480 (verilog-batch-diff-auto, verilog-diff-auto)
8481 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8482 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8483 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8484 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8485 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8486 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8487 is disabled and its cache will get corrupt, causing AUTOS not to
8488 expand. Instead use only -quick functions.
8489 (verilog-scan-region): Fix scanning over escaped quotes.
8490 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8491 (verilog-re-search-backward-quick)
8492 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8493 related functions now ignore strings, to fix misparsing of strings
8494 with magic comments embedded in them.
a1beca85
SM
8495 (verilog-read-auto-template):
8496 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8497 Reported by Brad Dobbie.
8498 (verilog-read-auto-template):
8499 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8500 Reported by Brad Dobbie.
6288f0ca
WS
8501 (verilog-auto-inst, verilog-auto-inst-param)
8502 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8503 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8504 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8505 debugging templates without merge conflicts, bug357.
8506 Reported by Brad Dobbie.
8507 (verilog-read-auto-template):
8508 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8509 Reported by Brad Dobbie.
8510 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8511 abbrevs so user won't be asked to save.
8512 (verilog-read-auto-lisp-present): Fix to start at beginning of
8513 buffer in case called outside of verilog-auto.
8514 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8515 to "X-2". Reported by Matthew Myers.
8516 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8517 all inputs from module templates. Reported by Leith Johnson.
8518 (verilog-module-inside-filename-p): Fix locating programs as with
8519 modules.
8520 (verilog-auto-inst-port): Fix vl-width expressions when using
8521 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8522 (verilog-decls-get-regs, verilog-decls-get-signals,
8523 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8524 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8525 verilog-read-decls): Combine reg and wire structures into one var
8526 structure to represent SystemVerilog concepts.
8527 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8528 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8529 (verilog-auto-wire-type, verilog-insert-definition):
8530 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8531 SystemVerilog "logic" keyword instead of "wire"/"reg".
8532 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8533 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8534 ifdef or generate if so there's not a driver conflict).
8535 Reported by Matthew Myers.
8536 (verilog-auto-declare-nettype, verilog-insert-definition):
8537 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8538 `default_nettype none. Reported by Julian Gorfajn.
8539 (verilog-read-always-signals-recurse, verilog-read-decls)
8540 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8541 malformed end statement, bug325. Reported by Joshua Wise and
8542 Andrew Drake.
8543 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8544 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8545 when expanding .* in interfaces, bug320.
8546 Reported by Pierre-David Pfister.
6288f0ca 8547 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8548 name and open parenthesis, bug317.
8549 Reported by Pierre-David Pfister.
6288f0ca
WS
8550 (verilog-simplify-range-expression): Fix simplification of
8551 multiplications inside AUTOWIRE connections, bug303.
8552 (verilog-auto-inst-port): Support parameter expansion in
8553 multidimensional arrays.
8554 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8555 after "assert property". Reported by Julian Gorfajn.
8556 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8557 with multiplication, bug303.
8558 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8559 Reported by Jan Frode Lonnum.
8560
1bbe96b2
GM
85612011-11-30 Juanma Barranquero <lekktu@gmail.com>
8562
8563 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8564 (hfy-shell-file-name, hfy-shell):
8565 * international/fontset.el (x-decompose-font-name): Fix typos.
8566
85672011-11-29 Ken Brown <kbrown@cornell.edu>
8568
8569 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8570 (gdb-version): Remove defvar.
8571 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8572 (gdb-gud-context-command, gdb-non-stop-handler)
8573 (gdb-current-context-command, gdb-stopped): Use it.
8574 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8575 (gdb-non-stop-handler): Don't enable pretty-printing here.
8576 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8577 non-stop mode. Use the following.
8578 (gdb-check-target-async): New defun.
8579 (gud-watch, gdb-stopped): Fix whitespace.
8580 (gdb-get-source-file): Don't try to display the source file if
8581 `gdb-main-file' is nil.
8582
85832011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8584
8585 * align.el: Try to generate fewer markers (bug#10047).
8586 (align--set-marker): New macro.
8587 (align-region): Use it.
8588
c935221f
SM
85892011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8590
8591 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8592
e70b5064
CY
85932011-11-29 Chong Yidong <cyd@gnu.org>
8594
8595 * indent.el (indent-for-tab-command, indent-according-to-mode):
8596 Doc fix.
8597 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8598
f3af92b7
MA
85992011-11-29 Michael Albinus <michael.albinus@gmx.de>
8600
8601 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8602 aware of remote file names. (Bug#10124)
8603
ed472be9
CY
86042011-11-29 Chong Yidong <cyd@gnu.org>
8605
8606 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8607
24510c22
SM
86082011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8609
8610 * files.el (find-file): Don't use force-same-window (bug#10144).
8611 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8612 use pop-to-buffer if the selected window can't be used.
8613 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8614
c60c3703
EZ
86152011-11-28 Eli Zaretskii <eliz@gnu.org>
8616
8617 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8618 special-mode-map.
8619
e95def75
CY
86202011-11-28 Chong Yidong <cyd@gnu.org>
8621
8622 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8623
c3f1c606
NR
86242011-11-27 Nick Roberts <nickrob@snap.net.nz>
8625
8626 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8627 gdb-get-source-file-list on gdb-create-source-file-list.
8628
00db469c
EZ
86292011-11-26 Eli Zaretskii <eliz@gnu.org>
8630
8631 * whitespace.el (whitespace-newline): Use a different foreground
8632 color for 16-color light-background displays.
8633
4ad3bc2a
CY
86342011-11-24 Chong Yidong <cyd@gnu.org>
8635
8636 * window.el (display-buffer--special-action): Doc fix.
8637
e9fce1ac
JB
86382011-11-25 Juanma Barranquero <lekktu@gmail.com>
8639
8640 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8641 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8642 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8643 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8644 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8645 (avl-tree-stack-first):
8646 * emacs-lisp/cconv.el (cconv--analyse-use):
8647 * net/gnutls.el (gnutls-negotiate): Fix typos.
8648
cb825e5d
GM
86492011-11-24 Glenn Morris <rgm@gnu.org>
8650
3adbe224
GM
8651 * lpr.el (lpr-windows-system, lpr-lp-system):
8652 * mail/binhex.el (binhex-begin-line):
8653 * progmodes/grep.el (grep-history, grep-find-history):
8654 * textmodes/flyspell.el:
8655 * vc/pcvs-defs.el (cvs-global-menu):
8656 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8657 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8658 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8659
321decc8
GM
8660 * net/tls.el: Fix case of "GnuTLS".
8661
420b63ad
GM
8662 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8663
cb825e5d
GM
8664 * version.el (emacs-build-system): Give it a doc-string.
8665
a0649f08
JL
86662011-11-24 Juri Linkov <juri@jurta.org>
8667
8668 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8669
c0bc0fd4
GM
86702011-11-24 Glenn Morris <rgm@gnu.org>
8671
8672 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8673 if called on a non-mime message just toggle the headers. (Bug#8006)
8674
20db1522
JB
86752011-11-24 Juanma Barranquero <lekktu@gmail.com>
8676
8677 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8678 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8679 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8680 (allout-rebullet-heading, allout-open-sibtopic)
8681 (allout-toggle-current-subtree-encryption)
8682 (allout-toggle-subtree-encryption, allout-encrypt-string)
8683 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8684 (allout-distinctive-bullets-string, allout-auto-activation):
8685 * window.el (window-normalize-buffer-to-display):
8686 * progmodes/verilog-mode.el (verilog-batch-indent):
8687 * textmodes/bibtex.el (bibtex-field-braces-opt)
8688 (bibtex-field-strings-opt):
8689 * vc/cvs-status.el (cvs-tree-merge):
8690 Fix typos.
8691
7262a87c
MA
86922011-11-23 Michael Albinus <michael.albinus@gmx.de>
8693
8694 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8695 `non-essential' to t, in order to avoid remote connections.
8696
283430a1
EZ
86972011-11-23 Eli Zaretskii <eliz@gnu.org>
8698
a1beca85
SM
8699 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8700 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8701 case-insensitively.
8702
d2992a38
ML
87032011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8704
8705 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8706
50419064
GM
87072011-11-23 Glenn Morris <rgm@gnu.org>
8708
da94eca1
GM
8709 * paths.el (rmail-file-name): Reformat the doc-string so that it
8710 is picked up.
8711
9aac4de2
GM
8712 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8713 (rmail-auto-file): Ignore case in the "special" field names,
8714 as mail-fetch-field does for all others.
8715
8038d2d2
GM
8716 * mail/rmail.el (rmail-forward):
8717 * mail/rmailkwd.el (rmail-set-label):
8718 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8719 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8720
f3fe222a
GM
8721 * mail/rmail.el (rmail-current-message): Doc fix.
8722
50419064
GM
8723 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8724
28109f49
SM
87252011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8726
8727 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8728
394c65f1
GM
87292011-11-22 Glenn Morris <rgm@gnu.org>
8730
8731 * mail/rmailmm.el (test-rmail-mime-handler)
8732 (test-rmail-mime-bulk-handler)
8733 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8734
f2a0aa3a
JL
87352011-11-21 Juri Linkov <juri@jurta.org>
8736
1154d12e
JB
8737 * calc/calc.el (calc-read-key-sequence):
8738 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8739
9c34a344
LMI
87402011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8741
8742 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8743 Tell the caller that the next line needs recomputation, even
8744 though it doesn't start a sexp (bug#10094).
8745
f04a3be9
SM
87462011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8747
8748 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8749
7978747f
SM
87502011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8751
f04a3be9
SM
8752 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8753 Use force-same-window.
7978747f 8754
fe7a3057
JB
87552011-11-20 Juanma Barranquero <lekktu@gmail.com>
8756
8757 * descr-text.el (describe-char-unicode-data):
8758 * json.el (json-string-escape):
8759 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8760 (Footnote-unicode, Footnote-style-p):
8761 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8762
24901d61
CY
87632011-11-20 Chong Yidong <cyd@gnu.org>
8764
8765 * window.el (replace-buffer-in-windows): Restore interactive spec.
8766
bac7ff22
SM
87672011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8768
24f3d7b9
SM
8769 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8770
bac7ff22
SM
8771 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8772 (byte-compile-global-not-obsolete-vars): New var.
8773 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8774 Use it.
8775 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8776
cd1181db
JB
87772011-11-20 Juanma Barranquero <lekktu@gmail.com>
8778
8779 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8780 * progmodes/pascal.el (electric-pascal-equal):
8781 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8782 * xml.el (xml-substitute-special): Fix typos.
8783
7fb18e9e
GM
87842011-11-20 Glenn Morris <rgm@gnu.org>
8785
8786 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8787 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8788 Doc fixes.
8789 (rmail-decode-mime-charset): Mark as obsolete.
8790
8791 * mail/rmailsum.el (rmail-message-regexp-p-1):
8792 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8793 Before using mime functions, check they are set. (Bug#10077)
8794
d5a6b3ba
JL
87952011-11-19 Juri Linkov <juri@jurta.org>
8796
8797 * info.el (Info-finder-find-node): Use `package--builtins' instead
8798 of `package-alist'. Use node names formed by the pattern "Keyword "
8799 and the keyword name.
8800
e981b61f
AS
88012011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8802
1d00653d 8803 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8804
3ffbc301
JL
88052011-11-19 Juri Linkov <juri@jurta.org>
8806
8807 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8808 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8809 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8810 `old-history', `old-history-forward'. Add let-binding
8811 `window-selected'. Remove calls to `kill-buffer',
8812 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8813 before calling `Info-find-node', so `Info-find-node-2' will reread
8814 the Info file. Restore window positions only when `window-selected'
8815 is non-nil.
8816
30c62133
JL
88172011-11-19 Juri Linkov <juri@jurta.org>
8818
8819 * isearch.el (isearch-lazy-highlight-new-loop):
8820 Remove condition `(not isearch-error)'. (Bug#9918)
8821
8822 * misearch.el (multi-isearch-search-fun): Add condition
8823 `(not bound)' to ignore lazy-highlighting search.
8824 Add the search-failed message "end of multi" when the end of
8825 multi-sequence is reached. Uncapitalize the search-failed
8826 message "Repeat for next buffer".
8827
8828 * info.el (Info-search): Add the search-failed message
8829 "end of the manual" when the end of the manual is reached
8830 in Isearch mode.
8831
645ca9cf
JL
88322011-11-19 Juri Linkov <juri@jurta.org>
8833
8834 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8835 Use non-destructive `remove' instead of `delete' because
8836 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8837 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8838
df754f66
JL
88392011-11-19 Juri Linkov <juri@jurta.org>
8840
8841 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8842 to nil instead of binding `search-ring' and `regexp-search-ring'.
8843 (Bug#9185)
8844
0e23d96a
EZ
88452011-11-19 Eli Zaretskii <eliz@gnu.org>
8846
8847 * simple.el (line-move): Force movement by logical lines for any
8848 hscrolled window, not only when auto-hscroll-mode is on.
8849 (line-move-visual): Update doc string to that effect. (Bug#10076)
8850
8a6ccb66
AS
88512011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8852
8853 * language/european.el (macintosh): Define as alias for mac-roman.
8854
49ae5b39
EZ
88552011-11-19 Eli Zaretskii <eliz@gnu.org>
8856
8857 * mail/rmailmm.el (rmail-mime-display-header)
8858 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8859 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8860 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8861 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8862 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8863 of a raw aref.
8864 (rmail-mime-entity-segment): To get past the tagline, move forward
8865 2 more lines, to account for the 2 empty lines that precede and
8866 follow the line with the buttons.
8867 (rmail-mime-update-tagline): Move one more line, to get past the
8868 empty line that follows the buttons in the tagline. (Bug#9520)
8869
c56cad4a
MR
88702011-11-19 Martin Rudalics <rudalics@gmx.at>
8871
8872 * window.el (window-max-delta-1, window-min-delta-1)
8873 (window-min-size-1, window-state-get-1, window-state-put-1)
8874 (window-state-put-2): Use "window--" prefix.
8875
cbe71af3
SM
88762011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8877
2ad52c60
SM
8878 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8879 (smie-warning-count): New var.
8880 (smie-set-prec2tab): Use it.
8881 (smie-bnf->prec2): Improve warnings. Add docstring.
8882 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8883 (smie-bnf--set-class): New function.
8884 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8885 corner case.
8886
6944dbc1
SM
8887 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8888 (compilation-error-properties, compilation-move-to-column):
8889 Handle compilation-first-column while in the target buffer.
8890
c400c4d7
SM
8891 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8892 Don't hardcode point-min==1.
8893
6dbe3e96
SM
8894 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8895 (eshell-rewrite-for-command): Remove workaround.
8896 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8897 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8898 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8899
cbe71af3
SM
8900 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8901
a8e1496d
GM
89022011-11-17 Glenn Morris <rgm@gnu.org>
8903
8904 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8905 Ignore buffer-local generated-autoload-file if it is the same
8906 as the global value. (Bug#10049)
8907
df85d315
JB
89082011-11-17 Juanma Barranquero <lekktu@gmail.com>
8909
8910 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8911 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8912 (reftex-toc-previous-heading, reftex-toc-max-level)
8913 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8914 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8915 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8916 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8917 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8918 (reftex-toc-rename-label, reftex-toc-visit-location)
8919 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8920 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8921 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8922 leaving "*toc*" only for references to the buffer.
8923
a0c2d0ae
MR
89242011-11-17 Martin Rudalics <rudalics@gmx.at>
8925
8926 * window.el (window-resize, delete-window, split-window):
8927 Replace window-splits by window-combination-resize.
1d00653d 8928 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8929
35c0bac8
GM
89302011-11-17 Glenn Morris <rgm@gnu.org>
8931
8932 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8933 Make bash entry derive from sh entry, not shell entry.
8934
d0c8fc8a
MA
89352011-11-16 Michael Albinus <michael.albinus@gmx.de>
8936
7262a87c
MA
8937 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8938 local file name.
8939
7877f373
JB
89402011-11-16 Juanma Barranquero <lekktu@gmail.com>
8941
8942 * menu-bar.el (menu-bar-file-menu):
8943 * printing.el (pr-ps-utility):
8944 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8945 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8946 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8947 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8948 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8949 (icalendar--convert-cyclic-to-ical)
8950 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8951 (icalendar--convert-ical-to-diary)
8952 (icalendar--convert-recurring-to-diary)
8953 (icalendar--convert-non-recurring-all-day-to-diary)
8954 (icalendar-import-format-sample):
8955 * progmodes/idlw-shell.el (idlwave-shell-mode):
8956 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8957 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8958 (vhdl-ps-print-init): Fix typos.
8959
10649b82
KM
89602011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8961
9d0cfcd6
GM
8962 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8963 FSF and collapse date sequence, obscure author/maintainer email address
8964 better, remove extra version line, track relocation of author's webpage.
10649b82 8965
9d0cfcd6
GM
8966 * progmodes/python.el (python-pdbtrack-input-prompt)
8967 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8968 regular python pdb prompts. Adjustments shamelessly taken exactly as
8969 suggested in EmacsWiki page (tiny change):
8970 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8971
58179cce
JB
89722011-11-16 Juanma Barranquero <lekktu@gmail.com>
8973
8974 * expand.el (expand-pos, expand-index, expand-point):
8975 Remove redundant info from docstring.
8976 (expand-add-abbrevs): Doc fix.
8977 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8978 (expand-sample-perl-mode-expand-list): Fix typos.
8979
8980 * net/dbus.el (dbus-event-member-name):
8981 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8982 * term/pc-win.el (msdos-create-frame-with-faces):
8983 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8984
b6f67890
MR
89852011-11-16 Martin Rudalics <rudalics@gmx.at>
8986
8987 * window.el (split-window, window-state-get-1)
8988 (window-state-put-1, window-state-put-2): Rename occurrences of
8989 window-nest to window-combination-limit.
1d00653d 8990 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8991
ce7ddba0
CY
89922011-11-16 Chong Yidong <cyd@gnu.org>
8993
8994 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8995 regexp (Bug#10033).
8996
3ae704f4
SM
89972011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8998
8999 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9000 `completing-read' will remove *Completions* and will preserve
9001 current-buffer for us.
9002 (tmm-add-prompt): Users of *Completions* will always (re)set its
9003 major mode.
9004 (tmm-old-comp-map): Remove.
9005
6ad1cdde
GM
90062011-11-16 Glenn Morris <rgm@gnu.org>
9007
9008 * mail/rmailedit.el: Require rmailmm when compiling.
9009 (rmail-old-mime-state): New declaration.
9010 (rmail-edit-current-message): If editing a mime message,
9011 edit the "raw" message from the mbox buffer.
9012 (rmail-cease-edit): Handle mime messages. (Bug#9840)
9013
d20faa20
GM
90142011-11-15 Glenn Morris <rgm@gnu.org>
9015
9016 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9017 which wasn't being used. Add optional arg to force given state.
9018 (rmail-mime): Add optional arg to force given state.
9019
c7015153
JB
90202011-11-15 Juanma Barranquero <lekktu@gmail.com>
9021
9022 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9023 * frame.el (display-mm-dimensions-alist):
9024 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9025 (outline-move-subtree-down):
9026 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9027 (newsticker--treeview-do-get-node):
9028 * net/quickurl.el (quickurl-list-buffer-name):
9029 * progmodes/dcl-mode.el (dcl-mode):
9030 * progmodes/gdb-mi.el (gdb-mapcar*):
9031 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9032
45261b50
GM
90332011-11-15 Glenn Morris <rgm@gnu.org>
9034
9035 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9036 in a boolean sense, so just make it a boolean, and fix the doc.
9037 (rmail-show-mime-function, rmail-mime-feature)
9038 (rmail-require-mime-maybe): Doc fixes.
9039 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9040
9041 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9042
0d26e0b6
JB
90432011-11-15 Juanma Barranquero <lekktu@gmail.com>
9044
9045 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9046 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9047 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9048 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9049
447f30f6
GM
90502011-11-15 Glenn Morris <rgm@gnu.org>
9051
672b871d
GM
9052 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9053 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9054 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9055 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9056 (rmail-mime, rmail-show-mime): Doc fixes.
9057
f6aa5bb1
GM
9058 * term/ns-win.el (mode-line-frame-identification):
9059 Leave it alone. (Bug#10051)
9060
947cd66b
GM
9061 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9062
447f30f6
GM
9063 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9064 Handle empty buffers. (Bug#9978)
9065
0b381c7e
JB
90662011-11-14 Juanma Barranquero <lekktu@gmail.com>
9067
9068 * international/mule.el (define-charset):
9069 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9070 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9071 * progmodes/verilog-mode.el (verilog-backward-token):
9072 * textmodes/ispell.el (lookup-words):
9073 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9074
71e027ac
GM
90752011-11-14 Glenn Morris <rgm@gnu.org>
9076
56632ce4
GM
9077 * progmodes/executable.el
9078 (executable-make-buffer-file-executable-if-script-p):
9079 Handle file-modes returning nil.
9080
40500957
GM
9081 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9082 message - not necessary, and causes problems. (Bug#9831)
9083
071c2340
GM
9084 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9085
d3cfca60
GM
9086 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9087
71e027ac
GM
9088 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9089 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9090 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9091
89d61221
MR
90922011-11-12 Martin Rudalics <rudalics@gmx.at>
9093
9094 * window.el (window-resize, delete-window): Use window-splits
9095 variable instead of function.
9096 (window-state-get-1, window-state-put-2, window-state-put):
9097 Don't deal with windows' splits status.
9098
98282f6f
GM
90992011-11-12 Glenn Morris <rgm@gnu.org>
9100
9101 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9102 (apropos-documentation): Doc fixes.
9103
40a8bdf6
JB
91042011-11-11 Juanma Barranquero <lekktu@gmail.com>
9105
9106 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9107 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9108
65bd19ff
SM
91092011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9110
9111 * electric.el (electric-indent-post-self-insert-function): Make it
9112 possible for a char to only indent in some circumstances.
9113 (electric-indent-mode): Simplify.
9114
54f9154c
MR
91152011-11-11 Martin Rudalics <rudalics@gmx.at>
9116
9117 * window.el (windows-with-parameter): Remove unused function.
9118 (windows-at-side): Rename to window-at-side-list.
9119 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
9120 (window-side-check, window-size-ignore, window-size-fixed-1)
9121 (window-in-direction-2): Prefix with "window--".
9122 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 9123
68cbc58b
GM
91242011-11-11 Glenn Morris <rgm@gnu.org>
9125
9126 * subr.el (eval-after-load): If FILE is already loaded,
9127 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9128
b2621720
GM
91292011-11-10 Glenn Morris <rgm@gnu.org>
9130
9a4de110
GM
9131 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9132 Call svn via vc-svn-command rather than vc-do-command.
9133 (vc-svn-command): Add --non-interactive. (Bug#9993)
9134 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9135
b2621720
GM
9136 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9137 Add toggle-read-only. (Bug#7292)
9138 * files.el (toggle-read-only): Mention that it should only
9139 be used interactively. (Bug#10006)
9140
1dce7193
SM
91412011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9142
d9ac1a1e
SM
9143 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9144 Adjust regexp for OCaml warnings.
9145
0c325082
SM
9146 * electric.el (electric-pair-post-self-insert-function): Let user
9147 turn it off buffer-locally (bug#9932).
9148
90132c14
SM
9149 * progmodes/python.el (python-beginning-of-statement):
9150 Rewrite (bug#2703).
9151
1dce7193
SM
9152 * progmodes/compile.el: Better handle TABs (bug#9749).
9153 (compilation-internal-error-properties)
9154 (compilation-next-error-function): Obey the target buffer's
9155 compilation-error-screen-columns.
9156
c4e7c63a
JB
91572011-11-09 Juanma Barranquero <lekktu@gmail.com>
9158
9159 * progmodes/meta-mode.el: Remove obsolete comments.
9160 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9161 Fix typos in docstrings.
9162
2cffd681
MR
91632011-11-09 Martin Rudalics <rudalics@gmx.at>
9164
9165 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 9166 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
9167 (window--resizable): New function. Make all callers of
9168 window-resizable call window--resizable instead.
9169 (window-resizable): Rewrite in terms of window--resizable.
9170
0edcba87
GM
91712011-11-08 Glenn Morris <rgm@gnu.org>
9172
9173 * progmodes/delphi.el (delphi-mode-syntax-table):
9174 Let define-derived-mode define a proper syntax table. (Bug#9994)
9175
4b0d61e3
SM
91762011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9177
9178 * window.el: Stay away from defsubst.
9179 (window-list-no-nils): Remove.
9180 (window-state-get-1, window-state-get): Use backquote instead.
9181
cd394be1 91822011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 9183
4b0d61e3 9184 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 9185 Fix incorrect use of default argument in `completing-read'.
9186
e1c2c6f2
MR
91872011-11-08 Martin Rudalics <rudalics@gmx.at>
9188
9189 * window.el (display-buffer-function, special-display-function):
9190 Mention display-buffer-record-window but do not mention
9191 help-setup parameter in doc-strings.
b3f4a882 9192 (window-min-delta): Fix doc-string typo.
e1c2c6f2 9193
105216ed
CY
91942011-11-08 Chong Yidong <cyd@gnu.org>
9195
9196 * window.el (window-total-height, window-total-width): Doc fix.
9197 (window-body-size): Move from C.
9198 (window-body-height, window-body-width): Move to C.
9199
0a9f9ab5
SM
92002011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9201
9202 * window.el: Make special-display like display-buffer-alist (bug#9532).
9203 (display-buffer--special-action): New function, morphed
9204 from display-buffer--special.
9205 (display-buffer): Use it to handle special-display-buffers at higher
9206 priority (just after display-buffer-alist).
9207 (display-buffer-fallback-action, display-buffer--other-frame-action)
9208 (pop-to-buffer-same-window): Remove display-buffer--special.
9209
a769dd15
GM
92102011-11-07 Glenn Morris <rgm@gnu.org>
9211
9212 * calendar/cal-menu.el (cal-menu-set-date-title):
9213 Do nothing if not in a calendar. (Bug#9976)
9214
05a61ee3
SM
92152011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9216
9217 * files.el (find-file): Always use selected-window.
9218
be7f5545
MR
92192011-11-07 Martin Rudalics <rudalics@gmx.at>
9220
9221 * window.el (window-combinations): Make WINDOW argument
9222 mandatory. Rewrite doc-string.
9223 (walk-window-subtree, window-atom-check, window-min-delta)
9224 (window-max-delta, window--resize-this-window)
9225 (window--resize-root-window-vertically, window-tree)
9226 (balance-windows, window-state-put): Rewrite doc-strings as to
9227 not mention the term "subwindow".
9228 (window--resize-subwindows-skip-p): Rename to
9229 window--resize-child-windows-skip-p.
9230 (window--resize-subwindows-normal): Rename to
9231 window--resize-child-windows-normal.
9232 (window--resize-subwindows): Rename to
9233 window--resize-child-windows.
9234 (window-or-subwindow-p): Rename to window--in-subtree-p.
9235
3c6702ef
ML
92362011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9237
9238 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9239 Ensure that mbox format messages end in two newlines (Bug#9974).
9240
49745b39
CY
92412011-11-06 Chong Yidong <cyd@gnu.org>
9242
9243 * window.el (window-combination-p): Function deleted; its
9244 side-effect is not used in any existing code.
9245 (window-combinations, window-combined-p): Call window-*-child
9246 directly.
9247
24300f5f
CY
92482011-11-05 Chong Yidong <cyd@gnu.org>
9249
9250 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9251 (window-size-ignore, window-state-get): Callers changed.
9252 (window-normalize-window): Rename from window-normalize-any-window.
9253 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9254 (window-normalize-live-window): Delete.
447f16b8
CY
9255 (window-combination-p, window-combined-p, window-combinations)
9256 (walk-window-subtree, window-atom-root, window-min-size)
9257 (window-sizable, window-sizable-p, window-size-fixed-p)
9258 (window-min-delta, window-max-delta, window-resizable)
9259 (window-resizable-p, window-full-height-p, window-full-width-p)
9260 (window-current-scroll-bars, window-point-1, set-window-point-1)
9261 (window-at-side-p, window-in-direction, window-resize)
9262 (adjust-window-trailing-edge, maximize-window, minimize-window)
9263 (window-deletable-p, delete-window, delete-other-windows)
9264 (record-window-buffer, unrecord-window-buffer)
9265 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9266 (quit-window, split-window, window-state-put)
9267 (set-window-text-height, fit-window-to-buffer)
9268 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9269
89bd5ee1
EZ
92702011-11-04 Eli Zaretskii <eliz@gnu.org>
9271
53479029
EZ
9272 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9273 rfc2047-decode-string.
9274 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9275 warnings.
9276
89bd5ee1
EZ
9277 * window.el (window-body-height, window-body-width): Mention in
9278 the doc string that the return values are in frame's canonical
9279 units. (Bug#9949)
9280
bd17fdee
AM
92812011-11-03 Alan Mackenzie <acm@muc.de>
9282
9283 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9284 change in cc-engine.el.
9285
acc825c5
SM
92862011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9287
9288 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9289
1885e5b8
MR
92902011-11-02 Martin Rudalics <rudalics@gmx.at>
9291
9292 * window.el (quit-window): Call unrecord-window-buffer after
9293 showing another buffer in the window. (Bug#9937)
acc825c5 9294 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9295
ebe06da9
JB
92962011-11-02 Juanma Barranquero <lekktu@gmail.com>
9297
9298 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9299 Accept status with more than 9 shelves. (Bug#9935)
9300 Reported by Colin D Bennett <colin@gibibit.com>.
9301
4ee88440
MR
93022011-11-01 Martin Rudalics <rudalics@gmx.at>
9303
9304 * help.el (with-help-window): Don't reference
9305 temp-buffer-show-specifiers in doc-string.
9306
08e1d82c
AS
93072011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9308
9309 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9310 menu-item.
9311
84bd6e9e
VJL
93122011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9313
9314 * whitespace.el: New version 13.2.2.
9315 (whitespace-newline-mode): Disable properly. Reported by Sarah
9316 <EmacsWiki>.
9317
dba0634a
UJ
93182011-10-30 Ulf Jasper <ulf.jasper@web.de>
9319
9320 * net/newst-treeview.el: Remove "Time-stamp".
9321 (newsticker--group-manage-orphan-feeds): Do not call
9322 newsticker--treeview-tree-update.
db22a3c2
JB
9323 (newsticker-treeview-update, newsticker-treeview):
9324 Call newsticker--treeview-tree-update if necessary.
dba0634a 9325
3d8daefe
MR
93262011-10-30 Martin Rudalics <rudalics@gmx.at>
9327
9328 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9329 (window-iso-combinations): Remove "iso-" infix.
9330 Suggested by Chong Yidong.
3d8daefe
MR
9331 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9332 (window-max-delta-1, window-resize, window--resize-siblings)
9333 (window--resize-this-window, adjust-window-trailing-edge)
9334 (split-window, balance-windows-1)
9335 (shrink-window-if-larger-than-buffer):
9336 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9337 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9338
1bc4c3ae
SM
93392011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9340
9341 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9342 in place (bug#9907).
9343 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9344 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9345 (eshell-structure-basic-command, eshell-rewrite-while-command)
9346 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9347 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9348 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9349 (eshell-do-pipelines-synchronously, eshell-eval-command):
9350 Use backquotes and prefer setq to set.
9351 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9352 (eshell-macrop): Use functionp.
c1e2f5fa 9353 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9354
30b65d9c
CY
93552011-10-30 Chong Yidong <cyd@gnu.org>
9356
9357 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9358 instead of set-mark (Bug#9810).
9359
2d197ffb
CY
93602011-10-30 Chong Yidong <cyd@gnu.org>
9361
9362 * window.el (split-window-below, split-window-right): Rename from
9363 split-window-above-each-other and split-window-side-by-side
9364 respectively. All callers changed.
9365 (split-window-sensibly, split-window-sensibly): Use them.
9366 (split-window-keep-point): Doc fix.
9367
9368 * isearch.el: Add isearch-scroll property to split-window-below
9369 and split-window-right.
9370
9371 * follow.el (follow-mode):
9372 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9373 * progmodes/ada-xref.el (ada-gdb-application):
9374 * emulation/vip.el (vip-buffer-in-two-windows):
9375 * image-dired.el (image-dired-dired-with-window-configuration):
9376 * dired-x.el (dired-do-find-marked-files):
9377 * dired.el (dired-pop-to-buffer):
9378 * bs.el (bs--show-with-configuration):
9379 * vc/emerge.el (emerge-setup-windows):
9380 * textmodes/two-column.el (2C-two-columns):
9381 * textmodes/reftex-toc.el (reftex-toc):
9382 * progmodes/gdb-mi.el (gdb-setup-windows):
9383 * progmodes/fortran.el (fortran-window-create):
9384 * net/newst-treeview.el (newsticker--treeview-window-init):
9385 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9386 * emulation/tpu-edt.el (tpu-gold-map):
9387 * emulation/crisp.el (crisp-mode-map):
9388 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9389
38bb2ca8
CY
93902011-10-29 Chong Yidong <cyd@gnu.org>
9391
aa4de341
CY
9392 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9393
e1eb5385
CY
9394 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9395
5d2ece3c
CY
9396 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9397 forged Ispell output (Bug#7904).
9398
38bb2ca8
CY
9399 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9400
d0af9f77
SM
94012011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9402
9403 * doc-view.el: Avoid ugly errors about not finding nil.
9404 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9405 (doc-view-dvipdf-program, doc-view-unoconv-program)
9406 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9407 Avoid nil or absolute file name as default value.
9408 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9409
52bedd34
AM
94102011-10-28 Alan Mackenzie <acm@muc.de>
9411
db22a3c2 9412 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9413
7e43cfa5
AM
94142011-10-28 Alan Mackenzie <acm@muc.de>
9415
9416 Amend the handling of c-beginning/end-of-defun in nested declaration
9417 scopes.
9418
52bedd34
AM
9419 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9420 cc-langs.el. Change it to a defcustom.
7e43cfa5 9421
52bedd34
AM
9422 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9423 cc-vars.el.
7e43cfa5 9424
d0af9f77
SM
9425 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9426 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9427
52bedd34 9428 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9429 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9430 (c-widen-to-enclosing-decl-scope): New function.
9431 (c-while-widening-to-decl-block): New macro.
9432 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9433 outward for defun boundaries, and correspondingly change symbol
9434 `respect-enclosure' to `go-outward'.
9435 (c-declaration-limits): Change algorithm to report only the "innermost"
9436 defun's boundaries.
9437
1a2ce9ee
DD
94382011-10-28 Deniz Dogan <deniz@dogan.se>
9439
9440 * net/rcirc.el (rcirc-mode): Use hard newlines.
9441
bc97a826
AM
94422011-10-28 Alan Mackenzie <acm@muc.de>
9443
9444 Amend to indent and fontify macros "which include their own semicolon"
9445 correctly, using the "virtual semicolon" mechanism.
9446
52bedd34 9447 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9448
d0af9f77 9449 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9450 Recode to scan one line at a time rather than having \n and \r
58179cce 9451 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9452 (c-forward-label): Amend for virtual semicolons.
58179cce 9453 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9454
52bedd34
AM
9455 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9456 of the new C macros.
bc97a826 9457
52bedd34 9458 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9459 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9460 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9461 (c-opt-cpp-macro-define): Make into a full language variable.
9462 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9463 AWK Mode (including \n, \r) removed, no longer needed.
9464
d0af9f77
SM
9465 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9466 Invoke c-make-macro-with-semi-re.
bc97a826 9467
52bedd34
AM
9468 * progmodes/cc-vars.el (c-macro-with-semi-re):
9469 (c-macro-names-with-semicolon): New variables.
58179cce 9470 (c-make-macro-with-semi-re): New function.
bc97a826 9471
7a6c0941
SM
94722011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9473
9474 * vc/log-edit.el: Fill empty field rather than adding new one.
9475 (log-edit-add-field): New function.
9476 (log-edit-insert-changelog): Use it.
9477
b0c4cdcf
ML
94782011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9479
9480 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9481
ee1f1da9
SM
94822011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9483
9484 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9485 (gdb--check-interpreter): New function.
9486 (gdb): Use it.
9487
51bc5f8b
GM
94882011-10-27 Glenn Morris <rgm@gnu.org>
9489
416a2c45
GM
9490 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9491 (least-positive-float, least-negative-float)
9492 (least-positive-normalized-float, least-negative-normalized-float)
9493 (float-epsilon, float-negative-epsilon):
9494 Remove unnecessary declarations.
9495
9496 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9497 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9498 (least-positive-float, least-negative-float)
9499 (least-positive-normalized-float, least-negative-normalized-float)
9500 (float-epsilon, float-negative-epsilon): Add doc-strings,
9501 based on those in cl.texi.
9502
51bc5f8b
GM
9503 * files.el (set-visited-file-name): If the major-mode changed,
9504 reload the local variables. (Bug#9796)
9505
15de15c6
CY
95062011-10-27 Chong Yidong <cyd@gnu.org>
9507
9508 * subr.el (change-major-mode-after-body-hook): New hook.
9509 (run-mode-hooks): Run it.
9510
ee1f1da9
SM
9511 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9512 Use change-major-mode-before-body-hook.
15de15c6
CY
9513
9514 * simple.el (fundamental-mode):
9515 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9516 change introducing fundamental-mode-hook.
9517
5430d399
JB
95182011-10-26 Juanma Barranquero <lekktu@gmail.com>
9519
acc825c5 9520 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9521
ad74a69e
MA
95222011-10-26 Michael Albinus <michael.albinus@gmx.de>
9523
9524 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9525 tramp.el explicitly. (Bug#7583)
ad74a69e 9526
71d4c2a5
SM
95272011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9528
9529 * progmodes/octave-mod.el:
9530 * progmodes/octave-inf.el: Update maintainer.
9531
b1f6fa26
CY
95322011-10-26 Chong Yidong <cyd@gnu.org>
9533
9534 * subr.el (with-wrapper-hook): Rewrite doc.
9535
3f04efd6
MA
95362011-10-25 Michael Albinus <michael.albinus@gmx.de>
9537
9538 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9539 filenames "/method:foo:". (Bug#9793)
3f04efd6 9540
410488d3
SM
95412011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9542
9543 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9544 (bug#9865).
9545
c1ebb47e
GM
95462011-10-24 Glenn Morris <rgm@gnu.org>
9547
9548 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9549
7f5c46c7
MA
95502011-10-24 Michael Albinus <michael.albinus@gmx.de>
9551
9552 * notifications.el: Add the requirement of a running D-Bus session
9553 bus to the Commentary.
9554
db2440b6
JL
95552011-10-24 Juri Linkov <juri@jurta.org>
9556
9557 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9558 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9559 (Bug#9364)
9560
feecf435
JL
95612011-10-24 Juri Linkov <juri@jurta.org>
9562
9563 * info.el (Info-following-node-name-re): Add newline to the list
9564 of allowed characters for leading space. (Bug#9824)
9565
a3839de2
SM
95662011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9567
acc825c5
SM
9568 * progmodes/octave-inf.el (inferior-octave-mode-map):
9569 Fix C-c C-h binding.
a3839de2
SM
9570 * progmodes/octave-mod.el (octave-help): Remove.
9571
09388e76
MA
95722011-10-23 Michael Albinus <michael.albinus@gmx.de>
9573
9574 Sync with Tramp 2.2.3.
9575
9576 * net/tramp-cache.el (top): Pacify byte-compiler using
9577 `init-file-user' and `site-run-file'.
9578
9579 * net/trampver.el: Update release number.
9580
86c60681
CY
95812011-10-23 Chong Yidong <cyd@gnu.org>
9582
9583 * files.el (toggle-read-only): Remove obsolete comment about
9584 version control.
9585
9586 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9587 for toggle-read-only. Note that this hasn't called vc-next-action
9588 since 2008-05-02, though it wasn't documented at the time.
9589
a3839de2
SM
9590 * vc/ediff-init.el (ediff-toggle-read-only-function):
9591 Use toggle-read-only.
86c60681 9592
cd5495ff
AM
95932011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9594
9595 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9596 of c-parse-state.
9597
00b77525 9598 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9599 correct faulty logical expression.
cd5495ff
AM
9600 (c-parse-state-state, c-record-parse-state-state):
9601 (c-replay-parse-state-state): New defvar/defuns.
9602 (c-debug-parse-state): Use new functions.
9603
42ee24ed
MR
96042011-10-22 Martin Rudalics <rudalics@gmx.at>
9605
9606 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9607 last fix. Use window-in-direction correctly.
42ee24ed 9608
a7dee7e7
CY
96092011-10-21 Chong Yidong <cyd@gnu.org>
9610
9611 * progmodes/idlwave.el (idlwave-mode):
9612 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9613 require-final-newline; that's done in prog-mode.
9614 Suggested by Stefan Monnier.
a7dee7e7 9615
e07b9a6d
MR
96162011-10-21 Martin Rudalics <rudalics@gmx.at>
9617
9618 * mouse.el (mouse-drag-window-above)
9619 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9620 (mouse-drag-mode-line-1, mouse-drag-header-line)
9621 (mouse-drag-vertical-line-rightward-window): Remove.
9622 (mouse-drag-line): New function.
9623 (mouse-drag-mode-line, mouse-drag-header-line)
9624 (mouse-drag-vertical-line): Call mouse-drag-line.
9625 * window.el (window-at-side-p, windows-at-side): New functions.
9626
7e1361d9
UM
96272011-10-21 Ulrich Mueller <ulm@gentoo.org>
9628
9629 * tar-mode.el (tar-grind-file-mode):
9630 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9631
30fcaf3a
CY
96322011-10-21 Chong Yidong <cyd@gnu.org>
9633
9634 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9635 * progmodes/vera-mode.el (vera-mode):
9636 Use mode-require-final-newline.
30fcaf3a 9637
516eddb0
GM
96382011-10-20 Glenn Morris <rgm@gnu.org>
9639
db22a3c2 9640 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9641
10d5f513
CS
96422011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9643
9644 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9645
ac6c8639
CY
96462011-10-20 Chong Yidong <cyd@gnu.org>
9647
9648 * emulation/cua-base.el (cua-mode):
9649 * mail/footnote.el (footnote-mode):
9650 * mail/mailabbrev.el (mail-abbrevs-mode):
9651 * net/xesam.el (xesam-minor-mode):
9652 * progmodes/bug-reference.el (bug-reference-mode):
9653 * progmodes/cap-words.el (capitalized-words-mode):
9654 * progmodes/compile.el (compilation-minor-mode)
9655 (compilation-shell-minor-mode):
9656 * progmodes/gud.el (gud-tooltip-mode):
9657 * progmodes/hideif.el (hide-ifdef-mode):
9658 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9659 * progmodes/subword.el (subword-mode):
9660 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9661 * progmodes/which-func.el (which-function-mode):
9662 * term/tvi970.el (tvi970-set-keypad-mode):
9663 * term/vt100.el (vt100-wide-mode):
9664 * textmodes/flyspell.el (flyspell-mode):
9665 * textmodes/ispell.el (ispell-minor-mode):
9666 * textmodes/nroff-mode.el (nroff-electric-mode):
9667 * textmodes/paragraphs.el (use-hard-newlines):
9668 * textmodes/refill.el (refill-mode):
9669 * textmodes/reftex.el (reftex-mode):
9670 * textmodes/rst.el (rst-minor-mode):
9671 * textmodes/sgml-mode.el (html-autoview-mode)
9672 (sgml-electric-tag-pair-mode):
9673 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9674 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9675 * emulation/crisp.el (crisp-mode):
9676 * emacs-lisp/eldoc.el (eldoc-mode):
9677 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9678 minor mode behavior.
9679
aa42ab43
JL
96802011-10-19 Juri Linkov <juri@jurta.org>
9681
9682 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9683 the list of hard-coded chars with escape-glyph face.
9684
89400f1d
SM
96852011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9686
9687 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9688
305c07f6
MA
96892011-10-19 Michael Albinus <michael.albinus@gmx.de>
9690
9691 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9692 running process.
9693
13754b54
GM
96942011-10-19 Glenn Morris <rgm@gnu.org>
9695
9696 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9697 Ignore ignored files. (Bug#9726)
9698
06e21633
CY
96992011-10-19 Chong Yidong <cyd@gnu.org>
9700
9701 Doc fix for minor modes, stating that an omitted argument enables
9702 the mode unconditionally when called from Lisp.
9703
9704 * abbrev.el (abbrev-mode):
9705 * allout.el (allout-mode):
9706 * autoinsert.el (auto-insert-mode):
9707 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9708 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9709 (global-auto-revert-mode):
9710 * battery.el (display-battery-mode):
9711 * composite.el (global-auto-composition-mode)
9712 (auto-composition-mode):
9713 * delsel.el (delete-selection-mode):
9714 * desktop.el (desktop-save-mode):
9715 * dired-x.el (dired-omit-mode):
9716 * dirtrack.el (dirtrack-mode):
9717 * doc-view.el (doc-view-minor-mode):
9718 * double.el (double-mode):
9719 * electric.el (electric-indent-mode, electric-pair-mode):
9720 * emacs-lock.el (emacs-lock-mode):
9721 * epa-hook.el (auto-encryption-mode):
9722 * follow.el (follow-mode):
9723 * font-core.el (font-lock-mode):
9724 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9725 * help.el (temp-buffer-resize-mode):
9726 * hilit-chg.el (highlight-changes-mode)
9727 (highlight-changes-visible-mode):
9728 * hi-lock.el (hi-lock-mode):
9729 * hl-line.el (hl-line-mode, global-hl-line-mode):
9730 * icomplete.el (icomplete-mode):
9731 * ido.el (ido-everywhere):
9732 * image-file.el (auto-image-file-mode):
9733 * image-mode.el (image-minor-mode):
9734 * iswitchb.el (iswitchb-mode):
9735 * jka-cmpr-hook.el (auto-compression-mode):
9736 * linum.el (linum-mode):
9737 * longlines.el (longlines-mode):
9738 * master.el (master-mode):
9739 * mb-depth.el (minibuffer-depth-indicate-mode):
9740 * menu-bar.el (menu-bar-mode):
9741 * minibuf-eldef.el (minibuffer-electric-default-mode):
9742 * mouse-sel.el (mouse-sel-mode):
9743 * msb.el (msb-mode):
9744 * mwheel.el (mouse-wheel-mode):
9745 * outline.el (outline-minor-mode):
9746 * paren.el (show-paren-mode):
9747 * recentf.el (recentf-mode):
9748 * reveal.el (reveal-mode, global-reveal-mode):
9749 * rfn-eshadow.el (file-name-shadow-mode):
9750 * ruler-mode.el (ruler-mode):
9751 * savehist.el (savehist-mode):
9752 * scroll-all.el (scroll-all-mode):
9753 * scroll-bar.el (scroll-bar-mode):
9754 * server.el (server-mode):
9755 * shell.el (shell-dirtrack-mode):
9756 * simple.el (auto-fill-mode, transient-mark-mode)
9757 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9758 (line-number-mode, column-number-mode, size-indication-mode)
9759 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9760 * strokes.el (strokes-mode):
9761 * time.el (display-time-mode):
9762 * t-mouse.el (gpm-mouse-mode):
9763 * tool-bar.el (tool-bar-mode):
9764 * tooltip.el (tooltip-mode):
9765 * type-break.el (type-break-mode-line-message-mode)
9766 (type-break-query-mode):
9767 * view.el (view-mode):
9768 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9769 (global-whitespace-mode, global-whitespace-newline-mode):
9770 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9771
a3839de2
SM
9772 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9773 Fix autogenerated docstring.
06e21633 9774
5214e501
JL
97752011-10-19 Juri Linkov <juri@jurta.org>
9776
9777 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9778 by checking environment variables "DESKTOP_SESSION" and
9779 "XDG_CURRENT_DESKTOP". (Bug#9779)
9780
195f8db9
JL
97812011-10-19 Juri Linkov <juri@jurta.org>
9782
9783 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9784 (browse-url-chromium-program, browse-url-chromium-arguments):
9785 New defcustoms.
9786 (browse-url-default-browser): Check for `browse-url-chromium' and
9787 call `browse-url-chromium-program'.
9788 (browse-url-chromium): New command. (Bug#9779)
9789
343a34ff
JB
97902011-10-18 Juanma Barranquero <lekktu@gmail.com>
9791
9792 * facemenu.el (list-colors-duplicates): On Windows, detect more
9793 duplicates by assuming that only colors matching "^System" are
9794 special "system colors". (Bug#9722)
9795
6978a151
SM
97962011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9797
9798 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9799 to distinguish the author from the committer.
9800
6a80b297
MA
98012011-10-18 Michael Albinus <michael.albinus@gmx.de>
9802
9803 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9804
b31a5677
JK
98052011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9806
9807 * international/mule.el (sgml-html-meta-auto-coding-function):
9808 Add support for detecting encoding in HTML5 specified only as
9809 <meta charset="UTF-8">. Implementation just makes http-equiv and
9810 content-type parts from HTML4 encoding string optional. (Bug#9716)
9811
80c6d77f
GM
98122011-10-18 Glenn Morris <rgm@gnu.org>
9813
9814 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9815
08b0fee8
CY
98162011-10-18 Chong Yidong <cyd@gnu.org>
9817
9818 * faces.el (cursor): Doc fix.
9819
67e729a5
CY
98202011-10-17 Chong Yidong <cyd@gnu.org>
9821
9822 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9823
343a34ff 98242011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9825
9826 * dirtrack.el (dirtrack): Support shell buffers with path
9827 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9828
0bc06380
TZ
98292011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9830
9831 * json.el: Bump version to 1.3 and note change in History.
9832 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9833
8b79f3e0
SM
98342011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9835
5a7c536b
SM
9836 * comint.el (comint-insert-input, comint-send-input)
9837 (comint-get-old-input-default, comint-backward-matching-input)
9838 (comint-next-prompt): Use nil instead of `input' for field property of
9839 past user input (bug#114).
9840
96a8a0df
SM
9841 * minibuffer.el (completion--replace): Inherit surrounding properties
9842 (bug#114).
9843 (minibuffer-complete-and-exit): Use it.
9844
8b79f3e0
SM
9845 * comint.el (comint--table-subvert): Quote the all-completions output
9846 (bug#9160).
9847
b8f7ff0d
MR
98482011-10-17 Martin Rudalics <rudalics@gmx.at>
9849
8b79f3e0 9850 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9851
b8f7ff0d 9852 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9853 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9854 entries and separate them from frame entries.
9855
c235b555
GM
98562011-10-15 Glenn Morris <rgm@gnu.org>
9857
9858 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9859 Doc fixes.
9860
6bbfa6e1
CY
98612011-10-15 Chong Yidong <cyd@stupidchicken.com>
9862
8b79f3e0
SM
9863 * net/network-stream.el (network-stream-open-starttls):
9864 Improve detection of failure due to lack of TLS support.
ec5c990d 9865
6bbfa6e1
CY
9866 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9867 putting the input text in front and in bold.
9868
98488977
SM
98692011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9870
3d1337be
SM
9871 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9872
ee0b45e4
SM
9873 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9874 empty buffer.
9875
98488977
SM
9876 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9877 unread-command-events rather than pushing yet-another event.
9878
186f4720
EZ
98792011-10-14 Eli Zaretskii <eliz@gnu.org>
9880
9881 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9882 the explanation of the possible choices. Make the options passed
9883 to completing-read shorter.
9884
8b7a997c
AM
98852011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9886
9887 * textmodes/flyspell.el (flyspell-large-region): Make sure
9888 extended character mode is used if defined (Bug#1339).
9889
12587bbb
EZ
98902011-10-13 Eli Zaretskii <eliz@gnu.org>
9891
9892 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9893 character info for LRE, LRO, RLE, and RLO characters by appending
9894 an invisible PDF.
12587bbb 9895
bad41229
SM
98962011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9897
9898 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9899 even in case of error; add debug spec; simplify data flow.
9900 (with-timeout-handler): Remove.
9901
28dbc92f
MA
99022011-10-12 Michael Albinus <michael.albinus@gmx.de>
9903
9904 Fix Bug#6019, Bug#9315.
9905
9906 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9907 complete `buffer-file-name', the local file name part could look
9908 remotely (for example on VMS).
9909
9910 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9911 `tramp-run-real-handler'.
9912 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9913 already quoted by '"'.
9914
9915 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9916 Let `file-name-handler-alist' be nil, the local file name part
9917 could look remotely (for example on VMS).
9918
e1b0b23a
SM
99192011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9920
9921 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9922 from here...
9923 (flyspell-post-command-hook): ...to here.
9924
a120bde9
SM
99252011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9926
9927 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9928 if not needed.
9929 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9930 using completion. Protect against "slow" callers.
9931 Remove the "message hack".
9932
7ce7717b
JL
99332011-10-11 Juri Linkov <juri@jurta.org>
9934
9935 * isearch.el (isearch-lazy-highlight-word): New variable.
9936 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9937 Use it. (Bug#9727)
9938
c02ee9d6
GM
99392011-10-11 Glenn Morris <rgm@gnu.org>
9940
9941 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9942 like f90-previous-statement does.
9943
93e616fd 99442011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9945
1f190e73 9946 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9947 only in interactive use, to avoid error.
9948
af7b6078
SM
99492011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9950
9951 * minibuffer.el (completion-file-name-table): Fix last change,
9952 i.e. ignore normal errors but not the other ones.
9953
0563dae9
MR
99542011-10-10 Martin Rudalics <rudalics@gmx.at>
9955
9956 * window.el (special-display-buffer-names)
9957 (special-display-regexps): Remove some remnants of earlier
9958 changes from doc-strings.
366ca7f3
MR
9959 (quit-windows-on): New function.
9960
9961 * vc/vc.el (vc-revert, vc-rollback):
9962 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9963 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9964 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9965
49677495
MR
99662011-10-09 Martin Rudalics <rudalics@gmx.at>
9967
9968 * window.el (frame-auto-hide-function): Add version tag.
9969 (Bug#9699)
9970
56f2d1e1
MA
99712011-10-09 Michael Albinus <michael.albinus@gmx.de>
9972
9973 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9974 condition.
9975
112a6592
LL
99762011-10-09 Leo Liu <sdl.web@gmail.com>
9977
9978 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9979 (Bug#9701)
9980
0812589b
GM
99812011-10-08 Glenn Morris <rgm@gnu.org>
9982
9983 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9984 before the first code statement zero indent. (Bug#9690)
9985
b2b0776e
CY
99862011-10-08 Chong Yidong <cyd@stupidchicken.com>
9987
9988 * simple.el (count-words-region): Always count in the region.
9989 Report the number of lines and characters too.
9990 (count-words): New command, which counts in the buffer if the
9991 region is inactive, as count-words-region used to.
9992 (count-words--message): New function. Handle plurals.
9993 (count-lines-region): Make it an alias for count-words-region.
9994
9995 * bindings.el (esc-map): Replace count-lines-region with
9996 count-words-region.
9997
c557cd6b
MR
99982011-10-08 Martin Rudalics <rudalics@gmx.at>
9999
10000 * window.el (window--delete): Delete dedicated frame
10001 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 10002 (switch-to-buffer): Fix doc-string typo.
c557cd6b 10003
61a57ef4 100042011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10005
3a7d293b 10006 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 10007
c3833279
CY
100082011-10-07 Chong Yidong <cyd@stupidchicken.com>
10009
10010 * bindings.el ([M-left],[M-right]): Bind to left-word and
10011 right-word respectively.
10012
21ce8245
GM
100132011-10-07 Glenn Morris <rgm@gnu.org>
10014
10015 * cus-start.el (debug-on-quit): Fix custom type.
10016
6d823bb2
LMI
100172011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10018
0181e193
LMI
10019 * subr.el (define-key-after): Clarify that the function is not
10020 useful for non-menu keymaps.
10021
6d823bb2
LMI
10022 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10023
8e3459ce 100242011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10025
21ce8245 10026 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 10027 in current minibuffer (Fix bug with recursive minibuffers).
10028
a1c2d21e
CY
100292011-10-06 Chong Yidong <cyd@stupidchicken.com>
10030
10031 * progmodes/gdb-mi.el (gdb): Doc fix.
10032
5a4cf282
MR
100332011-10-05 Martin Rudalics <rudalics@gmx.at>
10034
10035 * window.el (frame-auto-hide-function): New option replacing
10036 frame-auto-delete. Suggested by Stefan Monnier.
10037 (window--delete): Call frame-auto-hide-function instead of
10038 investigating frame-auto-delete.
c96111ea
MR
10039 (window-point-1, set-window-point-1): New functions.
10040 (window-in-direction, record-window-buffer, window-state-get-1)
10041 (display-buffer-record-window): Use window-point-1 instead of
10042 window-point.
10043 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 10044
9854542e
SM
100452011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10046
10047 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10048
8943cfb0
GM
100492011-10-05 Glenn Morris <rgm@gnu.org>
10050
10051 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10052 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10053
647ab967
LL
100542011-10-05 Leo Liu <sdl.web@gmail.com>
10055
10056 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10057 works with buffer object.
10058
3ddfbced
SM
100592011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10060
10061 * mpc.el (mpc-tool-bar-map): Add labels.
10062
bdfa5dd2
GM
100632011-10-04 Glenn Morris <rgm@gnu.org>
10064
10065 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10066
0e2070b5
MR
100672011-10-04 Martin Rudalics <rudalics@gmx.at>
10068
10069 * window.el (window--delete): New function.
10070 (frame-auto-delete): Resuscitate option.
10071 (bury-buffer, replace-buffer-in-windows)
10072 (quit-window): Rewrite using window--delete.
10073 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10074 Pass display-buffer-mark-dedicated to window--display-buffer-2
10075 (Bug#9639).
10076
3dc61a09
SM
100772011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10078
915a9b64
SM
10079 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10080 returns a list (bug#9554). Add remote file name completion.
10081 * comint.el (comint--table-subvert): Curry and get quote&unquote
10082 functions as arguments.
10083 (comint--complete-file-name-data): Adjust call accordingly.
10084 * pcomplete.el (pcomplete--table-subvert): Remove.
10085 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10086
3dc61a09
SM
10087 * minibuffer.el (completion-table-case-fold): Use currying.
10088 (completion--styles-type, completion--cycling-threshold-type):
10089 New constants.
10090 (completion-styles, completion-category-overrides)
10091 (completion-cycle-threshold): Use them.
10092 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10093 completion-table-case-fold.
10094
8ea0a993
SB
100952011-10-03 Stephen Berman <stephen.berman@gmx.net>
10096
10097 * minibuffer.el (completion-category-overrides): Fix type of styles
10098 and add more user friendly tags (bug#9660).
10099
8c24b7f6
SM
101002011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10101
10102 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10103 (mule-input-method-string): New widget.
10104 (default-input-method, language-info-custom-alist): Use it.
10105
428fe61a
SM
101062011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10107
32c1fffd
SM
10108 * pcomplete.el: Require comint.
10109 (pcomplete--common-suffix): Remove.
10110 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10111 (pcomplete--table-subvert): Sync with comint--table-subvert.
10112 (pcomplete--entries): Use comint-completion-file-name-table.
10113 * comint.el (comint-unquote-filename): Simplify.
10114 (comint-completion-file-name-table): New function (bug#9616).
10115 (comint--complete-file-name-data): Use it.
10116
428fe61a
SM
10117 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10118 (pcmpl-gnu-tar-buffer): Remove.
10119 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
10120 around. Make sure pcomplete-suffix-list is only changed temporarily.
10121 Don't look inside the tar's file if it's too large.
428fe61a 10122
04c52e2f
CY
101232011-10-01 Chong Yidong <cyd@stupidchicken.com>
10124
ce3cefcc
CY
10125 * cus-edit.el (custom-mode-map):
10126 * epa.el (epa-key-list-mode-map):
10127 * man.el (Man-mode-map):
10128 * startup.el (splash-screen-keymap):
10129 * simple.el (special-mode-map): Use scroll-up-command and
10130 scroll-down-command.
10131
10132 * progmodes/idlw-help.el (idlwave-help-mode-map):
10133 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10134 * net/newst-plainview.el (newsticker-mode-map):
10135 * emulation/ws-mode.el (wordstar-mode-map):
10136 * emulation/vi.el (vi-com-map):
10137 * calc/calc-graph.el (calc-graph-show-dumb):
10138 * term/sun.el (terminal-init-sun):
10139 * term/ns-win.el (global-map):
10140 * progmodes/grep.el (grep-mode-map):
10141 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10142 * mail/rmail.el (rmail-mode-map):
10143 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10144
04c52e2f
CY
10145 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10146 custom-safe-themes as special.
10147
79adf8c8
JD
101482011-10-01 Julien Danjou <julien@danjou.info>
10149
10150 * notifications.el (notifications-notify): Fix docstring.
10151
63bd50d3
PS
101522011-10-01 Per Starbäck <per@starback.se>
10153
10154 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10155
199e4c7e
MR
101562011-09-30 Martin Rudalics <rudalics@gmx.at>
10157
10158 * startup.el (command-line-1): Fix last fix by inserting
10159 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 10160 (Bug#9605) and (Bug#9636)
199e4c7e 10161
fe5f08dd
EZ
101622011-09-29 Eli Zaretskii <eliz@gnu.org>
10163
10164 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10165 window is hscrolled, move by logical lines. (Bug#9607)
10166 (line-move-visual): Update the doc string to the above effect.
10167
b5516bbd
MR
101682011-09-29 Martin Rudalics <rudalics@gmx.at>
10169
ccee00c0
MR
10170 * window.el (display-buffer-record-window): When WINDOW is the
10171 selected window use `point' instead of `window-point'. (Bug#9626)
10172
b5516bbd
MR
10173 * startup.el (command-line-1): Use insert-before-markers when
10174 inserting initial-scratch-message. (Bug#9605)
ccee00c0 10175
b5516bbd
MR
10176 * help.el (help-window): Remove variable.
10177
52aa0014
GM
101782011-09-29 Glenn Morris <rgm@gnu.org>
10179
10180 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10181
df9a7357
JB
101822011-09-29 Juanma Barranquero <lekktu@gmail.com>
10183
10184 * descr-text.el (describe-char-categories): Accept category
10185 descriptions more than one line long.
10186
a8406c20
SM
101872011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10188
88d9610c
SM
10189 * simple.el (delete-trailing-whitespace): Fix last change.
10190
a5daf810
SM
10191 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10192 Don't confuse "y => 3" as the beginning of a `y' operation.
10193
a8406c20
SM
10194 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10195 object has more than 4 slots (bug#9613).
10196
a239d4e9
JB
101972011-09-28 Juanma Barranquero <lekktu@gmail.com>
10198
10199 * subr.el (with-output-to-temp-buffer):
10200 * net/quickurl.el (quickurl, quickurl-browse-url):
10201 Fix typos in docstrings.
10202
693fbdb6
EZ
102032011-09-27 Eli Zaretskii <eliz@gnu.org>
10204
10205 * minibuffer.el (completion-styles)
10206 (completion-category-overrides): Cross reference each other in doc
10207 strings.
10208
8b457e28
GM
102092011-09-27 Glenn Morris <rgm@gnu.org>
10210
10211 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10212 to split-string. (Bug#9606)
10213
85a16208
LMI
102142011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10215
10216 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10217 (bug#9615).
10218
502f9ebd
CY
102192011-09-27 Chong Yidong <cyd@stupidchicken.com>
10220
10221 * emacs-lisp/package.el (list-packages): Fix echo area message.
10222
7690bdea
LL
102232011-09-27 Leo Liu <sdl.web@gmail.com>
10224
10225 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10226
e2ee6f30
MA
102272011-09-25 Michael Albinus <michael.albinus@gmx.de>
10228
10229 * net/dbus.el (dbus-unregister-object): Don't release services for
10230 registered signals. (Bug#9581)
10231
f3f98342
TZ
102322011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10233
10234 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10235 function that picks between cfengine 2 and 3 support
10236 automatically. Update docs accordingly.
10237
dd7aa8dd
KH
102382011-09-22 Kenichi Handa <handa@m17n.org>
10239
10240 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10241 ZERO.
10242 (indian-itrans-v5-table-for-tamil): New variable.
10243 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10244
3f2b07f8
KM
102452011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10246
10247 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10248 that's true if the current command involved collapsing of text.
10249 It's reset to false at the beginning of the next command.
10250 (allout-post-command-business): Move the cursor to the beginning
10251 of entry if the cursor is hidden and collapsing activity just
10252 happened.
10253
371d6a61
CY
102542011-09-24 Chong Yidong <cyd@stupidchicken.com>
10255
10256 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10257 tracking (Bug#9541).
10258
2ac2721a
UJ
102592011-09-24 Ulf Jasper <ulf.jasper@web.de>
10260
10261 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10262 (newsticker-show-news): Automatically load html rendering package
10263 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10264 because w3m-fill-column is let-bound" and the error "Symbol's value
10265 as variable is void: w3m-fill-column".
2ac2721a 10266
fac7ae53
MA
102672011-09-24 Michael Albinus <michael.albinus@gmx.de>
10268
10269 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10270 Release services only if they are defined. (Bug#9581)
10271
e08b633b
RS
102722011-09-23 Richard Stallman <rms@gnu.org>
10273
e488d29c
RS
10274 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10275 distinguish start of paragraph from start of its text.
10276
19c38752
RS
10277 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10278
e08b633b
RS
10279 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10280 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10281 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10282
0a39f27e
AS
102832011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10284
10285 * international/mule-diag.el (mule-diag): Insert a newline after
10286 each fontset description.
10287
db4e950d
SM
102882011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10289
10290 * simple.el (delete-trailing-whitespace):
10291 Document last change; simplify.
10292
eca3f3ea
PW
102932011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10294
d68e189a
PW
10295 * simple.el (delete-trailing-whitespace): Also delete
10296 extra newlines at the end of the buffer.
10297
eca3f3ea
PW
10298 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10299 (picture-newline): Use forward-line so as to ignore fields.
10300
01c157cc
SM
103012011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10302
10303 * subr.el (with-wrapper-hook): Fix edebug spec.
10304
022de23e
LMI
103052011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10306
10307 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10308 (bug#4538).
10309
91683089
MA
103102011-09-23 Michael Albinus <michael.albinus@gmx.de>
10311
eca3f3ea
PW
10312 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10313 Fix nasty bug using wrong cached values.
91683089 10314
5bdd6fa4
AM
103152011-09-23 Alan Mackenzie <acm@muc.de>
10316
10317 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10318
97adfb97
CY
103192011-09-23 Chong Yidong <cyd@stupidchicken.com>
10320
10321 * window.el (pop-to-buffer): Ensure right window is selected if we
10322 chose another frame.
10323
d4ef2b50
EZ
103242011-09-22 Eli Zaretskii <eliz@gnu.org>
10325
10326 * simple.el (what-cursor-position): Use get-char-property-change
10327 and next-single-char-property-change, to be able to show display
10328 properties that come from overlays as well as text properties.
10329
72258fe5
CY
103302011-09-22 Chong Yidong <cyd@stupidchicken.com>
10331
10332 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10333
10334 * cmuscheme.el (run-scheme, switch-to-scheme):
10335 * cus-edit.el (customize-group, custom-buffer-create)
10336 (customize-browse):
10337 * info.el (info):
10338 * shell.el (shell):
10339 * mail/sendmail.el (mail):
10340 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10341
8f098516
RS
103422011-09-22 Richard Stallman <rms@gnu.org>
10343
10344 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10345 move back only to line beg, don't move back over blank lines.
10346
e74f1bb6
MA
103472011-09-22 Michael Albinus <michael.albinus@gmx.de>
10348
10349 * files.el (copy-directory): Set directory attributes only in case
10350 they could be retrieved from the source directory. (Bug#9565)
10351
bfeef8b6
DK
103522011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10353
10354 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10355 (hs-find-block-beginning, hs-hide-level-recursive):
10356 Ignore strings as well as comments. (Bug#9502)
10357
7e423bb8
AS
103582011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10359
10360 * progmodes/sql.el (sql-comint-postgres):
10361 Convert port number to a string. (Bug#9566)
10362
b4d72fcf
MR
103632011-09-22 Martin Rudalics <rudalics@gmx.at>
10364
10365 * window.el (quit-window): Undedicate window when switching to
10366 previous buffer. Reported by Thierry Volpiatto
10367 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10368 (special-display-popup-frame): When popping up a new frame reset
10369 its previous buffers to nil. Simplify code.
b4d72fcf 10370
a7b88dc6
MA
103712011-09-21 Michael Albinus <michael.albinus@gmx.de>
10372
10373 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10374 and process filter, as done also in `shell-command'.
10375
cf4eacfd
MR
103762011-09-21 Martin Rudalics <rudalics@gmx.at>
10377
eca3f3ea 10378 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10379 Call set-window-start with NOFORCE argument t.
10380 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10381 (quit-window): Reword doc-string. Handle new format of
10382 quit-restore parameter. Don't delete window if it has a
10383 previous buffer we can show instead of the present one.
10384 (display-buffer-record-window): Rewrite using a new format for
10385 the quit-restore window parameter
10386 (special-display-popup-frame, display-buffer-same-window)
10387 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10388 (display-buffer-pop-up-window, display-buffer-use-some-window):
10389 Adapt symbol passed to display-buffer-record-window.
10390 * help.el (help-window-setup): Handle new format of quit-restore
10391 parameter.
10392
8d28cb95
SM
103932011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10394
94ab793f
SM
10395 * faces.el (face-list): Fix docstring (bug#9564).
10396
8d28cb95
SM
10397 * window.el (display-buffer--action-function-custom-type):
10398 Don't include internal functions in the Custom interface.
10399
3820edeb
JL
104002011-09-20 Juri Linkov <juri@jurta.org>
10401
10402 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10403 (Info-forward-node, Info-backward-node, Info-next-preorder)
10404 (Info-last-preorder): Use it. (Bug#9528)
10405
5147931d
JL
104062011-09-20 Juri Linkov <juri@jurta.org>
10407
10408 * info.el (Info-last-preorder): Visit last menu item only when
10409 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10410
cf499a1a
JD
104112011-09-20 Julien Danjou <julien@danjou.info>
10412
10413 * password-cache.el (password-cache-remove): Remove entries even if the
10414 value is nil, so that password with a nil value (negative caching) is
10415 possible to invalidate.
10416
f84e2fe2
LM
104172011-09-20 Lawrence Mitchell <wence@gmx.li>
10418
10419 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10420 all whitespace around breakpoint. (Bug#9553)
10421 (f90-find-breakpoint): Only break at whitespace inside a comment.
10422
78054a46
SM
104232011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10424
10425 * minibuffer.el (completion-file-name-table): Keep track of errors.
10426 (completion-table-with-predicate): Handle the case where pred1 is nil.
10427 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10428
345083b2
SM
104292011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10430
e24e27be
SM
10431 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10432 (debugger-return-value): Signal an error if the debugging context does
10433 not await any return value.
10434
345083b2
SM
10435 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10436 * image-mode.el (image-toggle-display-text)
10437 (image-toggle-display-image): Stay away from evil `intangible'.
10438
08d355e3
LL
104392011-09-19 Leo Liu <sdl.web@gmail.com>
10440
10441 * replace.el (occur-revert-arguments): Make it permanent-local.
10442 (occur-mode): Don't call font-lock-defontify.
10443
f01da43f
CY
104442011-09-19 Chong Yidong <cyd@stupidchicken.com>
10445
10446 * net/ldap.el (ldap-search-internal): Don't push empty search
10447 result (Bug#9508).
10448
b6072fa6
SM
104492011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10450
10451 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10452
443d6696
MA
104532011-09-19 Michael Albinus <michael.albinus@gmx.de>
10454
10455 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10456 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10457
7cc6e154
JL
104582011-09-18 Juri Linkov <juri@jurta.org>
10459
10460 * buff-menu.el (Buffer-menu-mode-map):
10461 * dired.el (dired-mode-map):
10462 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10463 (lisp-interaction-mode-map):
10464 * emacs-lisp/package.el (package-menu-mode-map):
10465 * epa.el (epa-key-list-mode-map):
10466 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10467 (menu-bar-options-menu):
10468 * outline.el (outline-mode-menu-bar-map):
10469 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10470 * vc/vc-dir.el (vc-dir-menu-map):
10471 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10472 Capitalize non-function content words in menu item strings.
10473
10474 * dired.el (dired-mode-map): Add menu item for
10475 `image-dired-dired-toggle-marked-thumbs'.
10476
80302a81
JL
104772011-09-18 Juri Linkov <juri@jurta.org>
10478
10479 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10480 to `isearch-case-fold-search' and restore its original value
10481 after the `isearch-mode' call.
10482
46c5cf66
JL
104832011-09-18 Juri Linkov <juri@jurta.org>
10484
10485 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10486 because `zgrep' returns 1 for successful matches (bug#9226).
10487
d18b513b
JL
104882011-09-18 Juri Linkov <juri@jurta.org>
10489
10490 * info.el (Info-extract-menu-node-name): Check the second match
10491 for empty string (second test-case of bug#9528).
10492 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10493 intermediate nodes to the history (first test-case of bug#9528).
10494
72753f87
JL
104952011-09-18 Juri Linkov <juri@jurta.org>
10496
10497 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10498 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10499
c9384295
JL
105002011-09-18 Juri Linkov <juri@jurta.org>
10501
1154d12e
JB
10502 * info.el (Info-file-supports-index-cookies):
10503 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10504 outputs one more line for long file names (bug#4142).
c9384295 10505
d473dce8
CY
105062011-09-18 Chong Yidong <cyd@stupidchicken.com>
10507
10508 * newcomment.el (comment-normalize-vars): If prompting for
10509 comment-start, set comment-start-skip too (Bug#8424).
10510
2176854d
JB
105112011-09-18 Johan Bockgård <bojohan@gnu.org>
10512
10513 * icomplete.el: Fix previous fix of Bug#5849.
10514 (icomplete-mode): Don't set completion-show-inline-help.
10515 (icomplete-minibuffer-setup): Set completion-show-inline-help
10516 locally during icompletion.
10517
3aace4e4
CY
105182011-09-18 Chong Yidong <cyd@stupidchicken.com>
10519
c940224f
CY
10520 * woman.el (woman2-process-escapes): Don't delete unrecognized
10521 escapes (Bug#7843).
10522
3aace4e4
CY
10523 * files.el (inhibit-first-line-modes-regexps): Add image files.
10524 (hack-local-variables-prop-line): Return nil for malformed
10525 prop-lines (Bug#9044).
10526
710dec63
MA
105272011-09-18 Michael Albinus <michael.albinus@gmx.de>
10528
10529 * net/tramp.el (top): Don't require 'shell.
10530 (tramp-methods): Fix docstring.
10531 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10532 Return complete remote file name. Handle "smb" case.
10533 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10534 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10535
10536 * net/tramp-compat.el (top): Require 'shell.
10537
10538 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10539 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10540 `tramp-current-host'.
10541 (tramp-get-remote-tmpdir): Remove.
10542
10543 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10544 `tramp-tmpdir' entries.
10545 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10546 (tramp-smb-handle-file-attributes): Ignore errors.
10547 (tramp-smb-wait-for-output): Check also for process end.
10548
5d5ac8ec
LMI
105492011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10550
10551 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10552 when sending QUIT (bug#9312).
10553
8c0f49f0
CY
105542011-09-17 Chong Yidong <cyd@stupidchicken.com>
10555
10556 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10557 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10558 occur-mode-display-occurrence.
10559 (occur-edit-mode): Add usage message.
10560 (occur-cease-edit): New command.
10561 (occur-after-change-function): Use text properties to find the
10562 position of the prefix text.
10563 (occur-engine): Set stickiness of prefix text properties.
10564
8f1383f7
GM
105652011-09-17 Glenn Morris <rgm@gnu.org>
10566
10567 * progmodes/etags.el (complete-tag):
10568 Fix call to completion-in-region. (Bug#9526)
10569
744ba0e3
JL
105702011-09-17 Juri Linkov <juri@jurta.org>
10571
10572 * textmodes/ispell.el (ispell-word): Add to the error message
10573 the word, ispell program name and current dictionary (bug#9121).
10574 (ispell-tex-arg-end): Capitalize "error" in the error message.
10575
d9bbf400
AS
105762011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10577
10578 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10579 check. (Bug#4251)
10580
8da11505
JL
105812011-09-17 Juri Linkov <juri@jurta.org>
10582
10583 * window.el (window-safe-min-height, window-safe-min-width):
10584 Fix typos (followup to bug#9522).
10585
a91adc7e
SJ
105862011-09-17 Sven Joachim <svenjoac@gmx.de>
10587
10588 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10589
064f328a
EZ
105902011-09-16 Eli Zaretskii <eliz@gnu.org>
10591
10592 * simple.el (line-move): If goal-column is set, move by logical
10593 lines, not by display lines. (Bug#971)
10594 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10595 to reflect the above change.
10596
e69df516
SM
105972011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10598
10599 * image.el (imagemagick-register-types): Use regexp-opt.
10600
cbb0f9ab
CY
106012011-09-15 Chong Yidong <cyd@stupidchicken.com>
10602
10603 * window.el (display-buffer-base-action): Rename from
10604 display-buffer-default-action. Make default value empty.
10605 (display-buffer-overriding-action): Convert to defvar.
10606 (display-buffer-fallback-action): New var.
10607
25322144
CY
106082011-09-15 Chong Yidong <cyd@stupidchicken.com>
10609
10610 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10611 declaration.
10612 (package--add-to-archive-contents): If there is a duplicate entry
10613 with an older version, remove it.
10614 (package-menu-mark-delete, package-menu-mark-install)
10615 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10616 (package-menu-mark-obsolete-for-deletion):
10617 Use package-menu-get-status instead of a regexp search.
25322144
CY
10618 (package-menu-get-status): Use tabulated-list-entry.
10619 (package-menu-mark-upgrades): New command.
d770725a 10620 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10621 (package-menu-execute): Do installation before deletion.
10622 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10623 instead of checking major-mode.
10624 (package-menu--find-upgrades): New function.
10625
7520339c
LMI
106262011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10627
10628 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10629 passwords in the log buffer.
65a046c4
LMI
10630 (smtpmail-process-filter): Update the process marker so that the
10631 "broken by peer" status message is inserted in the right place.
7520339c 10632
d3c30954
SM
106332011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10634
3fe48822
SM
10635 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10636 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10637 bibtex-completion-at-point-function.
10638 (bibtex-completion-at-point-function): Use them.
10639
1b8b3954
SM
10640 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10641
d3c30954
SM
10642 * mpc.el (mpc-constraints-tag-lookup): New function.
10643 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10644 also to browser "album|playlist".
10645
72779976
JL
106462011-09-14 Juri Linkov <juri@jurta.org>
10647
10648 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10649 (isearch-edit-string): Use length of `isearch-string' when
10650 `isearch-fail-pos' returns nil.
10651 (isearch-message): Remove duplicate code and call
10652 `isearch-fail-pos' with arg `t'.
10653
a0bf2bcd
CY
106542011-09-14 Chong Yidong <cyd@stupidchicken.com>
10655
17bb0a2d
CY
10656 * replace.el (occur-mode-goto-occurrence): Don't force using other
10657 window (Bug#9499).
10658
a0bf2bcd
CY
10659 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10660
f678e0b6
MR
106612011-09-14 Martin Rudalics <rudalics@gmx.at>
10662
10663 * window.el (display-buffer-window): Remove.
10664 (display-buffer-record-window): Use help-setup window parameter
10665 instead of variable display-buffer-window.
10666 (display-buffer-function, special-display-buffer-names)
10667 (special-display-function): Mention help-setup parameter instead
10668 of display-buffer-window in doc-string.
d3c30954
SM
10669 * help.el (help-window-setup): New argument help-window.
10670 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10671 Reword some messages.
10672 (with-help-window): Pass window used for displaying the buffer
10673 to help-window-setup. Don't set display-buffer-window.
10674
8e39b2e8
GM
106752011-09-13 Glenn Morris <rgm@gnu.org>
10676
10677 * emacs-lisp/debug.el (debugger-make-xrefs):
10678 Preserve point. (Bug#9462)
10679
85e9c04b
CY
106802011-09-13 Chong Yidong <cyd@stupidchicken.com>
10681
10682 * window.el (window-deletable-p): Use next-frame.
10683
1b36ed6a
MR
106842011-09-13 Martin Rudalics <rudalics@gmx.at>
10685
10686 * window.el (window-auto-delete): Remove.
10687 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10688 dedication and previous buffers.
1b36ed6a
MR
10689 (switch-to-prev-buffer): Don't delete window.
10690 (delete-windows-on): Delete a window's frame if and only if the
10691 window is dedicated.
10692 (replace-buffer-in-windows): Delete buffer's window or frame if
10693 and only if window is dedicated.
10694 (quit-window): Handle quit-restore as before last change.
4d61f28d 10695 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10696
ef8ef9fb
CY
106972011-09-13 Chong Yidong <cyd@stupidchicken.com>
10698
10699 * window.el (window-deletable-p): Never delete the last frame on a
10700 given terminal.
10701
b2cba41e
GM
107022011-09-13 Glenn Morris <rgm@gnu.org>
10703
10704 * help.el (describe-key-briefly): Copy previous standard-output change.
10705
51553db6 107062011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10707
10708 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10709
b7556719
GM
107102011-09-13 Glenn Morris <rgm@gnu.org>
10711
10712 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10713 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10714
64b51947
CY
107152011-09-12 Chong Yidong <cyd@stupidchicken.com>
10716
10717 * dired-aux.el (dired-mark-read-string): Don't return default
10718 value on empty input (Bug#9361).
10719 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10720 Omit initial minibuffer contents.
10721 (dired-do-chmod): Signal an error on empty input.
10722 (dired-mark-read-string): Don't return default on empty input.
10723
10724 * files.el (file-modes-symbolic-to-number): Doc fix.
10725
393a301e
SM
107262011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10727
10728 * international/mule-cmds.el (ucs-completions): Remove.
10729 (read-char-by-name): Use complete-with-action instead; add metadata.
10730
fa5660f9
CY
107312011-09-11 Chong Yidong <cyd@stupidchicken.com>
10732
10733 * window.el (display-buffer--action-function-custom-type)
10734 (display-buffer--action-custom-type): New vars.
10735 (display-buffer-alist, display-buffer-default-action)
10736 (display-buffer-overriding-action): Add defcustom types.
10737
4a592f66
CY
10738 * frame.el (delete-other-frames): Doc fix (Bug#276).
10739
73d56dbd
LMI
107402011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10741
10742 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10743
37ac18a3
CY
107442011-09-11 Chong Yidong <cyd@stupidchicken.com>
10745
10746 Change modes that used same-window-* vars to use switch-to-buffer.
10747
10748 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10749 Use switch-to-buffer.
10750
10751 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10752 (customize-browse, custom-buffer-create-other-window):
10753 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10754
10755 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10756 (Info-prev, Info-up, Info-speedbar-goto-node)
10757 (info-display-manual): Use switch-to-buffer.
10758 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10759
10760 * mail/sendmail.el (mail): Use switch-to-buffer.
10761 (mail-recover): Use switch-to-buffer-other-window.
10762
10763 * cmuscheme.el (run-scheme, switch-to-scheme):
10764 * ielm.el (ielm):
10765 * shell.el (shell):
10766 * net/rlogin.el (rlogin):
10767 * net/telnet.el (telnet, rsh):
10768 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10769
10195bd6
AS
107702011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10771
10772 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10773
b322f63a
LMI
107742011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10775
39d7fed6
LMI
10776 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10777 so don't mention it (bug#9301).
ba5a81f1 10778 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10779
ee0e9f11
LMI
10780 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10781 match `x', `w32' and `ns', like the manual says (bug#9029).
10782
0b1c89c1 10783 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10784 (process-kill-buffer-query-function): Mention the buffer name in
10785 the query.
0b1c89c1 10786
77549ea8
LMI
10787 * image-mode.el (image-next-line): The line parameter is mandatory
10788 (bug#9258).
10789
803ef892
LMI
10790 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10791 which can be useful (bug#9301).
10792
12980837
LMI
10793 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10794
91054f8f
LMI
10795 * subr.el (match-string): Mention that the current buffer should
10796 be the same as the search was done in (bug#9282).
10797
b322f63a
LMI
10798 * facemenu.el: Disable the remove-* commands if the mark isn't
10799 active (bug#9162).
10800
3199b96f
CY
108012011-09-10 Chong Yidong <cyd@stupidchicken.com>
10802
10803 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10804 of display-buffer.
10805 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10806
10807 * replace.el (occur-mode-goto-occurrence)
10808 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10809 and display-buffer.
10810
10811 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10812 display-buffer.
10813
10814 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10815 special-display and same-window variables.
10816 (mail-other-window): Use switch-to-buffer-other-window.
10817 (mail-other-frame): USe switch-to-buffer-other-frame.
10818
393a301e
SM
10819 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10820 Use display-buffer-other-frame.
3199b96f
CY
10821 (gdb-display-gdb-buffer): Use pop-to-buffer.
10822
10823 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10824
10825 * progmodes/python.el: Don't set same-window-buffer-names.
10826
10827 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10828
10829 * window.el (display-buffer-alist): Add *Python*.
10830
8319e0bf
CY
108312011-09-10 Chong Yidong <cyd@stupidchicken.com>
10832
10833 * window.el (display-buffer-alist): Add entry for buffers
10834 previously handled same-window-*.
10835 (display-buffer-alist, display-buffer-default-action)
10836 (display-buffer-overriding-action): Mark as risky.
10837 (display-buffer-alist): Document action function changes.
10838 (display-buffer--same-window-action)
10839 (display-buffer--other-frame-action): New variables.
10840 (switch-to-buffer, display-buffer-other-frame): Use them.
10841 (display-buffer): Rename reuse-frame entry to reusable-frames.
10842 (display-buffer-reuse-selected-window): Function deleted.
10843 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10844 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10845 (display-buffer-special): New function.
10846 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10847 display-buffer-reuse-or-pop-window. Split off special-display
10848 part into display-buffer-special.
10849 (display-buffer-use-some-window): Don't perform any special
10850 pop-up-frames handling.
10851 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10852 (display-buffer--maybe-same-window): Rename from
0d3ff375 10853 display-buffer-maybe-same-window.
8319e0bf 10854
919a69aa
CY
10855 * info.el: Don't set same-window-regexps.
10856 (info-setup): New function.
10857 (info-other-window, info): Call it.
10858
10859 * cus-edit.el: Don't set same-window-regexps.
10860 (customize-group): New argument.
10861 (customize-group-other-window): Use it.
10862 (customize-face, customize-face-other-window): Likewise.
10863 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10864
8319e0bf
CY
10865 * net/rlogin.el:
10866 * net/telnet.el:
10867 * progmodes/gud.el: Don't set same-window-regexps.
10868
10869 * cmuscheme.el:
10870 * ielm.el:
10871 * shell.el:
10872 * mail/sendmail.el:
10873 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10874
25173000
JL
108752011-09-10 Juri Linkov <juri@jurta.org>
10876
10877 * isearch.el (isearch-edit-string): Remove obsolete mention of
10878 `C-w' (`isearch-yank-word-or-char') from docstring.
10879 (isearch-query-replace): Fix typo in docstring (bug#9466).
10880
056e44ef
JL
108812011-09-10 Juri Linkov <juri@jurta.org>
10882
10883 * paren.el (show-paren-function): Don't show escaped parens.
10884 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10885
c3760c17
EZ
108862011-09-10 Eli Zaretskii <eliz@gnu.org>
10887
10888 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10889 (mm-default-file-encoding): Remove autoload forms, they are
10890 replaced with autoload cookies in mml.el and mm-encode.el.
10891 (mail-add-attachment): New command.
10892 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10893 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10894 the doc string.
10895 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10896
fece895e
RT
108972011-09-10 Reuben Thomas <rrt@sc3d.org>
10898
e69df516
SM
10899 * simple.el (count-words-region): Use buffer if there's no region
10900 (bug#9429).
fece895e 10901
5e68ce4a
JL
109022011-09-09 Juri Linkov <juri@jurta.org>
10903
10904 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10905 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10906 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10907
0a6b9622
AM
109082011-09-09 Alan Mackenzie <acm@muc.de>
10909
10910 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10911 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10912
14a29deb
EZ
109132011-09-09 Eli Zaretskii <eliz@gnu.org>
10914
10915 Fix for Savannah bug#9392.
10916 * simple.el (mail-encode-mml): New defvar.
10917
10918 * mail/rmail.el (mail-encode-mml): Add a defvar.
10919 (rmail-enable-mime-composing): Default to t.
10920 (rmail-forward): Use MIME method of forwarding only if both
10921 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10922 Set mail-encode-mml non-nil if the MIME method was used.
10923
10924 * mail/sendmail.el (mml-to-mime): Add autoload form.
10925 (mail-encode-mml): Add a defvar.
10926 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10927 to nil.
10928 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10929 message through mml-to-mime, and reset mail-encode-mml to nil.
10930
28c45130
GM
109312011-09-09 Glenn Morris <rgm@gnu.org>
10932
10933 * woman.el (woman-if-body): When processing an .el block,
10934 do not delete the next .el block as well. (Bug#9447)
69f4b618 10935 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10936
9b1c252e
MR
109372011-09-08 Martin Rudalics <rudalics@gmx.at>
10938
10939 * window.el (window-deletable-p): Make sure window is live before
10940 invoking window-prev-buffers.
10941
567457e3
LL
109422011-09-08 Leo Liu <sdl.web@gmail.com>
10943
10944 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10945
97f05794
JL
109462011-09-08 Juri Linkov <juri@jurta.org>
10947
10948 * progmodes/compile.el (compilation-environment): Make it
10949 a defcustom (bug#8340).
10950
8b0874b5
MR
109512011-09-08 Martin Rudalics <rudalics@gmx.at>
10952
10953 * window.el (frame-auto-delete): Rename to window-auto-delete.
10954 Make it control auto-deletion of windows and/or frames.
10955 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10956 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10957 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10958 Rewrite handling of case when window/frame can be deleted.
10959 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10960 argument t. (Bug#9456)
8b0874b5 10961
4feb6e73
CY
109622011-09-07 Chong Yidong <cyd@stupidchicken.com>
10963
10964 * help-mode.el (help-mode): Restore autoload.
10965
91ab9c13
JL
109662011-09-07 Juri Linkov <juri@jurta.org>
10967
10968 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10969 `compilation-environment'. Set buffer-local
10970 `compilation-environment' to `thisenv' later after (funcall mode).
10971 (Bug#8340)
10972
10973 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10974 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10975 instead of replacing its value. (Bug#8340)
10976
0527e251
JL
109772011-09-07 Juri Linkov <juri@jurta.org>
10978
10979 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10980 based on text properties put by `grep-filter' instead of matching
10981 escape sequences.
10982 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10983 to the value of `grep-error-screen-columns' (bug#9438).
10984
249f792c
JL
109852011-09-07 Juri Linkov <juri@jurta.org>
10986
10987 * simple.el (next-error-highlight, next-error-highlight-no-select):
10988 Doc fix (bug#9432).
10989
ff7271b9
OT
109902011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10991
10992 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10993 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10994
183fc730
LL
109952011-09-07 Leo Liu <sdl.web@gmail.com>
10996
10997 * net/rcirc.el (rcirc-mode): Conditionally initialize
10998 rcirc-input-ring.
10999
77694924
SM
110002011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
11001
11002 * emacs-lisp/find-func.el (find-function-C-source): Only set
11003 find-function-C-source-directory after checking that we found a source
11004 file there (bug#9440).
11005
d809b8eb
AM
110062011-09-06 Alan Mackenzie <acm@muc.de>
11007
11008 * isearch.el (isearch-other-meta-char): Wherever a key list is
11009 unread, "unread" the prefix arg, too. This fixes bug #8901.
11010
453de99f
OG
110112011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
11012
11013 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11014
90439906
JL
110152011-09-05 Juri Linkov <juri@jurta.org>
11016
11017 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11018
f62bd846
JL
110192011-09-05 Juri Linkov <juri@jurta.org>
11020
11021 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11022 keeping point where processing of grep matches begins, and
11023 continue to delete remaining escape sequences from the same point.
11024 (grep-filter): Make leading zero optional in "0?1;31m" because
11025 git-grep emits "\033[1;31m" escape sequences unlike expected
11026 "\033[01;31m" as GNU Grep does (bug#9408).
11027 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11028
045820ec
JL
110292011-09-05 Juri Linkov <juri@jurta.org>
11030
11031 * subr.el (y-or-n-p): Capitalize "yes".
11032
f5e29b9b
MA
110332011-09-04 Michael Albinus <michael.albinus@gmx.de>
11034
11035 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11036 `tramp-cache-unload-hook' where appropriate.
11037 (tramp-methods): Rename `tramp-remote-sh' to
11038 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11039 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11040
11041 * net/tramp-sh.el (top): Don't require 'shell.
11042 (tramp-methods): Add `tramp-remote-shell' and
11043 `tramp-remote-shell-args' entries.
11044 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11045 (tramp-sh-handle-shell-command): Remove.
11046 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11047 Use `tramp-remote-shell'.
11048
2784c434
CY
110492011-09-03 Chong Yidong <cyd@stupidchicken.com>
11050
393a301e 11051 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
11052 (sendmail-query-once): Save directly to send-mail-function.
11053 Update message-send-mail-function too.
11054
11055 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11056
464cdf56
CS
110572011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11058
11059 * progmodes/python.el (python-mode-map): Use correct function to
11060 start python interpreter from menu-bar (as reported by Geert
11061 Kloosterman).
11062 (inferior-python-mode-map): Fix typo.
393a301e 11063 (python-shell-map): Remove.
464cdf56 11064
d37e5c87
DD
110652011-09-03 Deniz Dogan <deniz@dogan.se>
11066
11067 * net/rcirc.el (rcirc-print): Simplify code for
11068 rcirc-scroll-show-maximum-output. There is no need to walk
11069 through all windows to find the right one.
11070
f3ada0ee
CS
110712011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11072
11073 * help.el (help-return-method): Doc fix.
11074
1f3c99ca
MR
110752011-09-03 Martin Rudalics <rudalics@gmx.at>
11076
11077 * window.el (window-deletable-p): Don't return a non-nil value
11078 when there's a buffer that was shown in the window before.
11079 (Bug#9419)
393a301e
SM
11080 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11081 Set window's previous buffers to nil.
1f3c99ca 11082
a3cf097f
EZ
110832011-09-03 Eli Zaretskii <eliz@gnu.org>
11084
11085 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11086 newline before and after the tag line, so it doesn't interfere
11087 with determining the paragraph direction of bidirectional text.
11088
3d03de90
LL
110892011-09-03 Leo Liu <sdl.web@gmail.com>
11090
11091 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11092
c3313451
CY
110932011-09-02 Chong Yidong <cyd@stupidchicken.com>
11094
393a301e 11095 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
11096 (pop-to-buffer): Change interactive spec. Pass second argument
11097 directly to display-buffer.
11098 (display-buffer): Fix interactive spec. Use functionp to
11099 distinguish between a function and a list of functions.
11100
11101 * abbrev.el (edit-abbrevs):
11102 * arc-mode.el (archive-extract):
11103 * autoinsert.el (auto-insert):
11104 * bookmark.el (bookmark-bmenu-list):
11105 * files.el (find-file):
11106 * view.el (view-buffer):
11107 * progmodes/compile.el (compilation-goto-locus):
11108 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11109
89894cd8
CY
111102011-09-02 Chong Yidong <cyd@stupidchicken.com>
11111
11112 * window.el (display-buffer-alist): Doc fix.
11113 (display-buffer): Add docstring. Don't treat
11114 display-buffer-default specially.
11115 (display-buffer-reuse-selected-window)
11116 (display-buffer-same-window, display-buffer-maybe-same-window)
11117 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11118 (display-buffer-pop-up-window)
11119 (display-buffer-reuse-or-pop-window)
11120 (display-buffer-use-some-window): New functions.
11121 (display-buffer-default-action): Use them.
393a301e 11122 (display-buffer-default): Delete.
89894cd8
CY
11123 (pop-to-buffer-1): Fix choice of actions.
11124
ae0bc9fb
SM
111252011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11126
11127 * minibuffer.el (completion--insert-strings): Don't get confused by
11128 completion entries that end with an LF char.
11129
e9d90883
EZ
111302011-09-01 Eli Zaretskii <eliz@gnu.org>
11131
11132 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11133
437014c8
CY
111342011-09-01 Chong Yidong <cyd@stupidchicken.com>
11135
11136 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
11137 (display-buffer-same-window, display-buffer-other-window):
11138 New functions.
437014c8
CY
11139 (pop-to-buffer-1): New function. Use the above.
11140 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 11141 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
11142
11143 * view.el (view-buffer-other-window, view-buffer-other-frame):
11144 Just use pop-to-buffer.
11145
a5e063d5
TV
111462011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11147
11148 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11149
793d32bb
WH
111502011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11151
11152 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11153
d65e4c15
RS
111542011-08-31 Richard Stallman <rms@gnu.org>
11155
11156 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11157 of the separation of rmail-view-buffer from rmail-buffer.
11158 If you say no to "replace original", the decrypt is in the
11159 view buffer. If you say yes, the decrypt goes into the
11160 rmail buffer also.
11161
f818cd2a
MR
111622011-08-31 Martin Rudalics <rudalics@gmx.at>
11163
11164 * window.el (display-buffer-window): Rewrite doc-string.
11165 (display-buffer-record-window): New function.
11166 (display-buffer-macro-specifiers)
11167 (display-buffer-even-window-sizes, display-buffer-set-height)
11168 (display-buffer-set-width, display-buffer-in-window)
11169 (display-buffer-reuse-window, display-buffer-split-specifiers)
11170 (display-buffer-side-specifiers, display-buffer-split-window-1)
11171 (display-buffer-split-window, display-buffer-split-atom-window)
11172 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11173 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11174 (display-buffer-other-window-means-other-frame)
11175 (display-buffer-normalize-special)
11176 (display-buffer-normalize-default)
11177 (display-buffer-normalize-argument)
11178 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11179 (display-buffer-normalize-specifiers, display-buffer-frame)
11180 (display-buffer-same-window, display-buffer-same-frame)
11181 (display-buffer-other-window)
11182 (display-buffer-same-frame-other-window)
11183 (display-buffer-other-frame, pop-to-buffer-same-window)
11184 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11185 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11186 (switch-to-buffer-same-frame)
11187 (switch-to-buffer-other-window-same-frame)
11188 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11189 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11190 (display-buffer-alist-set): Remove.
11191 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
11192 (special-display-regexps, special-display-function):
11193 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
11194 parameter.
11195 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11196 (special-display-frame-alist, special-display-popup-frame)
11197 (same-window-buffer-names, same-window-regexps, same-window-p)
11198 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11199 (split-window-preferred-function, split-height-threshold)
11200 (split-width-threshold, window-splittable-p)
11201 (split-window-sensibly, window--try-to-split-window)
11202 (window--frame-usable-p, even-window-heights)
11203 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
11204 (window--display-buffer-2, display-buffer-other-frame):
11205 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
11206 (display-buffer-default, display-buffer-assq-regexp): New functions.
11207 (display-buffer-alist): Rewrite doc-string.
11208 (display-buffer-default-action)
11209 (display-buffer-overriding-action): New variables.
11210 (display-buffer, switch-to-buffer): Rewrite.
11211 (pop-to-buffer): Restore Emacs 23 behavior but use
11212 window-normalize-buffer-to-display.
11213 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11214 Restore Emacs 23 behavior but use
11215 window-normalize-buffer-to-switch-to.
11216 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
11217 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11218 Rewrite using Emacs 23 options.
f818cd2a 11219
5bc3b51d
MA
112202011-08-31 Michael Albinus <michael.albinus@gmx.de>
11221
11222 * net/tramp.el (tramp-root-regexp): Remove.
11223 (tramp-completion-file-name-regexp-unified)
11224 (tramp-completion-file-name-regexp-separate)
11225 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 11226 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
11227 (tramp-drop-volume-letter): Simplify definition.
11228 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 11229
b1a4f8e1
SM
112302011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11231
11232 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11233 (bug#9356).
11234
5664fa7b
RT
112352011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11236
b1a4f8e1 11237 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 11238
9a45d6c3
JL
112392011-08-29 Juri Linkov <juri@jurta.org>
11240
11241 * isearch.el (isearch-done): Don't display message "Mark saved"
11242 when arg `edit' is non-nil to prevent its flicker in the echo area.
11243
fb87e0fb
CY
112442011-08-28 Chong Yidong <cyd@stupidchicken.com>
11245
11246 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11247 obsolete packages for deletion.
11248
09ac1c2a
CS
112492011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11250
11251 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11252 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11253 view-mode from help-mode.
11254 (help-xref-override-view-map): Remove.
11255 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11256 view-mode is not used anymore.
11257
7a1ff57f
CY
112582011-08-28 Chong Yidong <cyd@stupidchicken.com>
11259
11260 * server.el (server-port): Doc fix.
11261
b9696605
CY
11262 * cus-theme.el (custom-theme-choose-mode): Inherit from
11263 special-mode (Bug#9124).
11264 (custom-theme-choose-mode-map): Add special-mode to parent.
11265
ef8cdf8c
AM
112662011-08-28 Alan Mackenzie <acm@muc.de>
11267
11268 * progmodes/cc-fonts.el
11269 (c-make-font-lock-BO-decl-search-function): New function.
11270 (c-basic-matchers-after - "Fontify the clauses after various
11271 keywords"): Extract the three keyword lists for the 3 erroneous
11272 constructs from the list of four, and use the new function above
11273 in place of an old one.
11274
27de4e20
DD
112752011-08-28 Deniz Dogan <deniz@dogan.se>
11276
11277 * net/rcirc.el (rcirc-insert-prev-input)
11278 (rcirc-insert-next-input): Remove unused argument.
11279
356a3681
SM
112802011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11281
11282 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11283
3fc9b218
AM
112842011-08-27 Alan Mackenzie <acm@muc.de>
11285
11286 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11287 handle function pointer parameters properly.
11288
538a061c
MR
112892011-08-27 Martin Rudalics <rudalics@gmx.at>
11290
11291 * window.el (display-buffer-reuse-window): Fix case where
11292 selected window was reused with non-nil OTHER-WINDOW argument.
11293 (Bug#9381)
11294
35b1c40c
DD
112952011-08-27 Deniz Dogan <deniz@dogan.se>
11296
11297 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11298 oftc's NickServ messages.
11299
2f6a3e79
GM
113002011-08-27 Glenn Morris <rgm@gnu.org>
11301
11302 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11303
7254299e
CY
113042011-08-26 Chong Yidong <cyd@stupidchicken.com>
11305
11306 * emacs-lisp/package.el (package-install): Call package-initialize
11307 if called interactively.
11308
f8ccf167
LL
113092011-08-26 Leo Liu <sdl.web@gmail.com>
11310
11311 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11312
3e8cd5ce
JL
113132011-08-25 Juri Linkov <juri@jurta.org>
11314
11315 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11316 `search-whitespace-regexp' (bug#9364).
11317
93eb7113
JL
113182011-08-25 Juri Linkov <juri@jurta.org>
11319
11320 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11321 `regexp-search-ring' to their global values to protect from
11322 updating by `read-from-minibuffer' (bug#9185).
11323
f65d1611
JL
113242011-08-25 Juri Linkov <juri@jurta.org>
11325
11326 * textmodes/ispell.el (ispell-command-loop): Add newline
11327 at the end of the "Use option `i'..." line.
11328
f1cf7a31
JL
113292011-08-25 Juri Linkov <juri@jurta.org>
11330
11331 * battery.el (display-battery-mode): If `battery-status-function'
11332 or `battery-mode-line-format' is nil, display the message and set
11333 `display-battery-mode' to nil (bug#9363).
11334
0c95fcf7
EZ
113352011-08-25 Eli Zaretskii <eliz@gnu.org>
11336
11337 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11338 bidi-string-mark-left-to-right; they are unnecessary now.
11339
a2ebe600
DD
113402011-08-25 Deniz Dogan <deniz@dogan.se>
11341
11342 * net/quickurl.el: Documentation typo fixes.
11343
e4ed06f1
CY
113442011-08-25 Chong Yidong <cyd@stupidchicken.com>
11345
11346 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11347
e5f1c99e
GM
113482011-08-25 Glenn Morris <rgm@gnu.org>
11349
b2948976
GM
11350 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11351
e5f1c99e
GM
11352 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11353 (smtpmail-via-smtp): Handle nil response from smtp.
11354
f22f4808
JL
113552011-08-24 Juri Linkov <juri@jurta.org>
11356
11357 * proced.el (proced-marked): Inherit from `error' instead of
11358 `font-lock-warning-face'.
11359
11360 * ibuffer.el (ibuffer-marked-face): Change default face from
11361 `font-lock-warning-face' to `warning'.
11362 (ibuffer-deletion-face): Change default face from
11363 `font-lock-type-face' to `error'.
11364
11365 * battery.el (battery-update): Use the face `error' instead of
11366 `font-lock-warning-face' (bug#6117).
11367
6a93965e
JL
113682011-08-24 Juri Linkov <juri@jurta.org>
11369
11370 * faces.el (success): Change face color from "Green3" to
11371 "ForestGreen" on light background (bug#9353).
11372
1ed43b09
CY
113732011-08-24 Chong Yidong <cyd@stupidchicken.com>
11374
5664fa7b
RT
11375 * window.el (quit-window): Rename from quit-restore-window.
11376 Use same arglist as old quit-window.
1ed43b09
CY
11377 (frame-auto-delete): Doc fix.
11378
11379 * view.el (view-mode-exit): Use quit-window.
11380
11dcdbb2
JL
113812011-08-24 Juri Linkov <juri@jurta.org>
11382
11383 * isearch.el (isearch-ring-adjust1): Start visiting previous
11384 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11385 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11386 for empty search string (when the last search string is reused
11387 automatically) to adjust the isearch ring to the last element and
11388 prepare the correct index for further M-p commands (bug#9185).
11389
de62b4df
KH
113902011-08-24 Kenichi Handa <handa@m17n.org>
11391
11392 * international/ucs-normalize.el: If decomposition property of
11393 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11394 nil.
11395 (nfd, nfkd): Likewise.
11396
963b492b
SM
113972011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11398
11399 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11400 from process filters aren't reliably transmitted to the surrounding
11401 accept-process-output.
11402 (mpc-proc-check): New function.
11403 (mpc-proc-sync): Use it (bug#8293)
11404
93b6b5e1
SM
114052011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11406
11407 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11408 Add compatibility functions (bug#9313).
11409
bca633fb
EZ
114102011-08-23 Eli Zaretskii <eliz@gnu.org>
11411
b177498a
EZ
11412 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11413
6df6ae42 11414 * international/uni-bidi.el: Regenerate.
bca633fb 11415
0902a04e
KH
114162011-08-23 Kenichi Handa <handa@m17n.org>
11417
11418 * international/charprop.el:
11419 * international/uni-bidi.el:
11420 * international/uni-category.el:
11421 * international/uni-combining.el:
11422 * international/uni-comment.el:
11423 * international/uni-decimal.el:
11424 * international/uni-decomposition.el:
11425 * international/uni-digit.el:
11426 * international/uni-lowercase.el:
11427 * international/uni-mirrored.el:
11428 * international/uni-name.el:
11429 * international/uni-numeric.el:
11430 * international/uni-old-name.el:
11431 * international/uni-titlecase.el:
11432 * international/uni-uppercase.el: Regenerate.
11433
3bbf23bc
MR
114342011-08-23 Martin Rudalics <rudalics@gmx.at>
11435
11436 * help.el (help-window-setup): Fix message displayed when other
11437 window is reused. (Bug#9341)
11438
b3fd59bd
SM
114392011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11440
1802e444
SM
11441 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11442 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11443
b3fd59bd
SM
11444 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11445 Mark obsolete.
11446 * shell.el (shell-parse-pcomplete-arguments): New function.
11447 (shell-completion-vars): Use it instead (bug#9160).
11448
4eb61348
SM
114492011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11450
867cab74
SM
11451 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11452 strings and comments (bug#9333).
11453
4eb61348
SM
11454 * emacs-lisp/debug.el (debug-arglist): New function.
11455 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11456 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11457
262a1439
JL
114582011-08-22 Juri Linkov <juri@jurta.org>
11459
56ee679c
JL
11460 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11461 Revert regexp that highlights output switches to its old
11462 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11463
262a1439
JL
11464 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11465 to check for empty output (bug#9226).
11466
f13f86fb
CY
114672011-08-22 Chong Yidong <cyd@stupidchicken.com>
11468
11469 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11470 symbol-constituent as the default, as that stops font-lock from
11471 working properly (Bug#8843).
11472
c65c9622
LMI
114732011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11474
11475 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11476 `coding-system-for-*' around the process open call to avoid
11477 auth-source side effects.
e7f2c178 11478 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11479 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11480 probe hangs.
c65c9622 11481
23a8a5ab
CY
114822011-08-21 Chong Yidong <cyd@stupidchicken.com>
11483
ff98b2dd
CY
11484 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11485
23a8a5ab
CY
11486 * emacs-lisp/find-func.el (find-function-noselect): New arg
11487 lisp-only.
11488
11489 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11490 signal an error for built-in functions (Bug#6664).
11491
f5e3c598
LMI
114922011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11493
11494 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11495 (smtpmail-try-auth-methods): Use it.
11496
a3f2468a
CY
114972011-08-21 Chong Yidong <cyd@stupidchicken.com>
11498
2c34e8da
CY
11499 * font-lock.el (font-lock-fontify-region)
11500 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11501 (font-lock-default-unfontify-buffer)
11502 (font-lock-default-fontify-region)
11503 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11504
b3fd59bd
SM
11505 * progmodes/compile.el (compilation-error-properties):
11506 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11507 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11508 `ant' regexp.
ee31aabc 11509
a3f2468a
CY
11510 * net/browse-url.el (browse-url-firefox): Don't call
11511 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11512
8e999f70
GM
115132011-08-20 Glenn Morris <rgm@gnu.org>
11514
c21a496a
GM
11515 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11516
59ee0542
GM
11517 * tutorial.el (tutorial--default-keys): Update some default bindings.
11518
8e999f70
GM
11519 * files.el (hack-local-variables): Fully ignore case for "mode:".
11520
e3715033
AM
115212011-08-20 Alan Mackenzie <acm@muc.de>
11522
11523 Resolve invalid use of a regexp in regexp-opt.
11524
4d61f28d
JB
11525 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11526 detection for a java annotation.
e3715033 11527
4d61f28d 11528 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11529 detection for a java annotation.
11530
4d61f28d
JB
11531 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11532 handling for java.
e3715033
AM
11533 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11534
04ed2e9c
CY
115352011-08-20 Chong Yidong <cyd@stupidchicken.com>
11536
11537 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11538 (Bug#9274).
11539
826cee64
AM
115402011-08-20 Alan Mackenzie <acm@muc.de>
11541
58179cce 11542 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11543 such a construct. Mainly for when jit-lock etc. starts a chunk
11544 here.
11545
58179cce 11546 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11547 variable.
58179cce 11548 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11549 c-make-font-lock-search-function.
11550 (c-make-font-lock-search-function): Use the above function.
11551 (c-make-font-lock-context-search-function): New function.
11552 (c-cpp-matchers): Enhance the preprocessor expression case with
11553 the above function
11554 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11555 which takes an expression.
11556
11557 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11558
13009bd8
MR
115592011-08-20 Martin Rudalics <rudalics@gmx.at>
11560
11561 * window.el (display-buffer-reuse-window)
11562 (display-buffer-pop-up-window): Don't reuse or split a side
11563 window.
11564
9234ff7f
GM
115652011-08-19 Glenn Morris <rgm@gnu.org>
11566
11567 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11568 Downcase "Mode:". (Bug#9331)
9234ff7f 11569
f635daa1
CY
115702011-08-18 Chong Yidong <cyd@stupidchicken.com>
11571
11572 * international/characters.el: Add L and R categories.
11573
11574 * subr.el (bidi-string-mark-left-to-right): Rename from
11575 string-mark-left-to-right. Use category search.
11576
11577 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11578
bc987f8b
JL
115792011-08-18 Juri Linkov <juri@jurta.org>
11580
11581 * faces.el (error, warning, success): New faces with definitions
11582 copied from old default values of `font-lock-warning-face',
11583 `compilation-warning', `compilation-info' (bug#6117).
11584
11585 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11586
11587 * progmodes/compile.el (compilation-error): Inherit from `error'.
11588 (compilation-warning): Inherit from `warning'.
11589 (compilation-info): Inherit from `success'.
11590
11591 * dired.el (dired-marked): Inherit from `warning'.
11592 (dired-flagged): Inherit from `error'.
11593
57173b96
LMI
115942011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11595
3e79eb87
LMI
11596 * mail/smtpmail.el (auth-source): Require to avoid problems with
11597 binding variables (bug#9298). Also clean up some unused
11598 autoloads.
11599
b3fd59bd
SM
11600 * net/network-stream.el (network-stream-open-starttls):
11601 Support using starttls.el without using gnutls-cli.
57173b96 11602
02b404de
JL
116032011-08-17 Juri Linkov <juri@jurta.org>
11604
11605 * progmodes/grep.el (rgrep): Handle the case when
11606 `grep-find-command' is a cons cell (bug#9278).
11607
8c9177f2
MR
116082011-08-17 Martin Rudalics <rudalics@gmx.at>
11609
11610 * window.el (display-buffer-pop-up-frame): Run frame creation
11611 function with BUFFER current (as special-display-popup-frame
11612 does). Reported by Drew Adams.
11613
3644a0ab
DU
116142011-08-17 Daiki Ueno <ueno@unixuser.org>
11615
11616 * epa-mail.el: Simplify GnuPG group expansion using
11617 epg-expand-group.
11618 (epa-mail-group-alist, epa-mail-group-modtime)
11619 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11620 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11621 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11622 Remove.
11623
5e617bc2 116242011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11625
11626 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11627
9c4aeabf
AM
116282011-08-16 Alan Mackenzie <acm@muc.de>
11629
11630 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11631 Correct, to avoid the inside of macros.
11632
3a99bf64
RS
116332011-08-16 Richard Stallman <rms@gnu.org>
11634
04963aa8
RS
11635 * epa-mail.el: Handle GnuPG group definitions.
11636 (epa-mail-group-alist, epa-mail-group-modtime)
11637 (epa-mail-gnupg-conf-file): New variables.
11638 (epa-mail-parse-groups, epa-mail-sync-groups)
11639 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11640 (epa-mail-expand-recipients): New functions.
11641 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11642
177549d0
RS
11643 * mail/rmail.el (rmail-epa-decrypt): New command.
11644
fe38beef
RS
11645 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11646 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11647 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11648 (epa-decrypt-armor-in-region): Make error message clearer.
11649
934eacb9
SM
116502011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11651
11652 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11653 and "a2b" to "ab" for `prefix'.
11654
d024fb4e
CY
116552011-08-14 Chong Yidong <cyd@stupidchicken.com>
11656
11657 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11658 filter groups.
de148fee
CY
11659 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11660 Fourquet (Bug#8804).
d024fb4e 11661
62f1ca49
JB
116622011-08-12 Juanma Barranquero <lekktu@gmail.com>
11663
11664 * startup.el (argi): Declare as global variable (bug#9275).
11665
9ccaaa4b
CY
116662011-08-12 Chong Yidong <cyd@stupidchicken.com>
11667
11668 * subr.el (string-mark-left-to-right): Search the entire string
11669 for RTL script, not just the terminating character. Doc fix.
11670
a3dae87a
SM
116712011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11672
6cd18349
SM
11673 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11674 New function.
11675 (js--regexp-literal, js-syntax-propertize-function): Remove.
11676 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11677 (js-mode-map): Don't rebind electric keys.
11678 (js-insert-and-indent): Remove.
11679 (js-mode): Setup electric-layout and electric-indent instead.
11680
a3dae87a
SM
11681 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11682
9d5cb631
DU
116832011-08-12 Daiki Ueno <ueno@unixuser.org>
11684
11685 * epa.el (epa-progress-callback-function): Fix the logic of
11686 displaying progress.
11687 * epa-file.el (epa-file-insert-file-contents): Make progress
11688 display more user-friendly.
11689 (epa-file-write-region): Ditto.
11690
3e26a4a2
CY
116912011-08-10 Chong Yidong <cyd@stupidchicken.com>
11692
11693 * subr.el (string-mark-left-to-right): New function.
11694
11695 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11696 Use string-mark-left-to-right.
11697 (list-buffers-noselect): Caller changed.
11698
a3dae87a
SM
11699 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11700 Use string-mark-left-to-right.
3e26a4a2
CY
11701 (tabulated-list-print): Recenter after moving point.
11702
ac8cf6e6
JL
117032011-08-10 Juri Linkov <juri@jurta.org>
11704
11705 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11706 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11707 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11708
8d96c9a4
CY
117092011-08-09 Chong Yidong <cyd@stupidchicken.com>
11710
11711 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11712 (Bug#7554).
11713
7be1c708 117142011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11715
11716 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11717 character. (Bug#6594)
11718
37e11a63
CY
117192011-08-08 Chong Yidong <cyd@stupidchicken.com>
11720
839dde57
CY
11721 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11722 (image-dired--with-db-file): New macro.
11723 (image-dired-write-tags, image-dired-remove-tag)
11724 (image-dired-create-gallery-lists, image-dired-write-comments)
11725 (image-dired-get-comment, image-dired-mark-tagged-files)
11726 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11727 (image-dired-gallery-generate): Use insert-file-contents.
11728
37e11a63
CY
11729 * time.el (display-time-world-list, display-time-world-display):
11730 * time-stamp.el (time-stamp-string):
11731 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11732 set-time-zone-rule (Bug#7337).
11733
0b4946c4
DU
117342011-08-08 Daiki Ueno <ueno@unixuser.org>
11735
11736 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11737 (epg-error-to-string, epg-errors-to-string): New function.
11738 (epg-wait-for-completion): Reverse errors list.
11739 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11740 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11741 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11742 (epg-sign-keys, epg-generate-key-from-file)
11743 (epg-generate-key-from-string): Format errors by using
11744 epg-errors-to-string (bug#9255).
11745 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11746
75bfc667
JL
117472011-08-07 Juri Linkov <juri@jurta.org>
11748
11749 * faces.el (list-faces-display): Remove extra angle bracket
11750 from `help-mode-map'.
11751
11752 * info.el (Info-history-toc-nodes): Doc fix.
11753
11754 * longlines.el (longlines-mode): Doc fix.
11755
673e08bb
SM
117562011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11757
4640dd88
SM
11758 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11759 of statements and in a few more cases (bug#9183).
11760
673e08bb
SM
11761 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11762 New functions.
11763 (cl-transform-lambda): Use them (bug#9239).
11764
89b3f019
MR
117652011-08-05 Martin Rudalics <rudalics@gmx.at>
11766
11767 * window.el (display-buffer-same-window)
11768 (display-buffer-same-frame, display-buffer-other-window)
11769 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11770 (pop-to-buffer-other-window)
11771 (pop-to-buffer-same-frame-other-window)
11772 (pop-to-buffer-other-frame): Make them defuns.
11773 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11774
640c8776
SM
117752011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11776
11777 * subr.el (make-composed-keymap): Move from C. Change calling
11778 convention, and improve docstring to bring attention to a subtle point.
11779 * minibuffer.el (completing-read-default): Adjust accordingly.
11780
63648a95
MA
117812011-08-03 Michael Albinus <michael.albinus@gmx.de>
11782
11783 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11784 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11785
11786 * net/trampver.el: Update release number.
11787
b796c9b7
SM
117882011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11789
11790 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11791 "in" (bug#9190).
11792
2239d7d5
LMI
117932011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11794
e07dd7c3
LMI
11795 * mail/sendmail.el (sendmail-query-once): Restore the current
11796 buffer after querying (bug#9074).
11797
0e6a2bd7
LMI
11798 * dired.el (dired-flagged): Use different faces for marked and
11799 flagged files (bug#6117).
11800
ce887515
LMI
11801 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11802 (bug#4433).
11803
92f2affc
LMI
11804 * ido.el (ido-mode): Switch off the message if called
11805 non-interactively.
11806
57d5aff0
LMI
11807 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11808 before 587, since it appears that that's more likely to work for
11809 more people.
11810
98cd6c18 11811 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11812 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11813 exist.
11814
b96dec83
LMI
11815 * info.el: Remove the `Info-beginning-of-buffer' function
11816 (bug#8325).
11817
b796c9b7
SM
11818 * net/network-stream.el (network-stream-open-starttls):
11819 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11820
d90e2ea0
MR
118212011-08-01 Martin Rudalics <rudalics@gmx.at>
11822
11823 * window.el (display-buffer-in-window): Don't set dedicated status
11824 of window here (Bug#9215).
11825 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11826 (display-buffer-pop-up-side-window)
b796c9b7 11827 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11828
cca09170
SM
118292011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11830
11831 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11832 before binding generated-autoload-file.
11833
027b979c
DD
118342011-08-01 Deniz Dogan <deniz@dogan.se>
11835
11836 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11837
3c7ee4f3
MA
118382011-07-30 Michael Albinus <michael.albinus@gmx.de>
11839
11840 Sync with Tramp 2.2.2.
11841
11842 * net/trampver.el: Update release number.
11843
2cc8e51a
JL
118442011-07-30 Juri Linkov <juri@jurta.org>
11845
11846 * dired-aux.el (dired-touch-initial): Remove function.
11847 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11848 current time, and `default' to the last modification time of the
11849 current marked file (bug#6887).
11850
a514d856
JM
118512011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11852
11853 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11854 numeric argument to read-number (bug#9163).
a514d856 11855
8a7eddd7
MA
118562011-07-27 Michael Albinus <michael.albinus@gmx.de>
11857
11858 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11859 connection process, it could be nil.
11860
1ddd96f5
LL
118612011-07-27 Leo Liu <sdl.web@gmail.com>
11862
11863 Simplify url handling in rcirc-mode.
11864
11865 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11866 (rcirc-browse-url-at-mouse): Remove.
11867 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11868
b248a85d
AM
118692011-07-26 Alan Mackenzie <acm@muc.de>
11870
11871 Fontify bitfield declarations properly.
11872
11873 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11874 (c-symbol-chars): Now exported as a lang variable.
11875 (c-not-primitive-type-keywords): New lang variable.
11876
11877 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11878 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11879 parsed as a bitfield declaration.
b248a85d 11880
b796c9b7
SM
11881 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11882 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11883 (c-punctuation-in): New function.
11884 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11885 declarations properly.
11886
68575ab0
UJ
118872011-07-26 Ulf Jasper <ulf.jasper@web.de>
11888
11889 * calendar/icalendar.el (icalendar--all-events): Take care of
11890 multiple vcalendars in a single file.
b796c9b7 11891 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11892
0f0a88b9
DD
118932011-07-25 Deniz Dogan <deniz@dogan.se>
11894
11895 * image.el (insert-image): Clarifying docstring.
11896
0b3f36df
MA
118972011-07-24 Michael Albinus <michael.albinus@gmx.de>
11898
11899 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11900 `tramp-send-command-and-check' if there is no error.
11901 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11902
a9901f61
AM
119032011-07-22 Alan Mackenzie <acm@muc.de>
11904
11905 Prevent cc-langs.elc being loaded at run time.
11906
11907 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11908 cc-langs.
11909
4d61f28d 11910 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11911 "(require 'cc-langs)". Quote a form so it will evaluate at
11912 (cc-mode's) compilation time.
11913
11d074b2
MA
119142011-07-22 Michael Albinus <michael.albinus@gmx.de>
11915
11916 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11917 loading. (Bug#9114)
11918
938b94c8
MR
119192011-07-21 Martin Rudalics <rudalics@gmx.at>
11920
11921 * window.el (display-buffer-pop-up-window)
11922 (display-buffer-pop-up-side-window)
11923 (display-buffer-in-side-window): Call display-buffer-set-height
11924 and display-buffer-set-width after setting the new window's
b796c9b7 11925 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11926
bfa4f190
SS
119272011-07-20 Sam Steingold <sds@gnu.org>
11928
11929 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11930 (etags-tags-included-tables): Call `convert-standard-filename' on
11931 the file names contained in TAGS so that windows Emacs can handle
11932 TAGS files created by cygwin ctags.
11933
8ca42262
LMI
119342011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11935
11936 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11937 which apparently didn't work.
11938
5db2afd2 119392011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11940
5db2afd2
RW
11941 * proced.el (proced-send-signal): For *Marked Processes* buffer
11942 put point at beginning of buffer.
11943
92e15d10
SB
119442011-07-19 Stephen Berman <stephen.berman@gmx.net>
11945
11946 * proced.el (proced-format): Make header lines align with the text
11947 (bug#1779).
11948
1bfd59e5
LMI
119492011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11950
11951 * view.el (view-buffer): Allow running in `special' modes if we're
11952 visiting a file (bug#8615).
11953
f5aae37c
MR
119542011-07-19 Martin Rudalics <rudalics@gmx.at>
11955
11956 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11957 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11958 New functions.
f5aae37c
MR
11959 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11960 more accurately.
11961
bf2c1571
AM
119622011-07-18 Alan Mackenzie <acm@muc.de>
11963
11964 Fontify declarators properly when, e.g., a jit-lock chunk begins
11965 inside a declaration.
11966
11967 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11968
b796c9b7
SM
11969 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11970 New function.
bf2c1571
AM
11971 (c-complex-decl-matchers): Insert reference to
11972 c-font-lock-enclosing-decls.
11973
11974 * progmodes/cc-engine.el (c-backward-single-comment):
11975 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11976 to nil around calls to (forward-comment -1).
11977
4e190b80
LMI
119782011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11979
12dc863d
LMI
11980 * image.el (put-image): Doc typo fix.
11981
a762e966
LMI
11982 * progmodes/etags.el (tags-search): Doc typo fix.
11983
4e190b80
LMI
11984 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11985 password if we get errors 550 to 554.
11986
f019fb21
LMI
119872011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11988
b796c9b7 11989 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11990
81746738
LMI
11991 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11992 indentation character (bug#6380).
11993
3ee3a1b5
LMI
11994 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11995
c82f64de
LMI
11996 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11997 to clarify what the problem is (bug#4291).
11998
f019fb21
LMI
11999 * simple.el (current-kill): Clarify what
12000 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
12001 (auto-fill-mode): Document `auto-fill-function' in relation to
12002 `auto-fill-mode' (bug#2470).
f019fb21 12003
0794775d
LM
120042011-07-16 Lawrence Mitchell <wence@gmx.li>
12005
12006 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12007 method if slot is read-only (bug#9035).
12008
be39b8cc
MR
120092011-07-16 Martin Rudalics <rudalics@gmx.at>
12010
b796c9b7 12011 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 12012 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
12013 selected before, see discussion of (Bug#8615), (Bug#6954).
12014 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 12015
6ccf7859
GM
120162011-07-15 Glenn Morris <rgm@gnu.org>
12017
12018 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 12019 Respect help-form.
6ccf7859 12020
87e86684
LM
120212011-07-09 Lawrence Mitchell <wence@gmx.li>
12022
12023 * net/gnutls.el (gnutls-min-prime-bits): New variable.
12024 (gnutls-negotiate): Use it.
12025
d6066239
LMI
120262011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12027
b796c9b7
SM
12028 * net/gnutls.el (gnutls-negotiate):
12029 Upcase `gnutls-algorithm-priority'.
d6066239 12030
bd23ebc0
GM
120312011-07-15 Glenn Morris <rgm@gnu.org>
12032
c65bca65
GM
12033 * jka-compr.el (jka-compr-verbose): Move from here...
12034 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12035 Add missing :version tag.
12036 * info.el: No need to require jka-compr when compiling.
bd23ebc0 12037
478615cc
LMI
120382011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12039
7b41decb
LMI
12040 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12041 (gnutls-negotiate): Use it.
12042
dbc44fcd
LMI
12043 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12044
06789f97
LMI
12045 * info.el (Info-beginning-of-buffer): New command.
12046 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12047 announcing `b' as the key (bug#8325).
ab896c37 12048 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 12049
c39da690
LMI
12050 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12051
3aa5f34b
LMI
12052 * international/mule-cmds.el
12053 (describe-specified-language-support): Make the error message
12054 clearer (bug#8905).
12055
4bf0979f
LMI
12056 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12057
478615cc
LMI
12058 * isearch.el (isearch-barrier): Add a doc string, since it's
12059 mentioned in a function doc string (bug#8678).
12060
75c68aa1
MR
120612011-07-15 Martin Rudalics <rudalics@gmx.at>
12062
12063 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12064 buffer argument (Bug#9083) and self-identifying label argument.
12065
a7c33da2
GM
120662011-07-15 Glenn Morris <rgm@gnu.org>
12067
12068 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12069
2f5c6024
LMI
120702011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12071
12072 * man.el (Man-fontify-manpage): Fix message when formatting the
12073 man page (bug#7929).
12074
0bb23927 120752011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
12076
12077 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12078 argument LRM; if non-nil, append an invisible LRM character to the
12079 buffer name.
12080 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12081 last argument non-nil, when formatting buffer names.
0bb23927
EZ
12082 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12083 paragraph direction.
cce4b0a7 12084
621ef9ab
LMI
120852011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12086
d1583c48
LMI
12087 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12088 the man page name (bug#7929).
12089
6a57fb5f
LMI
12090 * image.el (put-image): Mention the `put-image' overlay property
12091 (bug#7834).
12092
d7956b14
LMI
12093 * scroll-bar.el (set-scroll-bar-mode): Mention that
12094 `scroll-bar-mode' lists the values (bug#7772).
12095
5b2d4a66
LMI
12096 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12097 command (bug#7729).
12098
7509a874
LMI
12099 * rect.el (apply-on-rectangle): Return the point after the last
12100 operation.
12101 (string-rectangle): Go to the point after the last operation
12102 (bug#7522).
12103
4fe74b19
LMI
12104 * printing.el (pr-toggle-region): Clarify the documentation
12105 slightly (bug#7493).
12106
b796c9b7
SM
12107 * time.el (display-time-update):
12108 Allow `display-time-mail-function' to return nil (bug#7158).
12109 Fix suggested by Detlev Zundel.
ab283561 12110
fc233c9d
LMI
12111 * vc/diff.el (diff): Clarify the order the file names are read
12112 (bug#7111).
12113
43f5740b
LMI
12114 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12115 the doc string (bug#7015).
12116
f2182a76
LMI
12117 * font-lock.el (font-lock-maximum-decoration): Mention what
12118 numeric levels mean (bug#6935).
12119
621ef9ab
LMI
12120 * startup.el (initial-buffer-choice): Don't mention the `none'
12121 selection, which is against policy.
12122
adc47434
MR
121232011-07-14 Martin Rudalics <rudalics@gmx.at>
12124
b796c9b7
SM
12125 * window.el (display-buffer-normalize-special):
12126 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 12127
7e5bfb8f
EZ
121282011-07-14 Eli Zaretskii <eliz@gnu.org>
12129
12130 * subr.el (version<, version<=, version=): Mention "-CVS" and
12131 "-12345" alpha version numbers.
12132
27fa387a
CY
121332011-07-14 Chong Yidong <cyd@stupidchicken.com>
12134
12135 * bindings.el: Add advertised binding for set-mark-command
12136 (Bug#5772).
12137
8bdfa064
CY
121382011-07-14 Chong Yidong <cyd@stupidchicken.com>
12139
12140 * bindings.el (mode-line-other-buffer):
12141 * bookmark.el (bookmark-bmenu-2-window):
12142 * bs.el (bs-cycle-next, bs-cycle-previous):
12143 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12144 switch-to-buffer.
12145
12146 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 12147 Delete.
8bdfa064 12148
5eba16a3
JB
121492011-07-14 Juanma Barranquero <lekktu@gmail.com>
12150
12151 * follow.el (follow-debug-message, follow-redisplay):
12152 * jka-cmpr-hook.el (with-auto-compression-mode):
12153 Fix typos in docstrings.
12154
15853710
LMI
121552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12156
a28e4607
LMI
12157 * subr.el (with-silent-modifications): Clarify somewhat what the
12158 macro inhibits (bug#6525).
12159
15853710
LMI
12160 * simple.el (eval-expression): Note what it does if called
12161 interactively (bug#6495).
12162
bee0fcef
CY
121632011-07-13 Chong Yidong <cyd@stupidchicken.com>
12164
b796c9b7
SM
12165 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12166 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
12167
12168 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12169 Remove switch-to-buffer.
12170
58274504
LMI
121712011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12172
bd2fcc8d
LMI
12173 * files.el (make-directory): Clarify that an error will be raised
12174 if there's an error (bug#6397).
12175
0f04b32c
LMI
12176 * startup.el (initial-buffer-choice): Add `none' as a choice
12177 (bug#6234).
12178
465c5fc8
LMI
12179 * subr.el (add-hook): Clarify section about buffer-local hooks
12180 (bug#6218).
12181
58274504
LMI
12182 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12183
bead9a43
JB
121842011-07-13 Juanma Barranquero <lekktu@gmail.com>
12185
12186 * tabify.el (untabify): Preserve the current column so that point
12187 doesn't move (bug#6032).
12188
3af98a7b
LMI
121892011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12190
b796c9b7
SM
12191 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12192 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 12193
6240145a
GM
121942011-07-13 Glenn Morris <rgm@gnu.org>
12195
12196 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12197 (dired-insert-directory): Give a message the first time
12198 if ls is found not to support --dired.
12199
1d8c2ccc
LMI
122002011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12201
12202 * simple.el (toggle-truncate-lines): Clarify what is toggled
12203 (bug#5580). Text by Drew Adams.
12204
5fc4038e
CY
122052011-07-13 Chong Yidong <cyd@stupidchicken.com>
12206
12207 * simple.el (blink-matching-open): Make the error message from the
12208 last change less verbose.
12209
bf6012e5
DN
122102011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12211
12212 * font-lock.el (font-lock-comment-face): Use the high contrast
12213 "yellow" color for font-lock-comment-face on low color terminals
12214 using a dark background color (bug#4221).
12215
343c3b5a
LMI
122162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12217
7e9505c5
LMI
12218 * dired.el (dired-insert-set-properties): Make the doc string
12219 reflect what it does now (bug#5325).
12220
c26fdcf5
LMI
12221 * simple.el (blink-matching-open): Say that we were unable to find
12222 the match within the limit, if we're limited (bug#5122).
12223
bb388cc5
LMI
12224 * international/mule-cmds.el (prefer-coding-system): Add an
12225 example (bug#4869).
12226
343c3b5a
LMI
12227 * progmodes/etags.el (tags-search): Document `file-list-form'
12228 (bug#4731).
12229
2a517d45
LM
122302011-07-13 Lawrence Mitchell <wence@gmx.li>
12231
12232 * net/browse-url.el (browse-url-default-browser)
12233 (browse-url-browser-function): Make the default browser choice a
12234 bit more logical (bug#4300). Also clean up the doc string.
12235
b6c78ef2
JB
122362011-07-13 Juanma Barranquero <lekktu@gmail.com>
12237
12238 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12239 binary endings (bug#4440).
12240
1c4dd947
LMI
122412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12242
a2014063
LMI
12243 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12244 which can be pretty annoying (bug#8971).
12245
9c9c2d88
LMI
12246 * jka-compr.el (jka-compr-verbose): New variable, and use
12247 throughout (bug#8971).
12248
1c4dd947
LMI
12249 * info.el (Info-find-file): Fall back on the installation
12250 directory if we can't find the info node anywhere else.
12251
a1c9f41b
SO
122522011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12253
12254 * vc/vc.el (vc-revert-file):
12255 Don't set file time-stamp in the past. (Bug#5181)
12256
536f3d36
LMI
122572011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12258
7152b011
LMI
12259 * files.el (after-find-file): Give a better error message when
12260 trying to find a symlink that points to a file that doesn't exist
12261 (bug#4398).
12262
536f3d36
LMI
12263 * progmodes/cc-vars.el: Remove (probably) misleading comment
12264 (bug#4396).
12265
460c0fba
JB
122662011-07-12 Johan Bockgård <bojohan@gnu.org>
12267
12268 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12269
7a6bda45
CY
122702011-07-12 Chong Yidong <cyd@stupidchicken.com>
12271
12272 * mouse-sel.el: Hack restoring functionality, while keeping
12273 compatibility with 2010-07-03 changes to mouse selection.
12274 (mouse-sel-primary-overlay): New var.
12275 (mouse-sel-selection-alist): Use it.
12276 (mouse-sel-mode): Doc fix; remove points that are default features
12277 of mouse.el.
12278
c79598ef
JB
122792011-07-12 Johan Bockgård <bojohan@gnu.org>
12280
12281 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12282 Fix previous fix (bug#2490).
12283
ff8be6ef
RW
122842011-07-12 Roland Winkler <winkler@gnu.org>
12285
b796c9b7
SM
12286 * textmodes/bibtex.el (bibtex-initialize):
12287 Use pop-to-buffer-same-window.
ff8be6ef
RW
12288 (bibtex-search-entries): Fix interactive call.
12289
296ba3ee
LMI
122902011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12291
f5242a02 12292 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12293 Fontise bytecomp Error lines more correctly (bug#2490).
12294 Fix suggested by Johan Bockgård.
f5242a02 12295
296ba3ee
LMI
12296 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12297
12298 * dired-x.el (dired-guess-default): Use `delete-dups'.
12299
f69fd0d2
CY
123002011-07-12 Chong Yidong <cyd@stupidchicken.com>
12301
12302 * dired.el (dired-mark-prompt):
12303 * dired-aux.el (dired-read-shell-command): Doc fix.
12304
eab5dc07
LMI
123052011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12306
b796c9b7
SM
12307 * mail/sendmail.el (sendmail-query-once):
12308 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12309 emacs -Q.
12310
12311 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12312
eab5dc07
LMI
12313 * cus-edit.el (custom-file): Take an optional no-error variable.
12314 (customize-save-variable): Set the variable, and give a warning if
12315 running under "emacs -q".
12316
a1e65d42
JB
123172011-07-11 Juanma Barranquero <lekktu@gmail.com>
12318
12319 * loadhist.el (unload-feature-special-hooks):
12320 Add `auto-coding-functions', `fill-nobreak-predicate' and
12321 `find-directory-functions' (bug#5327).
12322
1d52da10
LMI
123232011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12324
be958f1d
LMI
12325 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12326
5bedb26c
LMI
12327 * cus-edit.el (custom-guess-name-alist): -alist variables should
12328 use the `alist' type (bug#3120). Suggested by Drew Adams.
12329
1d52da10
LMI
12330 * printing.el: Add documentation to all the `pr-toggle-' commands.
12331
cd394be1 123322011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12333
12334 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12335 backends where it makes sense (bug#2623).
12336
dcc88d8a
LMI
123372011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12338
c3de9feb
LMI
12339 * dired-x.el (dired-guess-default): Remove duplicate shell command
12340 entries (bug#2028).
8a93078b 12341 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12342 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12343
dcc88d8a
LMI
12344 * subr.el (remove-duplicates): New conveniency function.
12345
505e3645
LMI
123462011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12347
12348 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12349 (bug#1526).
12350
123512011-07-10 Martin Rudalics <rudalics@gmx.at>
12352
12353 * window.el (display-buffer-normalize-default): Don't invert
12354 meaning of even-window-heights. Reported by Eli Zaretskii
12355 <eliz@gnu.org>.
12356
455e4fa1
BR
123572011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12358
12359 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12360
8e0bc3e9
CY
123612011-07-10 Chong Yidong <cyd@stupidchicken.com>
12362
12363 * window.el (display-buffer): Fix arguments to
12364 display-buffer-reuse-window in last change.
12365
fa7c3228
CY
12366 * faces.el (link): Use a less saturated blue on light backgrounds.
12367
12368 * startup.el (fancy-startup-text, fancy-about-text)
12369 (fancy-startup-tail): Use font-lock faces, for background safety.
12370
c0a7f300
BN
123712011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12372
b796c9b7
SM
12373 * emulation/viper-cmd.el (viper-change-state-to-vi):
12374 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12375
4dc2a129
MR
123762011-07-09 Martin Rudalics <rudalics@gmx.at>
12377
12378 * window.el (display-buffer-default-specifiers): Remove.
12379 (display-buffer-macro-specifiers): Remove default specifiers.
12380 (display-buffer-alist): Default to nil.
b796c9b7 12381 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12382 (display-buffer-pop-up-window): Allow splitting internal
12383 windows. Check whether a live window was created.
12384 (display-buffer-other-window-means-other-frame)
12385 (display-buffer-normalize-arguments): Rename to
12386 display-buffer-normalize-argument and rewrite. Set the
12387 other-window specifier.
12388 (display-buffer-normalize-special): New function.
12389 (display-buffer-normalize-options): Rename to
12390 display-buffer-normalize-default and rewrite.
12391 (display-buffer-normalize-options-inhibit): Remove.
12392 (display-buffer-normalize-specifiers): Rewrite.
12393 (display-buffer): Process other-window specifier and call
12394 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12395 more faithfully.
b796c9b7 12396 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12397 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12398 (display-buffer-in-window, display-buffer-alist-set):
12399 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12400 <tassilo@member.fsf.org>.
12401
2d43b8c9
LL
124022011-07-09 Leo Liu <sdl.web@gmail.com>
12403
12404 * register.el (insert-register): Restore accidental change on
12405 2011-06-26. (Bug#9028)
12406
7f9b7c53
GM
124072011-07-09 Glenn Morris <rgm@gnu.org>
12408
12409 * subr.el (remq): Handle the empty list. (Bug#9024)
12410
f042cfd8
AS
124112011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12412
12413 * mail/sendmail.el (send-mail-function): No longer delay custom
12414 initialization.
12415 * custom.el (custom-initialize-delay): Doc fix.
12416
856b2f11
SM
124172011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12418
12419 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12420
afae1d68
MA
124212011-07-08 Michael Albinus <michael.albinus@gmx.de>
12422
12423 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12424 human-friendly prompt.
12425
0757af94
SM
124262011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12427
12428 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12429 provided by a particular plugin.
12430
d760b731
LMI
124312011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12432
12433 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12434 save customizations (with "emacs -Q"), just set the variable
12435 instead of erroring out.
12436
12437 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12438
cd79ce90
JL
124392011-07-08 Juri Linkov <juri@jurta.org>
12440
12441 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12442 (archive-zip-update-case): Use 7z if found by `executable-find'.
12443 The order of searching the available programs is the same as in
12444 `archive-zip-extract' (bug#8968).
12445
14cc04aa
CY
124462011-07-07 Chong Yidong <cyd@stupidchicken.com>
12447
12448 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12449 (menu-bar-options-menu): Tweak descriptions.
12450
0a1848ec
LMI
124512011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12452
12453 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12454 menu items into verb phrases (bug#1421). Also refill to fit under
12455 80 columns.
12456
f5bd0689
CY
124572011-07-07 Chong Yidong <cyd@stupidchicken.com>
12458
538e85c6
CY
12459 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12460 (Info-read-node-name): Doc fix (Bug#1084).
12461
f5bd0689
CY
12462 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12463 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12464 (end-of-sexp, beginning-of-sexp)
12465 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12466 (forward-symbol, forward-same-syntax, word-at-point)
12467 (sentence-at-point): Doc fix (Bug#1144).
12468
56ec5115
LMI
124692011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12470
f3f8e37f
LMI
12471 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12472 should cover it (bug#1281).
12473
0757af94 12474 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12475
e9fce1ac 12476 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12477 negotiation fails, then possibly try again with a non-encrypted
12478 connection (bug#9017).
12479
56ec5115
LMI
12480 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12481 be used.
12482
c2f9aec8
RS
124832011-07-07 Richard Stallman <rms@gnu.org>
12484
12485 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12486 property, and handle its changed format.
12487 Look for the correct line number.
12488 Use file's line contents (but not past first =) to find
12489 correct line in message.
12490
ef7b981d 124912011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12492
12493 * international/characters.el (build-unicode-category-table):
12494 Delete it.
0757af94 12495 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12496
0757af94 12497 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12498 to src/chartab.c.
12499 (get-char-code-property): Call unicode-property-table-internal to
12500 load a file. Call get-unicode-property-internal where necessary.
12501 (put-char-code-property): Call unicode-property-table-internal to
12502 load a file. Call put-unicode-property-internal where necessary.
12503 put-unicode-property-internal where necessary.
0757af94
SM
12504 (char-code-property-description):
12505 Call unicode-property-table-internal to load a file.
c805dec0
KH
12506
12507 * international/charprop.el:
12508 * international/uni-bidi.el:
12509 * international/uni-category.el:
12510 * international/uni-combining.el:
12511 * international/uni-comment.el:
12512 * international/uni-decimal.el:
12513 * international/uni-decomposition.el:
12514 * international/uni-digit.el:
12515 * international/uni-lowercase.el:
12516 * international/uni-mirrored.el:
12517 * international/uni-name.el:
12518 * international/uni-numeric.el:
12519 * international/uni-old-name.el:
12520 * international/uni-titlecase.el:
12521 * international/uni-uppercase.el: Regenerate.
12522
12523 * loadup.el: Load international/charprop.el before
12524 international/characters.
12525
e14b388a
CY
125262011-07-07 Chong Yidong <cyd@stupidchicken.com>
12527
12528 * window.el (next-buffer, previous-buffer): Signal an error if
12529 called from a minibuffer window.
12530
12531 * bindings.el: Revert 2011-07-04 change.
12532
354cf0ba
RS
125332011-07-06 Richard Stallman <rms@gnu.org>
12534
12535 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12536 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12537 Treat markers like ints.
12538 (rmail-mime-entity): Doc fix.
12539
a48868a7
LMI
125402011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12541
4906cd3d
LMI
12542 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12543 defcustom again for backwards compatibility.
12544
e0457abe
LMI
12545 * simple.el (shell-command-on-region): Fill.
12546
d67f7e1f
LMI
12547 * dired-aux.el (dired-kill-line): Add a doc string.
12548
fe204702
LMI
12549 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12550 to "\\sw\\|\\s_" (bug#358).
12551
a48868a7
LMI
12552 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12553 (dired-unmark-backward): Ditto.
12554 (dired-flag-backup-files): Ditto.
12555
12556 * dired-x.el (dired-mark-sexp): Ditto.
12557
aa8a705c
RS
125582011-07-06 Richard Stallman <rms@gnu.org>
12559
12560 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12561 (rmail-mime-entity): New arg TRUNCATED.
12562 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12563 New functions.
12564 (rmail-mime-save): Warn if entity is truncated.
12565 (rmail-mime-toggle-hidden): Likewise, for showing.
12566 (rmail-mime-process-multipart): Record when an entity is truncated.
12567
a9a936b9
RS
12568 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12569 if ENTITY is a string.
12570
1f2b92cb
LMI
125712011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12572
f4f73198 12573 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12574 of faces when `M-C-x'-ing their definitions (bug#8378).
12575 Also clean up the code slightly.
f4f73198 12576
12b16734 12577 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12578 because that makes the colors go away.
12b16734 12579
f0691d22
LMI
12580 * mail/sendmail.el (send-mail-function): Change the default to
12581 `sendmail-query-once'.
9e87df06 12582 (sendmail-query-once): Add an autoload cookie.
f0691d22 12583
1f2b92cb
LMI
12584 * net/network-stream.el (network-stream-open-starttls): Try using
12585 a plain connection even if the server offered STARTTLS, and we
12586 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12587 capability. This should make smtpmail.el work in slightly more
12588 configurations.
12589
1cdd2a1b
MA
125902011-07-06 Michael Albinus <michael.albinus@gmx.de>
12591
12592 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12593 New defun.
12594 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12595
fbcc67e2
MM
125962011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12597
12598 * progmodes/sql.el: Version 3.0
0757af94 12599 (sql-product-alist): Add product :completion-object,
fbcc67e2 12600 :completion-column, and :statement attributes.
0757af94 12601 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12602 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12603 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12604 ansi keywords.
12605 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12606 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12607 (sql-oracle-show-reserved-words): New function for development.
12608 (sql-product-font-lock): Simplify for source code buffers.
12609 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12610 New functions.
12611 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12612 (sql-mode-map): Add statement movement functions.
12613 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12614 New variable.
fbcc67e2
MM
12615 (sql-statement-regexp, sql-beginning-of-statement)
12616 (sql-end-of-statement, sql-signum): New functions.
0757af94 12617 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12618 (sql-show-sqli-buffer): Bug fix.
12619 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12620 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12621 with sql-interactive-mode.
12622 (sql-save-connection): Save buffer local settings.
0757af94 12623 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12624 (sql-product-interactive): Bug fix.
12625 (sql-preoutput-hold): New variable.
12626 (sql-interactive-remove-continuation-prompt): Bug fixes.
12627 (sql-debug-redirect): New variable.
12628 (sql-str-literal): New function.
12629 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12630 Redesign.
fbcc67e2
MM
12631 (sql-oracle-save-settings, sql-oracle-restore-settings)
12632 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12633 (sql-completion-object, sql-completion-column)
12634 (sql-completion-sqlbuf): New variables.
12635 (sql-build-completions-1, sql-build-completions)
12636 (sql-try-completion): New functions.
12637 (sql-read-table-name): Use them.
12638 (sql-contains-names): New buffer local variable.
12639 (sql-list-all, sql-list-table): Use it.
12640 (sql-oracle-completion-types): New variable.
12641 (sql-oracle-completion-object, sql-sqlite-completion-object)
12642 (sql-postgres-completion-object): New functions.
12643
d4eaeab1
GM
126442011-07-06 Glenn Morris <rgm@gnu.org>
12645
12646 * window.el (pop-to-buffer): Doc fix.
12647
322b7dab 126482011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12649
12650 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12651
322b7dab 126522011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12653
322b7dab 12654 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12655
322b7dab 12656 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12657
605dd5bf
CY
126582011-07-05 Chong Yidong <cyd@stupidchicken.com>
12659
12660 * button.el (button): Inherit from link face. Suggested by Dan
12661 Nicolaescu.
12662
7dbfa719
SM
126632011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12664
3db614b0
SM
12665 * progmodes/gdb-mi.el: Fit in 80 columns.
12666 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12667 switch-to-buffer.
12668
7dbfa719
SM
12669 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12670 if imenu is simply not configured (bug#8941).
12671
919d884a
KM
126722011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12673
12674 * allout.el (allout-post-undo-hook): New allout outline-change
12675 event hook to signal undo activity.
12676 (allout-post-command-business): Run allout-post-undo-hook if an
12677 undo just occurred.
7dbfa719
SM
12678 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12679 * allout-widgets.el (allout-widgets-after-undo-function):
12680 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12681 in the vicinity of an undo.
12682 (allout-widgets-mode): Include allout-widgets-after-undo-function
12683 on the new allout-post-undo-hook.
12684
450a0f09
SM
126852011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12686
12687 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12688 Let define-derived-mode define it.
12689 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12690 cycles of abbrev-table inheritance (bug#8998).
12691
2de69e00
RW
126922011-07-05 Roland Winkler <winkler@gnu.org>
12693
12694 * textmodes/bibtex.el: Add support for biblatex.
12695 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12696 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12697 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12698 (bibtex-entry-alist, bibtex-field-alist): New variables.
12699 (bibtex-entry-field-alist): Obsolete alias for
12700 bibtex-BibTeX-entry-alist.
12701 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12702 (bibtex-set-dialect): New command.
12703 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12704 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12705 Bind via bibtex-set-dialect.
2de69e00
RW
12706 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12707 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12708 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12709 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12710 Define via bibtex-set-dialect.
450a0f09
SM
12711 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12712 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12713 (bibtex-vec-push, bibtex-vec-incr): New functions.
12714 (bibtex-format-entry, bibtex-field-list)
12715 (bibtex-print-help-message, bibtex-validate)
12716 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12717
2dcdbdd9
SM
127182011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12719
12720 * progmodes/compile.el (compilation-goto-locus):
12721 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12722 * bs.el (bs-cycle-next, bs-cycle-previous):
12723 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12724 * bindings.el (mode-line-other-buffer):
12725 * autoinsert.el (auto-insert):
12726 * arc-mode.el (archive-extract):
12727 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12728
b27640fe
JB
127292011-07-05 Juanma Barranquero <lekktu@gmail.com>
12730
12731 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12732 Fix check of `emacs-lock-unlockable-modes'.
12733 Coerce true values of `emacs-lock--try-unlocking' to t.
12734
53bbe3ad
JB
127352011-07-05 Juanma Barranquero <lekktu@gmail.com>
12736
12737 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12738 * emacs-lock.el: New file.
12739
1d3cdbc7
JD
127402011-07-05 Julien Danjou <julien@danjou.info>
12741
12742 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12743 than `boundp' to check if face is set.
12744
9173deec
JB
127452011-07-05 Juanma Barranquero <lekktu@gmail.com>
12746
12747 * register.el (registerv-make):
12748 * window.el (window-min-height): Fix typos in docstrings.
12749
869795d6
JD
127502011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12751
9173deec 12752 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12753 Update doc string.
12754
b768cdcd
JB
127552011-07-04 Juanma Barranquero <lekktu@gmail.com>
12756
12757 * server.el (server-execute): Catch quit and call
12758 `server-return-error' to pass the error back to emacsclient and
12759 close the connection (bug#8942).
12760
13aa217b
KM
127612011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12762
12763 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12764 insecure exception for current topic. Also note that auto-saves
12765 are handled differently.
12766
5d3385a0 12767 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12768 State variables for tracking auto-save inhibition situation.
12769
12770 (allout-write-contents-hook-handler): Rename from
12771 'allout-write-file-hook-handler', and describe how it depends on
12772 write-contents-functions sensitivity to non-nil value to prevent
12773 file write.
12774
12775 (allout-auto-save-hook-handler): Remove. auto-save does not check
12776 this in individual buffers, only in the starting buffer, so this
12777 is not the right way for us to inhibit auto-save in a buffer
12778 according to its condition.
12779
12780 (allout-mode): Use new allout-write-contents-hook-handler, and
12781 only with write-contents-functions. Remove auto-save provisions -
12782 they're implemented elsewhere.
12783
12784 (allout-before-change-handler): If undo is in progress, note that
12785 for attention of allout-post-command-business.
12786
12787 (allout-post-command-business): If the command we're following was
12788 an undo, check for change in the status of encrypted items and
12789 adjust auto-save inhibitions accordingly.
12790
12791 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12792 according to whether there are or aren't any plain-text topics
12793 pending encryption.
12794
2dcdbdd9 12795 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12796 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12797 if there are plain-text topics pending encryption.
13aa217b
KM
12798
12799 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12800 buffer-saved-size and some allout state to not inhibit auto-saves
12801 if there are no longer any plain-text topics pending encryption.
12802
0757af94
SM
12803 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12804 No longer provide for exemption of the current topic.
13aa217b 12805
ac89b32c
JL
128062011-07-04 Juri Linkov <juri@jurta.org>
12807
12808 Add 7z operations to delete and save changed members (bug#8968).
12809 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12810 New defcustoms.
12811 (archive-7z-write-file-member): New function.
12812 (archive-7z-summarize): Fix the number of dashes in the
12813 listing output.
12814
8fa39615
SM
128152011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12816
12817 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12818 (bug#8958).
12819
2f11b3f1
CY
128202011-07-04 Chong Yidong <cyd@stupidchicken.com>
12821
d66fef2b
CY
12822 * bindings.el: Ignore next-buffer and previous-buffer in
12823 minibuffer-local-map.
12824
2f11b3f1
CY
12825 * font-lock.el (font-lock-builtin-face): Change light background
12826 color to dark slate blue (Bug#6693).
12827
f932a347
WD
128282011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12829
12830 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12831
c8af70e1
SM
128322011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12833
12834 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12835 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12836 Add switch-to-buffer.
12837
f158badc
LMI
128382011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12839
12840 * isearch.el (isearch-search-fun-function): Clarify further the
12841 meaning of the function returned.
12842
6d95bd46
MA
128432011-07-04 Michael Albinus <michael.albinus@gmx.de>
12844
12845 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12846
12847 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12848 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12849 Use it.
12850 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12851 `tramp-default-remote-path' does not exist.
12852 (tramp-send-command-and-read): New optional argument NOERROR.
12853 (tramp-open-connection-setup-interactive-shell)
12854 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12855 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12856 (tramp-process-sentinel): Flush also process' connection property.
12857 (tramp-sh-handle-start-file-process): Do not set process
12858 sentinel. It is done now ...
12859 (tramp-maybe-open-connection): ... here. (Bug#8929)
12860
909e6b67
MK
128612011-07-04 MON KEY <monkey@sandpframing.com>
12862
12863 * play/animate.el (animate-string): Doc fixes and allow changing
12864 the buffer name (bug#5417).
12865
128662011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12867
c8af70e1 12868 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12869
f34755dc
PE
128702011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12871
396cec72
PE
12872 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12873 This is simpler and helps future-proof the code.
12874 (timer-until): Use time-subtract and float-time.
08235028 12875 (timer--time-less-p): Use time-less-p.
f34755dc 12876
56e6cc31
JB
128772011-07-04 Juanma Barranquero <lekktu@gmail.com>
12878
3abb79e5
JB
12879 * type-break.el (timep): Use the value of `float-time' to avoid a
12880 byte-compiler warning.
12881
56e6cc31
JB
12882 * server.el (server-eval-and-print): Return any result, even nil.
12883
7b9430b4
PE
128842011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12885
12886 * type-break.el: Accept time formats that the builtins accept.
12887 (timep, type-break-time-difference): Accept any format that
12888 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12889 This is simpler and helps future-proof the code.
12890 (type-break-time-difference): Round rather than ignoring
12891 subseconds components.
12892
3034e9e7
LMI
128932011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12894
12895 * info.el (Info-apropos-matches): Make non-interactive, since it
12896 doesn't seem to do anything useful as a command (bug#8829).
12897
1485f4c0
CY
128982011-07-03 Chong Yidong <cyd@stupidchicken.com>
12899
12900 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12901 Move from faces.el.
1485f4c0
CY
12902 (frame-default-terminal-background): New function.
12903
12904 * custom.el (custom-push-theme): Don't record faces in `changed'
12905 theme; this doesn't work correctly for per-frame face settings.
12906 (disable-theme): Use face-set-after-frame-default to reset faces.
12907 (custom--frame-color-default): New function.
12908
9fa3dd45
LMI
129092011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12910
c8af70e1 12911 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12912 (bug#8769).
12913
6cbbc20c
KR
129142011-03-29 Kevin Ryde <user42@zip.com.au>
12915
12916 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12917 `perl-Test2' extend to match possible "fail #N" rep count
12918 (bug#8377).
12919
c7f98048
LMI
129202011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12921
65676592
LMI
12922 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12923 `smtpmail-via-smtp' now returns the error instead of nil.
12924
c7f98048
LMI
12925 * isearch.el (isearch-search-fun-function): Clarify the doc string
12926 (bug#8101).
12927
56e6cc31 129282011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12929
12930 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12931 unnecessary spaces (bug#8987).
12932
2b216704
LMI
129332011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12934
12935 * net/network-stream.el (open-network-stream): Use the
12936 :end-of-capability command thoughout.
12937
129382011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12939
12940 * net/network-stream.el (open-network-stream): Add the
12941 :end-of-capability command parameter, used by pop3.el.
12942
36adf6ce
LMI
129432011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12944
1ca0da0e
LMI
12945 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12946
fc00f69c
LMI
12947 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12948 for list)" (bug#6475).
12949
28fd8759 12950 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12951 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12952 an error (bug#6297).
12953
0dd8b6da
LMI
12954 * man.el (Man-reference-regexp): Allow matching possible
12955 word-wrapped references (bug#6289).
12956
ce1438d6
LMI
12957 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12958 for consistency with the other vc buffers (bug#6197).
12959 (vc-checkin): Ditto.
12960
12961 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12962
36adf6ce
LMI
12963 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12964
e83cc1f7
LMI
129652011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12966
8a20ca4c
LMI
12967 * custom.el (defcustom): Clarify that :set is only used in the
12968 Customize user interface (bug#6089).
12969
83319045
LMI
12970 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12971 associated with a file, refuse to run instead of erroring out
12972 (bug#6084).
12973
a8392169
LMI
12974 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12975 the doc string, since it appears that using `fill-column' always
12976 controls the width (bug#7845).
12977
e83cc1f7
LMI
12978 * simple.el (shell-command-on-region): Say where the error output
12979 went if `shell-command-default-error-buffer' is set (bug#6857).
12980
e47ca23b
KM
129812011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12982
12983 * allout.el (allout-yank-processing): Adjust cursor position for
12984 backwards-deleted space.
12985
12986 (allout-rebullet-heading): Register changes with
12987 allout-exposure-changed-hook, so the modified topic is properly
12988 decorated.
12989
5cf56143
LMI
129902011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12991
08549772
LMI
12992 * minibuffer.el (completion-in-region): Document PREDICATE
12993 (bug#7136).
12994
48e96771
LMI
12995 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12996 of keyword/argument pairs (bug#6904).
12997
c8af70e1
SM
12998 * replace.el (multi-occur):
12999 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 13000
e17d05e2
LMI
130012011-07-02 Drew Adams <drew.adams@oracle.com>
13002
13003 * dired.el (dired-mark-if): Make the message about whether it's
13004 marking or unmarking clearer (bug#8523).
13005
063b0e45
LMI
130062011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13007
13008 * disp-table.el (display-table-print-array): New function.
13009 (describe-display-table): Use it to print the vectors more pretty
13010 (Bug#8859).
13011
28545e04
MR
130122011-07-02 Martin Rudalics <rudalics@gmx.at>
13013
13014 * window.el (window-state-get-1): Don't assign clone numbers.
13015 Add clone-of item to list of window parameters.
13016 (window-state-put-2): Don't process clone numbers.
13017 (display-buffer-alist): Fix doc-string.
13018
3349e122
SM
130192011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
13020
13021 * subr.el (remq): Don't allocate if it's not needed.
13022 (keymap--menu-item-binding, keymap--menu-item-with-binding)
13023 (keymap--merge-bindings): New functions.
13024 (keymap-canonicalize): Use them to refine the canonicalization.
13025 * minibuffer.el (minibuffer-local-completion-map)
13026 (minibuffer-local-must-match-map): Move initialization from C.
13027 (minibuffer-local-filename-completion-map): Move initialization from C;
13028 don't inherit from anything here.
13029 (minibuffer-local-filename-must-match-map): Make obsolete.
13030 (completing-read-default): Use make-composed-keymap to combine
13031 minibuffer-local-filename-completion-map with either
13032 minibuffer-local-must-match-map or
13033 minibuffer-local-filename-completion-map.
13034
d224ac83
GM
130352011-07-01 Glenn Morris <rgm@gnu.org>
13036
3de63bf8
GM
13037 * type-break.el (type-break-time-sum): Use dolist.
13038
d224ac83
GM
13039 * textmodes/flyspell.el (flyspell-word-search-backward):
13040 Replace CL function.
13041
1a1e3f32
SM
130422011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13043
fe3f64d5
SM
13044 * mouse.el (mouse--strip-first-event): New function.
13045 (function-key-map): Use it to map fringe clicks to normal clicks
13046 by default.
13047
eb604e34
SM
13048 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13049 (vc-bzr-revision-completion-table): Add support for annotate and date.
13050
1a1e3f32
SM
13051 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13052 inherit from parent.
13053
5bd35902
LMI
130542011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13055
ace6c69c 13056 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 13057 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 13058
191e2bed
LMI
13059 * dired.el (dired-mode): Fix up the doc string as suggested by
13060 Drew Adams (bug#8817).
13061
5bd35902
LMI
13062 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13063 cookie, since the manual says that it should be possible to add
13064 this function to `find-file-hook' (bug#8709).
13065
eee8207a
TZ
130662011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13067
13068 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13069 here. Noted Ted Zlatanov as the maintainer.
13070 (cfengine-common-settings, cfengine-common-syntax): New functions
13071 to set up common things between `cfengine-mode' and
13072 `cfengine3-mode'.
13073 (cfengine3-mode): New mode.
13074 (cfengine3-defuns cfengine3-defuns-regex
13075 (cfengine3-class-selector-regex cfengine3-category-regex)
13076 (cfengine3-vartypes cfengine3-font-lock-keywords)
13077 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 13078 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 13079
36b148cf
MA
130802011-07-01 Michael Albinus <michael.albinus@gmx.de>
13081
13082 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13083
13084 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13085
0bf4ba9a
MR
130862011-07-01 Martin Rudalics <rudalics@gmx.at>
13087
13088 * window.el (same-window-buffer-names, same-window-regexps)
13089 (same-window-p, special-display-frame-alist)
13090 (special-display-popup-frame, special-display-function)
13091 (special-display-buffer-names, special-display-regexps)
13092 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13093 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13094 (split-window-preferred-function, split-height-threshold)
13095 (split-width-threshold, even-window-heights)
13096 (display-buffer-mark-dedicated, window-splittable-p)
13097 (split-window-sensibly, window-safely-shrinkable-p):
13098 Un-obsolete.
13099 (display-buffer): Don't spread args with function specifier
13100 because special-display-popup-frame won't like it.
13101
35837f51
PE
131022011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13103
d0672f86
PE
13104 Time-stamp simplifications and fixes.
13105 These improve accuracy slightly, and future-proof the code
13106 against some potential changes to current-time format.
13107
b9444d97
PE
13108 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13109 by using time-since and float-time.
13110
0ef923dc
PE
13111 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13112 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13113 + NNN microseconds".
13114
2f81380d
PE
13115 * type-break.el (type-break-time-sum): Rewrite using time-add.
13116
845b5c3e
PE
13117 * play/hanoi.el (hanoi-current-time-float): Remove.
13118 All uses replaced by float-time.
13119
ee6f1be0
PE
13120 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13121 This yields a more-accurate answer.
13122 (rng-time-to-float): Remove; no longer needed.
13123
fe955043
PE
13124 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13125
5777162a
PE
13126 * calendar/timeclock.el (timeclock-seconds-to-time):
13127 Defalias to seconds-to-time, since they're the same thing.
13128
3103f8b6 13129 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 13130 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
13131 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13132
0e61a35f
SM
131332011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13134
13135 * window.el (bury-buffer): Don't iconify the only frame.
13136 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13137 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13138
ddd63a1e
CY
131392011-07-01 Chong Yidong <cyd@stupidchicken.com>
13140
0e61a35f
SM
13141 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13142 Add mouse-yank-primary.
ddd63a1e 13143
055f4923
TZ
131442011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13145
13146 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13147
6a2fb145
SM
131482011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13149
13150 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13151 (find-library-name): Use it to find relative load names when provided
13152 absolute file name (bug#8803).
13153
fd4983f2
LMI
131542011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13155
887d14ad
LMI
13156 * textmodes/flyspell.el (flyspell-word): Consider words that
13157 differ only in case as potential doublons (bug#5687).
13158
c53dc7fc
LMI
13159 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13160 Remove two rather uninteresting debugging-like messages to make
13161 debbugs.el more silent.
13162
fd4983f2
LMI
13163 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13164 a password-like phrase.
13165
7a71b18d 131662011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
13167
13168 * progmodes/cc-guess.el: New file.
13169
6a2fb145 13170 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
13171
13172 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13173 derived from `c-basic-common-init'.
13174
13175 * progmodes/cc-mode.el (top-level): Require cc-guess.
13176 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13177
1fa280a3
LM
131782011-06-30 Lawrence Mitchell <wence@gmx.li>
13179
13180 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13181
e6597158
AM
131822011-06-30 Alan Mackenzie <acm@muc.de>
13183
1fa280a3
LM
13184 * progmodes/cc-engine.el (c-guess-continued-construct):
13185 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
13186 lock is disabled. Name this case as "CASE G".
13187
68ba37fb
KM
131882011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13189
13190 * allout.el (allout-yank-processing): Fix injection of extra space
13191 between bullet and non-whitespace character in first topic when
13192 pasting, ensuring that the actual spacing in the pasted topic
13193 following the bullet char is preserved. This extra space was
13194 causing pasted encrypted topics to get a decrypted status even
13195 when the content was actually still encrypted. Now the decryption
13196 status from before the paste is preserved.
13197
13198 (allout-flag-region): Set all allout overlays so they evaporate
13199 when reduced to zero length (evanescent), to prevent overlay
13200 leakage.
13201
887a0b34
GM
132022011-06-30 Glenn Morris <rgm@gnu.org>
13203
94b9acce
GM
13204 * w32-fns.el (w32-charset-info-alist): Declare.
13205
1d9b46d4
GM
13206 * find-dired.el (find-grep-options): Simplify.
13207
cc232200
GM
13208 * term/ns-win.el (ns-set-resource): Declare.
13209
28e77c46
GM
13210 * ses.el (row, col): Declare dynamic variables honestly.
13211
887a0b34
GM
13212 * textmodes/reftex-parse.el (index-tags): Declare.
13213
658d8eb8
CY
132142011-06-30 Chong Yidong <cyd@stupidchicken.com>
13215
13216 * cus-edit.el (customize-push-and-save): New function.
13217
13218 * files.el (hack-local-variables-confirm): Use it.
13219
1fa280a3
LM
13220 * custom.el (load-theme): New arg NO-CONFIRM.
13221 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
13222 (custom-enabled-themes): Doc fix.
13223
13224 * cus-theme.el (customize-create-theme)
13225 (custom-theme-merge-theme): Callers to load-theme changed.
13226
bb617717
LMI
132272011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13228
d61bdd5d
LMI
13229 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13230 short URLs have at least one dot in them (bug #7614).
13231
bb617717
LMI
13232 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13233 nil, because using a pty is apparently too slow (bug #895).
13234
2f31f37a
LMI
132352011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13236
13237 * mail/sendmail.el (sendmail-query-once): New function.
13238 (sendmail-query-once-function): New variable.
13239
3076b24e
GM
132402011-06-29 Glenn Morris <rgm@gnu.org>
13241
faf2a174
GM
13242 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13243
3076b24e
GM
13244 * ses.el (top-level): Require cl when compiling.
13245 (ses-set-localvars): Fix error statement.
13246 Call it at compile time to silence a storm of warnings.
13247
5386012d
MR
132482011-06-29 Martin Rudalics <rudalics@gmx.at>
13249
13250 * window.el (normalize-live-buffer): Rename to
13251 window-normalize-buffer.
13252 (normalize-live-frame): Rename to window-normalize-frame.
13253 (normalize-any-window): Rename to window-normalize-any-window.
13254 (normalize-live-window): Rename to window-normalize-live-window.
13255 (make-window-atom): Rename to window-make-atom.
13256 (window-resize-reset): Rename to window--resize-reset.
13257 (window-resize-reset-1): Rename to window--resize-reset-1.
13258 (resize-mini-window): Rename to window--resize-mini-window.
13259 (resize-subwindows-skip-p): Rename to
13260 window--resize-subwindows-skip-p.
13261 (resize-subwindows-normal): Rename to
13262 window--resize-subwindows-normal.
13263 (resize-subwindows): Rename to window--resize-subwindows.
13264 (resize-other-windows): Rename to window--resize-siblings.
13265 (resize-this-window): Rename to window--resize-this-window.
13266 (resize-root-window): Rename to window--resize-root-window.
13267 (resize-root-window-vertically): Rename to
13268 window--resize-root-window-vertically.
13269 (normalize-buffer-to-display): Rename to
13270 window-normalize-buffer-to-display.
13271 (normalize-buffer-to-switch-to): Rename to
13272 window-normalize-buffer-to-switch-to.
13273 Correspondingly update all callers of the functions listed
13274 above.
13275 (display-buffer-alist, display-buffer-normalize-arguments)
13276 (display-buffer-normalize-options, display-buffer)
13277 (display-buffer-alist-set): Use "function" instead of
13278 "fun-with-args".
13279
1176868d
CY
132802011-06-28 Chong Yidong <cyd@stupidchicken.com>
13281
13282 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13283 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13284 debbugs.gnu.org. Mention acknowledgment email.
13285
20a7a65f
LMI
132862011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13287
13288 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13289 buffer multibyteness, since it shouldn't matter.
13290
5f45cca5
MR
132912011-06-28 Martin Rudalics <rudalics@gmx.at>
13292
13293 * window.el (display-buffer-in-side-window): Handle dedicated
13294 windows as in display-buffer-reuse-window.
13295 (display-buffer-normalize-alist): Use value of override
13296 specifier.
13297 (display-buffer-normalize-specifiers): Use value of
13298 other-window-means-other-frame specifier.
13299 (display-buffer-alist): Rewrite some texts in widgets.
13300 (display-buffer): Spread arguments when calling function
13301 specified by fun-with-args.
13302
ad85fe1f
DD
133032011-06-28 Deniz Dogan <deniz@dogan.se>
13304
1fa280a3
LM
13305 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13306 Unnest `let'.
da68c4c8 13307
ad85fe1f
DD
13308 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13309 selectors (Bug#5732).
ec49bd31 13310 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13311
a08cc025
JA
133122011-06-27 Jari Aalto <jari.aalto@cante.net>
13313
13314 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13315 (eshell-ls-date-format): New defcustom.
13316 (eshell-ls-file): Use it.
13317
e2b551c5
SM
133182011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13319
13320 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13321
8982b231
KY
133222011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13323
13324 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13325 (ange-ftp-make-tmp-name): New arg.
13326 (ange-ftp-file-local-copy): Use it.
13327
36c9fa27
J
133282011-06-27 Jambunathan K <kjambunathan@gmail.com>
13329
13330 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13331 no-conversion (Bug#8870).
13332
d68443dc
MR
133332011-06-27 Martin Rudalics <rudalics@gmx.at>
13334
13335 * window.el (window-right, window-left, window-child)
13336 (window-child-count, window-last-child)
13337 (window-iso-combination-p, walk-window-tree-1)
13338 (window-atom-check-1, window-tree-1, delete-window)
13339 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13340 new naming conventions - window-vchild, window-hchild,
13341 window-next and window-prev are now called window-top-child,
13342 window-left-child, window-next-sibling and window-prev-sibling
13343 respectively.
d615d6d2
MR
13344 (resize-window-reset): Rename to window-resize-reset.
13345 (resize-window-reset-1): Rename to window-resize-reset-1.
13346 (resize-window): Rename to window-resize.
13347 (window-min-height, window-min-width)
13348 (resize-mini-window, resize-this-window, resize-root-window)
13349 (resize-root-window-vertically, adjust-window-trailing-edge)
13350 (enlarge-window, shrink-window, maximize-window)
13351 (minimize-window, delete-window, quit-restore-window)
13352 (split-window, balance-windows, balance-windows-area-adjust)
13353 (balance-windows-area, window-state-put-2)
13354 (display-buffer-even-window-sizes, display-buffer-set-height)
13355 (display-buffer-set-width, set-window-text-height)
13356 (fit-window-to-buffer): Rename all "resize-window" prefixed
13357 calls to use the "window-resize" prefix convention.
13358 (display-buffer-alist): Fix symbol for label specifier.
13359 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13360 corresponding specifier.
13361 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13362
b6458526
VB
133632011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13364
13365 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13366 convention.
13367 (ses-call-printer): Does not pass an empty string to formatter when the
13368 cell is empty to keep from barking printer Calc math-format-value.
13369
d31fd9ac
RS
133702011-06-27 Richard Stallman <rms@gnu.org>
13371
43d5bf84
RS
13372 * battery.el (battery-mode-line-limit): New variable.
13373 (battery-update): Handle it.
13374
d31fd9ac
RS
13375 * mail/rmailmm.el (rmail-mime-process-multipart):
13376 Handle truncated messages.
13377
819a6054
GM
133782011-06-27 Glenn Morris <rgm@gnu.org>
13379
13380 * progmodes/flymake.el (flymake-err-line-patterns):
13381 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13382
cedc73f2
VB
133832011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13384
819a6054 13385 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13386 (ses--clean-!, ses--clean-_): New functions.
13387 (ses-range): Add configurability of readout order, and conversion
13388 to Calc vector.
13389
5e5d49b6
VB
13390 * ses.el (ses-repair-cell-reference-all): New function.
13391 (ses-cell-symbol): Set macro as safe, so that it can be used in
13392 formulas.
13393
56e6cc31 13394 * ses.el: Update cycle detection algorithm.
90ca8b49 13395 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13396 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13397 (ses-set-localvars): New function.
13398 (ses-make-cell): Add property-list as a cell element.
13399 (ses-cell-property-get-fun, ses-cell-property-get)
13400 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13401 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13402 New functions.
90ca8b49
VB
13403 (ses-cell-property-set, ses-cell-property-pop)
13404 (ses-cell-property-get-handle): New macro.
13405 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13406 New aliases, used for code readability.
13407 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13408 cycle detection.
13409 (ses-self-reference-early-detection): New defcustom.
fac916bf 13410 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13411 (ses-mode): Use ses-set-localvars.
13412 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13413 before lauching the update processing.
13414 (ses-initialize-Dijkstra-attempt): New function.
13415 (ses-recalculate-cell): Update for cycle detection based on
13416 Dijkstra algorithm.
13417
2bb63e81
VB
13418 * ses.el: Fix commenting and indenting convention.
13419
c9d29fb8
SM
134202011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13421
13422 * bs.el (bs-cycle-next): Complete last change.
13423
d8e4b68b
JB
134242011-06-27 Drew Adams <drew.adams@oracle.com>
13425
13426 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13427
40098786
LMI
134282011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13429
c9d29fb8
SM
13430 * net/network-stream.el (network-stream-open-starttls):
13431 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13432 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13433
40098786
LMI
13434 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13435 to binary to possibly avoid line encoding issues on Windows (among
13436 other things).
13437
468d09d4
LMI
134382011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13439
13440 * net/network-stream.el (open-network-stream): Return an :error
13441 saying what the problem was, if possible.
13442
13443 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13444 server.
13445
13446 * net/network-stream.el (network-stream-open-starttls): If we
13447 wanted to use STARTTLS, and the server offered it, but we weren't
13448 able to because we had no STARTTLS support, then close the connection.
13449 (open-network-stream): Return an :error element, if present.
13450
16f07dd7
CY
134512011-06-26 Chong Yidong <cyd@stupidchicken.com>
13452
88821ca0
CY
13453 * hl-line.el (hl-line-sticky-flag): Doc fix.
13454 (global-hl-line-sticky-flag): New option (Bug#8323).
13455 (global-hl-line-highlight): Obey it.
13456
16f07dd7
CY
13457 * vc/vc.el (vc-revert-show-diff): Default to t.
13458
6b5ccddf
KM
134592011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13460
c9d29fb8
SM
13461 * allout-widgets.el (allout-widgets-post-command-business):
13462 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13463 undecorated when an isearch is continued past, and isearch
13464 automatically collapses them. This leads to "widget leaks", where
13465 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13466 hidden widgets can slow down cursor travel, substantially.
13467 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13468 so we're doing without this nicety.
13469
13470 (allout-widgets-tally-string): Don't try to do a hash-table-count
13471 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13472 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13473 *Messages* when allout-widgets-maintain-tally is t.
13474
355f2e07
MR
134752011-06-26 Martin Rudalics <rudalics@gmx.at>
13476
13477 * window.el (display-buffer-normalize-argument): Rename to
13478 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13479 LABEL argument. Respect special-display-function when popping up
13480 a new frame. Fix code searching for a window showing the buffer
13481 on another frame.
c9d29fb8
SM
13482 (display-buffer-normalize-specifiers):
13483 Call display-buffer-normalize-arguments.
355f2e07
MR
13484 (display-buffer-in-window): Don't undedicate the window if its
13485 buffer remains the same.
13486 Reported by Drew Adams <drew.adams@oracle.com>.
13487 (display-buffer-alist): Add choice for same-window macro
13488 specfier.
13489 (display-buffer): Mention special meaning of LABEL argument in
13490 doc-string. Fix quoting. Don't pop up a new frame even as
13491 fallback.
13492
7ca8fc42
JB
134932011-06-26 Juanma Barranquero <lekktu@gmail.com>
13494
13495 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13496 avoid deleting the current window in some cases (bug#8911).
13497
bc312254
AS
134982011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13499
13500 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13501 (Bug#8934)
13502
2db18f3f
LMI
135032011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13504
c9d29fb8
SM
13505 * net/network-stream.el (network-stream-open-starttls):
13506 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13507 (network-stream-open-tls): Ditto.
13508
6302e0d3
LL
135092011-06-26 Leo Liu <sdl.web@gmail.com>
13510
13511 * register.el (registerv): New struct.
13512 (registerv-make): New function.
c9d29fb8
SM
13513 (jump-to-register, describe-register-1, insert-register):
13514 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13515 struct. (Bug#8415)
13516
5fdd4046
CY
135172011-06-26 Chong Yidong <cyd@stupidchicken.com>
13518
2afef60a
CY
13519 * vc/vc.el (vc-revert-show-diff): New defcustom.
13520 (vc-diff-internal): New arg specifying diff buffer.
13521 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13522 reuse an existing *vc-diff* buffer (Bug#8927).
13523
5fdd4046
CY
13524 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13525
e93db24a
GM
135262011-06-26 Glenn Morris <rgm@gnu.org>
13527
13528 * progmodes/f90.el (f90-critical-indent): New option.
13529 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13530 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13531 (f90-mode): Doc fix.
13532 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13533 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13534 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13535 (f90-match-end): Handle block, critical.
13536
eefff499
GM
135372011-06-25 Glenn Morris <rgm@gnu.org>
13538
f6ba4cc9
GM
13539 * calendar/diary-lib.el (diary-included-files): Doc fix.
13540 (diary-include-files): New function, extracted from
13541 diary-include-other-diary-files and diary-mark-included-diary-files.
13542 (diary-include-other-diary-files, diary-mark-included-diary-files):
13543 Just call diary-include-files.
13544 (diary-mark-entries): Reset diary-included-files on first call.
13545
16712304
GM
13546 * calendar/diary-lib.el (diary-mark-entries)
13547 (diary-mark-included-diary-files):
13548 Visit included diary-files in temp buffers.
13549
5d8e0d43
GM
13550 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13551 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13552 (f90-start-block-re, f90-imenu-generic-expression)
13553 (f90-looking-at-program-block-start, f90-no-block-limit):
13554 Add support for submodules.
13555
ccf7a5d5
GM
13556 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13557 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13558
11fdef7d 135592011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13560
13561 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13562 buffer-file-type before setting its value, to avoid disastrous
eefff499 13563 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13564
74f53697
JB
135652011-06-25 Juanma Barranquero <lekktu@gmail.com>
13566
13567 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13568
13569 * ses.el (ses-unload-function):
13570 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13571
13572 * proced.el (proced-unload-function):
13573 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13574
18a4ce5e
AR
135752011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13576
13577 * server.el (server-create-window-system-frame): Add parameters arg.
13578 (server-process-filter): Doc fix. Handle frame-parameters.
13579
519d22cc
JB
135802011-06-25 Juanma Barranquero <lekktu@gmail.com>
13581
13582 Fix bug#8730, bug#8781.
13583
13584 * loadhist.el (unload--set-major-mode): New function.
13585 (unload-feature): Use it.
13586
13587 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13588 (python-unload-function): New function.
13589
c206f5b0
SM
135902011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13591
13592 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13593
f9ad64f3
GS
135942011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13595
13596 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13597 the candidates list.
13598
7d0da90e
JB
135992011-06-24 Juanma Barranquero <lekktu@gmail.com>
13600
13601 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13602
14b4e83d
RS
136032011-06-23 Richard Stallman <rms@gnu.org>
13604
13605 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13606 (rmail-variables): Set next-error-move-function.
13607 (rmail-what-message): Take argument POS.
13608 (rmail-next-error-move): New function.
13609
273d2baf
SM
136102011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13611
13612 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13613 messages for adjacent non-terminals.
13614
56c2cc9a
RS
136152011-06-23 Richard Stallman <rms@gnu.org>
13616
13617 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13618 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13619 (rmail-start-mail): Don't specify use of rmail-mail-return;
13620 that's done by mail-bury now.
13621 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13622
d59eb518
MA
136232011-06-23 Michael Albinus <michael.albinus@gmx.de>
13624
13625 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13626 SIZE is a number.
13627
02cfc6d6
MR
136282011-06-23 Martin Rudalics <rudalics@gmx.at>
13629
13630 * window.el (get-lru-window, get-mru-window)
13631 (get-largest-window): Never return a minibuffer window.
13632 (display-buffer-pop-up-window): Fix a bug that could lead to
13633 reusing the minibuffer window.
13634 (display-buffer): Pass original specifier argument to
13635 display-buffer-function instead of the normalized one.
13636 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13637
4e323265
LL
136382011-06-22 Leo Liu <sdl.web@gmail.com>
13639
13640 * minibuffer.el (completing-read-function)
13641 (completing-read-default): Move from minibuf.c
13642
7a70468f
RS
136432011-06-22 Richard Stallman <rms@gnu.org>
13644
50718fc2
RS
13645 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13646 to Rmail even if not started by a special Rmail command.
13647
7a70468f
RS
13648 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13649 Copy the buffer currently showing just one message.
13650
297dde5a
RW
136512011-06-22 Roland Winkler <winkler@gnu.org>
13652
13653 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13654 (bibtex-clean-entry): First delete the old key so that a
13655 customized algorithm for generating the new key does not get
13656 confused by the old key.
13657 (bibtex-url): Obey regexp of first step.
13658 (bibtex-search-entries): Do not use add-to-list with local
13659 list-var.
13660
97bb1093
LMI
136612011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13662
13663 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13664 stored a user name, then query for the password first, instead of
13665 waiting for SMTP to give an error message and the trying again.
13666
1c0f1a19
JD
136672011-06-22 Lawrence Mitchell <wence@gmx.li>
13668
13669 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13670 BUFFER in call-process.
13671
396f7c9d
LMI
136722011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13673
13674 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13675 QUIT twice.
ddb7ffee
LMI
13676 (smtpmail-try-auth-methods): Require user name and password from
13677 auth-source.
396f7c9d 13678
8998d1b3
MR
136792011-06-22 Martin Rudalics <rudalics@gmx.at>
13680
13681 * window.el (display-buffer-default-specifiers)
13682 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13683 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13684 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13685
13686 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13687 (special-display-frame-alist, special-display-popup-frame):
13688 Remove duplicate declarations. These are now in window.el.
13689
4ea31e07
LMI
136902011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13691
c9d29fb8
SM
13692 * mail/smtpmail.el (smtpmail-via-smtp):
13693 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13694 server supports it. SMTP servers that support STARTTLS commonly
13695 require it.
13696
13697 * net/network-stream.el (network-stream-open-starttls): Support
13698 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13699 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13700
95f41d9a
LMI
13701 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13702 upgrades with `open-network-stream', and rely solely on
13703 auth-source for all credentials. Big changes throughout the file,
13704 but in particular:
c9d29fb8
SM
13705 (smtpmail-auth-credentials): Remove.
13706 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13707 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13708 MAIL FROM, too.
95f41d9a 13709
c9d29fb8
SM
13710 * net/network-stream.el (network-stream-open-starttls):
13711 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13712 STARTTLS.
13713 (auth-source): Require.
13714 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13715 (network-stream-certificate): Change cert-cert to cert and
13716 cert-key to key.
4ea31e07 13717
065ec2c7
MA
137182011-06-21 Michael Albinus <michael.albinus@gmx.de>
13719
13720 * net/tramp-cache.el (top): Don't load the persistency file when
13721 "emacs -Q" has been called.
13722
cd93b359
DR
137232011-06-21 Tim Harper <timcharper@gmail.com>
13724
d8e4b68b
JB
13725 * term/ns-win.el (ns-initialize-window-system):
13726 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13727 resource to NO as it is not yet supported by the NS port.
13728
ae9c0411
JB
137292011-06-21 Juanma Barranquero <lekktu@gmail.com>
13730
13731 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13732 (list-dynamic-libraries): ...not here.
13733
7f3f739f
LL
137342011-06-21 Leo Liu <sdl.web@gmail.com>
13735
13736 * subr.el (sha1): Implement sha1 using secure-hash.
13737
327c8fb1
MR
137382011-06-21 Martin Rudalics <rudalics@gmx.at>
13739
13740 * window.el (display-buffer-alist): In default value do not
13741 enforce searching a window on any but the selected frame.
13742 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13743 (display-buffer-select-window): Remove function.
13744 (display-buffer-in-window): When a window on another frame gets
13745 reused, do not select it any more but just raise its frame if
13746 necessary (Bug#8851) and (Bug#8856).
13747 (display-buffer-normalize-options): Handle pop-up-frames related
13748 options more faithfully.
13749 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13750 window if it is on another frame.
c9d29fb8
SM
13751 (display-buffer-alist, display-buffer-default-specifiers):
13752 Don't make new frame unsplittable by default.
9e9de014
MR
13753 (display-buffer-normalize-argument): Fix doc-string typo and use
13754 'same-frame-other-window instead of 'other-window when associating
13755 with display-buffer-macro-specifiers.
327c8fb1 13756
7cf3f556
VB
137572011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13758
13759 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13760 New functions.
13761 (5x5-mode-map, 5x5-mode-menu): Bind them.
13762 (5x5-draw-grid): Tweak the solver's rendering.
13763
60a406cf
SM
137642011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13765
13766 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13767 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13768
d8e4b68b 137692011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13770
13771 * menu-bar.el: Use function variable instead of switch-to-buffer.
13772 (menu-bar-select-buffer-function): New variable.
60a406cf 13773 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13774
478d6f95
SM
137752011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13776
13777 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13778 variable's status.
13779
ca530739
JD
137802011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13781
13782 * x-dnd.el (x-dnd-version-from-flags)
13783 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13784 and long as number (Bug#8899).
13785 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13786
bcd70d97
SM
137872011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13788
60a406cf 13789 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13790 (completion-try-completion, completion-all-completions): Compute the
13791 metadata argument if it's missing; make it optional (bug#8795).
13792
60a406cf 13793 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13794 (widget-complete): Use new :completion-function property.
13795 (widget-completions-at-point): New function.
13796 (default): Use :completion-function instead of :complete.
60a406cf
SM
13797 (widget-default-completions): Rename from widget-default-complete;
13798 Rewrite.
bcd70d97
SM
13799 (widget-string-complete, widget-file-complete, widget-color-complete):
13800 Remove functions.
13801 (file, symbol, function, variable, coding-system, color):
13802 * international/mule-cmds.el (default-input-method, charset)
13803 (language-info-custom-alist):
13804 * cus-edit.el (face): Use new property :completions.
13805
13806 * progmodes/pascal.el (pascal-completions-at-point): New function.
13807 (pascal-mode): Use it.
13808 (pascal-mode-map): Use completion-at-point.
13809 (pascal-toggle-completions): Make obsolete.
13810 (pascal-complete-word, pascal-show-completions):
13811 * progmodes/octave-mod.el (octave-complete-symbol):
13812 Redefine as obsolete alias.
13813 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13814 Signal absence of completion info for old Octave,
13815 (inferior-octave-complete): Redefine as obsolete alias.
13816 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13817 (meta-completions-at-point): Rename from meta-complete-symbol and
13818 adapt it for use on completion-at-point-functions.
13819 (meta-common-mode): Use it.
13820 (meta-looking-at-backward, meta-match-buffer): Remove.
13821 (meta-complete-symbol): Redefine as obsolete alias.
13822 (meta-common-mode-map): Use completion-at-point.
13823 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13824 (makefile-mode-map): Use completion-at-point.
13825 (makefile-completions-at-point): Rename from makefile-complete and
13826 adapt it for use on completion-at-point-functions.
13827 (makefile-mode): Use it.
13828 (makefile-complete): Redefine as obsolete alias.
13829
aebf69c8
DD
138302011-06-20 Deniz Dogan <deniz@dogan.se>
13831
13832 * net/rcirc.el: Delete trailing whitespaces once and for all.
13833
bfbbb27d
DC
138342011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13835
13836 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13837
d264a46b
CY
138382011-06-19 Chong Yidong <cyd@stupidchicken.com>
13839
4ca009e5
CY
13840 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13841
d264a46b
CY
13842 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13843
fbf5b3ce
MR
138442011-06-19 Martin Rudalics <rudalics@gmx.at>
13845
13846 * window.el (display-buffer-other-window-means-other-frame):
13847 Call display-buffer-normalize-alist.
13848 (display-buffer-normalize-specifiers-1): Rename to
13849 display-buffer-normalize-argument. New argument other-frame.
13850 Rewrite.
13851 (display-buffer-normalize-specifiers-2): Rename to
13852 display-buffer-normalize-options.
13853 (display-buffer-normalize-alist-1): New function.
13854 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13855 display-buffer-normalize-alist.
13856 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13857 (display-buffer-normalize-options-inhibit): New variable.
13858 (display-buffer-normalize-specifiers): Rewrite calling
13859 display-buffer-normalize-alist,
13860 display-buffer-normalize-argument, and
13861 display-buffer-normalize-options. Don't call the latter if
13862 display-buffer-normalize-options-inhibit is non-nil.
13863 (frame-auto-delete): New option.
13864 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13865 (window-list-no-nils, window-state-ignored-parameters)
13866 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13867 (window-state-put-1, window-state-put-2, window-state-put):
13868 New functions.
9a028c23
MR
13869 (display-buffer-normalize-options): Move special-display-p group
13870 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13871
6d10d800
CY
138722011-06-18 Chong Yidong <cyd@stupidchicken.com>
13873
6420d28b
CY
13874 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13875 groups (Bug#8776).
13876 (rx-submatch-n): New function.
13877 (rx): Document it.
13878
ddb8b596
CY
13879 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13880 (Bug#8768).
13881
13882 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13883
77080289
CY
13884 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13885
61dfb316
CY
13886 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13887 anytime existing face settings are present (Bug#8889).
13888
6d10d800
CY
13889 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13890 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13891 Remove unused argument.
13892
be3fb2b8
MR
138932011-06-18 Martin Rudalics <rudalics@gmx.at>
13894
bcd70d97
SM
13895 * window.el (display-buffer-default-specifiers):
13896 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13897 pop-up-window-min-width, and another reuse-window specifier
13898 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13899 (display-buffer-normalize-specifiers-2):
13900 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13901 pop-up-windows is unset. Add a reuse-window specifier for the
13902 case popping up a new window fails.
13903 (special-display-popup-frame): Remove double quoting.
28dec25a 13904 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13905
1c6d8c76
SM
139062011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13907
13908 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13909 according to comint-completion-addsuffix.
13910
13911 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13912 (pcomplete-suffix-list): Mark as obsolete.
13913 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13914 pcomplete-seen in the closure.
13915 (pcomplete-comint-setup): Setup completion-at-point as well.
13916 (pcomplete--entries): New function.
13917 (pcomplete--env-regexp): New var.
13918 (pcomplete-entries): Rewrite to work with partial-completion and
13919 without relying on pcomplete-suffix-list.
13920 (pcomplete-pare-list): Remove, unused.
13921
25aef8b8
MR
139222011-06-17 Martin Rudalics <rudalics@gmx.at>
13923
13924 * window.el (display-buffer-alist): Set pop-up-window-min-height
13925 and pop-up-window-min-width in default value. Reported by
13926 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13927 other-window-means-other-frame.
13928 (display-buffer-macro-specifiers): Comment out entry for
13929 other-window specifier.
13930 (display-buffer-other-window-means-other-frame): New function.
13931 (display-buffer-normalize-specifiers-1): New arguments
13932 buffer-name and label. Treat other-window case specially.
13933 (display-buffer-normalize-specifiers-2): Treat other-window case
13934 specially.
13935 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13936 (display-buffer-normalize-specifiers):
13937 Call display-buffer-normalize-specifiers-3.
25aef8b8 13938
dbad4f69
MR
139392011-06-17 Martin Rudalics <rudalics@gmx.at>
13940
13941 * window.el (same-window-p): Fix two typos introduced when
13942 adding with-no-warnings.
d1067961
MR
13943 (display-buffer-normalize-specifiers-1): Don't check
13944 pop-up-frames for 'unset initialization.
13945 (display-buffer-normalize-specifiers-2): Major rewrite using
13946 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13947 (pop-up-frames, display-buffer-reuse-frames)
13948 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13949 Suggested by David Engster <deng@randomsample.de>.
13950 (even-window-heights): Initialize to 'unset.
13951 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13952 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13953 other window case.
dbad4f69 13954
9b9c9e3a
MR
139552011-06-16 Martin Rudalics <rudalics@gmx.at>
13956
bcd70d97
SM
13957 * window.el (display-buffer-normalize-specifiers-1):
13958 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13959 second argument of display-buffer (Bug#8865).
981d5c09
MR
13960 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13961 (switch-to-buffer-other-window-same-frame)
13962 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13963 Adams (Bug#8875).
9c2755e9
MR
13964 (display-buffer): Don't check noninteractive when calling
13965 display-buffer-pop-up-frame.
13966 (display-buffer-pop-up-frame): Never pop up a frame in
13967 noninteractive mode (Bug#8857).
67222e1d
MR
13968 (enlarge-window, shrink-window): Don't report an error when the
13969 window can't be resized as requested (Bug#8862).
9b9c9e3a 13970
2b75be67
SM
139712011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13972
9ffdd3ba
SM
13973 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13974
cb581a67
SM
13975 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13976
2b75be67
SM
13977 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13978
8c0e3589
AM
139792011-06-15 Alan Mackenzie <acm@muc.de>
13980
cb581a67
SM
13981 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13982 for declarators, disable knr checking to speed up for normal files.
13983 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13984
b96e6cde
LMI
139852011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13986
4bba86e6
LMI
13987 * net/network-stream.el (open-network-stream): Add the keyword
13988 :always-query-capabilities for the case where you want to force a
13989 `plain' network connection, but the protocol still requires the
13990 capabilitiy command (i.e., SMTP and EHLO).
13991
2b75be67 13992 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13993 consistency with other `-live-p' functions.
13994
efdcdbf8
SM
139952011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13996
13997 * window.el (same-window-buffer-names, same-window-regexps)
13998 (special-display-frame-alist, special-display-popup-frame)
13999 (special-display-function, special-display-buffer-names)
14000 (special-display-regexps, pop-up-frame-alist)
14001 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14002 (pop-up-windows, split-window-preferred-function)
14003 (split-height-threshold, split-width-threshold, even-window-heights)
14004 (display-buffer-mark-dedicated): Don't encourage the use of
14005 display-buffer-alist from Elisp code.
14006
c5cde042
DN
140072011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
14008
14009 * progmodes/python.el (python-mode): Derive from prog-mode.
14010 * progmodes/ps-mode.el (ps-mode):
14011 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 14012 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
14013 * progmodes/ld-script.el (ld-script-mode): Likewise.
14014
baa1c9ab
MR
140152011-06-15 Martin Rudalics <rudalics@gmx.at>
14016
14017 * window.el (display-buffer-alist): Trim default value to avoid
14018 popping up a new frame (Bug#8857) or reusing an arbitrary window
14019 on another frame.
14020 (display-buffer): Do not fall back on popping up a new frame in
14021 batch mode (Bug#8857).
14022
c5dd5a51
CY
140232011-06-14 Chong Yidong <cyd@stupidchicken.com>
14024
14025 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14026 (custom-theme-summary): New function.
14027 (customize-themes): Use it.
14028
d647b7c4
GM
140292011-06-13 Glenn Morris <rgm@gnu.org>
14030
14031 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14032
9481c002
MR
140332011-06-13 Martin Rudalics <rudalics@gmx.at>
14034
357f93d2
MR
14035 * help.el (help-window): Remove variable.
14036 (help-window-point-marker, temp-buffer-max-height)
14037 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14038 (help-print-return-message): Don't set help-window.
14039 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14040 (help-window-setup-finish): Remove.
14041 (help-window-display-message, help-window-setup)
14042 (with-help-window): Major rewrite based on new
14043 display-buffer-window variable.
14044
14045 * help-mode.el (help-mode-finish): Remove help-window related
14046 code.
14047
14048 * view.el (view-exits-all-viewing-windows): Remove reference to
14049 view-return-to-alist in doc-string.
14050 (view-return-to-alist): Make obsolete.
14051 (view-buffer): Call pop-to-buffer-same-window and remove
14052 undo-window code.
14053 (view-buffer-other-window): Call pop-to-buffer-other-window and
14054 simplify code. Ignore second argument.
14055 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14056 simplify code. Ignore second argument.
14057 (view-return-to-alist-update): Make obsolete.
14058 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14059 Rewrite using quit-restore window parameters.
2b75be67
SM
14060 (view-mode-exit): Rename second argument to EXIT-ONLY.
14061 Rewrite using quit-restore-window.
357f93d2
MR
14062 (View-exit, View-exit-and-edit, View-leave, View-quit)
14063 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14064 appropriate arguments.
14065 (view-end-message): Use quit-restore window parameter.
14066
9481c002
MR
14067 * window.el (display-buffer-function): Rewrite doc-string.
14068 (display-buffer-window, display-buffer-alist): New variables.
14069 (display-buffer-split-specifiers)
14070 (display-buffer-side-specifiers)
14071 (display-buffer-macro-specifiers): New constants.
14072 (display-buffer-even-window-sizes, display-buffer-set-height)
14073 (display-buffer-set-width, display-buffer-select-window)
14074 (display-buffer-in-window, display-buffer-reuse-window)
14075 (display-buffer-split-window-1, display-buffer-split-window)
14076 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14077 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14078 (display-buffer-in-side-window, normalize-buffer-to-display)
14079 (display-buffer-normalize-specifiers-1)
14080 (display-buffer-normalize-specifiers-2)
2b75be67
SM
14081 (display-buffer-normalize-specifiers, display-buffer-frame):
14082 New functions.
9481c002
MR
14083 (display-buffer): Major rewrite.
14084 (display-buffer-other-window, display-buffer-other-frame)
14085 (pop-to-buffer, switch-to-buffer-other-window)
14086 (switch-to-buffer-other-frame): Rewrite.
14087 (display-buffer-same-window, display-buffer-same-frame)
14088 (display-buffer-same-frame-other-window)
14089 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14090 (pop-to-buffer-other-window)
14091 (pop-to-buffer-same-frame-other-window)
14092 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14093 (switch-to-buffer-other-window-same-frame): New functions.
14094 (same-window-p, special-display-p): Rewrite disabling warnings.
14095 Make obsolete.
14096 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14097 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14098 Make obsolete
14099 (same-window-buffer-names, same-window-regexps)
14100 (special-display-frame-alist, special-display-popup-frame)
14101 (special-display-function, special-display-buffer-names)
14102 (special-display-regexps, pop-up-frame-alist)
14103 (pop-up-frame-function, split-window-preferred-function)
14104 (split-height-threshold, split-width-threshold)
14105 (even-window-heights): Make obsolete.
14106
9db51aca
GM
141072011-06-12 Glenn Morris <rgm@gnu.org>
14108
14109 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 14110 Misc simplifications.
9db51aca 14111
39cffb44
MR
141122011-06-12 Martin Rudalics <rudalics@gmx.at>
14113
14114 * window.el (window-safely-shrinkable-p): Restore function which
14115 was inadvertently removed in change from 2011-06-11. Declare as
14116 obsolete.
14117
2b75be67
SM
14118 * calendar/calendar.el (calendar-generate-window):
14119 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
14120 window-safely-shrinkable-p.
14121
a8955be7
GM
141222011-06-12 Glenn Morris <rgm@gnu.org>
14123
14124 * progmodes/fortran.el (fortran-mode-syntax-table):
14125 * progmodes/f90.el (f90-mode-syntax-table):
14126 Set % to punctuation. (Bug#8820)
14127 (f90-find-tag-default): Remove, no longer needed.
14128
f0d4059d
DC
141292011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14130
14131 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14132
1100a63c
CY
141332011-06-11 Chong Yidong <cyd@stupidchicken.com>
14134
14135 * image.el (image-animated-p): Return animation delay in seconds.
14136 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14137 (image-animate-timeout): Remove DELAY argument. Don't assume
14138 every subimage has the same delay; get it from image-animated-p.
14139 (image-animate): Caller changed.
14140
def722bf
MA
141412011-06-11 Michael Albinus <michael.albinus@gmx.de>
14142
14143 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14144 to ignored backtrace functions.
14145
0a2bb1a9
GM
141462011-06-11 Glenn Morris <rgm@gnu.org>
14147
14148 * calendar/appt.el (appt-disp-window-function): Doc fix.
14149 (appt-check): Handle overlapping appointments. (Bug#8337)
14150
6198ccd0
MR
141512011-06-11 Martin Rudalics <rudalics@gmx.at>
14152
14153 * window.el (window-tree-1, window-tree): New functions, moving
14154 the latter to window.el.
14155 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14156 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14157 (bw-refresh-edges): Remove.
14158 (balance-windows-1, balance-windows-2): New functions.
14159 (balance-windows): Rewrite in terms of window tree functions,
14160 balance-windows-1 and balance-windows-2.
14161 (bw-adjust-window): Remove.
14162 (balance-windows-area-adjust): New function with functionality of
14163 bw-adjust-window but using resize-window.
2b75be67
SM
14164 (set-window-text-height): Rewrite doc-string.
14165 Use normalize-live-window and resize-window.
14166 (enlarge-window-horizontally, shrink-window-horizontally):
14167 Rename argument to DELTA.
6198ccd0
MR
14168 (window-buffer-height): New function.
14169 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14170 Rewrite using new window resize routines.
2b75be67
SM
14171 (kill-buffer-and-window, mouse-autoselect-window-select):
14172 Use ignore-errors instead of condition-case.
6198ccd0
MR
14173 (quit-window): Call delete-frame instead of delete-windows-on
14174 for the only buffer on frame.
14175
9397e56f
MR
141762011-06-10 Martin Rudalics <rudalics@gmx.at>
14177
14178 * loadup.el (top-level): Load window before files for the sake
14179 of replace-buffer-in-windows.
14180
14181 * files.el (read-buffer-to-switch)
14182 (switch-to-buffer-other-window)
2b75be67
SM
14183 (switch-to-buffer-other-frame, display-buffer-other-frame):
14184 Move to window.el.
9397e56f
MR
14185
14186 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14187 (previous-buffer): Move to window.el.
14188
14189 * bindings.el (unbury-buffer): Move to window.el.
14190
14191 * window.el (delete-other-windows-vertically): Move after
14192 definition of delete-other-windows.
14193 (other-window, delete-windows-on, replace-buffer-in-windows):
14194 Move here from window.c.
14195 (record-window-buffer, unrecord-window-buffer)
14196 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14197 (switch-to-next-buffer): New functions.
14198 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14199 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
14200 (previous-buffer): Move here from simple.el.
14201 Call switch-to-prev-buffer.
9397e56f
MR
14202 (bury-buffer): Move here from buffer.c. Switch to previous
14203 buffer when window cannot be deleted.
14204 (unbury-buffer): Move here from bindings.el.
14205 (ctl-x-map): Move binding for other-window from window.c to
14206 here.
14207 (read-buffer-to-switch, switch-to-buffer-other-window)
14208 (switch-to-buffer-other-frame): Move here from files.el.
14209 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
14210 (switch-to-buffer): Move here from buffer.c.
14211 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 14212
562dd5e9
MR
142132011-06-10 Martin Rudalics <rudalics@gmx.at>
14214
14215 * window.el (window-min-height, window-min-width): Move here
14216 from window.c. Add defcustoms and rewrite doc-strings.
14217 (resize-mini-window, resize-window): New functions.
14218 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14219 Move here from window.c.
14220 (maximize-window, minimize-window): New functions.
14221 (delete-window, delete-other-windows, split-window): Move here
14222 from window.c.
14223 (window-split-min-size): New function.
14224 (split-window-keep-point): Mention split-window-above-each-other
14225 instead of split-window-vertically.
2b75be67 14226 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
14227 Rename split-window-vertically to split-window-above-each-other
14228 and provide defalias for old definition.
14229 (split-window-side-by-side, split-window-horizontally):
14230 Rename split-window-horizontally to split-window-side-by-side
14231 and provide defalias for the old definition.
562dd5e9
MR
14232 (ctl-x-map): Move bindings for delete-window,
14233 delete-other-windows and enlarge-window here from window.c.
14234 Replace bindings for split-window-vertically and
14235 split-window-horizontally by bindings for
14236 split-window-above-each-other and split-window-side-by-side.
14237
14238 * cus-start.el (all): Remove entries for window-min-height and
14239 window-min-width. Add entries for window-splits and
14240 window-nest.
14241
f0da764a
GM
142422011-06-09 Glenn Morris <rgm@gnu.org>
14243
80675c21
GM
14244 * calendar/appt.el (appt-mode-line): New function.
14245 (appt-check, appt-disp-window): Use it.
14246
f0da764a
GM
14247 * files.el (hack-one-local-variable-eval-safep):
14248 Allow minor-modes with explicit +/-1 arguments.
14249
59f623b7
TZ
142502011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14251
14252 * term/xterm.el (xterm): Add defgroup.
14253 (xterm-extra-capabilities): Add defcustom to supply known xterm
14254 capabilities, skip querying them, or query them (default).
14255 (terminal-init-xterm): Use it.
14256 (terminal-init-xterm-modify-other-keys): New function to set up
14257 modifyOtherKeys support to simplify `terminal-init-xterm'.
14258
9aab8e0d
MR
142592011-06-09 Martin Rudalics <rudalics@gmx.at>
14260
14261 * window.el (resize-window-reset, resize-window-reset-1)
14262 (resize-subwindows-skip-p, resize-subwindows-normal)
14263 (resize-subwindows, resize-other-windows, resize-this-window)
14264 (resize-root-window, resize-root-window-vertically)
14265 (window-deletable-p, window-or-subwindow-p)
14266 (frame-root-window-p): New functions.
14267
e8b08aee
GM
142682011-06-09 Glenn Morris <rgm@gnu.org>
14269
14270 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14271 (ange-ftp-get-files): Use it.
14272
254c37a5
AK
142732011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14274
14275 * mail/sendmail.el (mail-recover-1, mail-recover):
14276 * files.el (recover-file, recover-session):
14277 Handle dired-listing-switches not being just a single short option.
14278
35d7dbd3
GM
142792011-06-09 Glenn Morris <rgm@gnu.org>
14280
14281 * calendar/appt.el (appt-display-message, appt-disp-window):
14282 Handle lists of appointments.
14283
387522b2
MR
142842011-06-08 Martin Rudalics <rudalics@gmx.at>
14285
2b75be67
SM
14286 * window.el (one-window-p): Move down in code.
14287 Rewrite doc-string.
14288 (window-current-scroll-bars): Rewrite doc-string.
14289 Normalize live window argument.
387522b2
MR
14290 (walk-windows, get-window-with-predicate, count-windows):
14291 Rewrite doc-string. Use window-list-1.
14292 (window-in-direction-2, window-in-direction, get-mru-window):
14293 New functions.
14294
d8e4b68b 142952011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14296
14297 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14298 Doc fix (Bug#8713).
14299
143002011-06-08 Chong Yidong <cyd@stupidchicken.com>
14301
14302 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14303
143042011-06-08 Juanma Barranquero <lekktu@gmail.com>
14305
14306 * loadhist.el (unload-feature-special-hooks):
14307 Add `comint-output-filter-functions'.
14308
0de12c52
IK
143092011-06-08 Ivan Kanis <gnu@kanis.fr>
14310
14311 * calendar/appt.el (appt-check): Move some initializations into the let.
14312
f3d1777e
MR
143132011-06-08 Martin Rudalics <rudalics@gmx.at>
14314
14315 * window.el (window-height): Defalias to window-total-height.
14316 (window-width): Defalias to window-body-width.
14317
18af70d0
CY
143182011-06-07 Chong Yidong <cyd@stupidchicken.com>
14319
14320 * image-mode.el (image-toggle-animation): New command.
14321 (image-mode-map): Bind it to RET.
14322 (image-mode): Update message.
14323 (image-toggle-display-image): Avoid a spurious cache flush.
14324 (image-transform-rotation): Doc fix.
14325 (image-transform-properties): Return quickly in the normal case.
14326 (image-animate-loop): Rename from image-animate-max-time.
14327
2b75be67 14328 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14329 (create-animated-image): Remove unnecessary function.
14330 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14331 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14332 (image-animate-timer): Use car-safe.
14333 (image-animate-timeout): Rename argument.
14334
190b47e6
MR
143352011-06-07 Martin Rudalics <rudalics@gmx.at>
14336
14337 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14338 window.c. Rename first argument to ALL-FRAMES.
14339 Rephrase doc-strings.
14340 (get-buffer-window-list): Rewrite using window-list-1.
14341 Rephrase doc-string.
a1511caf
MR
14342 (window-safe-min-height, window-safe-min-width): New constants.
14343 (window-size-ignore, window-min-size, window-min-size-1)
14344 (window-sizable, window-sizable-p, window-size-fixed-1)
14345 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14346 (window-max-delta-1, window-max-delta, window-resizable)
14347 (window-resizable-p, window-total-height, window-total-width)
14348 (window-body-width): New functions.
14349 (window-full-height-p, window-full-width-p): Rewrite using
14350 window-total-size.
14351 (window-body-height): Rewrite using window-body-size.
190b47e6 14352
85cc1f11
MR
143532011-06-06 Martin Rudalics <rudalics@gmx.at>
14354
14355 * window.el (window-right, window-left, window-child)
14356 (window-child-count, window-last-child, window-any-p)
14357 (normalize-live-buffer, normalize-live-frame)
14358 (normalize-any-window, normalize-live-window)
14359 (window-iso-combination-p, window-iso-combined-p)
14360 (window-iso-combinations)
14361 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14362 (windows-with-parameter, window-with-parameter)
14363 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14364 (window-atom-check, window-side-check, window-check):
14365 New functions.
85cc1f11
MR
14366 (ignore-window-parameters, window-sides, window-sides-vertical)
14367 (window-sides-slots): New variables.
14368 (window-size-fixed): Move down in code. Minor doc-string fix.
14369
e7156492
AS
143702011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14371
14372 * comint.el (comint-dynamic-complete-as-filename)
14373 (comint-dynamic-complete-filename): Correctly call
14374 completion-in-region.
14375
7e821d0d
DD
143762011-06-05 Deniz Dogan <deniz@dogan.se>
14377
14378 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14379 in last change.
14380
ac09b8a1
DD
143812011-06-05 Deniz Dogan <deniz@dogan.se>
14382
14383 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14384 (rcirc): Use it to prompt for encryption.
14385
34699b85
RW
143862011-06-05 Roland Winkler <winkler@gnu.org>
14387
14388 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14389 (bibtex-search-entries): New command bound to C-c C-a.
14390 (bibtex-display-entries): New function.
14391
004dedd3
RW
143922011-06-05 Roland Winkler <winkler@gnu.org>
14393
14394 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14395 (bibtex-insert-kill): After yanking insert newline if necessary.
14396 (bibtex-initialize): Call bibtex-string-files-init only once.
14397 (bibtex-mode): Do not call easy-menu-add.
14398 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14399 (bibtex-yank): Set arg properly if nil.
14400
022fe7ce
RW
144012011-06-05 Roland Winkler <winkler@gnu.org>
14402
2b75be67
SM
14403 * textmodes/bibtex.el (bibtex-search-entry-globally):
14404 New variable.
022fe7ce
RW
14405 (bibtex-search-entry): Use it.
14406
b7c3692a
RW
144072011-06-05 Roland Winkler <winkler@gnu.org>
14408
14409 * textmodes/bibtex.el (bibtex-entry-format): New option
14410 sort-fields.
14411 (bibtex-format-entry, bibtex-reformat): Honor this option.
14412 (bibtex-parse-entry): Return fields in proper order.
14413
8eda563d
JB
144142011-06-05 Juanma Barranquero <lekktu@gmail.com>
14415
14416 * doc-view.el (doc-view-remove-if): Move computation of result out
14417 of `dolist' to silence misleading lexical-binding warning.
14418
7dbe3dbc
CY
144192011-06-04 Chong Yidong <cyd@stupidchicken.com>
14420
14421 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14422 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14423
0c33dd17
MA
144242011-06-04 Michael Albinus <michael.albinus@gmx.de>
14425
14426 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14427 "SunOS 5.10".
14428
f8f91c2b
MA
144292011-06-04 Michael Albinus <michael.albinus@gmx.de>
14430
14431 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14432 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14433 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14434 (tramp-parse-putty):
14435 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14436 (tramp-completion-function-alist-ssh)
14437 (tramp-completion-function-alist-telnet)
14438 (tramp-completion-function-alist-su)
14439 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14440 cookie.
14441
14442 * net/tramp-ftp.el:
14443 * net/tramp-sh.el:
14444 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14445 load "tramp.el" `tramp-set-completion-function'.
14446
e17d9003
SM
144472011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14448
14449 * shell.el: Require and use pcomplete.
14450 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14451 (shell-completion-vars): Set pcomplete-default-completion-function.
14452
6c4cab03
DD
144532011-06-04 Deniz Dogan <deniz@dogan.se>
14454
14455 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14456 `memq' (Bug#8799).
14457
ea9fafe0
SM
144582011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14459
14460 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14461
b3e945d3
JB
144622011-06-02 Juanma Barranquero <lekktu@gmail.com>
14463
14464 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14465 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14466 * vc/log-view.el (log-view-beginning-of-defun):
14467 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14468 (smerge-refine-forward, smerge-refine-chopup-region):
14469 Silence warning for unused `dotimes' counter variables.
14470
7d520089
SM
144712011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14472
14473 * net/tramp.el (tramp-with-progress-reporter): Rename from
14474 with-progress-reporter. Use `declare'.
14475 * net/tramp-smb.el:
14476 * net/tramp-sh.el:
14477 * net/tramp-gvfs.el: Update all uses.
14478
a1c2400f
JB
144792011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14480
14481 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14482 buffer isn't killed before making it current.
14483
2403c841
SM
144842011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14485
14486 Silence various byte-compiler warnings.
14487 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14488 `access-type' and new obsolescence format.
14489 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14490 new format.
14491 (byte-compile-check-variable): New `access-type' argument.
14492 Only warn if the access-type is obsolete.
14493 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14494 (byte-compile-variable-set): Adjust callers.
14495 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14496 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14497 setting it as obsolete.
14498 * simple.el (minibuffer-completing-symbol):
14499 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14500 access as obsolete.
14501 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14502 obsolete yet.
14503 * international/quail.el (quail-mouse-choose-completion): Remove unused
14504 code referring to obsolete var.
14505 (quail-choose-completion-string): Remove.
14506 * server.el (server-clients-with, server-kill-buffer-query-function)
14507 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14508 * proced.el (proced-send-signal):
14509 * emacs-lisp/lisp.el (lisp-complete-symbol):
14510 Replace completion-annotate-function with completion-extra-properties.
14511
2462470b
SM
145122011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14513
fb5b2591
SM
14514 * simple.el (goto-line): Use read-number.
14515 (overriding-map-is-bound): Remove.
14516 (saved-overriding-map): Change default.
14517 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14518 Take the map as argument.
14519 (universal-argument, negative-argument, digit-argument): Use it.
14520 (restore-overriding-map): Adjust.
14521 (do-auto-fill): Use fill-forward-paragraph.
14522 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14523
fd6fa53f
SM
14524 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14525 (minibuffer-inactive-mode): New major mode.
14526 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14527 the *Messages* buffer" hack.
14528 (mouse-popup-menubar): Don't burp if the event is a normal key.
14529
2462470b
SM
14530 Miscellaneous tweaks.
14531 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14532 lexical scoping as in subr.el's dolist and dotimes.
14533 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14534 Silence compiler warning.
14535 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14536 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14537 * international/ccl.el (ccl-compile): Trivial simplification.
14538 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14539 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14540 `printflag' argument.
14541 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14542 Purecopy the whole obsolescence data.
14543
108bf785
LL
145442011-06-01 Leo Liu <sdl.web@gmail.com>
14545
14546 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14547 improve doc-string as suggested by Marco Pessotto
14548 <melmothx@gmail.com>.
14549 (rcirc-print): Fix last change.
14550
30a23501
SM
145512011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14552
14553 * minibuffer.el (complete-with-action): Return nil for the metadata and
14554 boundaries of non-functional tables.
14555 (completion-table-dynamic): Return nil for the metadata.
14556 (completion-table-with-terminator): Add default case, using
14557 complete-with-action.
14558 (completion--metadata): New function.
14559 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14560 to try and avoid pathological performance problems.
14561 (completion--embedded-envvar-table): Return `category' metadata.
14562
bcd54f83
LMI
145632011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14564
14565 * subr.el (process-alive-p): New tiny convenience function.
14566
e227544d
SM
145672011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14568
14569 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14570 content but also its previous major mode.
14571
e8296fdc
HE
145722011-05-31 Helmut Eller <eller.helmut@gmail.com>
14573
4d61f28d 14574 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14575 *Backtrace* buffer when we exit with C-M-c.
14576
620c53a6
SM
145772011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14578
14579 * minibuffer.el: Add metadata method to completion tables.
14580 (completion-category-overrides): New defcustom.
14581 (completion-metadata, completion--field-metadata)
14582 (completion-metadata-get, completion--styles)
14583 (completion--cycle-threshold): New functions.
14584 (completion-try-completion, completion-all-completions):
14585 Add `metadata' argument to choose completion-styles.
14586 (completion--do-completion): Use metadata to choose cycling.
14587 (completion-all-sorted-completions): Use metadata for sorting.
14588 Remove :completion-cycle-penalty which is not needed any more.
14589 (completion--try-word-completion): Add `metadata' argument.
14590 (minibuffer-completion-help): Check metadata for annotation function
14591 and sorting.
14592 (completion-file-name-table): Return `category' metadata.
14593 (minibuffer-completing-file-name): Make obsolete.
14594 * simple.el (minibuffer-completing-symbol): Make obsolete.
14595 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14596 completion-try-completion.
14597
1257e755
SM
145982011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14599
14600 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14601
3767e706
LL
146022011-05-30 Leo Liu <sdl.web@gmail.com>
14603
14604 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14605 (rcirc-print): Decode all incoming messages (bug#8744).
14606 (rcirc-decode-coding-system): Allow value nil for automatic coding
14607 system detection.
3767e706 14608
d1a5d56a
GM
146092011-06-01 Glenn Morris <rgm@gnu.org>
14610
14611 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14612
e8cbec34
CY
146132011-05-29 Chong Yidong <cyd@stupidchicken.com>
14614
14615 * image.el (image-animate-max-time): Allow nil and t values.
14616 Default to nil.
14617 (create-animated-image): Doc fix.
14618 (image-animate-start): Remove second arg; just use
14619 image-animate-max-time.
14620 (image-animate-timeout): Doc fix. Args changed.
14621
14622 * image-mode.el (image-toggle-display-image): Ensure that the
14623 image spec passed to the animate timer is the same object as in
58179cce 14624 the buffer's display property (Bug#6981).
e8cbec34
CY
14625 (image-transform-properties): Doc fix.
14626
14627 * image.el (image-animate-max-time): Default to nil.
14628
159daf87
MR
146292011-05-29 Martin Rudalics <rudalics@gmx.at>
14630
14631 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14632 entire buffer list (Bug#8184).
14633
d66c4c7c
CY
146342011-05-29 Chong Yidong <cyd@stupidchicken.com>
14635
14636 * image.el (imagemagick-types-inhibit)
14637 (imagemagick-register-types): Doc fix.
14638
80aec780
DD
146392011-05-29 Deniz Dogan <deniz@dogan.se>
14640
14641 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14642 default.
14643
1dd3c2d9
CY
146442011-05-29 Chong Yidong <cyd@stupidchicken.com>
14645
14646 * select.el: Don't perform clipboard-manager saving in hooks;
14647 leave the hooks empty.
14648
60e56523
LL
146492011-05-28 Leo Liu <sdl.web@gmail.com>
14650
14651 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14652 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14653 (occur-edit-mode): New major mode (Bug#8463).
14654 (occur-after-change-function): New function.
14655 (occur-engine): Give Occur tags a read-only property.
14656
2b1e1a22
KR
146572011-05-28 Kevin Ryde <user42@zip.com.au>
14658
14659 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14660
5d344e88
CY
146612011-05-28 Chong Yidong <cyd@stupidchicken.com>
14662
8e6ca83d
CY
14663 * bindings.el (help-echo): Make the initial non-indicator dash
14664 empty on graphical terminals (Bug#7295).
14665
5d344e88
CY
14666 * files.el (auto-mode-alist): Move config rule after the
14667 in-stripping one (Bug#8547).
14668
bfbbace7
CY
14669 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14670
fbeba6e2
CY
14671 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14672 setting (Bug#8740).
14673
60ed8c72
AA
146742011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14675
4ac619f0
AA
14676 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14677 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14678 (Bug#8539).
60ed8c72 14679
23db196e
CY
146802011-05-28 Chong Yidong <cyd@stupidchicken.com>
14681
14682 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14683
5012f24c
DK
146842011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14685
14686 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14687 (hs-hide-block-at-point, hs-find-block-beginning)
14688 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14689 (Bug#8279).
14690
6a639b16
GM
146912011-05-28 Glenn Morris <rgm@gnu.org>
14692
14693 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14694
d43eaf2c
CY
146952011-05-28 Chong Yidong <cyd@stupidchicken.com>
14696
5199bde1
CY
14697 * help-fns.el (describe-function-1): If the function is a derived
14698 major mode, print the parent mode.
14699
d43eaf2c
CY
14700 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14701 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14702
423428a8
SM
147032011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14704
0ff8e1ba 14705 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14706 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14707 * progmodes/etags.el (tags-completion-at-point-function):
14708 * info-look.el (info-lookup-completions-at-point): Mark as
14709 non-exclusive.
14710 (info-complete): Adjust accordingly.
14711
423428a8
SM
14712 * info-look.el: Convert to lexical-binding and completion-at-point.
14713 (info-lookup-completions-at-point): New function.
14714 (info-complete): Use it and completion-in-region.
14715
b74aa22b
DA
147162011-05-28 Drew Adams <drew.adams@oracle.com>
14717
14718 * isearch.el: Let M-e start with point at the first mismatched char.
14719 (isearch-fail-pos): New function.
14720 (isearch-edit-string): Use it.
14721
66e2e71d
DK
147222011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14723
14724 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14725
b1890b0f 147262011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14727
14728 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14729 traversal functions for avl-trees.
14730 (avl-tree--stack): New struct.
14731 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14732 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14733 (avl-tree--do-enter): Add optional `updatefun' arg.
14734 Change return value.
eb95d01d 14735 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14736 (avl-tree--do-delete): Add `test' and `nilflag' args.
14737 Change return value.
eb95d01d
TC
14738 (avl-tree-member): Add optional `nilflag'
14739 (avl-tree-member-p): New function.
14740 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14741 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14742 (avl-tree-stack-empty-p): New functions.
14743
3769ddcf
TC
14744 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14745 avl-tree--del-balance1 and make it work both ways.
14746 (avl-tree--del-balance2): Remove.
14747 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14748 make it work both ways.
14749 (avl-tree--enter-balance2): Remove.
14750 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14751 New macros.
14752 (avl-tree--mapc, avl-tree-map): Add direction argument.
14753
eb95d01d 147542011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14755
14756 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14757
a9f737ee
CY
147582011-05-27 Chong Yidong <cyd@stupidchicken.com>
14759
14760 * select.el: Support clipboard managers with built-in function
14761 x-clipboard-manager-save, via delete-frame-functions and
14762 kill-emacs-hook.
14763 (xselect-convert-to-targets): Add MULTIPLE target to list.
14764 (xselect-convert-to-save-targets): New function.
14765
c92a1e54
KH
147662011-05-27 Kenichi Handa <handa@m17n.org>
14767
14768 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14769 let-binding rfc2047-encode-encoded-words to nil.
14770
e145f188
GM
147712011-05-27 Glenn Morris <rgm@gnu.org>
14772
5ec8a862
GM
14773 * mail/emacsbug.el: Don't require url-util.
14774
4b29d9fb
GM
14775 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14776
e145f188
GM
14777 * files.el (set-auto-mode):
14778 Also respect mode: entries at the end of the file. (Bug#8586)
14779
7d15102b
GM
147802011-05-26 Glenn Morris <rgm@gnu.org>
14781
98f593b8
GM
14782 * files.el (hack-local-variables-prop-line, hack-local-variables):
14783 Downcase mode names, as seems to be traditional.
27b48e63 14784 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14785
7d15102b
GM
14786 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14787 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14788
51d5b4ec
JD
147892011-05-25 Julien Danjou <julien@danjou.info>
14790
14791 * textmodes/rst.el (rst-define-level-faces): Do not define face
14792 symbol if it is already defined.
14793
91513f63
VB
147942011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14795
14796 * play/5x5.el (5x5-new-game, 5x5-randomize):
14797 Reset 5x5-solver-output to nil when a new grid is cast.
14798 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14799 these debugging traces, as defmacro breaks the compiled code.
14800
4d90d6d0
DK
148012011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14802
14803 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14804
e1b90ef6
LL
148052011-05-24 Leo Liu <sdl.web@gmail.com>
14806
14807 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14808 (vc-bzr-sha1): Adapt.
14809
d8e4b68b 14810 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14811
14812 * bindings.el: Provide sha1 feature.
14813
db0406bb 148142011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14815
14816 * mail/sendmail.el: Require `rfc2047'.
14817 (mail-insert-from-field): Do not perform RFC2047 encoding.
14818 (mail-encode-header): New function.
14819 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14820 buffer to the return value of select-message-coding-system.
14821 Call mail-encode-header.
b8d747b9
KH
14822
14823 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14824
db0406bb 148252011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14826
4d90d6d0
DK
14827 * mail/supercite.el (sc-default-cite-frame):
14828 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14829
eb8a5e9b
GM
148302011-05-24 Glenn Morris <rgm@gnu.org>
14831
f8630703
GM
14832 * progmodes/python.el (brm-menu): Declare.
14833
8831bbed
GM
14834 * emulation/viper.el (viper-set-hooks): Declare.
14835
eb8a5e9b
GM
14836 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14837 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14838 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14839 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14840 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14841 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14842
a2a25d24
SM
148432011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14844
14845 Add an :exit-function for completion-at-point.
14846
14847 * minibuffer.el (completion--done): New fun.
14848 (completion--do-completion): Use it. New arg `expect-exact'.
14849 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14850 since completion--do-completion does it for us now.
14851 (minibuffer-force-complete): Use completion--done and
14852 completion--replace. Handle sole-completion case with more care.
14853 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14854 (completion-extra-properties): New var.
14855 (completion-annotate-function): Make obsolete.
14856 (minibuffer-completion-help): Adjust accordingly.
14857 Use completion-list-insert-choice-function.
14858 (completion-at-point, completion-help-at-point):
14859 Bind completion-extra-properties.
14860 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14861 * simple.el (completion-list-insert-choice-function): New var.
14862 (completion-setup-function): Preserve it.
14863 (choose-completion): Pay attention to it, shuffle the code a bit.
14864 (choose-completion-string): New arg `insert-function'.
14865
14866 * textmodes/bibtex.el: Convert to lexical binding.
14867 (bibtex-mode-map): Use completion-at-point.
14868 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14869 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14870 (bibtex-complete): Define as obsolete alias.
14871 (bibtex-complete-internal): Remove.
14872 (bibtex-format-entry): Remove unused sub-group in regexp.
14873 * shell.el (shell--command-completion-data)
14874 (shell-environment-variable-completion):
14875 * pcomplete.el (pcomplete-completions-at-point):
14876 * comint.el (comint--complete-file-name-data): Use :exit-function
14877 instead of completion-table-with-terminator so it also works for
14878 choose-completion.
14879
e44e373d
SM
148802011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14881
4f91a816
SM
14882 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14883
782fc819
SM
14884 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14885 (bug#8710).
14886
e44e373d
SM
14887 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14888
381987c3
KM
148892011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14890
14891 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14892 customization variable and implement: If non-nil, auto-fill will
14893 be inhibited while on topic's header line.
14894
b776bc70
VB
148952011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14896
14897 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14898 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14899 always have a solution in grid size = 5 cases.
14900 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14901 (5x5-solver-output, 5x5-log-buffer): New vars.
14902 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14903 Make these variables buffer local to achieve 5x5 multi-session-ness.
14904 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14905 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14906 (5x5-solve-suggest): New funs.
14907 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14908 randomize a grid so that we ensure that there is always a solution.
14909 (5x5-make-random-grid): Allow other movement than flipping.
14910
7de88b6e
KR
149112011-05-23 Kevin Ryde <user42@zip.com.au>
14912
14913 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14914 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14915 advice and passes PREDICATE.
14916
b1ef1257
SM
149172011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14918
bbca48fe
SM
14919 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14920 byte-compile-lambda if it's actually a lambda.
14921
b1ef1257
SM
14922 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14923 Fix function quoting. Use backquote better.
14924
92a9cc65
YS
149252011-05-22 Yuanle Song <sylecn@gmail.com>
14926
14927 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14928 matching (Bug#8516).
14929
f0fb8059
JA
149302011-01-22 Jari Aalto <jari.aalto@cante.net>
14931
14932 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14933 different face (Bug#8178).
14934
d5b44c93
CY
149352011-05-22 Chong Yidong <cyd@stupidchicken.com>
14936
14937 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14938 defface (Bug#8144).
14939
79106a44
SM
149402011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14941
9c848d8a
SM
14942 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14943 funcall as well (bug#8712). Warn when performing those conversions.
14944 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14945
79106a44
SM
14946 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14947
88dfa756
GM
149482011-05-22 Glenn Morris <rgm@gnu.org>
14949
14950 * files.el (hack-local-variables-prop-line): Small simplifications.
14951 (hack-local-variables, hack-local-variables-prop-line):
14952 If MODE-ONLY, return the mode, rather than just `t'.
14953
b7cf2c79
SM
149542011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14955
14956 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14957
3f1a8558
GM
149582011-05-21 Glenn Morris <rgm@gnu.org>
14959
7e4ccca3
GM
14960 * files.el (hack-local-variables-prop-line, hack-local-variables):
14961 If only interested in the mode, don't bother doing the other stuff.
14962
637d46ca
GM
14963 * image-mode.el (image-after-revert-hook):
14964 Redraw all frames on which the image is visible. (Bug#8567)
14965
973d955b
GM
14966 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14967
3f1a8558
GM
14968 * wid-edit.el (widget-checklist-match-inline):
14969 Fix 2011-04-19 change. (Bug#8649)
14970
96479927
SM
149712011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14972
1dcf791f
SM
14973 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14974 Also allow singlespace after single-letter capitals followed by a dot.
14975
96479927
SM
14976 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14977 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14978
35fd0881
N
149792011-05-20 Nix <nix@esperi.org.uk>
14980
14981 * files.el (basic-save-buffer-2):
14982 Fix handling of break-hardlink-on-save with non-existent files.
14983
82745640
DD
149842011-05-19 Deniz Dogan <deniz@dogan.se>
14985
14986 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14987 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14988
4a720484
GM
149892011-05-19 Glenn Morris <rgm@gnu.org>
14990
d1f21341
GM
14991 * progmodes/f90.el (f90-type-def-re):
14992 Handle "type, bind(c)". (Bug#8691)
14993
4a720484
GM
14994 * emacs-lisp/autoload.el (batch-update-autoloads):
14995 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14996
2fb0a219
MA
149972011-05-18 Michael Albinus <michael.albinus@gmx.de>
14998
14999 * net/tramp.el (tramp-process-actions): Set "first-password-request"
15000 property for the correct connection in case of multihops.
15001
e565dd37
GM
150022011-05-18 Glenn Morris <rgm@gnu.org>
15003
c2571358 15004 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
15005 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15006
e565dd37
GM
15007 Rationalize calendar handling of day and month abbrev-arrays.
15008 * calendar/calendar.el (calendar-customized-p): New function.
15009 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15010 (calendar-day-name-array, calendar-month-name-array): Doc fix.
15011 Add :set function.
15012 (calendar-abbrev-length, calendar-day-abbrev-array)
15013 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15014 (calendar-day-abbrev-array, calendar-month-abbrev-array):
15015 Elements may no longer be nil.
15016 (calendar-day-name, calendar-month-name):
15017 Update for changed nature of abbrev arrays.
15018 * calendar/diary-lib.el (diary-name-pattern):
15019 Update for changed nature of abbrev arrays.
15020 (diary-mark-entries-1): Update calendar-make-alist calls.
15021 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15022 * calendar/cal-html.el (cal-html-day-abbrev-array):
15023 Simply inherit from calendar-day-abbrev-array.
15024
1d99a745
SM
150252011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15026
15027 * progmodes/grep.el (grep-mode): Disable default
15028 compilation-directory-matcher setting (bug#8684).
15029
7c1d9aa0
MA
150302011-05-17 Michael Albinus <michael.albinus@gmx.de>
15031
15032 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15033 instead of "head" and "tail". There were problems with SunOS 5.9,
15034 and it performs better.
15035
3952e9d8
GM
150362011-05-17 Glenn Morris <rgm@gnu.org>
15037
2dd12e7f
GM
15038 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15039
e4157b9c
GM
15040 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15041 Replace obsolete function.
15042
8e249bbd
GM
15043 * shell.el (pcomplete-parse-arguments-function): Declare.
15044
3952e9d8
GM
15045 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15046 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15047 (appt-check): Doc fixes.
15048 (appt-disp-window-function, appt-delete-window-function):
15049 Remove needless special case in custom :type.
15050 (appt-display-count): Default to 0, not nil.
15051 (appt-check): Reset appt-display-count to 0, not nil.
15052
c71a0d48 150532011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 15054
c71a0d48
GM
15055 * progmodes/python.el (python-font-lock-keywords):
15056 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 15057
31d55be9
SM
150582011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15059
15060 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15061
3bfacb2f
KR
150622011-05-16 Kevin Ryde <user42@zip.com.au>
15063
15064 * info-look.el (makefile-automake-mode): New setups, looking in
15065 automake manual, then makefile-mode.
15066 (makefile-mode): Remove automake manual, have it just in
15067 makefile-automake-mode since there's various things different or
15068 not relevant to plain make.
15069 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15070 believe a hypothetical automake-mode would go to makefile-mode,
15071 not the other way around.
15072
c8e83751
CY
150732011-05-15 Chong Yidong <cyd@stupidchicken.com>
15074
5e9e35cd
CY
15075 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15076 hunk-end tags (Bug#8672).
15077
c8e83751
CY
15078 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15079 vc-annotate-show-diff-revision-at-line (Bug#8671).
15080
50b23e5a
GM
150812011-05-14 Glenn Morris <rgm@gnu.org>
15082
7210a739
GM
15083 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15084 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
15085 (change-log-font-lock-keywords): Also handle multiple author lines
15086 with leading tabs. (Bug#8644)
7210a739 15087
4691905a
GM
15088 * calendar/appt.el (appt-check): Rename some local variables.
15089 Some simplification/reordering.
15090
50b23e5a
GM
15091 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15092 (feedmail-sendmail-f-doesnt-sell-me-out)
15093 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15094 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15095 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
15096 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15097 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
15098 (feedmail-binmail-gnulinuxish-template):
15099 Rename from feedmail-binmail-linuxish-template.
15100 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15101 Use insert-buffer-substring.
15102
215cda7c
BC
151032011-05-14 Bill Carpenter <bill@carpenter.org>
15104
15105 * mail/feedmail.el (feedmail-patch-level): Increase.
15106 (feedmail-debug): New custom group.
15107 (feedmail-confirm-outgoing-timeout)
15108 (feedmail-sendmail-f-doesnt-sell-me-out)
15109 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15110 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15111 (feedmail-sender-line, feedmail-from-line)
15112 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 15113 (feedmail-spray-this-address)
215cda7c
BC
15114 (feedmail-spray-address-fiddle-plex-list)
15115 (feedmail-queue-use-send-time-for-date)
15116 (feedmail-queue-use-send-time-for-message-id)
15117 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15118 (feedmail-buffer-eating-function):
15119 Doc fixes.
15120 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15121 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15122 (feedmail-message-action-scroll-down): New functions.
15123 (feedmail-queue-directory, feedmail-queue-draft-directory):
15124 Use expand-file-name.
15125 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15126 Remove C-v help entry.
15127 (feedmail-queue-buffer-file-name): New variable.
15128 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15129 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15130 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15131 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15132 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15133 (feedmail-message-action-toggle-spray)
15134 (feedmail-run-the-queue-no-prompts)
15135 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15136 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15137 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15138 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15139 (feedmail-envelope-deducer, feedmail-fiddle-from)
15140 (feedmail-fiddle-sender, feedmail-default-date-generator)
15141 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15142 (feedmail-fiddle-spray-address)
15143 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15144 (feedmail-fiddle-list-of-fiddle-plexes)
15145 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15146 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15147 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15148 Change default. Doc fix.
15149 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15150 (feedmail-binmail-linuxish-template): New constant.
15151 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15152 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15153 (feedmail-send-it): Add debug call.
15154 Use feedmail-queue-buffer-file-name, and
15155 feedmail-send-it-immediately-wrapper.
15156 (feedmail-message-action-send): Add debug call.
15157 Use feedmail-send-it-immediately-wrapper.
15158 (feedmail-queue-express-to-queue): Add debug call.
15159 Run feedmail-queue-express-hook.
15160 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15161 (feedmail-message-action-help-blat):
15162 Rename from feedmail-queue-send-edit-prompt-help-first.
15163 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15164 Check line-endings. Handle errors better.
15165 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15166 Doc fix. Add debug call.
15167 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15168 Use feedmail-queue-send-edit-prompt-inner.
15169 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15170 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15171 from feedmail-queue-send-edit-prompt.
15172 (feedmail-queue-send-edit-prompt-help)
15173 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15174 (feedmail-tidy-up-slug): Add debug call.
15175 Respect feedmail-queue-slug-suspect-regexp.
15176 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15177 (feedmail-dump-message-to-queue): Add debug call.
15178 Expand queue-directory.
15179 (feedmail-dump-message-to-queue): Change message slightly.
15180 Use feedmail-say-chatter.
15181 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15182 (feedmail-send-it-immediately-wrapper): New function.
15183 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15184 Insert empty string rather than newline. Handle full-frame case.
15185 Use catch/throw. Use feedmail-say-chatter.
15186 (feedmail-fiddle-from): Try mail-host-address.
15187 (feedmail-default-message-id-generator): Doc fix.
15188 Bind system-time-locale. Handle missing end.
15189 (feedmail-fiddle-x-mailer): Add debug call.
15190 Handle feedmail-x-mailer-line being nil.
15191 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15192 Add debug call. Use buffer-substring-no-properties.
15193 (feedmail-say-debug, feedmail-say-chatter): New functions.
15194 (feedmail-find-eoh): Give an explicit error.
15195
42c7e61e
UJ
151962011-05-13 Ulf Jasper <ulf.jasper@web.de>
15197
c2571358 15198 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 15199 family from helvetica to sans.
c2571358 15200 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15201 etc/images/newsticker.
15202
c2571358 15203 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
15204 family from helvetica to sans.
15205
15206 * net/newst-plainview.el (newsticker-new-item-face)
15207 (newsticker-old-item-face, newsticker-immortal-item-face)
15208 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 15209 (newsticker-statistics-face): Change default family from
42c7e61e 15210 helvetica to sans.
c2571358 15211 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15212 etc/images/newsticker.
15213
5d3385a0
JB
15214 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15215 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
15216 auto-marking.
15217
8497a297
DV
152182011-05-13 Didier Verna <didier@xemacs.org>
15219
15220 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
15221 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15222 TODO entries.
8497a297
DV
15223 (lisp-lambda-list-keyword-parameter-indentation)
15224 (lisp-lambda-list-keyword-parameter-alignment)
15225 (lisp-lambda-list-keyword-alignment): New customizable user options.
15226 (lisp-indent-defun-method): Improve docstring.
15227 (extended-loop-p): Fix comment.
15228 (lisp-indent-lambda-list-keywords-regexp): New variable.
15229 (lisp-indent-lambda-list): New function.
15230 (lisp-indent-259): Use it.
15231 (lisp-indent-defmethod): Support for more than one
15232 method qualifier and properly indent methods lambda-lists.
15233 (defgeneric): Provide a missing common-lisp-indent-function property.
15234
f278f87f
SM
152352011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15236
15237 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15238 bounds for the empty string (bug#8667).
15239
5233edd7
GM
152402011-05-13 Glenn Morris <rgm@gnu.org>
15241
5237a44f
GM
15242 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15243
8340026c 15244 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 15245 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 15246
5233edd7 15247 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 15248 (appt-time-msg-list): Doc fix.
a5464014 15249 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15250
92d10796
AS
152512011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15252
15253 * progmodes/ld-script.el (ld-script-keywords)
15254 (ld-script-builtins): Update keywords list.
15255
914a0ae1
SM
152562011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15257
c89be45f
SM
15258 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15259
914a0ae1
SM
15260 * shell.el (shell-completion-vars): New function.
15261 (shell-mode):
15262 * simple.el (read-shell-command): Use it.
15263 (blink-matching-open): No need for " [...]" in minibuffer-message.
15264
98dc3df3
GM
152652011-05-12 Glenn Morris <rgm@gnu.org>
15266
15267 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15268 (appt-check): Simplify.
15269
d2fc7e3d 152702011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15271
4d61f28d 15272 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15273 literal "/dev/null".
15274
d2fc7e3d 152752011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15276
15277 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15278 Fix typo.
15279
d2fc7e3d 152802011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15281
3f254caa
SM
15282 * progmodes/which-func.el (which-function):
15283 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15284 which might not be defined (Bug#8260).
15285
d45885f7
GM
152862011-05-12 Glenn Morris <rgm@gnu.org>
15287
15288 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15289 Let byte-compile-initial-macro-environment always take precedence.
15290
488086f4
SM
152912011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15292
15293 * net/rcirc.el: Add support for SSL/TLS connections.
15294 (rcirc-server-alist): New field `encryption'.
15295 (rcirc): Check `encryption' settings.
15296 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15297 Merge make-local-variable into `set'.
15298 (rcirc--connection-open-p): New function.
15299 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15300 the process is not a network process (e.g. running gnutls-cli).
15301 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15302 Make rcirc-(en|de)code-coding-system local here.
15303 (rcirc-mode): Merge make-local-variable into `set'.
15304 (rcirc-parent-buffer): Make permanent buffer-local.
15305 (rcirc-multiline-minor-mode): Don't do it here.
15306 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15307 there's no server buffer.
15308
7d3b9d44
GM
153092011-05-11 Glenn Morris <rgm@gnu.org>
15310
f64049c6
GM
15311 * newcomment.el (comment-kill): Prefix "unused" local.
15312
93c9df73
GM
15313 * term/w32console.el (get-screen-color): Declare.
15314
7d3b9d44
GM
15315 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15316 Handle symbol elements of byte-compile-initial-macro-environment.
15317
9e2dd53f
LL
153182011-05-10 Leo Liu <sdl.web@gmail.com>
15319
488086f4
SM
15320 * bookmark.el (bookmark-bmenu-mode-map):
15321 Bind bookmark-bmenu-search to `/'.
8b340240 15322
9e2dd53f 15323 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15324 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15325 (Footnote-unicode): New function.
15326 (footnote-style-alist): Add unicode style to the list.
15327 (footnote-style): Doc fix.
9e2dd53f 15328
79b70037
GM
153292011-05-10 Jim Meyering <meyering@redhat.com>
15330
15331 Fix doubled-word typos.
15332 * international/quail.el (quail-insert-kbd-layout): and and -> and
15333 * kermit.el: and and -> and
15334 * net/ldap.el (ldap-search-internal): to to -> to
15335 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15336 * progmodes/js.el (js-mode): and and -> and
15337 * textmodes/artist.el (artist-move-to-xy): at at -> at
15338 (artist-draw-region-trim-line-endings): if if -> if
15339 And Safetyc -> Safety.
15340 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15341
b8f82dc1 153422011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15343 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15344
15345 * files.el (hack-one-local-variable-eval-safep):
15346 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15347
4f99f44b
GM
153482011-05-10 Glenn Morris <rgm@gnu.org>
15349
15350 * calendar/diary-lib.el (diary-list-entries-hook)
15351 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15352 (diary-nongregorian-marking-hook, diary-list-entries)
15353 (diary-include-other-diary-files, diary-mark-entries)
15354 (diary-mark-included-diary-files): Doc fixes.
15355
84f29e6b
JB
153562011-05-09 Juanma Barranquero <lekktu@gmail.com>
15357
15358 * misc.el: Require tabulated-list.el during compilation.
15359
9bedd73a
CY
153602011-05-09 Chong Yidong <cyd@stupidchicken.com>
15361
488086f4
SM
15362 * progmodes/compile.el (compilation-start):
15363 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15364 (compilation-filter-hook): Doc fix.
15365
797c735c
DD
153662011-05-09 Deniz Dogan <deniz@dogan.se>
15367
15368 * wdired.el: Remove outdated installation comment. Fix usage
15369 comment.
15370
5f4b1dfe
JB
153712011-05-09 Juanma Barranquero <lekktu@gmail.com>
15372
15373 * misc.el: Implement new command `list-dynamic-libraries'.
15374 (list-dynamic-libraries--loaded-only-p): New variable.
15375 (list-dynamic-libraries--refresh): New function.
15376 (list-dynamic-libraries): New command.
15377
4c44026c
CY
153782011-05-09 Chong Yidong <cyd@stupidchicken.com>
15379
488086f4
SM
15380 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15381 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15382 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15383 higher priority to avoid clobbering by gnu.
15384
027f966d
CY
153852011-05-08 Chong Yidong <cyd@stupidchicken.com>
15386
15387 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15388 if the face has existing theme settings (Bug#8454).
15389
085f5d7d
CY
153902011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15391
488086f4
SM
15392 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15393 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15394
2a86a00c
RS
15395 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15396 special file names `.' and `..' (Bug#8259).
15397
d9c54a06
CY
153982011-05-08 Chong Yidong <cyd@stupidchicken.com>
15399
488086f4
SM
15400 * progmodes/grep.el (grep-mode-font-lock-keywords):
15401 Remove buffer-changing entries.
d9c54a06
CY
15402 (grep-filter): New function.
15403 (grep-mode): Add it to compilation-filter-hook.
15404
15405 * progmodes/compile.el (compilation-filter-hook)
15406 (compilation-filter-start): New defvars.
15407 (compilation-filter): Call compilation-filter-hook prior to
15408 updating the process mark.
15409
c4662635
SM
154102011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15411
15412 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15413
b0512a1d
EZ
154142011-05-07 Eli Zaretskii <eliz@gnu.org>
15415
605c9376
EZ
15416 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15417 mailclient-send-it even if window-system is nil. (Bug#8595)
15418
c4662635
SM
15419 * term/w32console.el (terminal-init-w32console):
15420 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15421 background-mode. (Bug#8597)
15422
d1dc2cc2
SM
154232011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15424
15425 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15426 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15427 New functions.
15428 (defgeneric, eieio--defmethod): Use them.
15429 (eieio-defgeneric): Remove.
15430 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15431
915d1300
GM
154322011-05-07 Glenn Morris <rgm@gnu.org>
15433
a3961c3e
GM
15434 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15435 Use let rather than let*.
15436 (timeclock-find-discrep): Remove unused local.
15437
314347b9
GM
15438 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15439
915d1300
GM
15440 * calendar/appt.el (appt-time-msg-list): Doc fix.
15441
275b59b0
NF
154422011-05-06 Noah Friedman <friedman@splode.com>
15443
15444 * apropos.el (apropos-print-doc): Only use
15445 emacs-lisp-docstring-fill-column when it is bound to an integer,
15446 per that variable's documentation.
15447
6c19f744
SM
154482011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15449
15450 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15451 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15452
60f884b2
GM
154532011-05-06 Glenn Morris <rgm@gnu.org>
15454
5006e634
GM
15455 * calendar/appt.el (appt-message-warning-time): Doc fix.
15456 (appt-warning-time-regexp): New option.
15457 (appt-make-list): Respect appt-message-warning-time.
15458
548d0a63
GM
15459 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15460 New options.
15461 (diary-add-to-list): Strip comments from the displayed string.
15462 (diary-mode): Set comment-start and comment-end.
15463
60f884b2
GM
15464 * vc/diff-mode.el (smerge-refine-subst): Declare.
15465 (diff-refine-hunk): Don't require smerge-mode when compiling.
15466
989681bb
JB
154672011-05-06 Juanma Barranquero <lekktu@gmail.com>
15468
15469 * simple.el (list-processes): Return nil as the docstring says.
15470
a6bc05e1
MA
154712011-05-05 Michael Albinus <michael.albinus@gmx.de>
15472
15473 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15474 to "".
15475 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15476 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15477 determining of binary transfer. (Bug#7383)
15478
23c22e9a
MA
154792011-05-05 Michael Albinus <michael.albinus@gmx.de>
15480
c4662635
SM
15481 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15482 Fix port computation bug. (Bug#8618)
23c22e9a 15483
0bff894f
GM
154842011-05-05 Glenn Morris <rgm@gnu.org>
15485
b8296902
GM
15486 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15487
1f522ce8
GM
15488 * simple.el (shell-dynamic-complete-functions)
15489 (comint-dynamic-complete-functions): Declare.
15490
cf5bee67
GM
15491 * net/network-stream.el (gnutls-negotiate):
15492 * simple.el (tabulated-list-print): Fix declarations.
15493
15494 * progmodes/gud.el (syntax-symbol, syntax-point):
15495 Remove unnecessary and incorrect declarations.
15496
0bff894f
GM
15497 * emacs-lisp/check-declare.el (check-declare-scan):
15498 Handle byte-compile-initial-macro-environment in bytecomp.el
15499
9869b3ae
SM
155002011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15501
15502 Fix earlier half-done eieio-defmethod change (bug#8338).
15503 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15504 Streamline and change calling convention.
15505 (defmethod): Adjust accordingly and simplify.
15506 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15507 new eieio--defmethod.
15508 (slot-boundp): Minor CSE simplification.
15509
9c1d5ac5
MZ
155102011-05-05 Milan Zamazal <pdm@zamazal.org>
15511
15512 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15513 (glasses-make-readable): Use glasses-separate-capital-groups.
15514
455c834e
JB
155152011-05-05 Juanma Barranquero <lekktu@gmail.com>
15516
15517 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15518 (warning-series): Doc fix.
15519 (display-warning): Don't try to create the buffer if we just found it.
15520
9ed7c8cb
CY
155212011-05-04 Chong Yidong <cyd@stupidchicken.com>
15522
15523 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15524 (autoload-find-generated-file): New function.
15525 (generate-file-autoloads): Bind generated-autoload-file to
15526 buffer-file-name.
9869b3ae
SM
15527 (update-file-autoloads, update-directory-autoloads):
15528 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15529 output file (Bug#7989).
15530 (batch-update-autoloads): Doc fix.
15531
0898ca10
JB
155322011-05-04 Juanma Barranquero <lekktu@gmail.com>
15533
15534 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15535
31dfb76c
GM
155362011-05-04 Glenn Morris <rgm@gnu.org>
15537
f330b642
GM
15538 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15539 function, so it follows changes in calendar-date-style.
15540 (diary-fancy-date-matcher): New function.
15541 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15542 (diary-fancy-font-lock-fontify-region-function):
15543 Use diary-fancy-date-pattern as a function.
15544
31dfb76c
GM
15545 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15546 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15547
48e79d6a
TZ
155482011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15549
15550 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15551 instead of positional arguments. Allow :keylist and :crlfiles
15552 arguments.
15553 (open-gnutls-stream): Call it.
15554
15555 * net/network-stream.el (network-stream-open-starttls): Adjust to
15556 call `gnutls-negotiate' with :process and :hostname arguments.
15557
dd5a5ee0
SM
155582011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15559
ef80fc09
SM
15560 * minibuffer.el (completion--message): New function.
15561 (completion--do-completion, minibuffer-complete)
15562 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15563 (completion--do-completion): Don't ignore completion-auto-help when in
15564 icomplete-mode.
15565
dd5a5ee0
SM
15566 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15567 internal encoding (e.g. tibetan zero is not whitespace).
15568 (global-whitespace-mode): Prefer save-current-buffer.
15569 (whitespace-trailing-regexp): Remove useless save-match-data.
15570 (whitespace-empty-at-bob-regexp): Minor simplification.
15571
b7d22a83
CY
155722011-05-03 Chong Yidong <cyd@stupidchicken.com>
15573
15574 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15575
5192af46
AM
155762011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15577
15578 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15579 Use `concat' to create string for insertion.
5192af46 15580
5767d190
SM
155812011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15582
15583 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15584 Avoid open-line which runs post-self-insert-hook.
15585 (bibtex-fill-entry): Remove unused `end' var.
15586
bf242939
AM
155872011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15588
5767d190
SM
15589 * textmodes/ispell.el (ispell-add-per-file-word-list):
15590 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15591
25666126
LL
155922011-05-03 Leo Liu <sdl.web@gmail.com>
15593
15594 * isearch.el (isearch-yank-pop): New command.
5767d190 15595 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15596 (isearch-forward): Mention it.
15597
52d3c2d0
SM
155982011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15599
1bcace58
SM
15600 * simple.el (minibuffer-complete-shell-command): Remove.
15601 (minibuffer-local-shell-command-map): Use completion-at-point.
15602 (read-shell-command): Setup completion vars here instead.
15603 (read-expression-map): Bind TAB to symbol completion.
15604
52d3c2d0
SM
15605 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15606 error directly rather via storing it into `results'.
15607
35813471
LL
156082011-05-02 Leo Liu <sdl.web@gmail.com>
15609
15610 * vc/diff.el: Fix description.
15611
e793a940
LMI
156122011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15613
15614 * server.el (server-eval-at): New function.
15615
8de66e05
LMI
156162011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15617
15618 * net/network-stream.el (open-network-stream): Take a :nowait
15619 parameter and pass it on to `make-network-process'.
15620 (network-stream-open-plain): Ditto.
15621
dcb79f20
AS
156222011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15623
15624 * faces.el (face-spec-set-match-display): Don't match toolkit
15625 options on terminal frames.
15626
14a7fbd8
SM
156272011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15628
7eabc1be
SM
15629 * progmodes/pascal.el: Use lexical binding.
15630 (pascal-mode-map): Remove author preferences.
15631
14a7fbd8
SM
15632 * pcomplete.el (pcomplete-std-complete): Don't abuse
15633 completion-at-point.
15634
50f84510
JB
156352011-04-28 Juanma Barranquero <lekktu@gmail.com>
15636
6e087a44
JB
15637 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15638 removing code that has been dead since 1991 or so.
15639
50f84510
JB
15640 * startup.el (command-line): When warning about "_emacs", use a
15641 delayed warning to allow the user to filter it out.
15642
0ba690bd
DD
156432011-04-28 Deniz Dogan <deniz@dogan.se>
15644
15645 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15646 user has not joined.
15647
08abfaad
SM
156482011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15649
15650 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15651 aren't any completions at point.
15652
638f053a
JB
156532011-04-28 Juanma Barranquero <lekktu@gmail.com>
15654
15655 * subr.el (display-delayed-warnings): New function.
15656 (delayed-warnings-hook): New variable.
15657
8fff8daa
SM
156582011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15659
08abfaad
SM
15660 * minibuffer.el (completion-at-point, completion-help-at-point):
15661 Don't presume that a given completion-at-point-function will always
15662 use the same calling convention.
15663
8fff8daa
SM
15664 * pcomplete.el (pcomplete-completions-at-point):
15665 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15666 pcomplete-seen is non-nil.
15667 (pcomplete-comint-setup): Also recognize the new comint/shell
15668 completion functions.
15669 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15670 pcomplete-seen is non-nil.
15671
841a1577 156722011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15673
841a1577 15674 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15675 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15676 the first character in the entry. This allows for code to add its
211ec907
UJ
15677 own uid to the entry.
15678 (icalendar--convert-float-to-ical): Add export of
15679 `diary-float'-entries save for those with the optional DAY
15680 argument.
15681
2a782793
DC
156822011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15683
15684 * subr.el (shell-quote-argument): Use alternate escaping strategy
15685 when we spot a variable reference in a string.
15686
0438ce91
DC
156872011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15688
15689 * cus-start.el (all): Define customization for debug-on-event.
15690
841a1577 156912011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15692
15693 * subr.el (shell-quote-argument): Escape correctly under Windows.
15694
d090ed6c
SM
156952011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15696
15697 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15698
bfd31217
MA
156992011-04-25 Michael Albinus <michael.albinus@gmx.de>
15700
d090ed6c
SM
15701 * net/tramp.el (tramp-process-actions): Add POS argument.
15702 Delete region between POS and (pos).
bfd31217 15703
d090ed6c
SM
15704 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15705 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15706 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15707
15708 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15709 position in `tramp-process-actions' call.
15710
15711 * net/trampver.el: Update release number.
15712
e92f3bd3
SM
157132011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15714
850256b5
SM
15715 * custom.el (defcustom): Obey lexical-binding.
15716
e92f3bd3
SM
15717 Fix octave-inf completion problems reported by Alexander Klimov.
15718 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15719 Inherit from octave-mode-syntax-table.
15720 (inferior-octave-mode): Set info-lookup-mode.
15721 (inferior-octave-completion-at-point): New function.
15722 (inferior-octave-complete): Use it and completion-in-region.
15723 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15724 comint-filename-completion.
15725 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15726 symbol elements which shouldn't be word elements.
15727 (octave-font-lock-keywords, octave-beginning-of-defun)
15728 (octave-function-header-regexp): Adjust regexps accordingly.
15729 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15730
cd22b309
JB
157312011-04-25 Juanma Barranquero <lekktu@gmail.com>
15732
15733 * net/gnutls.el (gnutls-errorp): Declare before first use.
15734
8b492194
TZ
157352011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15736
15737 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15738 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15739 default trustfile exists before going to use it. Add missing
5a5fa834 15740 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15741 Reported by Claudio Bley <claudio.bley@gmail.com>.
15742 (open-gnutls-stream): Add usage example.
15743
15744 * net/network-stream.el (network-stream-open-starttls): Give host
15745 parameter to `gnutls-negotiate'.
15746 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15747 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15748
841a1577 157492011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15750
cd22b309
JB
15751 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15752 Use correct match group (bug#8438).
05842630 15753
3ba7869c
CY
157542011-04-24 Chong Yidong <cyd@stupidchicken.com>
15755
512e3ae1
CY
15756 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15757 (package-menu--generate): New arg specifying packages to show.
15758 (package-menu-refresh, package-menu-execute, list-packages):
15759 Callers changed.
15760 (package-show-package-list): New function, replacing deleted
15761 package--list-packages (renamed because it is non-internal).
15762
15763 * finder.el (finder-list-matches): Use package-show-package-list
15764 instead of deleted package--list-packages.
15765
e92f3bd3
SM
15766 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15767 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15768 (vc-annotate-mode-map): Bind it to RET.
15769
7031be6d
UR
157702011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15771
15772 * progmodes/etags.el (next-file): Don't use set-buffer to change
15773 buffers (Bug#8478).
15774
4ef177aa
CY
157752011-04-24 Chong Yidong <cyd@stupidchicken.com>
15776
c8d173eb
CY
15777 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15778
4ef177aa
CY
15779 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15780 (apropos-accumulator): Doc fix.
15781 (apropos-function, apropos-macro, apropos-command)
15782 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15783 (apropos-plist): Add face property.
15784 (apropos-symbols-internal): Fix indentation.
15785 (apropos-print): Simplify help, and recognize apropos-multi-type.
15786 (apropos-print-doc): Use button-type-get to extract the button's
15787 face property. Fill docstring (Bug#8352).
15788
4ffd0d6b 157892011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15790
15791 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15792
c6c32125 15793 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15794 (mpuz-mode-map): Use mapc.
c6c32125
JB
15795 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15796 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15797 Fix typos in docstrings.
15798
58d468b4
JB
15799 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15800 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15801
6470c3c6
JB
15802 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15803
4ffd0d6b 158042011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15805
15806 * minibuffer.el (completion--do-completion): Avoid the "Next char
15807 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15808
3ad8bad0
CY
15809 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15810 mouse-2 into unread-command-events, it is interpreted correctly.
15811
71d73c9c 15812 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15813 (image-toggle-display): Doc fix.
71d73c9c 15814
841a1577 158152011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15816
4ffd0d6b
GM
15817 * textmodes/page.el (what-page): Use line-number-at-pos to
15818 calculate line number (Bug#6825).
6e1dbaa9 15819
c2fb1b60
JB
158202011-04-22 Juanma Barranquero <lekktu@gmail.com>
15821
15822 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15823 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15824 Pass argument NO-DEFAULT to `find-tag-interactive'.
15825
e02f48d7
JB
158262011-04-22 Juanma Barranquero <lekktu@gmail.com>
15827
15828 Lexical-binding cleanup.
15829
15830 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15831 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15832 * progmodes/ada-prj.el (ada-prj-initialize-values)
15833 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15834 (ada-prj-show-value):
15835 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15836 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15837 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15838 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15839 * progmodes/bug-reference.el (bug-reference-push-button):
15840 * progmodes/fortran.el (fortran-line-length):
15841 * progmodes/glasses.el (glasses-change):
15842 * progmodes/octave-mod.el (octave-fill-paragraph):
15843 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15844 (python-pdbtrack-grub-for-buffer, python-sentinel):
15845 * progmodes/sql.el (sql-save-connection):
15846 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15847 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15848 Mark unused parameters.
15849
15850 * progmodes/compile.el (compilation--flush-directory-cache)
15851 (compilation--flush-parse, compile-internal): Mark unused parameters.
15852 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15853 (compilation-next-error-function): Remove unused variable `timestamp'.
15854
15855 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15856 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15857
15858 * progmodes/dcl-mode.el (dcl-end-of-command):
15859 Remove unused variable `start'.
15860 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15861 (dcl-option-value-basic, dcl-option-value-offset)
15862 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15863 Mark unused parameters.
15864 (dcl-save-local-variable): Remove unused variable `val'.
15865 (mode): Declare.
15866
15867 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15868 Mark unused parameters.
15869 (delphi-ignore-changes): Move before first use.
15870 (delphi-charset-token-at): Remove unused variable `start'.
15871 (delphi-else-start): Remove unused variable `if-count'.
15872 (delphi-comment-block-start, delphi-comment-block-end):
15873 Remove unused variable `kind'.
15874 (delphi-indent-line): Remove unused variable `new-point'.
15875
15876 * progmodes/ebrowse.el (ebrowse-files-list)
15877 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15878 Mark unused parameters. Don't quote `lambda'.
15879 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15880 Don't quote `lambda'.
15881 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15882 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15883 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15884 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15885 Use `ignore-errors'.
15886 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15887 (ebrowse-view/find-file-and-search-pattern)
15888 (ebrowse-view/find-member-declaration/definition):
15889 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15890 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15891 Rename parameter PREFIX-ARG to PREFIX.
15892 (ebrowse-tags-read-name): Remove unused variables `start' and
15893 `member-info'.
15894 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15895 to `tags-file'.
15896
15897 * progmodes/etags.el (local-find-tag-hook): Declare.
15898 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15899 Mark unused parameters.
15900
15901 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15902 (executable-interpret): Mark unused parameter.
15903
15904 * progmodes/flymake.el (flymake-process-sentinel)
15905 (flymake-after-change-function)
15906 (flymake-create-temp-with-folder-structure)
15907 (flymake-get-include-dirs-dot): Mark unused parameters.
15908 (flymake-safe-delete-directory): Remove unused variable `err'.
15909
15910 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15911 (speedbar-timer-fn, speedbar-line-text)
15912 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15913 (speedbar-center-buffer-smartly): Declare functions.
15914 (gdb-find-watch-expression): Remove unused variable `array'.
15915 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15916 (gdb-starting): Mark unused parameters.
15917 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15918 (gdb-table-string): Remove unused variable `res'.
15919 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15920 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15921 (gdb-display-buffer): Remove unused variable `cur-size'.
15922
15923 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15924 allow lexical-binding compilation.
15925 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15926 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15927 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15928 Mark unused parameters.
15929 (gud-gdb-marker-filter): Remove unused variable `match'.
15930 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15931 lambda expressions and funcall them, instead of using `fset'.
15932
15933 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15934 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15935
15936 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15937 variable `header-beg'; use `let'.
15938
15939 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15940 `restart', `last-sexp' and `at-do'.
15941
15942 * progmodes/js.el (js--debug): Mark unused parameter.
15943 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15944 (js--splice-into-items): Remove unused variable `item'.
15945 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15946
15947 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15948 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15949 (makefile-complete): Remove unused variable `try'.
15950 (makefile-fill-paragraph, makefile-match-function-end):
15951 Mark unused parameters.
15952
15953 * progmodes/octave-inf.el (inferior-octave-complete):
15954 Remove unused variable `proc'.
15955 (inferior-octave-output-digest): Mark unused parameter.
15956
15957 * progmodes/perl-mode.el (perl-calculate-indent):
15958 Remove unused variable `err'.
15959
15960 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15961 (prolog-indent-line): Mark unused parameters.
15962 (prolog-indent-line): Remove unused variable `beg'.
15963
15964 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15965 (reporter-dont-compact-list): Declare.
15966
15967 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15968 Remove unused variable `char'.
15969 (sh-debug): Mark unused parameter.
15970 (sh-get-indent-info): Remove unused variable `start'.
15971 (sh-calculate-indent): Remove unused variable `var'.
15972
15973 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15974 (simula-electric-keyword): Remove unused variable `null'.
15975 (simula-search-backward, simula-search-forward): Remove unused
15976 variables `begin' and `end'.
15977
15978 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15979 Remove unused variable `pos'.
15980 (vera-electric-tab, vera-comment-uncomment-region):
15981 Mark unused parameters.
15982 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15983
7ede3b65
CY
159842011-04-22 Chong Yidong <cyd@stupidchicken.com>
15985
15986 * emacs-lisp/package.el (package--builtins, package-alist)
15987 (package-load-descriptor, package-built-in-p, package-activate)
15988 (define-package, package-installed-p)
15989 (package-compute-transaction, package-buffer-info)
15990 (package--push): Doc fix. Distinguish more clearly between
15991 version strings and version lists.
15992
121656e9
JB
159932011-04-21 Juanma Barranquero <lekktu@gmail.com>
15994
15995 Lexical-binding cleanup.
15996
15997 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15998 (5x5-make-mutate-best):
15999 * play/fortune.el (fortune-in-buffer):
16000 * play/gomoku.el (gomoku-init-display):
16001 * play/solitaire.el (solitaire, solitaire-do-check):
16002 * play/tetris.el (tetris-default-update-speed-function):
16003 Mark unused parameters.
16004
16005 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16006 (bubbles--shift): Remove unused variable `char-org'.
16007 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
16008 (bubbles--show-images): Remove unused variable `char'.
16009
16010 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16011 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16012 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16013 (decipher-analyze-buffer): Use ?\s.
16014 (decipher-make-checkpoint): Remove unused variable `mapping'.
16015
16016 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16017
16018 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16019 Remove unused variable `result'; use `let'.
16020
16021 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16022 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16023 (gametree-children-shown-p, gametree-compute-reduced-score):
16024 Use `ignore-errors'.
16025
16026 * play/handwrite.el (ps-lpr-switches): Declare.
16027 (handwrite): Remove unused variables `pmin' and `lastp'.
16028
16029 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16030
16031 * play/landmark.el (landmark-init-display)
16032 (landmark-update-naught-weights): Mark unused parameters.
16033 (landmark-y): Remove unused variable `noise'. Simplify.
16034 (landmark-human-plays): Remove unused variable `score'.
16035
16036 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16037 (mpuz-try-proposal): Remove unused variable `game'.
16038
16039 * play/zone.el (life-patterns): Declare.
16040
80f499c7
JB
160412011-04-20 Juanma Barranquero <lekktu@gmail.com>
16042
16043 * vc/vc.el (ediff-vc-internal): Declare function.
16044
024ff170
SM
160452011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16046
c0a193ea
SM
16047 * shell.el: Use lexical-binding and std completion UI.
16048 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16049 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16050 comint-preoutput-filter-functions rather than on
16051 comint-output-filter-functions.
16052 (shell-command-completion, shell--command-completion-data)
16053 (shell-filename-completion, shell-environment-variable-completion)
16054 (shell-c-a-p-replace-by-expanded-directory): New functions.
16055 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16056 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16057 (shell-dynamic-complete-environment-variable): Use them.
16058 (shell-dynamic-complete-as-environment-variable)
16059 (shell-dynamic-complete-as-command): Remove.
16060 (shell-match-partial-variable): Match past point.
16061 * comint.el: Clean up use of completion-at-point-functions.
16062 (comint-completion-at-point): New function.
16063 (comint-mode): Use it completion-at-point-functions.
16064 (comint-dynamic-complete): Make it obsolete.
16065 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16066 (comint-c-a-p-replace-by-expanded-history): New function.
16067 (comint-dynamic-complete-functions)
16068 (comint-replace-by-expanded-history): Use it.
16069 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16070 termination strings. Try harder to avoid second try-completion.
16071 (completion-in-region-mode-map): Disable bindings that don't work yet.
16072
2dbaa080
SM
16073 * comint.el: Use lexical-binding. Require CL.
16074 (comint-dynamic-complete-functions): Use comint-filename-completion.
16075 (comint-completion-addsuffix): Tweak custom type.
16076 (comint-filename-completion, comint--common-suffix)
16077 (comint--common-quoted-suffix, comint--table-subvert)
16078 (comint--complete-file-name-data): New functions.
16079 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16080 (comint-dynamic-list-filename-completions): Use them.
16081 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 16082
2dbaa080
SM
16083 * minibuffer.el (completion-in-region-mode):
16084 Keep completion-in-region-mode--predicate global.
16085 (completion-in-region--postch):
16086 Assume completion-in-region-mode--predicate is not null.
16087
c79a6f38
SM
16088 * progmodes/flymake.el (flymake-start-syntax-check-process):
16089 Obey `dir'. Simplify.
16090
024ff170
SM
16091 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16092 we're in VC after all.
16093
1c6c854e
CS
160942011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16095
16096 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 16097 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
16098 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16099
bed7f140
SM
161002011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16101
332e62ab
SM
16102 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16103 add sanity check.
16104
bed7f140
SM
16105 * obsolete/erc-hecomplete.el: Make obsolete.
16106 * obsolete/: Standardize obsolescence info in the header.
16107
f195c582
GM
161082011-04-20 Glenn Morris <rgm@gnu.org>
16109
16110 * calendar/solar.el (solar-horizontal-coordinates):
16111 Use the longitude argument rather than `calendar-longitude'.
16112 (solar-date-next-longitude): Remove unused locals.
16113
cb79b8c0
VJL
161142011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16115
16116 * whitespace.el: New version 13.2.1.
16117
161182011-04-20 felix <EmacsWiki> (tiny change)
16119
d8e4b68b 16120 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
16121 switching between major modes on a file.
16122
602ea69d
SM
161232011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16124
16125 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16126 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16127 multi-line comments as well.
16128
06b60517
JB
161292011-04-19 Juanma Barranquero <lekktu@gmail.com>
16130
16131 Lexical-binding cleanup.
16132
16133 * arc-mode.el (archive-mode-revert):
16134 * cmuscheme.el (scheme-interactively-start-process):
16135 * custom.el (custom-initialize-delay):
16136 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16137 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16138 * emacs-lock.el (emacs-lock-clear-sentinel):
16139 * ezimage.el (defezimage):
16140 * follow.el (follow-avoid-tail-recenter):
16141 * fringe.el (set-fringe-mode-1):
16142 * generic-x.el (bat-generic-mode-compile):
16143 * help-mode.el (help-info-variable, help-do-xref)
16144 (help-mode-revert-buffer):
16145 * help.el (view-emacs-todo):
16146 * iswitchb.el (iswitchb-completion-help):
16147 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16148 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16149 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16150 * locate.el (locate-update):
16151 * longlines.el (longlines-encode-region)
16152 (longlines-after-change-function):
16153 * outline.el (outline-isearch-open-invisible):
16154 * ps-def.el (declare-function, charset-dimension, char-width)
16155 (encode-char):
16156 * ps-mule.el (ps-mule-plot-string):
16157 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16158 (recentf-edit-list-select, recentf-edit-list-validate)
16159 (recentf-open-files-action):
16160 * rect.el (delete-whitespace-rectangle-line)
16161 (rectangle-number-line-callback):
16162 * register.el (window-configuration-to-register)
16163 (frame-configuration-to-register):
16164 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16165 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16166 (xselect-convert-to-targets, xselect-convert-to-delete)
16167 (xselect-convert-to-filename, xselect-convert-to-charpos)
16168 (xselect-convert-to-lineno, xselect-convert-to-colno)
16169 (xselect-convert-to-os, xselect-convert-to-host)
16170 (xselect-convert-to-user, xselect-convert-to-class)
16171 (xselect-convert-to-name, xselect-convert-to-integer)
16172 (xselect-convert-to-atom, xselect-convert-to-identity):
16173 * subr.el (declare, ignore, process-kill-without-query)
16174 (text-clone-maintain):
16175 * terminal.el (te-get-char, te-tic-sentinel):
16176 * tool-bar.el (tool-bar-make-keymap):
16177 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16178 * type-break.el (type-break-mode, type-break-noninteractive-query):
16179 * view.el (View-back-to-mark):
16180 * wid-browse.el (widget-browse-action, widget-browse-widget)
16181 (widget-browse-widgets, widget-browse-sexp):
16182 * widget.el (define-widget-keywords):
16183 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16184 Mark unused parameters.
16185
16186 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16187 (align-areas): Remove unused variable `look'.
16188 (align-region): Remove unused variables `real-end' and `pos-list'.
16189
16190 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16191
16192 * bindings.el (mode-line-modified, mode-line-remote):
16193 Mark unused parameters.
16194 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16195
16196 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16197 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16198
16199 * comint.el (comint-history-isearch-pop-state)
16200 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16201 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16202 (comint-substitute-in-file-name): Doc fix.
16203
16204 * completion.el (cmpl-statistics-block): Mark unused parameter.
16205 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16206 (save-completions-to-file, load-completions-from-file):
16207 Remove unused local variable `e'.
16208
16209 * composite.el (compose-chars): Remove unused variable `len'.
16210 (lgstring-insert-glyph): Remove unused variable `g'.
16211 (compose-glyph-string): Remove unused variables `ascent',
16212 `descent', `lbearing' and `rbearing'.
16213 (compose-glyph-string-relative): Remove unused variables
16214 `lbearing', `rbearing' and `wadjust'.
16215 (compose-gstring-for-graphic): Remove unused variables `header',
16216 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16217 (compose-gstring-for-terminal): Remove unused variables `header'
16218 and `nchars'. Use `let', not `let*'.
16219
16220 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16221 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16222 (Custom-buffer-done, custom-buffer-create-internal)
16223 (custom-browse-visibility-action, custom-browse-group-tag-action)
16224 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16225 (widget-magic-mouse-down-action, custom-toggle-parent)
16226 (custom-add-parent-links, custom-toggle-hide-variable)
16227 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16228 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16229 (custom-face-menu-create, custom-variable-menu-create, get)
16230 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16231 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16232 (customize-apropos): Remove unused variable `tests'.
16233 (custom-group-value-create): Remove unused variable `hidden-p'.
16234 (sort-fold-case): Declare.
16235
16236 * cus-theme.el (custom-reset-standard-faces-list)
16237 (custom-reset-standard-variables-list): Declare.
16238 (customize-create-theme, custom-theme-revert, custom-theme-write)
16239 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16240 Mark unused parameters.
16241
16242 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16243
16244 * delim-col.el (delimit-columns-max): Move defvar before first use.
16245
16246 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 16247 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
16248
16249 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16250 (auto-insert): Declare.
16251 (desktop-restore-file-buffer): Rename desktop-* parameters;
16252 mark unused ones.
16253 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16254 (desktop-buffer): Rename desktop-* parameters.
16255
16256 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16257 (dframe-reposition-frame-xemacs, dframe-help-echo)
16258 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16259 Mark unused parameters.
16260
16261 * dired-aux.el (backup-extract-version-start, overwrite-query)
16262 (overwrite-backup-query, rename-regexp-query)
16263 (rename-non-directory-query): Declare.
16264 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16265 (dired-add-entry): Remove unused variable `orig-file-name'.
16266 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16267 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16268 `dired-copy-preserve-time' directly.
16269 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16270 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16271
16272 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16273 (dired-virtual-revert, dired-make-relative-symlink):
16274 Mark unused parameters.
16275 (manual-program): Declare.
16276 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16277 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16278 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16279
16280 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16281
16282 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16283
16284 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16285 Declare.
16286
16287 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16288
16289 * electric.el (Electric-command-loop): Rename parameter
16290 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16291
16292 * expand.el (expand-in-literal): Remove unused variable `here'.
16293
16294 * facemenu.el (facemenu-add-new-color):
16295 Remove unused variable `docstring'.
16296
16297 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16298 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16299 (face-attr-construct): Mark unused parameter. Doc fix.
16300 (read-color): Remove unused variable `hex-string'.
16301
16302 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16303 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16304 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16305 (display-buffer-other-frame): Remove unused variable `old-window'.
16306 (kill-buffer-hook): Declare.
16307 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16308 Mark unused parameters.
16309 (after-find-file): Pass 1 to `auto-save-mode', not t.
16310
16311 * files-x.el (auto-insert): Declare.
16312 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16313
16314 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16315 variable `buf'. Mark unused parameter.
06b60517
JB
16316 (find-lisp-insert-directory): Mark unused parameter.
16317
16318 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16319 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16320 (format-common-tail): Remove, unused.
16321 (format-deannotate-region): Remove unused variable `loc'.
16322 (format-annotate-region): Remove unused variable `p'.
16323 (format-annotate-single-property-change): Remove unused variables
16324 `default' and `tail'.
16325
16326 * forms.el (read-file-filter): Declare.
16327 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16328
16329 * frame.el (frame-creation-function-alist): Mark unused parameter.
16330 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16331
16332 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16333 Remove unused parameters.
16334 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16335 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16336
16337 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16338 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16339 (hfy-prepare-tag-map): Mark unused parameters.
16340 (htmlfontify-buffer): Use `called-interactively-p'.
16341
16342 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16343 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16344 (ibuffer-do-occur): Mark unused parameters.
16345 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16346 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16347
16348 * ibuffer.el: Don't quote `lambda'.
16349 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16350 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16351 Mark unused parameters.
16352
16353 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16354 (ido-completing-read): Mark unused parameters.
16355 (ido-copy-current-word): Mark unused parameters;
16356 remove unused variable `name'.
16357 (ido-sort-merged-list): Remove unused parameter `dirs'.
16358
16359 * ielm.el (ielm-input-sender): Mark unused parameter.
16360 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16361 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16362 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16363 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16364 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16365
16366 * image-dired.el (image-dired-display-thumbs): Remove unused
16367 variables `curr-file' and `count'.
16368 (image-dired-remove-tag): Remove unused variable `start'.
16369 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16370 variable `curr-file'
16371 (image-dired-rotate-original): Remove unused variable `temp-file'.
16372 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16373 Remove unused variable `file'.
16374 (image-dired-gallery-generate): Remove unused variable `curr'.
16375 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16376
16377 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16378
16379 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16380
16381 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16382
16383 * isearch.el (minibuffer-history-symbol): Declare.
16384 (isearch-edit-string): Remove unused variable `err'.
16385 (isearch-message-prefix, isearch-message-suffix):
16386 Mark unused parameters.
16387
16388 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16389
16390 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16391
16392 * makesum.el (double-column): Remove unused variable `cnt'.
16393
16394 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16395 (ido-ignore-item-temp-list): Declare.
16396
16397 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16398 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16399 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16400 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16401 `mouse-col-delta'.
16402
16403 * mouse-sel.el (mouse-extend-internal):
16404 Remove unused variable `orig-window-frame'.
16405
16406 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16407 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16408 Move declarations before first use.
16409 (pcomplete-opt): Mark unused parameters; doc fix.
16410
16411 * proced.el (proced-revert): Mark unused parameter.
16412 (proced-send-signal): Remove unused variable `err'.
16413
16414 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16415 Rename parameter PREFIX-ARG to ARG.
16416 (ps-basic-plot-string, ps-basic-plot-whitespace):
16417 Mark unused parameters.
16418
16419 * replace.el (replace-count): Define.
16420 (occur-revert-function): Mark unused parameters.
16421 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16422 (isearch-case-fold-search, isearch-string): Declare.
16423 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16424 bind `case-fold-search'. Remove unused variables `beg' and `end',
16425 and simplify.
16426 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16427 COUNT and bind `replace-count'.
16428 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16429 to COUNT.
16430
16431 * savehist.el (print-readably, print-string-length): Declare.
16432
16433 * shadowfile.el (shadow-expand-cluster-in-file-name):
16434 Remove unused variable `cluster'.
16435 (shadow-copy-file): Remove unused variable `i'.
16436 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16437 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16438 (shadow-define-literal-group, shadow-define-regexp-group)
16439 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16440
16441 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16442 (shell): Use `called-interactively-p'.
16443 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16444
16445 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16446 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16447 (delete-backward-char): Remove unused variable `ocol'.
16448 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16449 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16450 (event-apply-hyper-modifier, event-apply-shift-modifier)
16451 (event-apply-control-modifier, event-apply-meta-modifier):
16452 Mark unused parameters.
16453 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16454 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16455
16456 * speedbar.el (speedbar-ignored-directory-expressions)
16457 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16458 (speedbar-find-file, speedbar-dir-follow)
16459 (speedbar-directory-buttons-follow, speedbar-tag-find)
16460 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16461 (speedbar-buffers-line-directory, speedbar-buffer-click):
16462 Mark unused parameters.
16463 (speedbar-tag-file): Remove unused variable `mode'.
16464 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16465
16466 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16467
16468 * talk.el (talk): Remove unused variable `display'.
16469
16470 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16471 (tar-write-region-annotate): Mark unused parameter.
16472
16473 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16474 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16475 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16476 warning by another.
16477
16478 * time-stamp.el (time-stamp-string-preprocess):
16479 Remove unused variable `require-padding'.
16480
16481 * tree-widget.el (widget-glyph-enable): Declare.
16482 (tree-widget-action): Mark unused parameter.
16483
16484 * w32-fns.el (x-get-selection): Mark unused parameter.
16485 (autoload-make-program, generated-autoload-file): Declare.
16486
16487 * wdired.el (wdired-revert): Mark unused parameters.
16488 (wdired-xcase-word): Remove unused variable `err'.
16489
16490 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16491 (whitespace-help-scroll): Remove unused variable `data-help'.
16492
16493 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16494 (widget-image-insert, widget-after-change, default)
16495 (widget-default-format-handler, widget-default-notify)
16496 (widget-default-prompt-value, widget-info-link-action)
16497 (widget-url-link-action, widget-function-link-action)
16498 (widget-variable-link-action, widget-file-link-action)
16499 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16500 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16501 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16502 (widget-insert-button-action, widget-delete-button-action, visibility)
16503 (widget-documentation-link-action, widget-documentation-string-action)
16504 (widget-const-prompt-value, widget-regexp-match, symbol)
16505 (widget-coding-system-prompt-value)
16506 (widget-key-sequence-value-to-external, sexp)
16507 (widget-sexp-value-to-internal, character, vector, cons)
16508 (widget-choice-prompt-value, widget-boolean-prompt-value)
16509 (widget-color--choose-action): Mark unused parameters.
16510 (widget-item-match-inline, widget-choice-match-inline)
16511 (widget-checklist-match, widget-checklist-match-inline)
16512 (widget-group-match): Rename parameter VALUES to VALS.
16513 (widget-field-value-set): Remove unused variable `size'.
16514 (widget-color-action): Remove unused variables `value' and `start'.
16515
16516 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16517 variable `dir'. Doc fix.
06b60517
JB
16518 (windmove-find-other-window): Don't pass it.
16519
16520 * window.el (count-windows): Mark unused parameter.
16521 (bw-adjust-window): Remove unused variable `err'.
16522
16523 * woman.el (woman-file-name): Remove unused variable `default'.
16524 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16525 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16526 (global-font-lock-mode): Declare.
16527 (woman-decode-region): Mark unused parameter.
16528 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16529
16530 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16531 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16532 (x-dnd-handle-moz-url): Remove unused variable `title'.
16533 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16534
16535 * xml.el (xml-parse-tag, xml-parse-attlist):
16536 Remove unused variable `pos'.
16537
bc4f7f3d
GM
165382011-04-19 Glenn Morris <rgm@gnu.org>
16539
16540 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16541 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16542 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16543 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16544 * calendar/cal-html.el (cal-html-insert-minical):
16545 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16546 (calendar-mark-date-pattern):
16547 Prefix "unused" locals.
16548
16549 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16550 optional argument `style'.
16551
16552 * calendar/appt.el (appt-make-list):
16553 * calendar/cal-china.el (calendar-chinese-date-string):
16554 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16555 (diary-hebrew-yahrzeit):
16556 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16557 * calendar/calendar.el (calendar-generate-window):
16558 * calendar/time-date.el (time-to-days):
16559 Remove unused local variables.
16560
16a43933
CY
165612011-04-18 Chong Yidong <cyd@stupidchicken.com>
16562
16563 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16564 glyphless-char-display table.
16565 (tabulated-list-glyphless-char-display): New var.
16566
7eed1860
SS
165672011-04-18 Sam Steingold <sds@gnu.org>
16568
16569 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16570 to acknowledgments.
16571
4d2d1ccd
GM
165722011-04-17 Glenn Morris <rgm@gnu.org>
16573
16574 * calendar/diary-lib.el (diary-sexp-entry):
16575 * calendar/holidays.el (holiday-sexp):
16576 Set debug-on-error rather than the removed stack-trace-on-error.
16577
239da61d
GM
165782011-04-16 Glenn Morris <rgm@gnu.org>
16579
16580 * progmodes/f90.el: Use lexical-binding.
16581 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16582
8b05752a
SM
165832011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16584
daca8ba5
SM
16585 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16586 (mail-mode): Setup mailalias completion here instead.
16587 * mail/mailalias.el: Use lexical-binding.
16588 (pattern, mailalias-done): Declare dynamic.
16589 (mail-completion-at-point-function): New function, from mail-complete.
16590 (mail-complete): Use it.
16591 (mail-completion-expand): New function.
16592 (mail-get-names): Use it.
16593 (mail-directory, mail-directory-process, mail-directory-stream):
16594 Don't use `pattern' for lexically bound arg.
16595
6f542485
SM
16596 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16597
037e7c3f
SM
16598 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16599 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16600 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16601
8b05752a
SM
16602 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16603 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16604 (byte-interactive-p): Define them again, for use when inlining
16605 old code.
16606
49093f60
JB
166072011-04-15 Juanma Barranquero <lekktu@gmail.com>
16608
16609 * loadup.el: Use `string-to-number', not `string-to-int'.
16610
b5b8e7de
SM
166112011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16612
16613 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16614 gud-gdb-complete-command.
16615 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16616 (gud-gdb-completion-at-point): New function.
16617 (gud-gdb-completions): Remove.
16618
f42efeb5
MA
166192011-04-14 Michael Albinus <michael.albinus@gmx.de>
16620
49093f60
JB
16621 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16622 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16623 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16624 whether `executable-find' is bound.
f42efeb5
MA
16625
16626 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16627
e240cc21
SM
166282011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16629
16630 * minibuffer.el (completion-in-region-mode-predicate)
16631 (completion-in-region-mode--predicate): New vars.
16632 (completion-in-region, completion-in-region--postch)
16633 (completion-in-region-mode): Use them.
16634 (completion--capf-wrapper): Also return the hook function.
16635 (completion-at-point, completion-help-at-point):
16636 Adjust and provide a predicate.
c2bd2ab0
SM
16637
16638 Preserve arg names for advice of subr and lexical functions (bug#8457).
16639 * help-fns.el (help-function-arglist): Consolidate the subr and
16640 new-byte-code cases. Add argument `preserve-names' to extract names
16641 from the docstring when needed.
16642 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16643 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16644 (ad-arglist): Use help-function-arglist's new arg.
16645 (ad-definition-type): Use cond.
16646
c183f693
JB
166472011-04-13 Juanma Barranquero <lekktu@gmail.com>
16648
06641a47
JB
16649 * autorevert.el (auto-revert-handler):
16650 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16651 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16652 Don't quote lambda.
16653
c183f693
JB
16654 * image-mode.el (image-transform-set-scale):
16655 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16656
1e3b6001
G
166572011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16658
16659 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16660 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16661 Upgrades via gnutls-cli are too slow to be done opportunistically.
16662
2d6af8dd
JB
166632011-04-12 Juanma Barranquero <lekktu@gmail.com>
16664
16665 * dframe.el (dframe-current-frame): Remove spurious quote.
16666
c0749a51
GM
166672011-04-12 Glenn Morris <rgm@gnu.org>
16668
088d0d61
GM
16669 * calendar/cal-tex.el (cal-tex-end-document):
16670 Try to automatically use latin1 input if needed.
16671
c0749a51
GM
16672 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16673 Don't try to cons a mark onto an empty element.
16674
5c90fde0
LL
166752011-04-11 Leo Liu <sdl.web@gmail.com>
16676
16677 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16678 buffers.
16679 (ido-kill-buffer-at-head): Support killing virtual buffers.
16680
369e974d
CY
166812011-04-10 Chong Yidong <cyd@stupidchicken.com>
16682
16683 * minibuffer.el (completion-show-inline-help): New var.
16684 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16685 (minibuffer-force-complete, minibuffer-complete-word):
16686 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16687
16688 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16689 to avoid interference from inline help (Bug#5849).
16690
37f1c930
LL
166912011-04-10 Leo Liu <sdl.web@gmail.com>
16692
099c39a4
JB
16693 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16694 Fix typo.
37f1c930 16695
a32d4040
CY
166962011-04-09 Chong Yidong <cyd@stupidchicken.com>
16697
16698 * image-mode.el (image-toggle-display-image): Signal an error if
16699 not in Image mode.
16700 (image-transform-mode, image-transform-resize)
16701 (image-transform-set-rotation): Doc fix.
daca8ba5 16702 (image-transform-set-resize): Delete.
a32d4040
CY
16703 (image-transform-set-scale, image-transform-fit-to-height)
16704 (image-transform-fit-to-width): Handle image-toggle-display-image
16705 and image-transform-resize directly.
16706
099c39a4 167072011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16708
16709 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16710 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16711 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16712 (doc-view-mode-map): Add bindings for the new functions.
16713
099c39a4 167142011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16715
4d61f28d 16716 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16717 Fix typo in docstring.
16718
3726838a
EZ
167192011-04-08 Eli Zaretskii <eliz@gnu.org>
16720
04f33f1e
EZ
16721 * files.el (file-size-human-readable): Produce one digit after
16722 decimal, like "ls -lh" does.
16723
16724 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16725 the file size representation.
16726
3726838a
EZ
16727 * simple.el (list-processes): If async subprocesses are not
16728 available, error out with a clear error message.
16729
cbb59342
CY
167302011-04-08 Chong Yidong <cyd@stupidchicken.com>
16731
16732 * help.el (help-form-show): New function, to be called from C.
16733 Put help-form output in a buffer named differently than *Help*.
16734
e3971c44
EZ
167352011-04-08 Eli Zaretskii <eliz@gnu.org>
16736
16737 * files.el (file-size-human-readable): New function.
16738
16739 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16740 computing the representation inline. Don't require `cl'.
16741
12544bbe
GM
167422011-04-08 Glenn Morris <rgm@gnu.org>
16743
a1de6c6a
GM
16744 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16745
3c4671f4
GM
16746 * net/browse-url.el (browse-url-firefox):
16747 Test system-type, not system-configuration.
16748
b605679c
GM
16749 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16750 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16751 Use log-edit-empty-buffer-p. (Bug#7598)
16752
56442f0c
GM
16753 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16754 (rlogin-mode-map): Initialize in the defvar.
16755 (rlogin): Use ignore-errors.
16756
12544bbe
GM
16757 * replace.el (occur-mode-map): Some fixes for menu items.
16758
eb237b0f
AH
167592011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16760
16761 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16762
7d668f2c
CY
167632011-04-06 Chong Yidong <cyd@stupidchicken.com>
16764
e67a13ab
CY
16765 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16766 issuing unused warnings.
16767
16768 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16769 macro directly.
16770
7d668f2c
CY
16771 * simple.el: Lisp reimplement of list-processes. Based on an
16772 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16773 (process-menu-mode): New major mode.
16774 (list-processes--refresh, list-processes):
16775 (process-menu-visit-buffer): New functions.
16776
16777 * files.el (save-buffers-kill-emacs): Don't assume any return
16778 value of list-processes, which is undocumented anyway.
16779
a83ec3c9
CY
167802011-04-06 Chong Yidong <cyd@stupidchicken.com>
16781
16782 * emacs-lisp/tabulated-list.el: New file.
16783
e91a96fe
CY
16784 * emacs-lisp/package.el: Use Tabulated List mode.
16785 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16786 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16787 table format using Tabulated List mode variables.
16788 (package--push): New macro, replacing package-list-maybe-add.
16789 (package-menu--generate): Use package--push. Renamed from
16790 package--generate-package-list.
16791 (package-menu-refresh, list-packages): Use it.
daca8ba5 16792 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16793 Return insertion data instead of inserting it directly.
099c39a4
JB
16794 (package-menu-describe-package, package-menu-execute):
16795 Use tabulated-list-get-id.
e91a96fe
CY
16796 (package-menu-mark-delete, package-menu-mark-install)
16797 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16798 (package-menu-mark-obsolete-for-deletion):
16799 Use tabulated-list-put-tag.
e91a96fe
CY
16800 (package--list-packages, package-menu-revert)
16801 (package-menu-get-package, package-menu-get-version)
16802 (package-menu-sort-by-column): Functions deleted.
16803 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16804 (package-menu--status-predicate, package-menu--version-predicate)
16805 (package-menu--name-predicate)
16806 (package-menu--description-predicate): Handle arguments in the
16807 Tabulated List format.
16808 (package-list-packages-no-fetch): Call list-packages.
16809
3e214b50
JB
168102011-04-06 Juanma Barranquero <lekktu@gmail.com>
16811
16812 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16813 (after-find-file): Don't bind it.
3e214b50
JB
16814 (revert-buffer-in-progress-p): New variable.
16815 (revert-buffer): Bind it.
16816 Pass nil for `after-find-file-from-revert-buffer'.
16817
16818 * saveplace.el (save-place-find-file-hook): Use new variable
16819 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16820
3f0f1700
GM
168212011-04-06 Glenn Morris <rgm@gnu.org>
16822
c0274801
GM
16823 * Makefile.in (AUTOGEN_VCS): New variable.
16824 (autoloads): Use $AUTOGEN_VCS.
16825
3f0f1700
GM
16826 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16827 * calendar/calendar.el (calendar-mode-map):
16828 Check for toolkit scroll bars. (Bug#8305)
16829
41ea9e48
CY
168302011-04-05 Chong Yidong <cyd@stupidchicken.com>
16831
16832 * minibuffer.el (completion-in-region--postch)
16833 (completion-in-region-mode): Remove unnecessary messages.
16834
6194c800
JB
168352011-04-05 Juanma Barranquero <lekktu@gmail.com>
16836
33256f14
JB
16837 * font-lock.el (font-lock-refresh-defaults):
16838 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16839 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16840
6194c800
JB
16841 * info.el (Info-directory-list, Info-read-node-name-2)
16842 (Info-split-parameter-string): Doc fixes.
16843 (Info-virtual-nodes): Reflow docstring.
16844 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16845 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16846 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16847 Fix typos in docstrings.
16848 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16849 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16850 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16851 (Info-restore-desktop-buffer): Mark unused parameters.
16852 (Info-directory-find-file, Info-directory-find-node)
16853 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16854 (Info-virtual-index-find-node, Info-apropos-find-file)
16855 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16856 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16857 (Info-virtual-index): Remove unused local variable `nodename'.
16858
b87a8200 168592011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16860
b87a8200
DD
16861 * net/rcirc.el: Update my e-mail address.
16862 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16863
3b2ff876
CY
168642011-04-05 Chong Yidong <cyd@stupidchicken.com>
16865
16866 * startup.el (command-line): Save the cursor's theme-face
16867 directly, instead of using face-override-spec.
16868
16869 * custom.el (load-theme): Minor optimization in assigning faces.
16870
8d17e7ca
JB
168712011-04-04 Juanma Barranquero <lekktu@gmail.com>
16872
16873 * help-fns.el (describe-variable): Complete all variables having
16874 documentation, including keywords.
16875 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16876
2fbc1934
JB
168772011-04-04 Juanma Barranquero <lekktu@gmail.com>
16878
16879 Convert to lexical-binding.
16880
16881 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16882 (bs--get-marked-string, bs--get-modified-string)
16883 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16884 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16885 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16886
16887 * ehelp.el (electric-help-execute-extended)
16888 (electric-help-ctrl-x-prefix):
16889 * hexl.el (hexl-revert-buffer-function):
16890 * linum.el (linum-after-change, linum-after-scroll):
16891 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16892
16893 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16894
74f50695
DU
168952011-04-04 Daiki Ueno <ueno@unixuser.org>
16896
16897 * epa-dired.el:
16898 * epa-mail.el:
16899 * epa-hook.el:
16900 * epa-file.el:
16901 * epa.el:
16902 * epg.el: Use lexical binding.
16903
c11325f7
CY
169042011-04-03 Chong Yidong <cyd@stupidchicken.com>
16905
0d9e9a12
CY
16906 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16907
c11325f7 16908 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16909 dictionary case for flyspell-mark-duplications-exceptions.
16910 Use regexp matching for languages.
c11325f7
CY
16911 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16912 default dictionary (Bug#7926).
16913
da91b5f2
CY
169142011-04-02 Chong Yidong <cyd@stupidchicken.com>
16915
099c39a4
JB
16916 * emacs-lisp/package.el (package--with-work-buffer):
16917 Recognize https URLs.
da91b5f2 16918
099c39a4
JB
16919 * net/network-stream.el: Move from gnus/proto-stream.el.
16920 Change prefix to network-stream throughout.
da91b5f2
CY
16921 (open-protocol-stream): Merge into open-network-stream, leaving
16922 open-protocol-stream as an alias. Handle nil BUFFER args.
16923
16924 * subr.el (open-network-stream): Move to net/network-stream.el.
16925
afa8e9f6
GM
169262011-04-02 Glenn Morris <rgm@gnu.org>
16927
1d2e369d
GM
16928 * find-dired.el (find-exec-terminator): New option.
16929 (find-ls-option): Test for -ls support.
16930 (find-ls-subdir-switches): Test for -b in find-ls-option.
16931 (find-dired, find-grep-dired): Doc fixes.
16932 (find-dired): Use find-exec-terminator.
16933
8abb7da8 16934 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16935 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16936 (find-name-arg): Remove purecopy.
8abb7da8 16937
f3ca7378
GM
16938 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16939 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16940 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16941 accordingly. Don't add the null-device if not needed.
16942
afa8e9f6
GM
16943 * files.el (save-some-buffers): Doc fix.
16944
35eae264
EZ
169452011-04-02 Eli Zaretskii <eliz@gnu.org>
16946
16947 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16948
26b51db5
JB
169492011-04-01 Juanma Barranquero <lekktu@gmail.com>
16950
16951 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16952 Use `dolist' rather than `mapcar'.
16953
7200d79c
SM
169542011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16955
03408648 16956 Add lexical binding.
7200d79c 16957
03408648
SM
16958 * subr.el (apply-partially): Use new closures rather than CL.
16959 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16960 (dolist, dotimes): Use slightly different expansion for lexical code.
16961 (functionp): Move to C.
16962 (letrec): New macro.
16963 (with-wrapper-hook): Use it and apply-partially instead of CL.
16964 (eval-after-load): Preserve lexical-binding.
16965 (save-window-excursion, with-output-to-temp-buffer): Turn them
16966 into macros.
7200d79c 16967
03408648
SM
16968 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16969
16970 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16971 than the arglist.
16972 (help-add-fundoc-usage): Don't add `Not documented'.
16973 (help-function-arglist): Handle closures, subroutines, and new
16974 byte-code-functions.
16975 (help-make-usage): Remove leading underscores.
16976 (describe-function-1): Handle closures.
16977 (describe-variable): Use special-variable-p for completion.
16978
16979 * files.el (lexical-binding): Declare safe.
f488fb65 16980
03408648
SM
16981 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16982 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16983 (pcase): Add `let' pattern.
16984 Change memoization so it actually works.
16985 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16986 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16987 <let>: New case.
f488fb65 16988
03408648
SM
16989 * emacs-lisp/macroexp.el: Use lexical binding.
16990 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16991 Don't convert ' to #' without checking that it's indeed quoting
16992 a lambda.
16993
16994 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16995 Use eval-sexp-add-defvars.
03408648
SM
16996 (eval-sexp-add-defvars): New fun.
16997
16998 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16999
17000 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17001 Don't autoload.
17002 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17003 than the internal `byte-compile-lambda'.
17004 (defmethod): Don't hide code under quotes.
17005 (eieio-defmethod): New `code' argument.
17006
17007 * emacs-lisp/eieio-comp.el: Remove.
17008
17009 * emacs-lisp/edebug.el (edebug-eval-defun)
17010 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17011 (edebug-toggle): Avoid `eval'.
17012
17013 * emacs-lisp/disass.el (disassemble-internal): Handle new
17014 `closure' objects.
17015 (disassemble-1): Handle new byte codes.
17016
17017 * emacs-lisp/cl.el (pushnew): Silence warning.
17018
17019 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17020 (cl-byte-compile-throw): Remove.
17021 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17022
17023 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17024 closures.
17025
17026 * emacs-lisp/cconv.el: New file.
17027
17028 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17029 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17030 (byte-compile-initial-macro-environment):
17031 Handle declare-function here.
17032 (byte-compile--lexical-environment): New var.
17033 (byte-stack-ref, byte-stack-set, byte-discardN)
17034 (byte-discardN-preserve-tos): New lap codes.
17035 (byte-interactive-p): Don't use any more.
17036 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17037 New macros.
17038 (byte-compile-lapcode): Use them and handle new lap codes.
17039 (byte-compile-obsolete): Remove.
17040 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17041 (byte-compile-arglist-warn): Check late def of inlinable funs.
17042 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17043 since they should have been expanded by now.
17044 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17045 (byte-compile-from-buffer): Remove unused second arg.
17046 (byte-compile-preprocess): New function.
17047 (byte-compile-toplevel-file-form): New function to distinguish
17048 file-form calls from outside from file-form calls from hunk-handlers.
17049 (byte-compile-file-form): Simplify.
17050 (byte-compile-file-form-defsubst): Remove.
17051 (byte-compile-file-form-defmumble): Simplify now that
17052 byte-compile-lambda always returns a byte-code-function.
17053 (byte-compile): Preprocess.
17054 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17055 Remove, not used any more.
17056 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17057 (byte-compile-make-args-desc): New funs.
17058 (byte-compile-lambda): Handle lexical functions. Always return
17059 a byte-code-function.
17060 (byte-compile-reserved-constants): New var, to make up room for
17061 closed-over variables.
17062 (byte-compile-constants-vector): Obey it.
17063 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17064 (byte-compile-macroexpand-declare-function): New function.
17065 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17066 byte-code-functions.
17067 (byte-compile-form): Check obsolescence here.
17068 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17069 (byte-compile-variable-ref): Remove.
17070 (byte-compile-dynamic-variable-op): New fun.
17071 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17072 (byte-compile-variable-set): New funs.
17073 (byte-compile-discard): Add 2 args.
17074 (byte-compile-stack-ref, byte-compile-stack-set)
17075 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17076 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17077 macroexpand-all instead.
17078 (byte-compile-quote-form): Remove.
17079 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17080 (byte-compile-bind, byte-compile-unbind): New funs.
17081 (byte-compile-let): Handle let* and lexical binding.
17082 (byte-compile-let*): Remove.
17083 (byte-compile-catch, byte-compile-unwind-protect)
17084 (byte-compile-track-mouse, byte-compile-condition-case):
17085 Handle a new :fun-body form, used for lexical scoping.
17086 (byte-compile-save-window-excursion)
17087 (byte-compile-with-output-to-temp-buffer): Remove.
17088 (byte-compile-defun): Simplify.
17089 (byte-compile-stack-adjustment): New fun.
17090 (byte-compile-out): Use it.
17091 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17092
17093 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17094 handler any more.
17095
17096 * emacs-lisp/byte-opt.el: Use lexical binding.
17097 (byte-inline-lapcode): Remove (to bytecomp).
17098 (byte-compile-inline-expand): Pay attention to inlining to/from
17099 lexically bound code.
17100 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17101 any more.
17102 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17103 any more and don't call compiler-macros.
17104 (byte-compile-splice-in-already-compiled-code): Remove.
17105 (byte-code): Don't inline any more.
17106 (disassemble-offset): Receive `bytes' as argument rather than via
17107 dynamic scoping.
17108 (byte-compile-tag-number): Declare before first use.
17109 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17110 `return' even if make-spliceable.
17111 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17112 obsolete interactive-p.
17113 (byte-optimize-lapcode): Optimize new lap-codes.
17114 Don't trip up on new form of `byte-constant' lap code.
17115
17116 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17117
17118 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17119
17120 * custom.el (custom-initialize-default, custom-declare-variable):
17121 Use `defvar'.
17122
17123 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17124 New variables.
17125 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17126 (COMPILE_FIRST): Add macroexp and cconv.
17127 * makefile.w32-in: Mirror changes in Makefile.in.
17128
17129 * vc/cvs-status.el:
17130 * vc/diff-mode.el:
17131 * vc/log-edit.el:
17132 * vc/log-view.el:
17133 * vc/smerge-mode.el:
17134 * textmodes/bibtex-style.el:
090bd7cb 17135 * textmodes/css-mode.el:
03408648
SM
17136 * startup.el:
17137 * uniquify.el:
da91b5f2
CY
17138 * minibuffer.el:
17139 * newcomment.el:
17140 * reveal.el:
17141 * server.el:
17142 * mpc.el:
17143 * emacs-lisp/smie.el:
17144 * doc-view.el:
17145 * dired.el:
03408648
SM
17146 * abbrev.el: Use lexical binding.
17147
0f0c1f27
EZ
171482011-04-01 Eli Zaretskii <eliz@gnu.org>
17149
17150 * info.el (info-display-manual): New function.
17151
c82b2579
SM
171522011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17153
17154 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17155
221ddf68
TH
171562011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17157
17158 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 17159 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 17160
cba6e77e
GM
171612011-03-31 Glenn Morris <rgm@gnu.org>
17162
e040639f
GM
17163 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17164
cba6e77e
GM
17165 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17166
6d0f1c9e
CS
171672011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17168
17169 * progmodes/python.el (python-default-interpreter)
17170 (python-python-command-args, python-jython-command-args)
17171 (python-which-shell, python-which-args, python-which-bufname)
17172 (python-file-queue, python-comint-output-filter-function)
17173 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17174 variables and functions.
17175
3e2d70fd
SM
171762011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17177
17178 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17179 (completion-in-region-mode): New minor mode.
17180 (completion-in-region): Use it.
17181 (completion-in-region--data, completion-in-region-mode-map): New vars.
17182 (completion-in-region--postch): New function.
17183 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17184 New vars.
17185 (completion--capf-wrapper): New function.
17186 (completion-at-point): Use it to track well-behavedness of
17187 hook functions.
17188 (completion-help-at-point): New command.
17189
f3e4086c
JM
171902011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17191
17192 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17193 syntax class to search for whitespace on a single line
17194 (Message-ID: <4D938140.4030905@redhat.com>).
17195
eb7ffc14
LL
171962011-03-30 Leo Liu <sdl.web@gmail.com>
17197
17198 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17199 New commands.
17200 (edit-abbrevs-map): Bind them here.
17201 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17202
d806ab68
KM
172032011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17204
17205 * allout.el (allout-hide-by-annotation, allout-flag-region):
17206 Reduce possibility of overlay leakage by making them volatile.
17207
17208 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17209 hash is not shared between buffers. Mode initialization is
17210 responsible for giving it a useful starting value.
17211 (allout-item-span): Reduce possibility of overlay leakage by
17212 making them volatile.
17213 (allout-widgets-count-buttons-in-region): Add diagnostic function
17214 for tracking down button overlay leaks.
17215
ea622834
LL
172162011-03-29 Leo Liu <sdl.web@gmail.com>
17217
17218 * ido.el (ido-read-internal): Use the default history var
17219 minibuffer-history if no HISTORY is specified.
17220
b62f8267
G
172212011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17222
03408648
SM
17223 * net/imap.el (imap-shell-open, imap-process-connection-type):
17224 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
17225 Kerberos, SSL, other subprocesses.
17226
947b6566
LL
172272011-03-28 Leo Liu <sdl.web@gmail.com>
17228
17229 * abbrev.el (abbrev-table-empty-p): New function.
17230 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17231 nonempty ones. (Bug#5937)
17232
5ffb62aa
JD
172332011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17234
17235 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17236
7a097943
LL
172372011-03-27 Leo Liu <sdl.web@gmail.com>
17238
17239 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17240 for foreground and background colors.
17241 (ansi-color-make-color-map): Adapt.
17242
c5b40130
LL
172432011-03-25 Leo Liu <sdl.web@gmail.com>
17244
1f48f7d2
LL
17245 * midnight.el (midnight-time-float): Remove. Note it calculates
17246 the microsecond component incorrectly and seconds-to-time does the
17247 same job.
625897ec 17248 Remove redundant (require 'timer).
1f48f7d2 17249
c5b40130
LL
17250 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17251 (ido-completions): Remove unused arguments. (Bug#8329)
17252
d86d2721
SM
172532011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17254
17255 * minibuffer.el (completion--flush-all-sorted-completions):
17256 Remove itself from hook.
17257 (completion-at-point): Let the functions perform the completion
17258 immediately and return nil or t.
17259 * comint.el (comint-dynamic-complete-functions): Now identical to
17260 completion-at-point-functions.
17261 (comint-dynamic-list-input-ring): Remove unused var `index'.
17262 (comint--match-partial-filename, comint--unquote&expand-filename):
17263 New funs, split from comint-match-partial-filename.
17264 (comint-dynamic-complete): Use completion-at-point.
17265 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17266
e8974c48
DA
172672011-03-24 Drew Adams <drew.adams@oracle.com>
17268
17269 * thingatpt.el: Support `defun'.
17270
def71b5e
LL
172712011-03-23 Leo Liu <sdl.web@gmail.com>
17272
cb5af48e
LL
17273 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17274
def71b5e
LL
17275 * help-mode.el (help-mode-finish): Tweak regexp.
17276
927c53e7
GM
172772011-03-23 Glenn Morris <rgm@gnu.org>
17278
18d05bed
GM
17279 * eshell/esh-opt.el (eshell-eval-using-options):
17280 Do not bind unused local variable `eshell-option-stub'.
17281
927c53e7
GM
17282 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17283
9d0da923
JB
172842011-03-22 Juanma Barranquero <lekktu@gmail.com>
17285
17286 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17287 keymap variable in `with-no-warnings' to avoid a warning when the
17288 keymap has been already `defconst'ed.
17289
4b978a67
LL
172902011-03-22 Leo Liu <sdl.web@gmail.com>
17291
17292 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17293 encode all chars in abbrevs; otherwise use emacs-mule or
17294 utf-8-emacs. (Bug#8308)
17295
5fd62452
JB
172962011-03-22 Juanma Barranquero <lekktu@gmail.com>
17297
0b1596c6
JB
17298 * simple.el (backward-delete-char-untabify):
17299 Avoid warning about using `delete-backward-char'.
17300
5fd62452
JB
17301 * image.el (image-type-file-name-regexps): Make it variable.
17302 `imagemagick-register-types' modifies it, and the user may want
17303 to add new extensions for known image types.
17304 (imagemagick-register-types): Throw error if not using ImageMagick.
17305
0b4e93f1
LL
173062011-03-22 Leo Liu <sdl.web@gmail.com>
17307
17308 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17309 located before rcirc-prompt-end-marker.
17310 (rcirc-complete): Error if point is not after rcirc prompt.
17311 Handle the case when table is nil.
9882e214 17312 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17313
fccee4ab
CY
173142011-03-22 Chong Yidong <cyd@stupidchicken.com>
17315
17316 * custom.el (custom--inhibit-theme-enable): Make it affect only
17317 custom-theme-set-variables and custom-theme-set-faces.
17318 (provide-theme): Ignore custom--inhibit-theme-enable.
17319 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17320 (custom-enabling-themes): Delete variable.
d86d2721
SM
17321 (enable-theme): Accept only loaded themes as arguments.
17322 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17323 (custom-enabled-themes): Forbid themes from setting this.
17324 Eliminate use of custom-enabling-themes.
17325 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17326
af896da6
LL
173272011-03-21 Leo Liu <sdl.web@gmail.com>
17328
17329 * ido.el (ido-read-internal): Add ido-selected to history instead
17330 of user input.
17331
78f64af0
SM
173322011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17333
17334 * subr.el (deferred-action-list, deferred-action-function):
17335 Mark obsolete.
17336
b16ac1ec
LL
173372011-03-21 Leo Liu <sdl.web@gmail.com>
17338
810f7698
LL
17339 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17340 change on 2011-02-13 (bug#8309).
17341
b16ac1ec
LL
17342 * minibuffer.el (read-file-name-function): Change default value.
17343 (read-file-name--defaults): Rename from read-file-name-defaults.
17344 (read-file-name-default): Rename from read-file-name.
17345 (read-file-name): Call read-file-name-function.
17346
4e05e67e
GM
173472011-03-21 Glenn Morris <rgm@gnu.org>
17348
17349 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17350 Doc fixes.
17351
4359915b
CY
173522011-03-21 Chong Yidong <cyd@stupidchicken.com>
17353
17354 * cus-theme.el: Add missing provide statement.
17355 (customize-create-theme): Extract theme value correctly.
17356 (custom-theme-visit-theme): Autoload.
17357 (customize-create-theme): Prompt before inserting default faces.
17358
1fe275ee
JB
173592011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17360
17361 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17362 units and musical notes.
17363
cd394be1 173642011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17365
17366 * ido.el (ido-read-internal): Use completing-read-default.
17367 (ido-completing-read): Fix compatibility with completing-read.
17368
7d476bde
CO
173692011-03-20 Christian Ohler <ohler@gnu.org>
17370
17371 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17372 (ert-delete-all-tests): Use `called-interactively-p' rather than
17373 `interactive-p'.
17374 (ert--make-xrefs-region): Respect END.
17375
fe0fb33e
CY
173762011-03-19 Chong Yidong <cyd@stupidchicken.com>
17377
ff854b0b
CY
17378 * dired-aux.el (dired-create-directory): Signal an error if the
17379 directory already exists (Bug#8246).
17380
fe0fb33e
CY
17381 * facemenu.el (list-colors-display): Call list-faces-display
17382 inside with-help-window.
17383 (list-colors-print): Use display property to align the final
17384 column, instead of checking window-width.
17385
576bce32
EZ
173862011-03-19 Eli Zaretskii <eliz@gnu.org>
17387
4d61f28d 17388 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17389 windows-nt systems.
17390 (emerge-protect-metachars): Quote correctly for ms-dos and
17391 windows-nt systems.
17392
89c41d68 173932011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17394
17395 * info.el (info-initialize): Replace all uses of `:' with
17396 path-separator for compatibility with non-Unix systems.
17397 Cache quoting of path-separator. (Bug#8258)
17398
b14e3e21 173992011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17400
17401 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17402 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17403 (mouse-avoidance-mode): Fix typos in docstrings.
17404
4525ce3e
CY
174052011-03-19 Chong Yidong <cyd@stupidchicken.com>
17406
17407 * startup.el (package-subdirectory-regexp): Move from package.el.
17408 Omit \\` and \\', and let callers add them.
17409
17410 * emacs-lisp/package.el (package-strip-version)
17411 (package-load-all-descriptors): Add \\` and \\' to
17412 package-subdirectory-regexp before using it.
17413 (package-untar-buffer): New arg DIR; ensure that file untars only
17414 into this expected directory. Remove superfluous delete-region.
17415 (package-unpack): Caller changed.
17416 (package-tar-file-info): Use package-subdirectory-regexp.
17417
a904a09a 174182011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17419
a904a09a
SM
17420 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17421 diff-mode-shared-map (bug#8284).
17422 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17423
174242011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17425
17426 * calendar/time-date.el (format-seconds): Use assoc instead of
17427 assoc-string, since assoc-string doesn't exist in XEmacs.
17428
171fc304
JB
174292011-03-17 Juanma Barranquero <lekktu@gmail.com>
17430
17431 * custom.el (custom-known-themes): Reflow docstring.
17432 (custom-theme-load-path): Fix typo in docstring.
17433 (load-theme): Fix typo in error message.
17434 (custom-available-themes, custom-variable-theme-value):
17435 Use `let', not `let*'.
17436
d71990a1
JB
174372011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17438
17439 * calc/README: Mention inclusion of musical notes.
17440
17441 * calc/calc-units.el (calc-lu-quant): Rename from
17442 `calc-logunits-quantity'.
17443 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17444 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17445 (calc-db): Rename from `calc-dblevel'.
17446 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17447 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17448 (calc-np): Rename from `calc-nplevel'.
17449 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17450 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17451 (calc-lu-plus): Rename from `calc-logunits-add'.
17452 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17453 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17454 (calc-lu-minus): Rename from `calc-logunits-sub'.
17455 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17456 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17457 (calc-lu-times): Rename from `calc-logunits-mul'.
17458 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17459 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17460 (calc-lu-divide): Rename from `calc-logunits-div'.
17461 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17462 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17463
17464 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17465 functions being autoloaded.
17466
17467 * calc/calc.el (calc-lu-power-reference): Rename from
17468 `calc-logunits-power-reference'.
17469 (calc-lu-field-reference): Rename from
17470 `calc-logunits-field-reference'.
17471
7a71b18d
GM
17472 * calc/calc-help.el (calc-l-prefix-help):
17473 Mention musical note functions.
d71990a1 17474
40c2934b
SM
174752011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17476
17477 * minibuffer.el (completion-all-sorted-completions):
17478 Use :completion-cycle-penalty text property if present.
17479
b0911414
KM
174802011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17481
17482 * allout.el (allout-yank-processing): Adjust for new rebulleting
17483 regime so bullet being yanked is used without prompting the user
17484 for a choice.
17485
8a05b668
JB
174862011-03-16 Juanma Barranquero <lekktu@gmail.com>
17487
17488 * startup.el (command-line): Warn the user that _emacs is deprecated.
17489
5ba5fb81
JB
174902011-03-16 Juanma Barranquero <lekktu@gmail.com>
17491
17492 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17493 (delphi-verbose, delphi-comment-face, delphi-string-face)
17494 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17495 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17496 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17497 (delphi-new-comment-line, delphi-font-lock-defaults)
17498 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17499 Fix typos in docstrings.
17500
2dab465b
KM
175012011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17502
5ba5fb81 17503 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17504 Invert the roles of character and string values for INSTEAD, so a
17505 string is used for the more common case of a defaulting prompt.
17506
0adf5618
SM
175072011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17508
17509 * progmodes/ruby-mode.el (ruby-backward-sexp):
17510 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17511 * play/gamegrid.el (gamegrid-make-face):
17512 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17513 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17514 * notifications.el (notifications-notify):
17515 * net/xesam.el (xesam-search-engines):
17516 * net/quickurl.el (quickurl-list-insert):
17517 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17518
d72700e5
CY
175192011-03-15 Chong Yidong <cyd@stupidchicken.com>
17520
17521 * startup.el (command-line): Update package subdirectory regexp.
17522
49c5410a
SM
175232011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17524
c6eee9aa
SM
17525 * allout.el (allout-abbreviate-flattened-numbering)
17526 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17527
49c5410a
SM
17528 * subr.el (read-char-choice): Only show the cursor after the prompt,
17529 not after the answer.
17530
047b2bb9
KR
175312011-03-15 Kevin Ryde <user42@zip.com.au>
17532
17533 * help-fns.el (variable-at-point): Skip leading quotes, if any
17534 (bug#8253).
17535
0a57d256
SM
175362011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17537
17538 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17539 warning message.
17540
77c992bc
MA
175412011-03-14 Michael Albinus <michael.albinus@gmx.de>
17542
17543 * shell.el (shell): When called interactively, offer to change the
17544 shell file name on remote hosts.
17545
eebc475d
TZ
175462011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17547
17548 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17549 integration for LDAP parameters. The host, base, user or binddn,
17550 and secret tokens can be specified in a netrc file, for instance.
17551 This is optional because an `auth-source' parameter must be
17552 specified in the search attributes.
17553
9d05d1ba
JB
175542011-03-13 Juanma Barranquero <lekktu@gmail.com>
17555
17556 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17557
09d9db2c
GM
175582011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17559
17560 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17561 into declaration. Remove redundant and harmful binding.
17562
175632011-03-12 Eli Zaretskii <eliz@gnu.org>
17564
17565 * files.el (file-ownership-preserved-p): Pass `integer' as an
17566 explicit 2nd argument to `file-attributes'. If the file's owner
17567 is the Administrators group on Windows, and the current user is
17568 Administrator, consider that a match.
17569
17570 * server.el (server-ensure-safe-dir): Consider server directory
17571 safe on MS-Windows if its owner is the Administrators group while
17572 the current Emacs user is Administrator. Use `=' to compare
17573 numerical UIDs, since they could be integers or floats.
17574
219bd536
JB
175752011-03-12 Juanma Barranquero <lekktu@gmail.com>
17576
17577 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17578
f3afd36b
MA
175792011-03-12 Michael Albinus <michael.albinus@gmx.de>
17580
17581 Sync with Tramp 2.2.1.
17582
17583 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17584
17585 * net/trampver.el: Update release number.
17586
3aaaa6f1
SM
175872011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17588
94642599
SM
17589 * progmodes/compile.el (compilation--previous-directory): Fix up
17590 various nil/dead-marker mismatches (bug#8014).
17591 (compilation-directory-properties, compilation-error-properties):
17592 Don't call it at a position past the one we're about to change.
17593
3aaaa6f1
SM
17594 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17595 Disable obsolescence warnings in the file that declares it.
17596
14239447
KM
175972011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17598
099c39a4
JB
17599 * allout-widgets.el (allout-widgets-tally):
17600 Initialize allout-widgets-tally as a hash table rather than nil to
17601 prevent mode-line redisplay warnings. Also, clarify the module
17602 description and fix a comment typo.
14239447 17603
135e287c
JB
176042011-03-11 Juanma Barranquero <lekktu@gmail.com>
17605
17606 * help-fns.el (describe-variable): Don't complete keywords.
17607 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17608
ffbf300e
CY
176092011-03-10 Chong Yidong <cyd@stupidchicken.com>
17610
ba08b241
CY
17611 * emacs-lisp/package.el (package-version-join): Impose a standard
17612 string representation for pre/alpha/beta version lists.
17613 (package-unpack-single): Standardize the directory name by passing
17614 it through package-version-join.
17615 (package-strip-rcs-id): Accept any version string that does not
17616 signal an error in version-to-list.
ffbf300e 17617
f346fd6b
MA
176182011-03-10 Michael Albinus <michael.albinus@gmx.de>
17619
17620 * simple.el (delete-trailing-whitespace): Return nil for the
17621 benefit of `write-file-functions'.
17622
ccb55d27
GM
176232011-03-10 Glenn Morris <rgm@gnu.org>
17624
5ceaac0c
GM
17625 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17626
02da65ff
GM
17627 * vc/vc-git.el (vc-git-program): New option.
17628 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17629 (vc-git--call): Use it.
17630
b2f603cc
GM
17631 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17632
5772caab
GM
17633 * cus-edit.el (Custom-newline): If no button at point, look
17634 for a subgroup button at start-of-line. (Bug#2298)
17635
ccb55d27
GM
17636 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17637
ec6ecaed
JD
176382011-03-10 Julien Danjou <julien@danjou.info>
17639
17640 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17641 `cursor-type' is nil.
17642
9d5aa01d
JB
176432011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17644
17645 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17646
b6a5875b
KM
176472011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17648
7a71b18d 17649 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17650 preserves the existing header prefix, rebulleting it if necessary,
17651 rather than replacing it. This is necessary for proper operation
17652 of cooperative addons like allout-widgets.
1154d12e
JB
17653 (allout-make-topic-prefix, allout-rebullet-heading):
17654 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17655 value as alternate bullet to be used, instead of prompting the user
17656 for a bullet character.
b6a5875b 17657
ee545c35
MA
176582011-03-09 Michael Albinus <michael.albinus@gmx.de>
17659
d86d2721
SM
17660 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17661 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17662 `tramp-default-port'.
17663
c47971d7
DD
176642011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17665
17666 * net/rcirc.el (rcirc-handler-001): Remove useless
17667 with-rcirc-process-buffer.
17668 (rcirc-check-auth-status): Swap arguments to string-match.
17669
13522cb4
GM
176702011-03-09 Glenn Morris <rgm@gnu.org>
17671
0be6f4f1
GM
17672 * shell.el (shell-mode):
17673 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17674
13522cb4
GM
17675 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17676 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17677
515de2e3
CY
176782011-03-08 Chong Yidong <cyd@stupidchicken.com>
17679
17680 * emacs-lisp/package.el (package-refresh-contents)
17681 (package-menu-execute): Use condition-case-no-debug.
17682
b511b994
MA
176832011-03-08 Michael Albinus <michael.albinus@gmx.de>
17684
17685 * simple.el (shell-command-to-string): Use `process-file'.
17686
17687 * emacs-lisp/package.el (package-tar-file-info): Handle also
17688 remote files.
17689
d86d2721
SM
17690 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17691 Use `equal' for upload base check.
b511b994 17692
25bbfb31
AM
176932011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17694
17695 * textmodes/texinfo.el (texinfo-environments):
17696 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17697
be996521
GM
176982011-03-08 Glenn Morris <rgm@gnu.org>
17699
e9c8529f
GM
17700 * cus-start.el (cursor-in-non-selected-windows):
17701 Fix :set quoting oddness. (Bug#8192)
17702
be996521
GM
17703 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17704 in some setf expressions. (Bug#2159)
17705
2bb5649e
CY
177062011-03-08 Chong Yidong <cyd@stupidchicken.com>
17707
17708 * custom.el (custom-available-themes): Return themes in
17709 alphabetical order.
17710
33383987 17711See ChangeLog.15 for earlier changes.
e3d51b27
MR
17712
17713;; Local Variables:
17714;; coding: utf-8
e3d51b27
MR
17715;; End:
17716
acaf905b 17717 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17718
17719 This file is part of GNU Emacs.
17720
17721 GNU Emacs is free software: you can redistribute it and/or modify
17722 it under the terms of the GNU General Public License as published by
17723 the Free Software Foundation, either version 3 of the License, or
17724 (at your option) any later version.
17725
17726 GNU Emacs is distributed in the hope that it will be useful,
17727 but WITHOUT ANY WARRANTY; without even the implied warranty of
17728 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17729 GNU General Public License for more details.
17730
17731 You should have received a copy of the GNU General Public License
17732 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.