Auto-commit of generated files.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
52162052
MR
12012-08-16 Martin Rudalics <rudalics@gmx.at>
2
3 * window.el (window-valid-p): Move to window.c.
4
1c308380
PS
52012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
6
7 * progmodes/subword.el (subword-forward-function)
8 (subword-backward-function, subword-forward-regexp)
9 (subword-backward-regexp): New variables.
10 (subword-forward, subword-forward-internal, subword-backward-internal):
11 Use new variables, eg so that different "word" definitions
12 can be easily used. (Bug#11411)
13
94c9ece1
SM
142012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15
16 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
17 for composite selectors.
18 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
19 operation just because we can't find a previous revision.
20
f2045622
CY
212012-08-15 Chong Yidong <cyd@gnu.org>
22
23 * frame.el (set-frame-font): Accept font objects.
24
582db660
SM
252012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
26
27 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
28
2f29c200
WJ
292012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
30
456e62c2
WJ
31 * man.el (Man-overstrike-face, Man-underline-face)
32 (Man-reverse-face): Remove variables.
33 (Man-overstrike, Man-underline, Man-reverse): New faces.
34 (Man-fontify-manpage): Use them instead of the variables.
35 (Man-cleanup-manpage): Comment change.
36 (Man-ansi-color-map): New variable.
37 (Man-fontify-manpage): Use it.
38 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
39
2f29c200
WJ
40 Implement ANSI SGR parameters 22-27 (bug#12146).
41 * ansi-color.el (ansi-colors): Doc fix.
42 (ansi-color-context, ansi-color-context-region): Doc fix.
43 (ansi-color--find-face): New function.
44 (ansi-color-apply, ansi-color-apply-on-region): Use it.
45 Rename the local variable `face' to `codes' since it is now a list of
46 ansi codes. Doc fix.
47 (ansi-color-get-face): Remove.
48 (ansi-color-parse-sequence): New function, derived from
49 ansi-color-get-face.
50 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
51 codes 22-27.
52
b4f5e9df
SM
532012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * subr.el (read-passwd): Allow use from a minibuffer.
56
ba025fbd
EZ
572012-08-14 Eli Zaretskii <eliz@gnu.org>
58
59 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
60 inside comments and strings as identifiers.
61
62 * progmodes/gud.el (gud-tooltip-print-command): Quote the
63 expression to evaluate. This allows to evaluate expressions with
64 embedded whitespace.
65 (gud-tooltip-tips): Add a blank before the newline in the
66 message-box text, for the benefit of message-box emulation on
67 MS-Windows.
68
69 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
70 messages from GDB, pop them up in a tooltip to give feedback to
71 user.
b4f5e9df
SM
72 (gdb-tooltip-print-1): Quote the expression to evaluate.
73 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
74 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
75 if the TTY name is nil or empty (which happens when communicating
76 with the inferior via pipes, e.g. on MS-Windows).
77 (gdb-internals): If GDB sends a "&\n" empty debugging message,
78 don't send that to the GUD buffer.
79
c548f821
GM
802012-08-14 Glenn Morris <rgm@gnu.org>
81
82 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
83 Optimize away setq-default with no args, as for setq. (Bug#12195)
84
55802e4a
CY
852012-08-14 Chong Yidong <cyd@gnu.org>
86
4abcdac8
CY
87 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
88
55802e4a
CY
89 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
90 (Bug#12085).
91
3c3cda1a
GM
922012-08-14 Glenn Morris <rgm@gnu.org>
93
94 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
95
e1873bd0
MA
962012-08-14 Michael Albinus <michael.albinus@gmx.de>
97
98 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
99 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
100 Use cached shell name.
101
925411b4
FEG
1022012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
103
104 * progmodes/python.el (python-shell-send-string):
3c3cda1a 105 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 106
e636fafe
DG
1072012-08-14 Dmitry Gutov <dgutov@yandex.ru>
108
109 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
110 (ruby-percent-literal-beg-re): New constant.
111 (ruby-syntax-general-delimiters-goto-beg): Rename to
112 `ruby-syntax-enclosing-percent-literal', improve literal type check.
113 (ruby-syntax-propertize-general-delimiters): Rename to
114 `ruby-syntax-propertize-percent-literal', it's a shorter and more
115 popular term. Adjust comments everywhere.
116 (ruby-syntax-propertize-percent-literal): Only propertize when not
117 inside a simple string or comment. When the literal is unclosed,
118 leave the text after it unpropertized.
f063063a
DG
119 (ruby-syntax-methods-before-regexp): New constant.
120 (ruby-syntax-propertize-function): Use it to recognize regexps.
121 Don't look at the text after regexp, just use the whitelist.
e636fafe 122
e5b19827
AS
1232012-08-14 Andreas Schwab <schwab@linux-m68k.org>
124
125 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
126 non-nil always load the compiled file if it exists. (Bug#12197)
127
a9f6f311
CY
1282012-08-14 Chong Yidong <cyd@gnu.org>
129
130 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
131 (hi-lock-set-pattern): When deciding whether to use font lock or
132 overlays, look at font-lock-mode instead of font-lock-fontified
133 (Bug#12168).
134 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
135 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
136
7d806b1e
DU
1372012-08-14 Daiki Ueno <ueno@unixuser.org>
138
139 * subr.el (internal--after-with-selected-window): Fix typo
140 (Bug#12193).
141
5beed586
FEG
1422012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
143
144 Use `completion-table-dynamic' for completion functions.
145 * progmodes/python.el
146 (python-shell-completion--do-completion-at-point)
e636fafe
DG
147 (python-shell-completion--get-completions):
148 Remove functions.
5beed586
FEG
149 (python-shell-completion-complete-at-point): New function.
150 (python-completion-complete-at-point): Use it.
151
92cb3b04
J
1522012-08-13 Jambunathan K <kjambunathan@gmail.com>
153
154 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
155 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
156
89660017
SM
1572012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
158
3c98c962
SM
159 * subr.el (function-get): Refine `autoload' arg so it can also
160 autoload functions for gv.el (bug#12191).
161 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
162 autoloads macros.
163
aa7c6dbe
SM
164 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
165 Prefer pcase-let over destructuring-bind.
166 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
167 Also, remove whitespace as we go, rather than after accumulating the
168 various places.
169
89660017
SM
170 * subr.el (internal--before-with-selected-window)
171 (internal--after-with-selected-window): Fix typo seleted->selected.
172 (with-selected-window): Adjust callers.
173 Reported by Dmitry Gutov <dgutov@yandex.ru>.
174
31cd32c9
BG
1752012-08-13 Bastien Guerry <bzg@gnu.org>
176
177 * window.el (special-display-popup-frame): Small docstring
178 enhancement. (Bug#12172)
179
1b15d8ad
AS
1802012-08-13 Andreas Schwab <schwab@linux-m68k.org>
181
31e54db0
AS
182 * tar-mode.el (tar-header-data-end): Only ignore size for files of
183 type 1-6.
184 (tar-header-block-summarize, tar-get-descriptor): Handle pax
185 extended headers.
186
1b15d8ad
AS
187 * files.el (hack-local-variables-filter): Remove useless eval.
188
35cb9c06
MR
1892012-08-13 Martin Rudalics <rudalics@gmx.at>
190
191 * subr.el (with-selected-window): Fix last change.
192
1439443b
SM
1932012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
194
195 * subr.el (internal--before-with-seleted-window)
196 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
197 (with-selected-window): Use them, to replace dependency on
198 tty-top-frame.
1439443b 199
0d9e2599
NN
2002012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
201
202 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
203 binding for `newline'.
204 (ruby-move-to-block): When moving backward, stop at block opening,
205 not indentation.
206 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
207 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
208 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
209 `ruby-toggle-block'.
210
ba10c48c
SM
2112012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
212
213 * ibuffer.el (ibuffer-do-toggle-read-only):
214 * dired.el (dired-toggle-read-only):
215 * buff-menu.el (Buffer-menu-toggle-read-only):
216 * bindings.el (mode-line-toggle-read-only):
217 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
218
9229c658
AS
2192012-08-12 Andreas Schwab <schwab@linux-m68k.org>
220
221 * descr-text.el (describe-char): Put the overlays over the
222 "displayed as" character.
223
0fd09128
JB
2242012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
225
226 * calc/calc-units.el (math-default-units-table): Give an
227 initial value.
228 (math-put-default-units): Add options to put composite units and
229 unit systems in the default units table.
230 (calc-convert-units): Send composite units to
231 `math-put-default-units' when appropriate.
232
9ff9402d 2332012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 234
fbb5e336
GM
235 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
236
7aacaf15
GM
237 * tutorial.el (help-with-tutorial):
238 * emacs-lisp/copyright.el (copyright-update-directory):
239 * emacs-lisp/autoload.el (autoload-find-generated-file)
240 (autoload-find-file): Disable local eval: (for insurance).
241
f40b9f10
GM
242 * files.el (hack-local-variables-filter): If an eval: form is not
243 known to be safe, and enable-local-variables is :safe, then ignore
244 the form totally, as is done for non-eval forms. (Bug#12155)
245
daa9f1a6
SM
2462012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
247
248 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
249 (rx-form): Simplify.
250
9cd80478
DG
2512012-08-09 Dmitry Gutov <dgutov@yandex.ru>
252
0d9e2599
NN
253 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
254 ?, _, and : are symbol constituents, ! is not (but kinda should be).
255 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
256 (ruby-syntax-propertize-function): Adjust for changes in
257 `ruby-syntax-propertize-heredoc'.
258
2592012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
260
9cd80478
DG
261 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
262 binding (use `M-;' instead).
9cd80478 263 (ruby-singleton-class-p): New function.
0d9e2599 264 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 265
d301b413
SM
2662012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
267
268 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
269
1530c98e
CY
2702012-08-10 Chong Yidong <cyd@gnu.org>
271
272 * progmodes/python.el (python-shell-get-process-name): Don't mess
273 with same-window-buffer-names.
274
275 * eshell/eshell.el (eshell-add-to-window-buffer-names)
276 (eshell-remove-from-window-buffer-names): Make obsolete.
277 (eshell-buffer-name, eshell-unload-hook): Don't use them.
278 (eshell): Just use pop-to-buffer-same-window instead.
279
e1293765
CY
2802012-08-10 Chong Yidong <cyd@gnu.org>
281
282 * bindings.el: Bind M-= back to count-words-region.
283
284 * simple.el (count-words-region): Accept a prefix arg for acting
285 on the entire buffer.
286 (count-words--buffer-message): New helper function.
287
e1894109
SM
2882012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
291 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
292 (event-start, event-end): Use posn-at-point to return a more
293 informative posn.
294 (posnp): New function.
295 * mouse.el (popup-menu-normalize-position): Use it.
296
c69f56a2
MY
2972012-08-10 Masatake YAMATO <yamato@redhat.com>
298
299 * mouse.el (popup-menu-normalize-position): New function.
300 (popup-menu): Use `popup-menu-normalize-position' to normalize
301 the form for POSITION argument.
302
303 * term/x-win.el (x-menu-bar-open):
304 Use the value returend from (posn-at-point) as position
305 passed to `popup-menu'.
306
31673780
JB
3072012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
308
309 * calc/calccomp.el (math-compose-expr): Add extra argument
310 indicating that parentheses should be put around products in
311 denominators. Give multiplication precedence over division during
312 composition.
313
dab7711b
CY
3142012-08-09 Chong Yidong <cyd@gnu.org>
315
dee4ef93
CY
316 * man.el (Man-switches, Man-sed-command, Man-awk-command)
317 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
318 (Man-untabify-command, manual-program): Convert to defcustom
319 (Bug#10429).
320
73e2bbc5
CY
321 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
322
3e861c8a
CY
323 * descr-text.el (describe-char): Don't insert extra newlines
324 (Bug#10127).
325
a9f5a649
CY
326 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
327 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
328
dab7711b
CY
329 * align.el (align-region): Delete temporary markers (Bug#10047).
330 Plus some code cleanups.
331
e0cc4efa
FEG
3322012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
333
334 * progmodes/python.el (python-pdbtrack-tracked-buffer)
335 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
336 (python-shell-internal-last-output): Use make-local-variable
337 instead of make-variable-buffer-local.
338
489af14f
FEG
3392012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
340
341 * progmodes/python.el: Enhancements to forward-sexp.
342 (python-nav-forward-sexp): Rename from
343 python-nav-forward-sexp-function.
c69f56a2
MY
344 (python-nav--forward-sexp, python-nav--backward-sexp):
345 New functions.
489af14f 346
0fc50303
JB
3472012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
348
349 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
350 modes and simplification modes.
351
5d65606a
SM
3522012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
353
354 * delsel.el (delete-selection-pre-hook): Don't propagate the
355 file-supersession signals (bug#12161).
356
4250fdf5
SM
3572012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
358
359 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
360 (cl-map-extents): Add compatibility aliases (bug#12135).
361
d9f9b465
MA
3622012-08-08 Michael Albinus <michael.albinus@gmx.de>
363
364 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
365 tests by `ignore-error'.
366 (tramp-find-shell): Open also a new shell, when cache is already
367 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
368
ce0fcefa
JL
3692012-08-08 Juri Linkov <juri@jurta.org>
370
371 * bookmark.el: Add `defaults' property to the bookmark record.
372 (bookmark-current-buffer): Doc fix.
373 (bookmark-make-record): Add `defaults' property with default values
374 to the bookmark record.
375 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
376 with `bookmark-insert-current-bookmark'.
377 (bookmark-set): Get `defaults' property from the bookmark record
378 and use it in `read-from-minibuffer'.
379 (bookmark-insert-current-bookmark): Remove function.
380
381 * info.el (Info-bookmark-make-record): Add `defaults' property
382 with values of canonical Info node name, the current Info file
383 name and the current Info node name. (Bug#12107)
384
53fa8652
JL
3852012-08-08 Juri Linkov <juri@jurta.org>
386
387 * files.el (basic-save-buffer): Use `buffer-name' as the default
388 of `read-file-name' when buffer is not visiting a file (bug#12128).
389
242c0a95
JL
3902012-08-08 Juri Linkov <juri@jurta.org>
391
392 * info.el (Info-isearch-search): Doc fix.
393 (Info-search): Change search-failed message from "initial node" to
394 "end of node" (bug#12078).
395 (Info-isearch-search): Change `isearch-string-state' to
396 `isearch--state-string'.
397
32ac3a6b
GM
3982012-08-08 Glenn Morris <rgm@gnu.org>
399
400 * language/persian.el: Remove file.
f8c1afd5 401 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
402 * loadup.el: Remove language/persian.
403
2c2d9c9c
OF
4042012-08-08 Óscar Fuentes <ofv@wanadoo.es>
405
406 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
407
2d79ec42
FEG
4082012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
409
410 * progmodes/python.el Fixed defsubst warning.
411 (python-syntax-context) Rename from python-info-ppss-context.
412 (python-syntax-context-type): Rename from
413 python-info-ppss-context-type.
414 (python-syntax-comment-or-string-p): Rename from
415 python-info-ppss-comment-or-string-p.
416
2bd255dd
JB
4172012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
418
419 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
420
c395097f
AS
4212012-08-07 Andreas Schwab <schwab@linux-m68k.org>
422
6125983e
AS
423 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
424 a defcustom that is quoted with backquote.
425
4250fdf5
SM
426 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
427 Fix handling of interactive spec when the body uses return.
651eaf36
AS
428 (math-do-arg-check, math-define-function-body): Use backquote forms.
429 * calc/calc-ext.el (math-defcache): Likewise.
430 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
431 * allout.el (allout-new-exposure): Likewise.
432 * calc/calcalg2.el (math-tracing-integral): Likewise.
433 * info.el (Info-last-menu-item): Likewise.
434 * emulation/vip.el (vip-loop): Likewise.
435 * textmodes/artist.el (artist-funcall): Likewise.
436 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
437 Construct menu-item directly.
438
4250fdf5
SM
439 * progmodes/autoconf.el (font-lock-syntactic-keywords):
440 Don't declare.
c395097f 441
5fb50dd3
CY
4422012-08-07 Chong Yidong <cyd@gnu.org>
443
444 * simple.el (deactivate-mark): Preserve text properties when
445 saving the primary selection (Bug#8384).
446
54eea618
KR
4472012-08-07 Kevin Ryde <user42@zip.com.au>
448
449 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
450 (woman-parse-numeric-value): On a bad .IP line, issue a warning
451 and continue processing (Bug#12110).
452
638eaeb9
SM
4532012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
454
455 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
456 syntax-propertize-function (bug#10095).
457
ea376861
SM
4582012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
459
f91b35be
SM
460 * help-fns.el (help-fns--key-bindings, help-fns--signature)
461 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
462 describe-function-1.
463 (describe-function-1): Use them. Move compiler macro after sig.
464 (help-fns--compiler-macro): Use function-get. Assume we're already in
465 standard-output. Adjust layout to new call order.
466
ea376861
SM
467 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
468 re-binding a symbol that has a symbol-macro (bug#12119).
469
d5be7bd0
MB
4702012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
471
472 * language/persian.el: New file. (Bug#11812)
473 * loadup.el: Add language/persian.el.
474
90749b53
CY
4752012-08-06 Chong Yidong <cyd@gnu.org>
476
477 * window.el (window--maybe-raise-frame): New function.
478 (window--display-buffer): Split off from here.
479 (display-buffer-reuse-window, display-buffer-pop-up-frame)
480 (display-buffer-pop-up-window, display-buffer-use-some-window):
481 Obey an inhibit-switch-frame action alist entry.
482 (display-buffer): Update doc.
483
484 * replace.el (occur-after-change-function): Avoid losing focus by
485 using the inhibit-switch-frame display parameter (Bug#12139).
486
ba7b0154
FEG
4872012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
488
489 Make internal shell process buffer names start with space.
490 * progmodes/python.el (python-shell-make-comint): Add optional
491 argument INTERNAL.
492 (run-python-internal): Use it.
493 (python-shell-internal-get-or-create-process): Check for new
494 internal buffer names.
495
5eaeacb5
GM
4962012-08-06 Glenn Morris <rgm@gnu.org>
497
e296d94b 498 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
499 Do less getting and setting of environment variables.
500
b7ccbdc2
CY
5012012-08-05 Chong Yidong <cyd@gnu.org>
502
777fe95e
CY
503 * proced.el (proced): Add substitution string to docstring to
504 trigger autoloading of the proced library on C-h f (Bug#1768).
505
4250fdf5
SM
506 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
507 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
508
509 * imenu.el (imenu-generic-expression): Move documentation here
510 from imenu--generic-function.
511 (imenu--generic-function): Refer to imenu-generic-expression.
512
9e3b7800 5132012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
514
515 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
516 indentation declaration.
517 (viper-loop): Add indentation declaration (Bug#7025).
518
e5d9c0d1
CY
5192012-08-05 Chong Yidong <cyd@gnu.org>
520
f0422feb
CY
521 * help-fns.el (describe-variable): Add hyperlink for
522 directory-local variables files. Improve buffer-local and
523 permanent-local reporting; suggested by MON KEY (Bug#6644).
524
525 * help-mode.el (help-dir-local-var-def): New button type.
526
e5d9c0d1
CY
527 * files.el (kill-buffer-hook): Provide a defvar.
528
a4f2deaa
GM
5292012-08-05 Glenn Morris <rgm@gnu.org>
530
531 * eshell/esh-ext.el (eshell/addpath):
532 Also update eshell-path-env. (Bug#12013)
533
a9dd5754
CY
5342012-08-05 Chong Yidong <cyd@gnu.org>
535
a4f2deaa 536 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 537
d014c740
CY
538 * fringe.el (fringe-styles): Add docstring.
539 (fringe--check-mode): New function.
540 (set-fringe-mode, set-fringe-style): Use it.
541 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
542
a9dd5754
CY
543 * files.el (set-auto-mode): Fix invalid setq call.
544
7c2dc8bd
SM
5452012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
546
547 * isearch.el: Misc simplification; use defstruct.
548 (isearch-mode-map): Dense maps now work like sparse ones.
549 (isearch--state): New defstruct.
550 (isearch-string-state, isearch-message-state, isearch-point-state)
551 (isearch-success-state, isearch-forward-state)
552 (isearch-other-end-state, isearch-word-state, isearch-error-state)
553 (isearch-wrapped-state, isearch-barrier-state)
554 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
555 replaced by defstruct's accessors.
556 (isearch--set-state): Rename from isearch-top-state and change
557 calling convention.
558 (isearch-push-state): Use new isearch--get-state.
559 (isearch-toggle-word): Disable regexp when enabling word.
560 (isearch-message-prefix): Remove unused arg _c-q-hack.
561 (isearch-message-suffix): Remove unused arg _ellipsis.
562
7fcc0070
AS
5632012-08-04 Andreas Schwab <schwab@linux-m68k.org>
564
565 * simple.el (list-processes--refresh): For a server use :host or
566 :local as the address.
97ad0769 567 (list-processes): Doc fix.
7fcc0070 568
00340faf
MN
5692012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
570
571 * lisp/mpc.el: Support password in host argument.
572 (mpc--proc-connect): Parse and use new password element.
573 Set mpc-proc variable instead of returning process.
574 (mpc-proc): Adjust accordingly.
575
6dad7178
EZ
5762012-08-03 Eli Zaretskii <eliz@gnu.org>
577
18949c2f
EZ
578 * whitespace.el (whitespace-display-mappings): Use Unicode
579 codepoints, instead of emacs-mule codepoints. See
580 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
581 for the details.
582
6dad7178
EZ
583 * files.el (file-truename): Don't skip symlink-chasing part on
584 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
585 Windows into the loop that recursively chases symlinks.
586 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
587 MS-DOS.
588
385b0198
CY
5892012-08-03 Chong Yidong <cyd@gnu.org>
590
6200f3c4
CY
591 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
592
385b0198
CY
593 * sort.el (sort-regexp-fields): Doc fix.
594
b9e74744
TH
5952012-08-03 Tassilo Horn <tsdh@gnu.org>
596
597 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
598 labels regex position point at the expected place.
599
41013cb4
MK
6002012-08-03 MON KEY <monkey@sandpframing.com>
601
602 * net/imap.el (imap-interactive-login, imap-authenticate)
603 (imap-mailbox-lsub, imap-mailbox-list)
604 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
605 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
606 (imap-parse-response): Doc fix.
607
0ffee616
JT
6082012-08-03 João Távora <joaotavora@gmail.com>
609
610 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
611 if sexp scanning does not move point (Bug#5734).
612
cfcc9cc8
TH
6132012-08-02 Tassilo Horn <tsdh@gnu.org>
614
615 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
616 Add listings, minted, and ctable packages.
617 (reftex-label-alist-builtin): Move listings, minted, and ctable
618 entries before LaTeX.
a01bbb84 619 (reftex-label-alist): Docfix.
cfcc9cc8 620
66ec2442
BG
6212012-08-02 Bastien Guerry <bzg@gnu.org>
622
623 * replace.el (occur): Fix docstring (bug#12122).
624
837b365b
GM
6252012-08-02 Glenn Morris <rgm@gnu.org>
626
627 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
628
e098de97
PE
6292012-08-02 Paul Eggert <eggert@cs.ucla.edu>
630
631 Obsolete alias inactivate-current-input-method-function (Bug#10150).
632 * international/mule-cmds.el: Create
633 inactivate-current-input-method-function as an obsolete alias for
634 deactivate-current-input-method-function. See Katsumi Yamaoka in
635 <http://bugs.gnu.org/10150#46>.
636
a0f95636
JB
6372012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
638
639 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
640 of nested `if's.
641
0d26d7c4
GM
6422012-08-01 Glenn Morris <rgm@gnu.org>
643
644 * progmodes/autoconf.el (autoconf-definition-regexp):
645 Add AH_TEMPLATE, adjust submatch numbering.
646 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
647 (autoconf-current-defun-function): Update for above change.
648 (autoconf-current-defun-function): First skip to end of current word.
649
b686ba06
RS
6502012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
651
652 * calendar/cal-html.el (cal-html-insert-agenda-days):
653 Fix typo. (Bug#12018)
654
0d49da68
FEG
6552012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
656
657 Shell processes: enhancements to startup and CEDET compatibility.
658 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
659 (python-shell-make-comint): accept-process-output at startup.
660 (run-python-internal): Set inferior-python-mode-hook to nil.
661 (python-shell-internal-get-or-create-process): call sit-for.
662 (python-preoutput-result): Add obsolete alias.
663 (python-shell-internal-send-string): Use it.
664 (python-shell-send-setup-code): Remove call to
665 accept-process-output.
666
f1a71c6e
AS
6672012-07-31 Andreas Schwab <schwab@linux-m68k.org>
668
669 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
670 (Bug#12108)
671
d2605269
JB
6722012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
673
674 * calc-mode.el (calc-basic-simplification-mode): Rename from
675 `calc-limited-simplification-mode'.
676 (calc-alg-simplification-mode): New function.
d66060f8 677 (calc-set-simplify-mode): Adjust message.
f1a71c6e 678
d2605269
JB
679 * calc.el (calc-set-mode-line): Adjust mode line display for
680 basic simplification mode.
681
682 * calc-help.el (calc-m-prefix-help): Update help message.
683
684 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
685 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
686
a3827a43
BG
6872012-07-31 Bastien Guerry <bzg@gnu.org>
688
689 * man.el (man): Fix comment. (bug#12101)
690
502e3f89
MR
6912012-07-31 Martin Rudalics <rudalics@gmx.at>
692
693 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
694 Don't return a non-nil value when no suitable buffer was found.
695
d7714961
FEG
6962012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
697
698 * progmodes/python.el (run-python-internal): Disable font lock for
699 internal shells.
700
1f45e27e
SM
7012012-07-30 Stefan Merten <smerten@oekonux.de>
702
703 * rst.el: Silence `checkdoc-ispell'.
704 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
705 (rst-official-version, rst-official-cvs-rev)
706 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
707 (rst-mode-map): New key binding.
708
0aee6912
PE
7092012-07-30 Paul Eggert <eggert@cs.ucla.edu>
710
711 Update .PHONY listings in makefiles.
712 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
713 autoloads, update-subdirs, updates, bzr-update, update-authors,
714 compile-onefile, compile-calc, backup-compiled-files,
715 compile-after-backup, compile-one-process, mh-autoloads,
716 bootstrap-clean, distclean, maintainer-clean.
717
9052f9f0
JB
7182012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
719
1823ac5a
JB
720 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
721 (calc-set-mode-line): Don't display "AlgSimp ".
722
723 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
724 (calc-lim-simplify-mode): New function.
725 (calc-set-simplify-mode): Default to 'alg.
726 (calc-default-simplify-mode): Make algebraic simplifications
727 the default.
728
729 * calc/calc-ext.el (calc-init-extensions): Remove binding for
730 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
731
8d7c7eed 732 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
733 indicate new simplification modes.
734
1823ac5a
JB
735 * calc/README: Mention new default simplification mode.
736
9052f9f0
JB
737 * calc/calc.el (math-normalize-error): New variable.
738 (math-normalize): Set `math-normalize-error' to t
739 when there's an error.
740
741 * calc/calc-alg.el (math-simplify): Don't simplify when
742 `math-normalize' returns an error.
743
20ba0cb4
EZ
7442012-07-29 Eli Zaretskii <eliz@gnu.org>
745
746 * international/mule-cmds.el (set-locale-environment): Revert last
747 change, since display-graphic-p returns nil when this function is
748 called during startup. Instead...
749
750 * term/w32console.el (terminal-init-w32console): ...setup the
751 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
752
a5dcc929
JL
7532012-07-29 Juri Linkov <juri@jurta.org>
754
755 * simple.el (goto-line): Don't display default line number in the
756 prompt because it should be displayed by `read-number' (bug#9952).
757 Add the current line number to the defaults of `goto-line' to
758 allow its easier modification by users with `M-n' (bug#9201).
759
760 * subr.el (read-number): Support multiple default values like in
761 other minibuffer reading functions. Replace `read' with
762 `string-to-number' for consistency with `number-to-string'.
763
72b255c7
PE
7642012-07-29 Paul Eggert <eggert@cs.ucla.edu>
765
766 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
767 * emulation/viper-init.el (viper-deactivate-input-method-action):
768 Rename from viper-inactivate-input-method-action.
769 (viper-deactivate-input-method):
770 Rename from viper-inactivate-input-method.
771 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
772 * international/mule-cmds.el (deactivate-input-method):
773 Rename from inactivate-input-method.
774 Also run input-method-deactivate-hook.
775 (deactivate-current-input-method-function):
776 Rename from inactivate-current-input-method-function.
777 (input-method-deactivate-hook): New hook.
778 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
779 (inactivate-input-method): Mark obsolete.
780
72b255c7
PE
781 * international/quail.el (quail-activate):
782 Also run quail-deactivate-hook.
783 (quail-deactivate): Rename from quail-inactivate.
784 * international/robin.el (robin-activate):
785 Also run robin-deactivate-hook.
786 (robin-deactivate): Rename from robin-inactivate.
787
2549c068
CY
7882012-07-29 Chong Yidong <cyd@gnu.org>
789
790 * simple.el (indicate-copied-region): New function.
791 (kill-ring-save): Split off from here.
792
793 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
794 (kill-rectangle): Set deactivate-mark to t on read-only error.
795
796 * register.el (copy-to-register, copy-rectangle-to-register):
797 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
798 (append-to-register, prepend-to-register):
799 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
800
801 * simple.el (async-shell-command-buffer): New defcustom.
802 (shell-command): Use it. (Bug#4719)
803
01bd1b0d
EZ
8042012-07-28 Eli Zaretskii <eliz@gnu.org>
805
806 * international/mule-cmds.el (set-locale-environment): In a
807 console session on MS-Windows, set up keyboard and terminal
808 encoding from the OEM codepage, not the ANSI codepage.
809 (Bug#12055)
810
a55739d3
CY
8112012-07-28 Chong Yidong <cyd@gnu.org>
812
813 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
814 gdb-get-location.
815
0e1a094f 8162012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
817
818 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
819 the alist (bug#12029).
820
20329d73
EZ
8212012-07-28 Eli Zaretskii <eliz@gnu.org>
822
823 * makefile.w32-in (custom-deps, finder-data, updates, compile)
824 (compile-always, compile-first)
825 ($(lisp)/calendar/cal-loaddefs.el)
826 ($(lisp)/calendar/diary-loaddefs.el)
827 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
828 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
829 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
830 instead of on update-subdirs.
831 (bootstrap-clean): Delete $(lisp)/subdirs.el.
832
345a2258
CY
8332012-07-28 Chong Yidong <cyd@gnu.org>
834
1eee6341
CY
835 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
836 directory if vc-deduce-backend returns nil (Bug#7350).
837
345a2258
CY
838 * simple.el (delete-trailing-lines): New option.
839 (delete-trailing-whitespace): Obey it (Bug#11879).
840
049a0936
DE
8412012-07-28 David Engster <deng@randomsample.de>
842
843 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
844 Explanation of new 'symbol-qnames feature in doc-strings.
845 (xml-maybe-do-ns): Return expanded names as plain symbols if
846 'symbol-qnames was provided in XML-NS argument (Bug#11916).
847 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
848
aa81af71
FEG
8492012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
850
851 Consistent completion in inferior python with emacs -nw.
852 * progmodes/python.el (inferior-python-mode): replace "<tab>"
853 binding in inferior-python-mode-map with "\t".
854 (python-shell-completion-complete-at-point)
855 (python-completion-complete-at-point): Remove interactive spec.
856
e827b1eb
JB
8572012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
858
859 * calc/calccomp.el (math-compose-expr): Undo previous change.
860
a90dfb95
FEG
8612012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
862
4250fdf5 863 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
864 run-python.
865 (python-shell-make-comint): Fix pop-to-buffer call.
866 (run-python): Autoload. New arg SHOW.
867 (python-shell-get-or-create-process): Do not pop python process
868 buffer.
869
32770973 8702012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
871
872 * notifications.el (notifications-on-action-signal)
873 (notifications-on-closed-signal): Use also the bus address for the map.
874 (notifications-notify, notifications-close-notification)
875 (notifications-get-capabilities): Add optional argument BUS.
876
86332df2
TH
8772012-07-27 Tassilo Horn <tsdh@gnu.org>
878
4250fdf5
SM
879 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
880 Add support for the lstlisting and minted environments, and for the
86332df2
TH
881 ctable macro.
882 * textmodes/reftex.el (reftex-compile-variables): Also recognize
883 labels written in keyvals syntax.
884
ca1302a4
JB
8852012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
886
887 * calc/calccomp.el (math-compose-expr): Use parentheses when
888 there is a product in the denominator of a fraction.
889
f8b91036
EZ
8902012-07-26 Eli Zaretskii <eliz@gnu.org>
891
892 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
893 ($(lisp)/calendar/diary-loaddefs.el)
894 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
895 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
896 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
897 rewritten while the autoload files are built at the same time,
898 which needs to load subdirs.el.
899
c8e5a42c
MR
9002012-07-26 Martin Rudalics <rudalics@gmx.at>
901
902 * mouse.el (popup-menu): Fix doc-string and re-indent code.
903 (mouse-drag-line): Don't exit tracking when a switch-frame or
904 switch-window event occurs (Bug#12006).
905
670d85ea
SM
9062012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
907
908 * mouse.el (popup-menu): Fix last change.
909
7abaf5cc
SM
9102012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
911
912 Autoload from Lisp with more care. Follow aliases when looking for
913 function properties.
914 * subr.el (autoloadp): New function.
915 (symbol-file): Use it.
916 (function-get): New function.
917 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
918 autoload-do-load.
919 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
920 (lisp-indent-function):
921 * emacs-lisp/gv.el (gv-get):
922 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
923 * emacs-lisp/byte-opt.el (byte-optimize-form):
924 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
925 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
926 Use function-get.
927 * emacs-lisp/cl.el: Don't propagate function properties any more.
928
929 * speedbar.el (speedbar-add-localized-speedbar-support):
930 * emacs-lisp/disass.el (disassemble-internal):
931 * desktop.el (desktop-load-file):
932 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
933 (describe-function-1):
934 * emacs-lisp/find-func.el (find-function-noselect):
935 * emacs-lisp/elp.el (elp-instrument-function):
936 * emacs-lisp/advice.el (ad-has-proper-definition):
937 * apropos.el (apropos-safe-documentation, apropos-macrop):
938 * emacs-lisp/debug.el (debug-on-entry):
939 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
940 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
941 * calc/calc.el (name): Use autoloadp & autoload-do-load.
942
b1364986
AA
9432012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
944
945 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
946 function, not an obsolete variable (Bug#12046).
947
67ada220
AS
9482012-07-25 Andreas Schwab <schwab@linux-m68k.org>
949
950 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
951
f08088e3
CS
9522012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
953
954 * emacs-lisp/pp.el (pp-display-expression): Select old selected
955 window only if it is still live (Bug#12034).
956
8137e7b3
MR
9572012-07-25 Martin Rudalics <rudalics@gmx.at>
958
959 * subr.el (redirect-frame-focus): Add advertised calling
960 convention (Bug#12030).
961
09ae5da1
PE
9622012-07-25 Paul Eggert <eggert@cs.ucla.edu>
963
964 Prefer typical American spelling for "acknowledgment".
965 * vc/add-log.el (change-log-acknowledgment): Rename from
966 change-log-acknowledgement, with an alias for the old name.
967
3cc5a3a8
JB
9682012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
969
970 * calc-alg.el (math-simplify-divide): Don't cross multiply
971 in an equation when the lhs is a variable.
972
b7af7f62
JD
9732012-07-24 Julien Danjou <julien@danjou.info>
974
975 * net/netrc.el (netrc-find-service-number, netrc-store-data):
976 Remove, unused.
977
ec1b09b1
EZ
9782012-07-23 Eli Zaretskii <eliz@gnu.org>
979
980 * startup.el (command-line): Don't display an empty user name in
981 the error message about non-existent home directory, when
982 init-file-user was set to an empty string. See
983 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
984 for the details and context.
985
b525fd8a
VB
9862012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
987
988 * ses.el (ses-cell-formula-aset): New macro.
989 (ses-cell-references-aset): New macro.
990 (ses-cell-p): New function.
991 (ses-rename-cell): Do no longer rely on complex operations like
992 ses-cell-set-formula or ses-set-cell to change the cell and handle
993 the undo at the same time, but rather use lower level new macros
994 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
995 the undo directly. Refresh the mode line.
996
2c73e345
LL
9972012-07-21 Leo Liu <sdl.web@gmail.com>
998
670d85ea
SM
999 * progmodes/cc-cmds.el (c-defun-name):
1000 Use match-string-no-properties instead for consistency.
2c73e345 1001
542dfbde
LL
10022012-07-20 Leo Liu <sdl.web@gmail.com>
1003
3646bcd6
LL
1004 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1005 (Bug#7879)
1006
542dfbde
LL
1007 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1008
25721031
CY
10092012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
1010
1011 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1012 * progmodes/bug-reference.el, misearch.el: Provide themselves
1013 (bug#11915).
1014
1015 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1016 of narrowed buffer (bug#11966).
1017
316e68a7
VB
10182012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
1019
1020 * ses.el (ses-rename-cell): Set new name also in reference list of
1021 cells of which the renamed cell depends.
1022
bbf0e7d9
MY
10232012-07-20 Masatake YAMATO <yamato@redhat.com>
1024
1025 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1026 to check whether menu-bar is shown or not. If not shown,
1027 show the menu-bar as a popup menu instead of using tmm.
1028 * mouse.el (popup-menu): Accept `point' as `position' argument.
1029
c28662a8
DG
10302012-07-20 Dmitry Gutov <dgutov@yandex.ru>
1031
1032 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1033 up inside string symbol literal (bug#11923).
1034
87ab808f
EZ
10352012-07-20 Eli Zaretskii <eliz@gnu.org>
1036
1037 * startup.el (fancy-startup-text): Read the whole tutorial, not
1038 just its first 256 bytes. Prevents gibberish in display of the
1039 tutorial title.
1040
89dea803
DA
10412012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
1042
1043 Drop idle buffer compaction due to an absence of the
1044 proved efficiency.
1045 * compact.el: Remove.
1046
8a4e6db8
SS
10472012-07-19 Sam Steingold <sds@gnu.org>
1048
1049 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1050 vc-bzr-pull & vc-bzr-merge-branch.
1051 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1052 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1053 for consistency with compilation-error-regexp-alist.
1054 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1055 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1056 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1057 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1058
5db81e33
SM
10592012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1060
1061 * emacs-lisp/chart.el: Use lexical-binding.
1062 (chart-emacs-storage): Don't hardcode the list of entries.
1063
5b835e1d
DA
10642012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1065
1066 Next round of tweaks caused by Fgarbage_collect changes.
1067 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1068
9cd47b72
DA
10692012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
1070
1071 Compact buffers when idle.
1072 * compact.el: New file.
1073
1d6fc0df
SM
10742012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
1075
1076 * subr.el (eventp): Presume that if it looks vaguely like an event,
1077 it's an event (bug#10190).
1078
1d29cc7d
FEG
10792012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
1080
1081 Enhancements to ppss related code (thanks Stefan).
1082 * progmodes/python.el (python-indent-context)
1083 (python-indent-calculate-indentation, python-indent-dedent-line)
1084 (python-indent-electric-colon, python-nav-forward-block)
1085 (python-mode-abbrev-table)
1d6fc0df 1086 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
1087 for ppss context.
1088 (python-info-continuation-line-p): Cleanup.
1089 (python-info-ppss-context): Do not catch 'quote.
1090 (python-info-ppss-context-type)
1091 (python-info-ppss-comment-or-string-p): Simplify.
1092
d583cbe6
FEG
10932012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
1094
1095 * progmodes/python.el: Enhancements to eldoc support.
1096 (python-info-current-symbol): New function.
1097 (python-eldoc-at-point): Use python-info-current-symbol.
1098 (python-info-current-defun): Fix cornercase on first defun scan.
1099 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1100 and signal error when no inferior python process is available.
1101
eceb6feb
DG
11022012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1103
1104 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1105 assume it's always t.
1106 (vc-git-registered): Remove caching, the function is only called
1107 once.
1108 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1109
4c8ff0fe
CY
11102012-07-18 Chong Yidong <cyd@gnu.org>
1111
19fb7186
CY
1112 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1113
9587c688
CY
1114 * simple.el (count-words): Report on narrowing (Bug#9959).
1115
0fe776a1
CY
1116 * bindings.el: Bind M-= to count-words.
1117
4c8ff0fe
CY
1118 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1119
7f5331cc
MY
11202012-07-18 Masatake YAMATO <yamato@redhat.com>
1121
1122 * progmodes/sh-script.el (sh-imenu-generic-expression):
1123 Capture a function with `function' keyword and without parentheses
1124 like "function FOO" (bug#11856).
1125
2dc2a609
TH
11262012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1127
1128 * window.el (split-window-sensibly): Make WINDOW argument
1129 optional.
1130
439f7677
CY
11312012-07-18 Chong Yidong <cyd@gnu.org>
1132
9aeb25a6
CY
1133 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1134
439f7677
CY
1135 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1136 and make C-x 8 RET exit isearch (Bug#11439).
1137
1138 * international/iso-transl.el: Move isearch-mode-map key
1139 definitions to isearch.el.
1140
12999ea8
SM
11412012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1142
1143 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1144 (eieio-defclass): Use gv-define-setter when possible.
1145
3ab6e069
DA
11462012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1147
1148 Reflect recent changes in Fgarbage_collect.
1149 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1150 reflect new format of data returned by Fgarbage_collect.
1151
0a60bc10
FEG
11522012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1153
1154 New utility functions + python-info-ppss-context fix (Bug#11910).
1155 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1156 (python-info-ppss-comment-or-string-p): New functions.
1157 (python-info-ppss-context): Small fix for string check.
1158
6dafa0d5
JL
11592012-07-17 Juri Linkov <juri@jurta.org>
1160
1161 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1162 (dired-do-async-shell-command): Don't add `*' at the end of the
1163 command (Bug#11815).
1164 (dired-do-shell-command): Doc fix.
1165 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1166 Join the individual commands using either "&" or ";" as the
1167 separator depending on the values of these trailing characters.
1168 At the end re-add the trailing "&". (Bug#10598)
1169
1170 * simple.el (async-shell-command): Sync the interactive spec with
1171 `shell-command'. Doc fix.
1172 (shell-command): Doc fix.
1173
b19dd9d1
JL
11742012-07-17 Juri Linkov <juri@jurta.org>
1175
1176 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1177
bcdc27d7 11782012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 1179
bcdc27d7 1180 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
1181 * progmodes/python.el (python-nav-beginning-of-statement):
1182 Rename from python-nav-statement-start.
bcdc27d7
FEG
1183 (python-nav-end-of-statement): Rename from
1184 python-nav-statement-end.
1185 (python-nav-beginning-of-block): Rename from
1186 python-nav-block-start.
1187 (python-nav-end-of-block): Rename from python-nav-block-end.
1188
191da00e
FEG
11892012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1190
7f5331cc
MY
1191 * progmodes/python.el (python-shell-send-string-no-output):
1192 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
1193 future interactions (Bug#11868).
1194
4dc7c8d5 11952012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 1196
88ecaf8f
SM
1197 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1198
ef501ef0
SM
1199 * emacs-lisp/elint.el (elint-find-args-in-code):
1200 Use help-function-arglist, so as to handle lexical byte-code.
1201
aa7aaf8f
SM
1202 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1203 change (bug#11826).
1204
45fd731c
SM
12052012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1206
2143fa32
SM
1207 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1208 Avoid spuriously marking the buffer as modified because of c-is-sws.
1209
efc26dbe
SM
1210 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1211 as not-a-comment (bug#11946).
1212
f5695c9a
SM
1213 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1214 for uninterned vars.
1215
1216 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1217 Use read-event since we don't really want to read chars but bytes.
1218
45fd731c
SM
1219 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1220 $$..$$ but also $..$ using regexps (bug#11953).
1221 Use tex-verbatim for \url and \path.
1222 (tex-font-lock-keywords): Define as defconst like the others.
1223 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1224
ddfc8813
RK
12252012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1226
1227 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1228 alias for insert-char.
1229
758e556a
FEG
12302012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1231
1232 * progmodes/python.el: Simplified imenu implementation.
1233 (python-nav-jump-to-defun): Remove command.
1234 (python-mode-map): Use `imenu' instead.
1235 (python-nav-list-defun-positions-cache)
1236 (python-imenu-include-defun-type, python-imenu-make-tree)
1237 (python-imenu-subtree-root-label, python-imenu-index-alist):
1238 Remove vars.
1239 (python-nav-list-defun-positions, python-nav-read-defun)
1240 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1241 (python-imenu-make-tree, python-imenu-create-index):
1242 Remove functions.
758e556a
FEG
1243 (python-mode): Update to interact with imenu by setting
1244 `imenu-extract-index-name-function' only.
1245
032d23ab
FEG
12462012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1247
1248 * progmodes/python.el: Enhancements to navigation commands.
1249 (python-nav-backward-sentence)
1250 (python-nav-forward-sentence): Remove.
1251 (python-nav-backward-statement, python-nav-forward-statement)
1252 (python-nav-statement-start, python-nav-statement-end)
1253 (python-nav-backward-block, python-nav-forward-block)
1254 (python-nav-block-start, python-nav-block-end)
1255 (python-nav-forward-sexp-function)
1256 (python-info-current-line-comment-p)
1257 (python-info-current-line-empty-p): New functions.
1258 (python-indent-context): Use `python-nav-statement-start'.
1259
01795a1b
MA
12602012-07-16 Michael Albinus <michael.albinus@gmx.de>
1261
9328d9aa
MA
1262 * eshell/em-ls.el (eshell/ls): Use `apply'.
1263
1264 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1265 multi-hops, instead of Tramp internals.
1266
01795a1b
MA
1267 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1268
1269 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1270 when F1 and F2 are located on different hosts.
1271
63408057
CY
12722012-07-14 Chong Yidong <cyd@gnu.org>
1273
1274 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1275 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1276 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1277 (xterm-mouse--read-event-sequence-1000)
1278 (xterm-mouse--read-event-sequence-1006): New functions. For old
1279 mouse protocol, handle M-mouse-X events correctly.
1280 (xterm-mouse-event): New arg specifying mouse protocol.
1281 (turn-on-xterm-mouse-tracking-on-terminal)
1282 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1283 sequence to toggle extended coordinates on newer XTerms.
1284 This appears to be harmless on terminals which do not support this.
63408057 1285
cd276f6e
LL
12862012-07-14 Leo Liu <sdl.web@gmail.com>
1287
28ca98ac
LL
1288 Add fringe bitmap indicators for flymake. (Bug#11253)
1289 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1290 (flymake-make-overlay): New arg BITMAP.
1291 (flymake-error-bitmap, flymake-warning-bitmap)
1292 (flymake-fringe-indicator-position): New user variables.
1293
cd276f6e
LL
1294 * fringe.el: New bitmap exclamation-mark.
1295
04408072
JD
12962012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1297
1298 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1299 also (Bug#7879).
1300
b5cf7fc4
CY
13012012-07-14 Chong Yidong <cyd@gnu.org>
1302
1303 * electric.el (electric-pair-post-self-insert-function): Fix pair
1304 insertion in empty-region case (Bug#11520).
1305
be755c79
RT
13062012-07-14 Chong Yidong <cyd@gnu.org>
1307
45fd731c
SM
1308 * bindings.el: Consolidate ctl-x-r-map bindings.
1309 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1310
1311 * rect.el, register.el: Move bindings to bindings.el.
1312
13132012-07-14 Reuben Thomas <rrt@sc3d.org>
1314
1315 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1316
7f5b3198
AS
13172012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1318
1319 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1320
97662200
JB
13212012-07-13 Juanma Barranquero <lekktu@gmail.com>
1322
80185fed
JB
1323 * bindings.el (top): Use `mapc' instead of `mapcar'.
1324
97662200
JB
1325 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1326
2bb1ae55
MA
13272012-07-13 Michael Albinus <michael.albinus@gmx.de>
1328
1329 * progmodes/sql.el (sql-comint): Suppress the check for program on
1330 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1331 (Bug#11908)
1332
dea31bd3
CY
13332012-07-13 Chong Yidong <cyd@gnu.org>
1334
1335 * bindings.el: Assign a non-nil permanent-local property to
1336 per-buffer variables which lack a default value (Bug#11930).
1337
1338 * help-fns.el (describe-variable): In the "automatically becomes
1339 local" notice, take note of permanent-local variables.
1340
b68b3337
CY
13412012-07-13 Chong Yidong <cyd@gnu.org>
1342
1343 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1344 to allow printing the message when called from Lisp.
1345
1346 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1347 Remove toggle-read-only.
1348
1349 * bs.el (bs-toggle-readonly):
45fd731c
SM
1350 * buff-menu.el (Buffer-menu-toggle-read-only):
1351 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1352
1353 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1354 Remove with-no-warnings around toggle-read-only.
1355 (ffap-read-only, ffap-read-only-other-window)
1356 (ffap-read-only-other-frame): Callers changed.
1357
1358 * help-mode.el: Don't require view package.
1359 (help-mode-finish): Set buffer-read-only instead of calling
1360 toggle-read-only.
1361
1362 * bindings.el (mode-line-toggle-read-only):
1363 * dired.el (dired-toggle-read-only):
1364 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1365 with non-nil second arg.
1366
1367 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1368 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1369 directly.
1370
56bc1586
EZ
13712012-07-12 Eli Zaretskii <eliz@gnu.org>
1372
1373 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1374 not incf.
1375
a464a6c7
SM
13762012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1377
1378 More CL cleanups and reduction of use of cl.el.
1379 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1380 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1381 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1382 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1383 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1384 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1385 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1386 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1387 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1388 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1389 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1390 * eshell/em-cmpl.el, eshell/em-banner.el:
1391 * calendar/parse-time.el: Use cl-lib.
1392 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1393 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1394 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1395 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1396 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1397 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1398 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1399 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1400 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1401 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1402 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1403 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1404 `lambda' rather than with `quote'.
1405 (eshell-do-opt): Adjust accordingly.
1406 (eshell-process-option): Simplify.
1407 * eshell/esh-var.el:
1408 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1409 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1410 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1411 to `pcase--dontcare'.
1412 * emacs-lisp/cl.el (labels): Mark obsolete.
1413 (cl--letf, letf): Move to cl-lib.
1414 (cl--letf*, letf*): Remove.
1415 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1416 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1417 (cl-progv): Rewrite.
1418 (cl--letf, cl-letf): Move from cl.el.
1419 (cl-letf*): New macro.
1420 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1421
7ad4afe1
MA
14222012-07-11 Michael Albinus <michael.albinus@gmx.de>
1423
1424 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1425
9af57756
CY
14262012-07-11 Chong Yidong <cyd@gnu.org>
1427
1428 * vc/log-edit.el (log-edit-vc-backend): New variable.
1429 (log-edit): Doc fix.
1430
1431 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1432 argument of log-edit to set up all local variables.
1433 (vc-start-logentry): New optional arg specifying VC backend.
1434
1435 * vc/vc.el (vc-checkin): Use it.
1436 (vc-deduce-fileset): Handle Log Edit buffers.
1437 (vc-diff): Make first argument optional too.
1438
1439 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1440
8477cc7a
MA
14412012-07-10 Michael Albinus <michael.albinus@gmx.de>
1442
1443 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1444 command, just in case. The function is not needed anymore.
1445 (eshell-external-command): Do not call `eshell-remote-command'.
1446
19faa8e8
SM
14472012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1448
f58e0fd5
SM
1449 Reduce use of (require 'cl).
1450 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1451 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1452 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1453 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1454 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1455 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1456 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1457 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1458 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1459 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1460 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1461 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1462 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1463 (byte-compile-unfold-bcf, byte-compile-check-variable):
1464 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1465 (byte-compile-nilconstp):
1466 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1467 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1468
2519d43a
SM
1469 * emacs-lisp/gv.el (cond): Make it a valid place.
1470 (if): Simplify slightly.
1471
19faa8e8
SM
1472 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1473 (pcase--self-quoting-p): New function.
1474 (pcase--u1): Use it.
1475
c4907a5e
GM
14762012-07-10 Glenn Morris <rgm@gnu.org>
1477
1478 * emacs-lisp/authors.el (authors-fixed-entries):
1479 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1480
c4444d16
PE
14812012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1482
1483 Rename configure.in to configure.ac (Bug#11603).
1484 * emacs-lisp/authors.el (authors-canonical-file-name):
1485 * progmodes/autoconf.el (autoconf-mode):
1486 Prefer configure.ac to configure.in.
1487
d75be97d
CY
14882012-07-08 Chong Yidong <cyd@gnu.org>
1489
01ac65bd
CY
1490 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1491 Implement the mouse-1-click-follows-link handling properly.
1492
1493 * info.el (Info-link-keymap): Use follow-link mechanism for
1494 header-line links (Bug#374).
1495
d75be97d
CY
1496 * simple.el (deactivate-mark): Do not set the primary selection
1497 if another program has acquired it (Bug#11772).
1498
87a92845 14992012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1500
1501 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1502 (woman-decode-region): Replace escaped-escapes without destroying
1503 bold or underline (Bug#11552).
87a92845 1504 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1505
621b9d6c
CY
15062012-07-07 Chong Yidong <cyd@gnu.org>
1507
1508 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1509 (interprogram-cut-function, interprogram-paste-function):
1510 Mention that we typically mean the clipboard.
621b9d6c 1511
133a11fc
GM
15122012-07-06 Glenn Morris <rgm@gnu.org>
1513
0d27a45e
GM
1514 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1515
133a11fc
GM
1516 * files.el (toggle-read-only): Restrict message to interactive use.
1517
07b151f1
MA
15182012-07-06 Michael Albinus <michael.albinus@gmx.de>
1519
1520 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1521
1522 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1523
211b896b
GM
15242012-07-06 Glenn Morris <rgm@gnu.org>
1525
50394322
GM
1526 * Makefile.in (compile-one-process): Rename from "recompile".
1527
211b896b
GM
1528 * Makefile.in (bzr-update): "compile" is the same as "recompile
1529 autoloads", but parallelizable, so use that instead.
1530
4737eec9
DG
15312012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1532
1533 * window.el (quit-window): Always restore window height when
8137e7b3 1534 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1535
226c3633 15362012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1537
1538 * simple.el (kill-whole-line): Doc tweak.
1539
226c3633 15402012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1541
1542 * files.el (file-relative-name): Compare file names
1543 case-insensitively if on MS-Windows or MS-DOS, or if
1544 read-file-name-completion-ignore-case is non-nil. Don't use
1545 case-fold-search for this purpose. (Bug#11827)
1546
4dc7c8d5
SM
15472012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1548
1549 * calendar/cal-dst.el (calendar-current-time-zone):
1550 Return calendar-current-time-zone-cache if non-nil.
1551
15522012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 15532012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1554
19faa8e8
SM
1555 * calendar/cal-dst.el (calendar-current-time-zone):
1556 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1557
60198fc9
GM
15582012-07-06 Glenn Morris <rgm@gnu.org>
1559
1560 * Makefile.in (cvs-update): Remove old alias.
1561
957b3189
MA
15622012-07-05 Michael Albinus <michael.albinus@gmx.de>
1563
1564 Sync with Tramp 2.2.6-pre.
1565
1566 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1567 compatible declaration.
1568
19faa8e8
SM
1569 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1570 Protect `list-load-path-shadows' call.
957b3189
MA
1571
1572 * net/tramp-compat.el (top): Require packages, which aren't
1573 autoloaded anymore for XEmacs. Protect call of
1574 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1575 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1576 it hurts at least for SXEmacs.
1577 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1578 standard-value for `temporary-file-directory'.
1579
1580 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1581 Redirect stderr to /dev/null.
1582 (tramp-sh-handle-write-region): uid and gid can be floats.
1583 Reported by Russell Sim <russell.sim@gmail.com>.
1584 (tramp-sh-handle-vc-registered): Hide errors.
1585 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1586 and `start-file-process'.
1587 (tramp-maybe-open-connection): Check also whether `non-essential'
1588 is bound.
1589
566df3fc
CY
15902012-07-04 Chong Yidong <cyd@gnu.org>
1591
1592 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1593 (xml-parse-tag): Likewise, and avoid changing entity tables.
1594 (xml-syntax-table): Define from scratch, making sure not to give
1595 x2000 and other Unicode spaces whitespace syntax, since those are
1596 not spaces in XML.
1597 (xml-parse-fragment): Delete unused function.
1598 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1599 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1600 (xml-entity-ref, xml-pe-reference-re)
1601 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1602 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1603 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1604 (xml-entity-value-re): Use syntax references in regexps where
1605 possible; no need to define inside a let-binding.
1606 (xml-parse-dtd): Use xml-pe-reference-re.
1607 (xml-entity-or-char-ref-re): New defconst.
1608 (xml-parse-string, xml-substitute-special): Use it.
1609
30eabd7a
SM
16102012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1611
0781098a
SM
1612 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1613 (find-file--read-only): New function.
1614 (find-file-read-only, find-file-read-only-other-window)
1615 (find-file-read-only-other-frame): Use it.
1616 (insert-file-contents-literally): Don't `fset'.
1617 (get-free-disk-space): Use locate-dominating-file.
1618
b5771c0d
SM
1619 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1620 function is already compiled.
1621
30eabd7a
SM
1622 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1623
b4886f6e
MA
16242012-07-03 Michael Albinus <michael.albinus@gmx.de>
1625
1626 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1627 files on the same host.
1628
b9d82339
AS
16292012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1630
1631 * help-fns.el (describe-function-1): Only call
1632 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1633
a76e6535
CY
16342012-07-03 Chong Yidong <cyd@gnu.org>
1635
1636 * xml.el: Protect parser against XML bombs.
1637 (xml-entity-expansion-limit): New variable.
1638 (xml-parse-string, xml-substitute-special): Use it.
1639 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1640
b544fef2
GM
16412012-07-03 Glenn Morris <rgm@gnu.org>
1642
1643 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1644 Allow linking to specific messages in debbugs reports (eg 123#5).
1645
a7aef6f5
CY
16462012-07-02 Chong Yidong <cyd@gnu.org>
1647
1648 * xml.el: Fix entity and character reference expansion, allowing
1649 them to expand into markup as per XML spec.
1650 (xml-default-ns): New variable.
1651 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1652 (xml-parse-region): Make first two arguments optional.
1653 Discard text properties.
1654 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1655 All callers changed.
a7aef6f5
CY
1656 (xml-parse-tag): Call xml-parse-tag-1. For backward
1657 compatibility, this function should not modify buffer contents.
1658 (xml-parse-tag-1): Fix opening-tag regexp.
1659 (xml-parse-string): Rewrite, handling entity and character
1660 references properly.
1661 (xml--entity-replacement-text): Signal an error if a parameter
1662 entity is undefined.
1663
3df31c9f
SM
16642012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1665
2b5208f1
SM
1666 * comint.el (comint-output-filter): Filter out repeated prompts.
1667
3df31c9f
SM
1668 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1669 and file-name-absolute-p.
1670 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1671 internal calls.
1672
e3ac1281
PE
16732012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1674
1675 Spelling fixes.
1676 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1677 Rename from byte-compile--refiy-function. All uses changed.
1678
fbf2e7ad
CY
16792012-07-01 Chong Yidong <cyd@gnu.org>
1680
1681 * xml.el (xml--parse-buffer): New function. Move most of
1682 xml-parse-region here.
1683 (xml-parse-region): Copy region into a temporary buffer, since
1684 parameter entity substitution requires changing buffer contents.
1685 Use xml--parse-buffer.
1686 (xml-parse-file): Use xml--parse-buffer.
1687 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1688 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1689
9bf0aa15
GM
16902012-06-30 Glenn Morris <rgm@gnu.org>
1691
bbce2853
GM
1692 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1693
9bf0aa15
GM
1694 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1695 Remove outdated and unnecessary dbus declarations.
1696
0d23c240
EZ
16972012-06-30 Eli Zaretskii <eliz@gnu.org>
1698
1699 * emacs-lisp/timer.el (timer-until): Subtract results of
1700 float-time, instead of taking float-time of the result of
1701 time-subtract, since float-time signals an error for negative time
1702 arguments.
1703
b3218de1
CY
17042012-06-30 Chong Yidong <cyd@gnu.org>
1705
1706 * xml.el (xml-*-re): Convert defvars into defconsts, and
1707 eval-and-compile them so eval-and-compile works on derivatives.
1708 (xml--entity-replacement-text): Use eval-and-comple.
1709
a40c87a0
MA
17102012-06-30 Michael Albinus <michael.albinus@gmx.de>
1711
1712 * vc/vc-git.el (vc-git-registered): Use cache property
1713 `git-registered'.
1714 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1715 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1716 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1717
ac87de97
DG
17182012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1719
1720 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1721 removed (likely outside Emacs). (Bug#11757)
ac87de97 1722
ac10fe06
SM
17232012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1724
3df31c9f 1725 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1726
7f3fbd5d
CY
17272012-06-30 Chong Yidong <cyd@gnu.org>
1728
1729 * xml.el: Implement XML parameter entities.
1730 (xml-parameter-entity-alist): New variable.
1731 (xml-parse-region, xml-parse-fragment): Preserve previous values
1732 of xml-entity-alist and xml-parameter-entity-alist, so that
1733 repeated calls on different documents do not change them.
1734 (xml-parse-tag): Fix doctype regexp.
1735 (xml--entity-replacement-text): New function.
1736 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1737 properly requires url retrieval which is unimplemented.
1738 (xml-escape-string): Doc fix.
1739
3cfbebba
SM
17402012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1741
1742 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1743
2af3565e
DA
17442012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1745
1746 * fringe.el (fringe-mode): Doc fix.
1747
929df0e7
MA
17482012-06-29 Michael Albinus <michael.albinus@gmx.de>
1749
1750 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1751 is non-nil.
1752 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1753 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1754
c8d3a25c 17552012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1756
c8d3a25c
GM
1757 * calendar/cal-dst.el (calendar-current-time-zone):
1758 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1759
c8d3a25c 17602012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1761
1762 * progmodes/which-func.el (which-func-format):
1763 Add mouse-face. (Bug#11698)
1764
c8d3a25c
GM
17652012-06-29 Leo Liu <sdl.web@gmail.com>
1766
1767 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1768
17692012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1770
1771 * minibuffer.el (minibuffer-confirm-exit-commands):
1772 Add completion-at-point (bug#11725).
1773
17742012-06-29 Glenn Morris <rgm@gnu.org>
1775
1776 * progmodes/f90.el (f90-font-lock-keywords-2):
1777 Add some preprocessor elements. (Bug#10499)
1778
17792012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1780
1781 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1782 Use syntax-propertize (bug#11739).
1783
2badeec4
JB
17842012-06-28 Juanma Barranquero <lekktu@gmail.com>
1785
1786 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1787
ae4969c2
JD
17882012-06-28 Julien Danjou <julien@danjou.info>
1789
1790 * term.el (term-handle-colors-array): Use a set of new faces to
1791 color the terminal. Also uses :inverse-video property.
1792 (term-default-fg-color): Set to nil by default, deprecate in favor
1793 of `term-face'.
1794 (term-default-bg-color): Set to nil by default, deprecate in favor
1795 of `term-face'.
1796 (term-current-face): Use `term-face' by default.
1797 (term-bold-attribute): Variable deleted.
1798
1c9bd870
GM
17992012-06-28 Glenn Morris <rgm@gnu.org>
1800
1801 * simple.el (completion-list-mode-finish):
1802 Don't use toggle-read-only. (Since completion-list-mode has
1803 a special mode-class, it wasn't doing anything extra anyway.)
1804
c207708c
SM
18052012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1806
1807 Make inlining of other-mode interpreted functions work (bug#11799).
1808 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1809 (byte-compile): Use it to fix compilation of lexical-binding closures.
1810 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1811 function, if needed.
1812
3fd56834
SM
18132012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1814
04901786
SM
1815 * help-mode.el (help-make-xrefs): Don't just withstand
1816 cyclic-variable-indirection but any error in documentation-property.
1817
1ec4b7b2
SM
1818 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1819 memory use.
1820 * bindings.el (bindings--define-key): New function.
1821 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1822 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1823 * bindings.el: Use it to purecopy define-key bindings.
1824
e309e2a5
SM
1825 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1826
d5c6faf9
SM
1827 * emacs-lisp/cl.el (flet): Mark obsolete.
1828 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1829 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1830 * progmodes/js.el (js-c-fill-paragraph):
1831 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1832 (ebrowse-switch-member-buffer-to-derived-class):
1833 * play/5x5.el (5x5-solver): Use cl-flet.
1834
6e9590e2
SM
1835 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1836 (cl--symbol-function): New macro.
1837 (cl--letf, cl--letf*): Use it.
1838
3fd56834
SM
1839 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1840 Strip "toggle-" if any.
1841
35ff222c
GM
18422012-06-27 Glenn Morris <rgm@gnu.org>
1843
1ba6038a
GM
1844 * info.el (Info-default-directory-list): Move here from paths.el.
1845 * paths.el: Remove file, which is now empty.
1846 * loadup.el: No longer load "paths".
1847
0ea0e51b
GM
1848 * custom.el (custom-initialize-delay): Doc fix.
1849
35ff222c
GM
1850 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1851 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1852 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1853 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1854 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1855 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1856 * eshell/eshell.el (eshell-defgroup): Remove alias.
1857
c89926a5
CY
18582012-06-27 Chong Yidong <cyd@gnu.org>
1859
1860 * help.el (help-enable-auto-load): New variable.
1861
1862 * help-fns.el (help-fns--autoloaded-p): New function.
1863 (describe-function-1): Refer to a function as "autoloaded" if it
1864 was autoloaded at any time in the past. Perform autoloading if
1865 help-enable-auto-load is non-nil.
1866
cc06e7e7
EZ
18672012-06-26 Eli Zaretskii <eliz@gnu.org>
1868
1869 * makefile.w32-in (compile, compile-always): Depend on
1870 update-subdirs, not on subdirs.el. Otherwise, several different
1871 sub-targets of 'bootstrap' running in parallel could
1872 simultaneously write to subdirs.el, producing a garbled file.
1873
d2c32364
SS
18742012-06-26 Sam Steingold <sds@gnu.org>
1875
1876 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1877 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1878 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1879 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1880 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1881 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1882 * textmodes/tex-mode.el: Use it.
1883 Did not touch cedet and org because they are maintained elsewhere.
1884
5cf983b2
MR
18852012-06-26 Martin Rudalics <rudalics@gmx.at>
1886
1887 * calendar/calendar.el (calendar-exit): Don't try to delete or
1888 iconify last frame. See:
1889 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1890
8c4f2952
JD
18912012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1892
1893 * server.el (server-process-filter): Remember dir in the
1894 process's `server-client-directory' properties.
1895
772b2e2c
CY
18962012-06-24 Chong Yidong <cyd@gnu.org>
1897
1898 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1899 non-tag text.
1900
711b11e1
JB
19012012-06-23 Juanma Barranquero <lekktu@gmail.com>
1902
1903 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1904
dc5d230c
SM
19052012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1906
1907 * help-fns.el (describe-variable): Don't croak when doc is not found.
1908 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1909 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1910 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1911 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1912 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1913 ((lambda ..) ..).
1914 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1915
136e1c1d
CY
19162012-06-23 Chong Yidong <cyd@gnu.org>
1917
e8c1cabf
CY
1918 * info.el (Info-mouse-follow-link): Accept symbol values of
1919 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1920 (Info-fontify-node): Use Info-link-keymap for all navigation
1921 buttons, with link-args property to perform the desired action.
1922 (Info-link-keymap): Doc fix.
1923 (Info-next-link-keymap, Info-prev-link-keymap)
1924 (Info-up-link-keymap): Delete now-unused keymaps.
1925
0e9e6c6a
CY
19262012-06-23 Chong Yidong <cyd@gnu.org>
1927
05e89fea
CY
1928 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1929
0e9e6c6a
CY
1930 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1931 system abbrevs.
1932
1933 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1934
e33c6771
SM
19352012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1936
b68581e2
SM
1937 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1938 (bug#11719).
1939
e33c6771
SM
1940 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1941 the requote function doesn't work properly (bug#11714).
1942
7117e105
GM
19432012-06-23 Glenn Morris <rgm@gnu.org>
1944
1945 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1946
36cec983
SM
19472012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1948
1949 Further GV/CL cleanups.
1950 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1951 gv-expander.
1952 (gv--defun-declaration): New function.
1953 (defun-declarations-alist): Use it.
1954 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1955 (gv-place): Autoload.
1956 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1957 original definition of dotimes and dolist.
1958 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1959 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1960 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1961 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1962 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1963 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1964 to the function's definition.
1965 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1966 * window.el:
1967 * files.el:
1968 * faces.el:
1969 * env.el: Don't use CL.
1970
d35af63c
PE
19712012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1972
1973 Support higher-resolution time stamps (Bug#9000).
1974
1975 * calendar/time-date.el (with-decoded-time-value): New arg
1976 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1977 (encode-time-value): New optional arg PICO. New type 3.
1978 (time-to-seconds) [!float-time]: Support the new picoseconds
1979 component if it's used.
1980 (seconds-to-time, time-subtract, time-add):
1981 Support ps-resolution time stamps as well.
1982
1983 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1984 (timerp): Timer vectors now have length 9, not 8.
1985 (timer--time): Support new-style (4-part) time stamps.
1986 (timer-next-integral-multiple-of-time): Time stamps now have
1987 picosecond resolution, so take a bit more care about rounding.
1988 (timer-relative-time, timer-inc-time): New optional arg psecs.
1989 (timer-set-time-with-usecs): Set psecs to 0.
1990 (timer--activate): Check psecs component, too.
1991
1992 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1993
ac77b21a
SM
19942012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1995
f143bfe3
SM
1996 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1997 Move the non-essential binding to the post/pre-command-hook where it is
1998 more obviously correct.
1999
ac77b21a
SM
2000 * subr.el (read-passwd): Don't use a history at all.
2001 * savehist.el (savehist-save): Remove password saved accidentally
2002 because of the above bug.
2003
76386c5a
BG
20042012-06-22 Bastien Guerry <bzg@gnu.org>
2005
2006 * files.el (toggle-read-only): Display a message telling whether
2007 the buffer is read-only or not (bug#11726).
2008
2ee3d7f0
SM
20092012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
2010
2011 * emacs-lisp/gv.el: New file.
2012 * subr.el (push, pop): Extend to generalized variables.
2013 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2014 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2015 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
2016 gv-define-simple-setter, and gv-define-expander.
2017 Remove setf-methods defined in gv. Rename cl-setf -> setf.
2018 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2019 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2020 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2021 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2022 gv-letplace.
2023 (cl-defstruct): Don't define setf-method any more.
2024 * emacs-lisp/cl.el (flet): Don't autoload.
2025 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2026 (define-setf-expander, defsetf, define-modify-macro)
2027 (cl-struct-setf-expander): Move from cl-lib.el.
2028 * emacs-lisp/syntax.el:
2029 * emacs-lisp/ewoc.el:
2030 * emacs-lisp/smie.el:
2031 * emacs-lisp/cconv.el:
2032 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2033 (timer--time): Use gv-define-simple-setter.
2034 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2035 to avoid coding-system problems in subr.el. Adjust all users.
2036 (macroexp--maxsize, macroexp-small-p): New functions.
2037 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2038 * scroll-bar.el (scroll-bar-mode):
2039 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2040 (normal-erase-is-backspace-mode): Don't use the `eq' place.
2041 * winner.el (winner-configuration, winner-make-point-alist)
2042 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2043 * files.el (locate-file-completion-table): Avoid list*.
2044
c5695d1d
CY
20452012-06-22 Chong Yidong <cyd@gnu.org>
2046
2047 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2048 (dired-create-files): Doc fix (Bug#11329).
2049 (dired-do-copy): Doc fix (Bug#11334).
2050 (dired-mark-read-string): Doc fix (Bug#11553).
2051
2ee3d7f0
SM
2052 * dired.el (dired-recursive-copies, dired-recursive-deletes):
2053 Doc fix (Bug#11326).
c5695d1d
CY
2054 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
2055 (dired-dwim-target): Doc fix.
2056
2057 * wdired.el (wdired-mode): Doc fix.
2058
89b5595a
GM
20592012-06-22 Glenn Morris <rgm@gnu.org>
2060
575db3f1
GM
2061 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2062 (pcmpl-rpm-cache-stamp-file): New constant.
2063 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2064 (pcmpl-rpm-packages): Optionally cache list of packages.
2065
a4c8dd51
GM
2066 * pcmpl-rpm.el (pcmpl-rpm): New group.
2067 (pcmpl-rpm-query-options): New option.
2068 (pcmpl-rpm-packages): No need to inline it.
2069 Use pcmpl-rpm-query-options.
2070
89b5595a
GM
2071 * calendar/calendar.el (calendar-in-read-only-buffer):
2072 Avoid some needless mode changes.
2073
e76f0800
CY
20742012-06-21 Chong Yidong <cyd@gnu.org>
2075
2076 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2077 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 2078 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 2079
297a8f1d
CY
20802012-06-20 Chong Yidong <cyd@gnu.org>
2081
2082 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2083
d34c18b1
DR
20842012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2085
2086 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2087 (bug#11201).
2088
32f7f28e
CY
20892012-06-20 Chong Yidong <cyd@gnu.org>
2090
2091 * term.el (term-window-width): Handle the case of a missing right
2092 fringe (Bug#8837).
2093 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
2094 (term-mode): Use define-derived-mode. Minor cleanups.
2095 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
2096 (term-move-columns, term-insert-char, term-emulate-terminal)
2097 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 2098
493c6688
MA
20992012-06-20 Michael Albinus <michael.albinus@gmx.de>
2100
d34c18b1
DR
2101 * net/ange-ftp.el (ange-ftp-get-passwd):
2102 Bind `enable-recursive-minibuffers'.
493c6688
MA
2103 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2104
3f06ecf4
DR
21052012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2106
2107 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2108
68f12411
GM
21092012-06-19 Glenn Morris <rgm@gnu.org>
2110
2111 * progmodes/python.el (python-mode): Derive from prog-mode.
2112
b3820318
KG
21132012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2114
2115 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2116 (edt-user-menu-bar-update-buffers): New functions.
2117 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2118
c6bf3022
CY
21192012-06-19 Chong Yidong <cyd@gnu.org>
2120
2121 * subr.el (with-selected-window): Preserve the selected window's
2122 terminal's top-frame (Bug#4702).
2123
2124 * window.el (save-selected-window): Likewise.
2125
25f09295
SM
21262012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2127
2128 * progmodes/python.el (python-rx-constituents): Move backquote.
2129 (python-skeleton-define, python-define-auxiliary-skeleton):
2130 Use `declare'.
2131
6b11952a
MA
21322012-06-18 Michael Albinus <michael.albinus@gmx.de>
2133
2134 * minibuffer.el (read-file-name-default): Revert the patch from
2135 2012-06-17.
2136
ee4b1330
SM
21372012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2138
2139 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2140 (pcase--u1, pcase--q1): Don't use apply-partially.
2141
35647f79
GM
21422012-06-18 Glenn Morris <rgm@gnu.org>
2143
2144 * progmodes/python.el (python-proc, python-buffer)
2145 (python-send-receive, python-send-string): Fix obsolete versions.
2146
24b0cff0
MR
21472012-06-18 Martin Rudalics <rudalics@gmx.at>
2148
2149 * window.el (special-display-p): Completely remove stringp
2150 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2151
29855149
MA
21522012-06-17 Michael Albinus <michael.albinus@gmx.de>
2153
2154 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2155
2156 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2157
2158 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2159 * net/tramp-sh.el (tramp-maybe-open-connection):
2160 Throw if `non-essential' is non-nil.
2161
07463363
MR
21622012-06-17 Martin Rudalics <rudalics@gmx.at>
2163
2164 * window.el (special-display-p): Signal an error if BUFFER-NAME
2165 is not a string (Bug#11713).
2166
48d1354e
PE
21672012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2168
2169 * progmodes/python.el (python-info-beginning-of-backslash):
2170 Rename from python-info-beginning-of-backlash, as a spelling fix.
2171
eb4a8a9a
CY
21722012-06-17 Chong Yidong <cyd@gnu.org>
2173
2174 * term.el (term-emulate-terminal): If term-check-size is called,
2175 move point to the process mark without resetting point (Bug#4635).
2176
ddfbf826 21772012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
2178
2179 * international/mule-cmds.el (mule-menu-keymap)
2180 (set-language-environment, set-locale-environment): Doc tweaks.
2181
9b0e3eba
AA
21822012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2183
2184 * cus-face.el (custom-face-attributes): Add wave-style underline
2185 attribute.
2186 * faces.el (set-face-attribute): Update docstring to describe
2187 wave-style underline attribute.
2188
771e3eae
CY
21892012-06-16 Chong Yidong <cyd@gnu.org>
2190
2191 * term/xterm.el (terminal-init-xterm): Discard input before
2192 querying background mode (Bug#10959).
2193
7ae2ea10
SM
21942012-06-16 Stefan Merten <smerten@oekonux.de>
2195
2196 * textmodes/rst.el: Added and corrected some comments.
2197 (rst-re-alist-def): Improve symbol syntax.
2198 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
2199 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2200 (rst-official-version, rst-official-cvs-rev): Update version
2201 information.
7ae2ea10 2202
b6974efa
JB
22032012-06-15 Juanma Barranquero <lekktu@gmail.com>
2204
2205 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2206 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2207
8826d473
GM
22082012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2209
2210 * progmodes/python.el: New python.el merge.
2211 (python-guess-indent): Obsolete var.
2212 (python-indent-guess-indent-offset): New defcustom.
2213 (python-indent): Obsolete var.
2214 (python-indent-offset): New defcustom.
2215 (python-python-command, python-jython-command): Delete var.
2216 (python-shell-interpreter): New defcustom.
2217 (python-pdbtrack-do-tracking-p): Delete var.
2218 (python-pdbtrack-activate): New defcustom.
2219 (python-use-skeletons): Obsolete var.
2220 (python-skeleton-autoinsert): New defcustom.
2221 (inferior-python-filter-regexp, python-continuation-offset)
2222 (python-honour-comment-indentation, python-indent-string-contents)
2223 (python-jython-packages, python-mode-hook)
2224 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2225 (python-shell-prompt-alist)
2226 (python-source-modes): Delete defcustoms.
2227 (python-check-buffer-name, python-eldoc-setup-code)
2228 (python-eldoc-string-code, python-ffap-setup-code)
2229 (python-ffap-string-code, python-fill-comment-function)
2230 (python-fill-decorator-function, python-fill-paren-function)
2231 (python-fill-string-function, python-imenu-include-defun-type)
2232 (python-imenu-make-tree, python-imenu-subtree-root-label)
2233 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2234 (python-shell-compilation-regexp-alist)
2235 (python-shell-completion-module-string-code)
2236 (python-shell-completion-pdb-string-code)
2237 (python-shell-completion-setup-code)
2238 (python-shell-completion-string-code)
2239 (python-shell-enable-font-lock, python-shell-exec-path)
2240 (python-shell-extra-pythonpaths)
2241 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2242 (python-shell-process-environment)
2243 (python-shell-prompt-block-regexp)
2244 (python-shell-prompt-output-regexp)
2245 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2246 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2247 (python-shell-virtualenv-path): New defcustoms.
2248 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2249 (inferior-python-mode-syntax-table, python--prompt-regexp)
2250 (python-buffer, python-command python-python-command)
2251 (python-default-template, python-imports, python-indent-index)
2252 (python-indent-list, python-indent-list-length)
2253 (python-mode-running, python-pdbtrack-is-tracking-p)
2254 (python-preoutput-continuation, python-preoutput-leftover)
2255 (python-preoutput-result, python-preoutput-skip-next-prompt)
2256 (python-prev-dir/file, python-recursing)
2257 (python-saved-check-command, python-version-checked)
2258 (python-which-func-length-limit)
2259 (view-return-to-alist): Delete vars.
2260 (python-check-custom-command, python-dotty-syntax-table)
2261 (python-imenu-index-alist, python-indent-current-level)
2262 (python-indent-dedenters, python-indent-levels)
2263 (python-nav-beginning-of-defun-regexp)
2264 (python-nav-list-defun-positions-cache)
2265 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2266 (python-shell-internal-buffer)
2267 (python-skeleton-available): New vars.
2268 (def-python-skeleton): Delete macro.
2269 (python-skeleton-define): New macro.
2270 (python-define-auxiliary-skeleton, python-rx): New macros.
2271 (python-insert-class): Delete command.
2272 (python-skeleton-class): New command.
2273 (python-insert-def): Delete command.
2274 (python-skeleton-def): New command.
2275 (python-insert-for): Delete command.
2276 (python-skeleton-for): New command.
2277 (python-insert-if): Delete command.
2278 (python-skeleton-if): New command.
2279 (python-insert-try/except, python-insert-try/finally): Delete commands.
2280 (python-skeleton-try): New command.
2281 (python-insert-while): Delete command.
2282 (python-skeleton-while): New command.
2283 (python-backspace): Delete command.
2284 (python-indent-dedent-line-backspace): New command.
2285 (python-electric-colon): Delete command.
2286 (python-indent-electric-colon): New command.
2287 (python-guess-indent): Delete command.
2288 (python-indent-guess-indent-offset): New command.
2289 (python-shift-left): Delete command.
2290 (python-indent-shift-left): New command.
2291 (python-shift-right): Delete command.
2292 (python-indent-shift-right): New command.
2293 (python-find-function): Delete command.
2294 (python-nav-jump-to-defun): New command.
2295 (python-next-statement): Delete command.
2296 (python-nav-forward-sentence): New command.
2297 (python-previous-statement): Delete command.
2298 (python-nav-backward-sentence): New command.
2299 (python-fill-paragraph): Delete command.
2300 (python-fill-paragraph-function): New command.
2301 (python-send-buffer): Delete command.
2302 (python-shell-send-buffer): New command.
2303 (python-send-defun): Delete command.
2304 (python-shell-send-defun): New command.
2305 (python-send-region, python-send-region-and-go): Delete commands.
2306 (python-shell-send-region)
2307 (python-shell-switch-to-shell): New commands.
2308 (python-send-string): Delete command.
2309 (python-shell-send-string): New command.
2310 (python-switch-to-python): Delete command.
2311 (python-shell-switch-to-shell): New command.
2312 (python-describe-symbol): Delete command.
2313 (python-eldoc-at-point): New command.
2314 (python--set-prompt-regexp, python-args-to-list)
2315 (python-after-info-look, python-check-version)
2316 (python-check-comint-prompt, python-find-imports)
2317 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2318 (python-unload-function, python-expand-template)
2319 (python-maybe-jython, python-preoutput-filter)
2320 (python-pdbtrack-get-source-buffer)
2321 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2322 (python-pdbtrack-toggle-stack-tracking)
2323 (python-pdbtrack-track-stack-file, python-initial-text)
2324 (python-first-word, python-comment-line-p, python-send-command)
2325 (python-setup-brm, python-sentinel, python-set-proc)
2326 (python-skip-out, python-input-filter, python-outdent-p)
2327 (python-outline-level, python-backslash-continuation-line-p)
2328 (python-end-of-block, python-end-of-statement, python-mark-block)
2329 (python-beginning-of-block, python-beginning-of-statement)
2330 (python-blank-line-p, python-beginning-of-string)
2331 (python-open-block-statement-p): Delete functions.
2332 (python-indent-line, python-indent-line-1): Delete functions.
2333 (python-indent-line): New function.
2334 (python-indentation-levels): Delete function.
2335 (python-indent-calculate-levels): New function.
2336 (python-proc): Delete function.
2337 (python-shell-get-process): New function.
2338 (python-send-receive): Delete function.
2339 (python-shell-send-string-no-output): New function.
2340 (python-module-path): Delete function.
2341 (python-ffap-module-path): New function.
2342 (python-completion-at-point)
2343 (python-symbol-completions): Delete functions.
2344 (python-completion-complete-at-point): New function.
2345 (python-load-file): Delete function.
2346 (python-shell-send-file): New function.
2347 (python-calculate-indentation): Delete function.
2348 (python-indent-calculate-indentation): New function.
2349 (python-skip-comments/blanks): Delete function.
2350 (python-util-forward-comment): New function.
2351 (python-continuation-line-p): Delete function.
2352 (python-info-continuation-line-p): New function.
2353 (python-which-func, python-current-defun): Delete function.
2354 (python-info-current-defun): New function.
2355 (python-beginning-of-defun): Delete function.
2356 (python-nav-beginning-of-defun): New function.
2357 (python-close-block-statement-p)
2358 (python-block-end-p): Delete function.
2359 (python-info-closing-block): New function.
2360 (python-comint-output-filter-function)
2361 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2362 (python-fill-comment, python-fill-decorator, python-fill-paren)
2363 (python-fill-string, python-imenu-make-element-tree)
2364 (python-imenu-make-tree, python-imenu-tree-assoc)
2365 (python-indent-context, python-indent-dedent-line)
2366 (python-indent-line-function)
2367 (python-indent-post-self-insert-function)
2368 (python-indent-toggle-levels)
2369 (python-info-assignment-continuation-line-p)
2370 (python-info-beginning-of-backlash)
2371 (python-info-block-continuation-line-p)
2372 (python-info-closing-block-message)
2373 (python-info-line-ends-backslash-p)
2374 (python-info-looking-at-beginning-of-defun)
2375 (python-info-ppss-context, python-info-ppss-context-type)
2376 (python-nav-list-defun-positions, python-nav-read-defun)
2377 (python-nav-sentence-end, python-nav-sentence-start)
2378 (python-pdbtrack-comint-output-filter-function)
2379 (python-pdbtrack-set-tracked-buffer)
2380 (python-shell-calculate-exec-path)
2381 (python-shell-calculate-process-environment)
2382 (python-shell-completion--do-completion-at-point)
2383 (python-shell-completion--get-completions)
2384 (python-shell-completion-complete-at-point)
2385 (python-shell-completion-complete-or-indent)
2386 (python-shell-get-or-create-process)
2387 (python-shell-get-process-name)
2388 (python-shell-internal-get-or-create-process)
2389 (python-shell-internal-get-process-name)
2390 (python-shell-internal-send-string, python-shell-make-comint)
2391 (python-shell-parse-command, python-shell-send-setup-code)
2392 (python-skeleton-add-menu-items)
2393 (python-util-clone-local-variables, python-util-position)
2394 (run-python-internal, python-indentation-levels)
2395 (python-nav-beginning-of-defun)
2396 (python-completion-complete-at-point): New functions.
2397 (run-python): Change arguments. New API requirements.
2398
4302f5ba
SM
23992012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2400
f38ea36d
SM
2401 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2402 (bug#11649).
2403
2404 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2405 (macroexp--expand-all): Use it.
2406
4302f5ba
SM
2407 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2408 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2409 Use `cl-function' instead.
2410
33377562
JB
24112012-06-14 Juanma Barranquero <lekktu@gmail.com>
2412
2413 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2414 Suggested by Stefan Monnier while discussing bug#11657.
2415
54c5ba1a
SS
24162012-06-14 Sam Steingold <sds@gnu.org>
2417
2418 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2419
f9f1b1fe
AS
24202012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2421
2422 * play/doctor.el (doctor-doc): Remove parameter and use
2423 doctor-sent instead of sent.
2424 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2425
a81068ba
SM
24262012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2427
5a315f9c
SM
2428 * files.el: Require cl-lib.
2429 (file-name-non-special): Replace case -> cl-case.
2430
2431 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2432
a81068ba
SM
2433 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2434 mapping from #' to function*.
2435
8cca9703
CY
24362012-06-13 Chong Yidong <cyd@gnu.org>
2437
2438 * mouse.el (mouse-drag-track): Do not set the mark if the user
2439 releases the mouse without selecting anything (Bug#11588).
2440
a12ac9d7
SM
24412012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2442
ccf1dc18
SM
2443 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2444 as well (bug#11646).
2445
ef62b23d
SM
2446 * loadup.el: Count byte-code functions as well.
2447
c4c8444a
SM
2448 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2449 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2450
a12ac9d7
SM
2451 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2452 (bug#11649). Add cl-defun and cl-defmacro.
2453
87e6e64f
DA
24542012-06-13 Drew Adams <drew.adams@oracle.com>
2455
2456 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2457 Fix last change.
2458
682cefaf
MA
24592012-06-13 Michael Albinus <michael.albinus@gmx.de>
2460
2461 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2462 Otherwise, it blocks in batch mode.
2463
773e1f08
JB
24642012-06-13 Juanma Barranquero <lekktu@gmail.com>
2465
2466 * help-mode.el (bookmark-make-record-default): Declare.
2467
60057926
CY
24682012-06-13 Chong Yidong <cyd@gnu.org>
2469
2470 * emacs-lisp/package.el (list-packages): Compute a list of
2471 packages that are newly-available since the last list-packages
2472 invocation.
2473 (package-menu--new-package-list): New var.
2474 (package-menu--generate, package-menu--print-info)
2475 (package-menu--status-predicate, package-menu-mark-install):
2476 Handle new status label "new".
2477
ad4d226c
SM
24782012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2479
2480 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2481 conversion to backquotes.
2482
f1a4e679
CY
24832012-06-12 Chong Yidong <cyd@gnu.org>
2484
2485 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2486 Rename from gud-inhibit-global-bindings.
2487
2488 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2489
2490 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2491 hook from nxml-glyph-set-hook.
2492
2493 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2494 declaration.
2495
2496 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2497
2498 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2499 Convert to defcustom.
2500
0c9e42b5
DA
25012012-06-12 Drew Adams <drew.adams@oracle.com>
2502
2503 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2504 New functions.
2505 (help-mode): Use them.
2506
09e06855
GM
25072012-06-11 Glenn Morris <rgm@gnu.org>
2508
2509 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2510 Use preprocessor face for directives.
2511 (fortran-directive-re): Doc fix.
2512
71adb94b
SM
25132012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2514
2eb87922
SM
2515 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2516 conversion to backquotes (bug#11652).
2517
71adb94b
SM
2518 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2519 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2520 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2521 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2522 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2523 (cl-ninth, cl-tenth): Mark them as inlinable.
2524 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2525 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2526 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2527 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2528 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2529 (cl-list*, cl-adjoin): Don't put an autoload manually.
2530 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2531 (cl--compiler-macro-list*): Add autoload cookie.
2532 (cl--compiler-macro-cXXr): New function.
2eb87922 2533
71adb94b
SM
2534 * help-fns.el (help-fns--compiler-macro): New function extracted from
2535 describe-function-1; follow aliases and use `compiler-macro' property.
2536 (describe-function-1): Use it.
2537
a6674402
CY
25382012-06-11 Chong Yidong <cyd@gnu.org>
2539
2540 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2541 is uninstalled, if imagemagick is installed.
2542
bb3faf5b
SM
25432012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2544
2545 * emacs-lisp/cl-lib.el: Use lexical-binding.
2546 (cl-map-extents, cl-maclisp-member): Remove.
2547 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2548 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2549 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2550 * emacs-lisp/cl-extra.el: Use lexical-binding.
2551 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2552 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2553 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2554 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2555 * emacs-lisp/cl-seq.el: Use lexical-binding.
2556 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2557 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2558 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2559 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2560 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2561 CL's internals.
2562
2fe4b125
MA
25632012-06-11 Michael Albinus <michael.albinus@gmx.de>
2564
2565 Sync with Tramp 2.2.6-pre.
2566
2567 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2568 `print-length' and `print-level' to nil, in order to avoid
2569 truncation. Reported by Christopher Schmidt
2570 <christopher@ristopher.com>.
2571
2572 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2573
2574 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2575 New defmacro.
2576 (tramp-compat-copy-directory): Add optional argument
2577 COPY-CONTENTS. It is not handled yet.
2578
2579 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2580 (tramp-ftp-file-name-p): Simplify.
2581
2582 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2583 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2584 connection vector.
2585
2586 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2587 (tramp-methods): Do not use `tramp-password-end-of-line'.
2588 (tramp-completion-function-alist-putty): Handle UNIX case.
2589 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2590 (tramp-do-file-attributes-with-stat)
2591 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2592 gid as real numbers. They could run out of integer range on cygwin.
2593 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2594 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2595 (tramp-open-connection-setup-interactive-shell):
2596 Use `tramp-cleanup'. Move check for busyboxes ...
2597 (tramp-find-shell): ... here. Simplify implementation.
2598 Set "remote-shell" property also for alternative shells.
2599 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2600 If failing, a regular file would be written otherwise.
2601 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2602 (tramp-find-inline-encoding): Cache the coding commands in the
2603 process cache. Apply test command on the remote side, if defined.
2604 (tramp-find-inline-compress): Cache the compress commands in the
2605 process cache.
2606 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2607 when requested. Handle hops.
2608 (tramp-current-connection): New defvar.
87e6e64f
DA
2609 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2610 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2611 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2612 (tramp-get-inline-compress, tramp-get-inline-coding):
2613 Read connection properties from the process cache.
2fe4b125
MA
2614
2615 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2616 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2617 New defconsts.
2fe4b125
MA
2618 (tramp-smb-prompt): Extend for powershell prompt.
2619 (tramp-smb-file-name-handler-alist): Add handlers for
2620 `process-file', `shell-command' and `start-file-process'.
2621 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2622 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2623 (tramp-smb-file-name-p): Simplify.
2624 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2625 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2626 (tramp-smb-shell-quote-argument): New defuns.
2627 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2628 Implement using "tar". By this, time-stamps are preserved.
2629 (tramp-smb-handle-copy-file): Handle also the case of directories.
2630 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2631 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2632 Use `tramp-get-connection-buffer').
2fe4b125
MA
2633 (tramp-smb-handle-rename-file): Use "rename", when source and
2634 target are on the same share.
87e6e64f
DA
2635 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2636 Use `tramp-smb-server-version'.
2fe4b125
MA
2637 (tramp-smb-wait-for-output): Remove prompt.
2638
2639 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2640 (tramp-methods, tramp-rsh-end-of-line):
2641 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2642 (tramp-save-ad-hoc-proxies): New defcustom.
2643 (tramp-completion-function-alist): Adapt docstring.
2644 (tramp-default-password-end-of-line): Remove defcustom.
2645 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2646 (tramp-user-regexp, tramp-file-name-regexp-unified)
2647 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2648 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2649 (tramp-remote-file-name-spec-regexp): New defconst.
2650 (tramp-file-name-structure): Extend structure for hops.
2651 (tramp-get-method-parameter): Move up.
2652 (tramp-file-name-p, tramp-dissect-file-name)
2653 (with-parsed-tramp-file-name): Handle hops.
2654 (tramp-file-name-hop): New defun.
2655 (tramp-make-tramp-file-name): New optional arg HOP.
2656 (tramp-message-show-progress-reporter-message): New defvar.
2657 (tramp-with-progress-reporter): Use it. We cannot use
2658 `tramp-message-show-message' here, because this suppresses also
2659 error buffers.
2660 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2661 `tramp-message-show-message' is nil.
2662 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2663 (tramp-cleanup): New defun.
2664 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2665 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2666 an error unchanged.
2667 (tramp-completion-handle-file-name-all-completions): Handle hops.
2668 Fix an error when called from ido.
2669 (tramp-completion-dissect-file-name): Use better local variable
2670 name. Add hop to the vector.
2671 (tramp-handle-insert-file-contents): Use progress-reporter for the
2672 whole scenario.
2673 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2674 to `t'.
2675 (tramp-check-for-regexp): Simplify search.
2676 (tramp-enter-password): Remove it. Move implementation ...
2677 (tramp-action-password): ... here.
2678 (tramp-mode-string-to-int, tramp-local-host-p)
2679 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2680 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2681 Set tramp-autoload cookie.
2fe4b125
MA
2682
2683 * net/trampver.el: Update release number.
2684
26852012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2686 Michael Albinus <michael.albinus@gmx.de>
2687
2688 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2689 (tramp-parse-group, tramp-parse-file)
2690 (tramp-parse-shostkeys-sknownhosts): New defuns.
2691 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2692 (tramp-parse-shosts-group, tramp-parse-sconfig)
2693 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2694 (tramp-parse-sknownhosts, tramp-parse-hosts)
2695 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2696 Use them.
2697 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2698 (tramp-parse-putty-group): Don't narrow.
2699 (tramp-parse-putty): Make a loop.
2700 (tramp-file-name-handler): Catch the `suppress' signal.
2701
72834e10
CY
27022012-06-11 Chong Yidong <cyd@gnu.org>
2703
2704 * image.el (imagemagick-register-types): Put the ImageMagick entry
2705 at the end of image-type-file-name-regexps.
2706
a4712e11
JB
27072012-06-11 Johan Bockgård <bojohan@gnu.org>
2708
2709 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2710 (pcase, pcase-let*, pcase-dolist): Use them.
2711
82ad98e3
SM
27122012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2713
2714 * emacs-lisp/pcase.el (pcase--let*): New function.
2715 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2716 (pcase--expand): Use macroexp-let².
2717
f80efb86
SM
27182012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2719
2720 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2721 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2722 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2723 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2724 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2725 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2726
31ca4639 27272012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2728
31ca4639
CY
2729 * mail/rmail.el (rmail-yank-current-message): Leave point at
2730 correct position. (Bug#11660)
94f0aa34 2731
31ca4639 27322012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2733
31ca4639 2734 * allout-widgets.el: Fix code header.
9e1b8ec4 2735
31ca4639 27362012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2737
f80efb86
SM
2738 * cus-edit.el (customize-changed-options-previous-release):
2739 Bump to 24.1.
31ca4639 2740
642b6d30
AS
27412012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2742
2743 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2744
4f5d2ba1
CY
27452012-06-09 Chong Yidong <cyd@gnu.org>
2746
2747 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2748
e75852fd
MR
27492012-06-09 Martin Rudalics <rudalics@gmx.at>
2750
2751 * window.el (special-display-popup-frame): Don't use
2752 window--display-buffer (Bug#11651).
2753
1e48e282
EZ
27542012-06-09 Eli Zaretskii <eliz@gnu.org>
2755
8a26b487
EZ
2756 Fix parallel builds: make sure loaddefs.el is not being written
2757 while Lisp files are compiled.
2758 (compile): Don't depend on 'mh-autoloads'.
2759 (compile-CMD, compile-SH): Depend on 'autoloads'.
2760 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2761
1e48e282
EZ
2762 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2763
6175e34b
CY
27642012-06-09 Chong Yidong <cyd@gnu.org>
2765
2766 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2767 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2768 Doc fixes (Bug#11225).
2769
d9857e53
SM
27702012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2771
2772 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2773 a function if there's a clear indication that it has a compiler-macro.
2774 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2775 (macro-declarations-alist): Add arglist to declaration functions.
2776 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2777 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2778 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2779 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2780 Also add autoload to find the compiler macro.
2781 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2782 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2783 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2784 (cl--compiler-macro-get): New functions, replacing calls to
2785 cl-define-compiler-macro.
2786 (cl-typep) [compiler-macro]: Use macroexp-let².
2787
f81298f8 27882012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2789
2790 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2791 string properly, fixes Bug#11473.
2792
4b56d0fe
CY
27932012-06-08 Chong Yidong <cyd@gnu.org>
2794
2795 * faces.el (set-face-attribute): Doc fix.
2796 (modify-face): Don't use :bold and :italic.
2797 (error, warning, success): Tweak definitions.
2798
2799 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2800 (custom-modified, custom-set, custom-changed, custom-themed)
2801 (custom-saved, custom-button, custom-button-mouse)
2802 (custom-button-pressed, custom-state, custom-comment-tag)
2803 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2804 (custom-group-subtitle): Use new-style face specs.
2805 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2806 (custom-set-face, custom-changed-face, custom-saved-face)
2807 (custom-button-face, custom-button-pressed-face)
2808 (custom-documentation-face, custom-state-face)
2809 (custom-comment-face, custom-comment-tag-face)
2810 (custom-variable-tag-face, custom-variable-button-face)
2811 (custom-face-tag-face, custom-group-tag-face-1)
2812 (custom-group-tag-face): Remove obsolete face alias.
2813
2814 * epa.el (epa-validity-high, epa-validity-medium)
2815 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2816 (epa-field-name, epa-field-body):
2817 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2818 (font-lock-keyword-face, font-lock-builtin-face)
2819 (font-lock-function-name-face, font-lock-variable-name-face)
2820 (font-lock-type-face, font-lock-constant-face):
2821 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2822 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2823 * speedbar.el (speedbar-button-face, speedbar-file-face)
2824 (speedbar-directory-face, speedbar-tag-face)
2825 (speedbar-selected-face, speedbar-highlight-face)
2826 (speedbar-separator-face):
2827 * whitespace.el (whitespace-newline, whitespace-space)
2828 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2829 (whitespace-line, whitespace-space-before-tab)
2830 (whitespace-space-after-tab, whitespace-indentation)
2831 (whitespace-empty):
2832 * emulation/cua-base.el (cua-global-mark):
2833 * eshell/em-prompt.el (eshell-prompt):
2834 * net/newst-plainview.el (newsticker-new-item-face)
2835 (newsticker-old-item-face, newsticker-immortal-item-face)
2836 (newsticker-obsolete-item-face, newsticker-date-face)
2837 (newsticker-statistics-face, newsticker-default-face):
2838 * net/newst-reader.el (newsticker-feed-face)
2839 (newsticker-extra-face, newsticker-enclosure-face):
2840 * net/newst-treeview.el (newsticker-treeview-face)
2841 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2842 (newsticker-treeview-immortal-face)
2843 (newsticker-treeview-obsolete-face)
2844 (newsticker-treeview-selection-face):
2845 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2846 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2847 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2848 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2849 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2850 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2851 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2852 (mpuz-text):
2853 * progmodes/vera-mode.el (vera-font-lock-number)
2854 (vera-font-lock-function, vera-font-lock-interface):
2855 * textmodes/table.el (table-cell): Use new-style face specs, and
2856 don't use the old :bold and :italic attributes.
2857
2858 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2859 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2860 (ebrowse-member-class, ebrowse-progress): Likewise.
2861 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2862 (ebrowse-file-name-face, ebrowse-default-face)
2863 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2864 (ebrowse-progress-face): Remove obsolete faces.
2865
2866 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2867 Inherit from error and warning faces respectively.
2868
2869 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2870 Likewise.
f80efb86
SM
2871 (flyspell-incorrect-face, flyspell-duplicate-face):
2872 Remove obsolete aliases.
4b56d0fe 2873
03310646
MA
28742012-06-08 Michael Albinus <michael.albinus@gmx.de>
2875
2876 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2877 Avoid infloop.
2878
513749ee
SM
28792012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2880
2881 * startup.el (argv, argi): Make lexically scoped.
2882 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2883 * emacs-lisp/cl-macs.el: Use lexical-binding.
2884 Rename cl-bind-* to cl--bind-*.
2885 * files.el: Don't require `cl' since it doesn't use it.
2886 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2887
595ef4ad
JB
28882012-06-08 Juanma Barranquero <lekktu@gmail.com>
2889
2890 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2891 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2892 instead of calling external sort utility.
2893 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2894
e9f66fcb
EZ
28952012-06-08 Eli Zaretskii <eliz@gnu.org>
2896
2897 * descr-text.el (describe-char): Mention how to insert the
2898 character, if the current input method doesn't support it.
2899 See the discussion in this thread for the details:
2900 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2901
3d10db47
SS
29022012-06-08 Sam Steingold <sds@gnu.org>
2903
2904 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2905 XF86Back to previous-buffer.
2906 (minibuffer-local-map): Bind them to next-history-element and
2907 previous-history-element respectively.
2908 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2909 help-go-back respectively.
2910 * info.el (Info-mode-map): Bind them to Info-history-forward and
2911 Info-history-back respectively.
2912 These are the keys next to Up on the ThinkPad keyboard.
2913
de7e2b36
SM
29142012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2915
2916 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2917 * emacs-lisp/cl-macs.el: Provide itself.
2918 (cl--labels-convert-cache): New var.
2919 (cl--labels-convert): New function.
2920 (cl-flet, cl-labels): New implementation with new semantics, relying on
2921 lexical-binding.
2922 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2923 (cl-closure-vars, cl--function-convert-cache)
2924 (cl--function-convert): Move from cl-macs.el.
2925 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2926 rename by removing the "cl-" prefix.
2927 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2928
6fa6c4ae
SM
29292012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2930
2931 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2932 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2933 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2934 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2935 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2936 (cl-hash-table-count): Add old compatibility aliases.
2937
2938 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2939 Use macroexpand-all-environment instead.
2940 (cl--old-macroexpand): New var.
2941 (cl--sm-macroexpand): New function.
2942 (cl-symbol-macrolet): Use it during macro expansion.
2943 (cl--function-convert-cache): New var.
2944 (cl--function-convert): New function, extracted from
2945 cl-macroexpand-all.
2946 (cl-lexical-let): Use it.
2947
2948 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2949 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2950 (cl-member): Remove old alias.
2951
2952 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2953 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2954 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2955 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2956 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2957 (cl-macroexpand-cmacs): Remove var.
2958 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2959 Use macroexpand-all instead.
2960
4dd1c416
SM
29612012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2962
2963 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2964 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2965 (macroexp-copyable-p): New functions and macros.
2966 * emacs-lisp/edebug.el (edebug-unwrap):
2967 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2968 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2969 (pcase--let*): Remove.
2970 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2971 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2972 macroexp-const-p instead.
2973 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2974
2975 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2976 instead of "cl-" for internal definitions. Use macroexp-const-p.
2977 (cl-old-bc-file-form): Remove var.
2978 (cl-const-exprs-p): Remove fun.
2979 (cl-labels, cl-macrolet): Use backquote.
2980 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2981 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2982 (cl-define-setf-expander): Rename from cl-define-setf-method.
2983 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2984
2985 * international/mule-cmds.el: Don't require CL.
2986 (view-hello-file): Don't use `letf'.
2987
ed8bd4d7
SM
29882012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2989
7287f2f3
SM
2990 * tmm.el (tmm-prompt): Use string-prefix-p.
2991 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2992 (tmm-add-prompt): Use minibuffer-completion-help.
2993 (tmm-delete-map): Remove.
2994
ed8bd4d7
SM
2995 * subr.el (kbd): Make it its own function.
2996
7b4cdbf4
SM
29972012-06-07 Stefan Merten <smerten@oekonux.de>
2998
2999 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3000 Silence compiler warnings. Fix versions.
ed8bd4d7 3001 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 3002 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 3003 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
3004 (rst-package-emacs-version-alist): Correct Emacs version to
3005 represent major merge with upstream.
ed8bd4d7 3006 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 3007
2b48d721
GM
30082012-06-06 Glenn Morris <rgm@gnu.org>
3009
3010 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3011 Only print environment variables if set.
3012
fa779ab0
SM
30132012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3014
3015 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3016 (macroexp--cons): Rename from maybe-cons.
3017 (macroexp--accumulate): Rename from macroexp-accumulate.
3018 (macroexp--all-forms): Rename from macroexpand-all-forms.
3019 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3020 (macroexp--expand-all): Rename from macroexpand-all-1.
3021
628299e0
SS
30222012-06-06 Sam Steingold <sds@gnu.org>
3023
3024 * calendar/calendar.el (calendar-in-read-only-buffer):
3025 Call `special-mode' to enable the standard read-only keybindings.
3026
b7bb5838
SM
30272012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
3028
3029 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3030 with "loading" messages (bug#11635).
3031
dfb308ba
MA
30322012-06-06 Michael Albinus <michael.albinus@gmx.de>
3033
3034 * files.el (enable-remote-dir-locals): New option.
3035 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
3036
0372ee92
MA
3037 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3038 Ensure, that the temp directory is local.
3039
3040 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3041 `temporary-file-directory'.
3042
eed0bb91
MA
3043 * progmodes/python.el (python-send-region): Ensure, that the
3044 temporary file is created also in the remote case.
3045
7a58f64d
GM
30462012-06-06 Glenn Morris <rgm@gnu.org>
3047
f7dd4e98
GM
3048 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3049 (vc-rcs-update-changelog): Use it.
3050
090bd7cb 3051 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 3052
7a58f64d
GM
3053 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3054 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3055 (vc-sccs-diff): Replace use of the external vcdiff script.
3056
daed4003
GM
30572012-06-05 Glenn Morris <rgm@gnu.org>
3058
3059 * ledit.el: Move to obsolete/.
3060
48c455c7
SS
30612012-06-05 Sam Steingold <sds@gnu.org>
3062
ed9265fc 3063 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
3064 patch (Bug#11140).
3065
57a7d507
SM
30662012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
3067
090bd7cb 3068 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 3069
53aacf21
SM
3070 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3071 compiler-macro expansion.
3072
57a7d507
SM
3073 Add native compiler-macro support.
3074 * emacs-lisp/macroexp.el (macroexpand-all-1):
3075 Support compiler-macros directly. Properly follow aliases and apply
3076 the compiler macros more thoroughly.
3077 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3078 macroexpand now properly follows aliases.
3079 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3080 (cl-compiler-macroexpand): Use new prop.
3081 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3082
3083 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3084
51a5f9d8
MR
30852012-06-05 Martin Rudalics <rudalics@gmx.at>
3086
3087 * window.el (get-lru-window, get-mru-window, get-largest-window):
3088 New argument NOT-SELECTED to avoid picking the selected window.
3089 (window--display-buffer-1, window--display-buffer-2): Replace by
3090 new function window--display-buffer
3091 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
3092 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3093 Use window--display-buffer.
51a5f9d8
MR
3094 (display-buffer-use-some-window): Remove temporary dedication
3095 hack by calling get-lru-window and get-largest-window with
3096 NOT-SELECTED argument non-nil. Call window--display-buffer.
3097
08f9f738
GM
30982012-06-05 Glenn Morris <rgm@gnu.org>
3099
3100 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3101 Replace external vcdiff script.
3102
e364a2b7
SM
31032012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3104
3105 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3106
041df390
CY
31072012-06-04 Chong Yidong <cyd@gnu.org>
3108
e364a2b7
SM
3109 * image.el (imagemagick-types-inhibit): Revert last change.
3110 Add INFO and M.
47b36b94 3111 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 3112
7c1898a7
SM
31132012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3114
3115 * emacs-lisp/cl-lib.el: Rename from cl.el.
3116 * emacs-lisp/cl.el: New compatibility file.
3117 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3118 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3119 to obey the "cl-" prefix.
3120 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3121
0c3461de
GM
31222012-06-03 Glenn Morris <rgm@gnu.org>
3123
1e266c88
GM
3124 * emacs-lisp/authors.el (authors-aliases): Addition.
3125
0c3461de
GM
3126 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3127 Fix :version.
3128
d8a52e15
SM
31292012-06-03 Stefan Merten <smerten@oekonux.de>
3130
3131 * textmodes/rst.el: Add comments.
3132 (rst-transition, rst-adornment): New faces.
3133 (rst-adornment-faces-alist): Make default safe to reevaluate.
3134 Fixes
3135 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3136 Improve customization tags.
3137 (rst-define-level-faces): Clarify meaning.
3138
5205d6f6
CY
31392012-06-03 Chong Yidong <cyd@gnu.org>
3140
3141 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
3142 (compilation-mode-line-run, compilation-mode-line-exit):
3143 New faces.
5205d6f6
CY
3144 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3145
757ee657
JD
31462012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3147
7c1898a7
SM
3148 * progmodes/which-func.el (which-func-update-ediff-windows):
3149 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 3150
5f2c76c6
CY
31512012-06-03 Chong Yidong <cyd@gnu.org>
3152
3153 * bindings.el: Remove explicit help text from format-mode-line.
3154 It is now supplied by mode-line-default-help-echo.
3155 (mode-line-front-space, mode-line-end-spaces)
3156 (mode-line-misc-info): New variables.
3157 (mode-line-modes, mode-line-position): Move the default value to
3158 the variable definition.
3159 (mode-line-default-help-echo): New defcustom.
383f7350
CY
3160 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3161 (mode-line-modified-help-echo): New functions.
3162 (mode-line-mule-info, mode-line-modified): Use them.
3163 (mode-line-eol-desc, propertized-buffer-identification):
3164 Consistency fixes for help text.
cbe46e5f
CY
3165 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3166 set-buffer-file-coding-system (Bug#289).
3167 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 3168
f2d6a3df
SM
31692012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3170
3171 * simple.el (execute-extended-command): Set real-this-command
3172 (bug#11506).
3173
37269466
CY
31742012-06-02 Chong Yidong <cyd@gnu.org>
3175
3176 Remove incorrect uses of "modeline" in comments, docstrings, and
3177 function/variable names (Bug#10329).
3178
3179 * cus-edit.el (mode-line):
3180 * dframe.el (dframe-mouse-hscroll):
3181 * emacs-lisp/re-builder.el:
3182 * emacs-lisp/easy-mmode.el (define-minor-mode):
3183 * frame.el (set-frame-name):
3184 * help.el (lookup-minor-mode-from-indicator):
3185 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3186 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3187 (c-toggle-hungry-state):
3188 * progmodes/antlr-mode.el (antlr-language-alist):
3189 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3190 * progmodes/vhdl-mode.el (vhdl-mode):
3191 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3192 * term/ns-win.el (ns-face-at-pos):
3193 * term/sup-mouse.el (sup-mouse-report):
3194 * textmodes/flyspell.el (flyspell-mode-line-string):
3195 * textmodes/ispell.el (ispell-highlight-face):
3196 * textmodes/reftex-global.el:
3197 * vc/vc-arch.el (vc-arch-mode-line-string):
3198 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3199 * vc/vc-git.el (vc-git-mode-line-string):
3200 * vc/vc-hooks.el (vc-display-status)
3201 (vc-default-mode-line-string):
3202 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3203
3204 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3205
3206 * dired.el (dired-sort-set-mode-line): Rename from
3207 dired-sort-set-modeline. All callers changed.
3208
3209 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3210 eshell-status-in-modeline.
3211
3212 * foldout.el (foldout-mode-line-string): Rename from
3213 foldout-modeline-string. All callers changed.
3214 (foldout-update-mode-line): Rename from foldout-update-modeline.
3215
3216 * subr.el (redraw-modeline): Make into obsolete alias.
3217
3218 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3219 timeclock-modeline-display. Make old name an alias.
3220 (timeclock-update-mode-line): Likewise. All callers changed.
3221 (timeclock-mode-line-display): No need to check before using
3222 add-hook.
3223 (timeclock-relative, timeclock-day-over-hook)
3224 (timeclock-use-elapsed, timeclock-mode-string)
3225 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3226
3227 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3228 crisp-mode-modeline-string.
3229
3230 * play/solitaire.el (solitaire-build-mode-line): Rename from
3231 solitaire-build-modeline. All callers changed.
3232
3233 * play/zone.el (zone-hiding-mode-line): Rename from
3234 zone-hiding-modeline. All callers changed.
3235 (zone): Remove unusued `modeline-hidden-level' property.
3236
3237 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3238 xscheme-modeline-initialize. All callers changed.
3239
3240 * strokes.el (strokes-lighter): Rename from
3241 strokes-modeline-string.
3242
3243 * textmodes/sgml-mode.el (html-face-tag-alist)
3244 (html-tag-face-alist): Use mode-line face instead of obsolete
3245 alias modeline.
3246
42152ee4
SM
32472012-06-02 Stefan Merten <smerten@oekonux.de>
3248
3249 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3250 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3251
95f520b5
CY
32522012-06-02 Chong Yidong <cyd@gnu.org>
3253
3254 * image.el (imagemagick-enabled-types): Rename from
3255 imagemagick-types-enable. Add many more types.
3256 (imagemagick-types-inhibit): Change default to nil.
3257 (imagemagick-filter-types): Caller changed.
3258
4a5f187a
SM
32592012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3260
03fef3e6
SM
3261 * emacs-lisp/cl-macs.el: Use backquotes.
3262 (cl-transform-function-property): Use eval-and-compile rather than
3263 abusing `require'.
3264 (defstruct): Use declare-function instead of with-no-warnings.
3265
4a5f187a
SM
3266 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3267 (byte-compile-output-docform): Re-add the print-circle bindings.
3268 (byte-compile-fix-header): Use #$ just because it's shorter.
3269 (byte-compile-output-file-form): Remove defun/defmacro.
3270
bd56924f
MR
32712012-06-01 Martin Rudalics <rudalics@gmx.at>
3272
3273 * simple.el (choose-completion): Remove now obsolete binding for
3274 owindow.
3275
046e38ce
MA
32762012-06-01 Michael Albinus <michael.albinus@gmx.de>
3277
3278 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3279 in order to avoid "Stack overflow in regexp matcher".
3280
32d72c2f
GM
32812012-05-31 Glenn Morris <rgm@gnu.org>
3282
3283 * image.el: For clarity, call imagemagick-register-types at
3284 top-level, rather than relying on a custom :initialize.
3285 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3286 (imagemagick-filter-types): New function. (Bug#7406)
3287 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3288 If disabling support, remove elements altogether rather
3289 than using an impossible regexp.
3290 (imagemagick-types-inhibit): Give it the default init function.
3291
dd41169b
SM
32922012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3293
4a5f187a
SM
3294 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3295 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3296
efc00ab1 32972012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3298
3299 * desktop.el (desktop-read): Clear previous and next buffers for
3300 all windows and bury *Messages* buffer (bug#11556).
3301
500fcedc
SM
33022012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3303
3304 Add `declare' for `defun'. Align `defmacro's with it.
3305 * emacs-lisp/easy-mmode.el (define-minor-mode)
3306 (define-globalized-minor-mode): Don't autoload the var definitions.
3307 * emacs-lisp/byte-run.el: Use lexical-binding.
3308 (defun-declarations-alist, macro-declarations-alist): New vars.
3309 (defmacro, defun): Use them.
3310 (make-obsolete, define-obsolete-function-alias)
3311 (make-obsolete-variable, define-obsolete-variable-alias):
3312 Use `declare'.
3313 (macro-declaration-function): Mark obsolete.
3314 * emacs-lisp/autoload.el: Use lexical-binding.
3315 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3316
6e8a1786
AM
33172012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3318
3319 * textmodes/ispell.el (ispell-with-no-warnings):
3320 Define as a macro.
500fcedc
SM
3321 (ispell-kill-ispell, ispell-change-dictionary):
3322 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3323 `interactive-p'.
3324
61b108cc
SM
33252012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3328 (macro-declaration-function): Move var from C code.
3329 (macro-declaration-function): Define function with defalias.
3330 * emacs-lisp/macroexp.el (macroexpand-all-1):
3331 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3332 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3333 defun/defmacro any more.
3334 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3335 Provide fallback for unknown arglist.
3336 (byte-compile-arglist-warn): Change calling convention.
3337 (byte-compile-output-file-form): Move print-vars binding.
3338 (byte-compile-output-docform): Simplify accordingly.
3339 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3340 (byte-compile-defmacro-declaration): Remove.
3341 (byte-compile-file-form-defmumble): Generalize to defalias.
3342 (byte-compile-output-as-comment): Return byte-positions.
3343 Simplify callers accordingly.
3344 (byte-compile-lambda): Use `assert'.
3345 (byte-compile-defun, byte-compile-defmacro): Remove.
3346 (byte-compile-file-form-defalias):
3347 Use byte-compile-file-form-defmumble.
3348 (byte-compile-defalias-warn): Remove.
3349
6d3f7c2f
SM
33502012-05-29 Stefan Merten <smerten@oekonux.de>
3351
3352 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3353 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3354
3355 (rst-mode-abbrev-table): Merge definition.
3356 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3357 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3358
6dbaa1c7
UJ
33592012-05-29 Ulf Jasper <ulf.jasper@web.de>
3360
3361 * calendar/icalendar.el
3362 (icalendar-export-region): Export UID properly.
3363
d209e2fb 33642012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3365 * calendar/icalendar.el (icalendar-import-format):
3366 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3367 (icalendar-import-format-uid): New.
3368 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3369 Export UID.
3370
6876a58d
SM
33712012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3372
3373 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3374 different alternative patterns.
3375 (pcase-codegen): Be more careful to preserve identity.
3376 (pcase--u1): Don't forget to mark vars as used.
3377
3378 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3379 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3380 (byte-compile-from-buffer): ...rather than here.
3381
3382 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3383 functions from byte-compile-function-environment.
3384
46b7967e
TN
33852012-05-29 Troels Nielsen <bn.troels@gmail.com>
3386
3387 * window.el (window-deletable-p): Avoid deleting the root window
3388 of a frame with an active minibuffer.
3389
69d565e2
MR
33902012-05-29 Martin Rudalics <rudalics@gmx.at>
3391
3392 * simple.el (choose-completion): Use quit-window (Bug#11567).
3393
a149fa51
CY
33942012-05-29 Chong Yidong <cyd@gnu.org>
3395
3396 * whitespace.el (whitespace-cleanup): Fix usage of
3397 whitespace-empty-at-bob-regexp (Bug#11492).
3398
2b311310
AH
33992012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3400
3401 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3402 revert (Bug#11488).
3403
b9cb2387
JL
34042012-05-29 Juri Linkov <juri@jurta.org>
3405
3406 * isearch.el (isearch-mode-map): Bind `M-s _' to
3407 `isearch-toggle-symbol'. Bind `M-s c' to
3408 `isearch-toggle-case-fold'.
3409 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3410 (isearch-forward): Add `M-s _' to the docstring.
3411 (isearch-forward-symbol, isearch-toggle-case-fold)
3412 (isearch-symbol-regexp): New functions. (Bug#11381)
3413
d5e61c1c
JL
34142012-05-29 Juri Linkov <juri@jurta.org>
3415
3416 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3417 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3418 a function, call it to get the regexp.
3419 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3420 property `isearch-message-prefix' instead of the string "word ".
3421 (isearch-search-fun-default): For the case of `isearch-word',
3422 return a lambda that calls re-search-forward/re-search-backward
3423 with a regexp returned by `word-search-regexp' or by the function
3424 in `isearch-word'.
3425
8cbd80f7
JL
34262012-05-29 Juri Linkov <juri@jurta.org>
3427
3428 * isearch.el (isearch-search-fun-default): New function.
3429 (isearch-search-fun): Move default part to the new function
3430 `isearch-search-fun-default'.
3431 (isearch-search-fun-function): Set the default value to
3432 `isearch-search-fun-default'. (Bug#11381)
3433
3434 * comint.el (comint-history-isearch-end):
3435 Use `isearch-search-fun-default'.
3436 (comint-history-isearch-search): Use `isearch-search-fun-default'
3437 and remove spacial case for `isearch-word'.
3438 (comint-history-isearch-wrap): Remove spacial case for
3439 `isearch-word'.
3440
3441 * hexl.el (hexl-isearch-search-function):
3442 Use `isearch-search-fun-default'.
3443
3444 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3445 Use `word-search-regexp' for `isearch-word'.
3446
3447 * misearch.el (multi-isearch-search-fun):
3448 Use `isearch-search-fun-default'.
3449
3450 * simple.el (minibuffer-history-isearch-search):
3451 Use `isearch-search-fun-default' and remove spacial case for
3452 `isearch-word'.
3453 (minibuffer-history-isearch-wrap): Remove spacial case for
3454 `isearch-word'.
3455
3456 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3457 Remove spacial case for `isearch-word'.
3458 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3459
85c8c5b6
AM
34602012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3461
3462 Decrease XEmacs incompatibilities.
3463 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3464 Use `string-match'.
3465 (flyspell-delete-region-overlays): Use alternative definition for
3466 XEmacs.
3467 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3468 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3469 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3470 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3471 `define-obsolete-face-alias' under XEmacs, but old method.
3472
3473 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3474 `with-no-warnings' definition or Emacs alias.
3475 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3476 (ispell-word): Do not use `region-p' if XEmacs.
3477
8cab9efc
AM
34782012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3479
3480 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3481 Check for `ispell-dictionary-base-alist' instead of full
3482 `ispell-dictionary-alist'.
3483 (ispell-init-process): Show spellchecker when starting new Ispell
3484 process.
3485
fda91268
RZ
34862012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3487
3488 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3489 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3490
694ea8e3
JB
34912012-05-27 Juanma Barranquero <lekktu@gmail.com>
3492
3493 * version.el (motif-version-string, gtk-version-string)
3494 (ns-version-string): Declare.
3495
e4d4f539
JL
34962012-05-27 Juri Linkov <juri@jurta.org>
3497
3498 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3499 after the `eval-defun-1' specialcaseing
3500 like in `edebug-eval-defun' (bug#10181).
3501
3502 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3503 like in `eval-defun-1'.
3504
33017faf 35052012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3506
fda91268
RZ
3507 * mail/sendmail.el (mail-yank-region):
3508 Recognize rmail-yank-current-message in addition to insert-buffer.
3509 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3510 a *mail* buffer created through rmail-start-mail with sendmail as
3511 mail-user-agent.
3512
33017faf
GM
35132012-05-27 Chong Yidong <cyd@gnu.org>
3514
3515 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3516 Default to 256 (Bug#11267).
3517
3518 * help.el (describe-mode): Doc fix.
3519
04188bb9
GM
35202012-05-26 Glenn Morris <rgm@gnu.org>
3521
38264cc9
GM
3522 * w32-fns.el (w32-init-info): Remove.
3523 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3524
eb7afdad
GM
3525 * info.el (info-initialize): For self-contained NS builds, put the
3526 included info/ directory at the front. (Bug#2791)
3527
04188bb9
GM
3528 * paths.el (Info-default-directory-list): Make it a defcustom,
3529 mainly so that we can use custom-initialize-delay.
3530
a179e3f7
SM
35312012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3532
43416392
SM
3533 * subr.el (buffer-has-markers-at): Mark obsolete.
3534
a179e3f7 3535 * subr.el (lambda): Use declare.
43416392 3536
a179e3f7
SM
3537 * emacs-lisp/lisp-mode.el (lambda):
3538 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3539
34a008d9
AH
35402012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3541
3542 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3543
0a3b289f
GM
35442012-05-26 Glenn Morris <rgm@gnu.org>
3545
3546 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3547
758c81e8
GM
35482012-05-25 Glenn Morris <rgm@gnu.org>
3549
f9f334f0
GM
3550 * paths.el: Remove no-byte-compile.
3551 * loadup.el: No need to load paths.el uncompiled.
3552
87eb79c2
GM
3553 * image.el (imagemagick-types-inhibit): Doc fix.
3554
758c81e8
GM
3555 * version.el: Remove no-byte-compile and associated formatting.
3556 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3557 is ancient code from when there was an "inc-vers.el".
3558
e7e85dc0
SM
35592012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3560
3561 * progmodes/gdb-mi.el: Minor style changes.
3562 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3563 Turn into minor modes.
3564 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3565 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3566 (gdb-shell): Remove unneeded let-binding.
3567 (gdb-get-many-fields): Eliminate O(n²) behavior.
3568
f31237a4
EZ
35692012-05-25 Eli Zaretskii <eliz@gnu.org>
3570
3571 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3572 platforms that don't link in fontset.c.
3573
bc1b21bb
JL
35742012-05-25 Juri Linkov <juri@jurta.org>
3575
3576 Use the same diff color scheme as in modern VCSes (bug#10181).
3577
3578 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3579 to avoid confusion with `diff-added' that now uses green colors.
3580 (diff-removed): Use shades of red.
3581 (diff-added): Use shades of green.
3582 (diff-changed): Leave just the yellow color.
3583 (diff-use-changed-face): New variable.
3584 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3585 how to highlight context diff changes.
3586 (diff-refine-change): Use shades of yellow.
3587 (diff-refine-removed): New face that uses shades of red.
3588 (diff-refine-added): New face that uses shades of green.
3589 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3590 `diff-refine-removed' in the call to `smerge-refine-subst'
3591 depending on the value of `diff-use-changed-face'.
3592
3593 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3594 (smerge-other): Use shades of green.
3595 (smerge-base): Use shades of yellow.
3596 (smerge-refined-change): Empty face.
3597 (smerge-refined-removed): New face that uses shades of red.
3598 (smerge-refined-added): New face that uses shades of green.
3599 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3600 args `props-r' and `props-a', and use them. Doc fix.
3601 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3602 on its value use different faces `smerge-refined-change',
3603 `smerge-refined-removed', `smerge-refined-added' in the call to
3604 `smerge-refine-subst'.
3605
3606 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3607 Add face condition `min-colors 88' with shades of red.
3608 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3609 `min-colors 88' with shades of green.
3610 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3611 `min-colors 88' with shades of yellow.
3612
6df9112c
GM
36132012-05-24 Glenn Morris <rgm@gnu.org>
3614
ead5edc0
GM
3615 * paths.el (prune-directory-list, remote-shell-program): Move to...
3616 * files.el (prune-directory-list, remote-shell-program): ...here.
3617 For the latter, delay initialization, prefer ssh, just search PATH.
3618
f18b81e6
GM
3619 * paths.el (term-file-prefix): Move to faces.el (the only user).
3620 * faces.el (term-file-prefix): Move here, make it a defcustom.
3621
ee2f89a6
GM
3622 * paths.el (news-directory, news-path, news-inews-program):
3623 Move to gnus/nnspool.el.
61a583ca 3624
f8815e4c
GM
3625 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3626
c8f3b42c
GM
3627 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3628 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3629 Make the latter a defcustom, with a delayed initialization.
3630
6df9112c
GM
3631 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3632 These were deleted from Gnus itself late 2010.
3633
5dadff36
JB
36342012-05-22 Juanma Barranquero <lekktu@gmail.com>
3635
9e1701c6
JB
3636 * progmodes/which-func.el (which-func-ff-hook):
3637 Check against user-error, not error.
3638
bd7239f5 3639 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3640 cl-specs.el, which no longer exists.
3641
3290526d
GM
36422012-05-22 Glenn Morris <rgm@gnu.org>
3643
3644 * info.el (info-emacs-bug): New command.
3645 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3646 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3647
ff0c3cfb
GM
36482012-05-21 Glenn Morris <rgm@gnu.org>
3649
3650 * makefile.w32-in (update-subdirs-SH):
3651 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3652
5814f126
SM
36532012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3654
a52c0aa0
SM
3655 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3656
5814f126
SM
3657 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3658 Simplify Maven regexp, and make sure the file can't start with a space
3659 (bug#11517).
3660
b847032c
GM
36612012-05-21 Glenn Morris <rgm@gnu.org>
3662
3663 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3664 Scrap superfluous subshells.
3665
3858bfe7
SM
36662012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3669 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3670
d14b0029
JB
36712012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3672
3673 * calc/calc.el (calc-ensure-consistent-units): New variable.
3674
a52c0aa0
SM
3675 * calc/calc-units.el (math-consistent-units-p)
3676 (math-check-unit-consistency): New functions.
3677 (calc-quick-units, calc-convert-units):
3678 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3679 is non-nil.
d14b0029
JB
3680 (calc-extract-units): Fix typo.
3681
60c4db3a
SM
36822012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3683
77f3b62e
SM
3684 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3685
60c4db3a
SM
3686 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3687 (flyspell-default-deplacement-commands): Don't spell check after
3688 repeated window/frame switches (e.g. triggered by mouse-movement).
3689 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3690 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3691 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3692 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3693 Remove unused vars.
3694 (flyspell-get-casechars, flyspell-get-not-casechars):
3695 Simplify; Don't bother removing a ] just to add it back.
3696 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3697
d209e2fb 36982012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3699
3700 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3701 New functions.
bd7239f5 3702 (math-function-table): Add support for more C functions.
b1a10716 3703
3f1b25b5
AM
37042012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3705
090bd7cb
JB
3706 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3707 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3708 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3709
b581bb5c
SM
37102012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3711
3712 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3713 their respective macro declarations.
3714 * skeleton.el (define-skeleton):
3715 * progmodes/compile.el (define-compilation-mode):
3716 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3717 (define-ibuffer-filter):
3718 * emacs-lisp/generic.el (define-generic-mode):
3719 * emacs-lisp/easy-mmode.el (define-minor-mode)
3720 (define-globalized-minor-mode):
3721 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3722 * emacs-lisp/byte-run.el (defsubst):
3723 * custom.el (deftheme): Add doc-string metadata.
3724
70b8ef8f
SM
37252012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3726
3727 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3728
b1198e17
SM
37292012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3730
9abdc45d
SM
3731 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3732
b1198e17
SM
3733 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3734 * emacs-lisp/cl-macs.el: Idem.
3735 * emacs-lisp/cl-specs.el: Remove.
3736
4735906a
SM
37372012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 Minor renaming of internal CL functions and variables.
3740 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3741 (cl--position): Rename from cl-position.
3742 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3743 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3744 (cl--random-state): Rename from *random-state*.
3745
ac348012
SM
37462012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3747
3748 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3749 parens around the arg list (bug#11499).
3750
a0a79cde
JL
37512012-05-17 Juri Linkov <juri@jurta.org>
3752
3753 * isearch.el (word-search-regexp, word-search-backward)
3754 (word-search-forward, word-search-backward-lax)
3755 (word-search-forward-lax): Move functions from search.c
3756 (bug#10145, bug#11381).
3757
65034a51
AM
37582012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3759
090bd7cb
JB
3760 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3761 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3762 Delay for otherchars as for normal word components.
65034a51 3763
1a72a195
SM
37642012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3765
3766 * minibuffer.el (completion--sifn-requote): Fix last change.
3767 (minibuffer-local-must-match-filename-map):
3768 Move define-obsolete-variable-alias before its var.
3769
fdb058c2
SM
37702012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3771
c41045e6
SM
3772 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3773
036dfb8b
SM
3774 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3775 behavior.
3776 (completion--string-equal-p): New function.
3777 (completion--twq-all): Use it to get better assertion failure data.
3778
2473256d
SM
3779 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3780 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3781 (shell--requote-argument): New functions.
3782 (shell-completion-vars): Use them.
3783 (shell--parse-pcomplete-arguments): Rename from
3784 shell-parse-pcomplete-arguments.
3785 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3786 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3787 Obey comint-file-name-quote-list.
3788
fdb058c2
SM
3789 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3790 (smie-indent-keyword): Use it.
3791
51fa99f1
SM
37922012-05-14 Stefan Merten <smerten@oekonux.de>
3793
3794 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3795
e18afed7 37962012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3797
3798 * net/rlogin.el (rlogin-mode-map): Fix last change.
3799
e18afed7 38002012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3801
3802 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3803 the following \r\n using a single `process-send-string', since the
3804 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3805 with two `process-send-string's (Bug#11444).
8633b1f4 3806
e18afed7 38072012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3808
fdb058c2
SM
3809 * shell.el (shell-parse-pcomplete-arguments):
3810 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3811
2d21d7f6
WJ
38122012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3813
e18afed7 3814 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3815 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3816 (image-transform-width, image-transform-fit-width): New functions.
3817 (image-transform-properties): Use them.
3818 (image-transform-check-size): New function.
3819 (image-toggle-display-image): Use it (for testing).
3820 (image-transform-set-rotation): Reduce angle mod 360.
3821 Delete obsolete comment.
3822
7102e6d0
WJ
38232012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3824
3825 * image-mode.el: Fix scaling (bug#11399).
3826 (image-transform-resize): Doc fix.
3827 (image-transform-properties): Default scale is 1 and height should
3828 be an integer.
3829
06bc5e6e
SM
38302012-05-13 Johan Bockgård <bojohan@gnu.org>
3831
3832 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3833 than hard-coding `car', to fix misbehavior when moving forward.
3834
0ae03b6a
CY
38352012-05-13 Chong Yidong <cyd@gnu.org>
3836
3837 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3838 (tabulated-list-entries, tabulated-list-padding)
3839 (tabulated-list-sort-key): Make permanent-local.
3840
3841 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3842 (electric-buffer-list): Put electric buffer menu
3843 command descriptions in this docstring, instead of the docstring
3844 of electric-buffer-menu-mode. Code cleanups.
3845 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3846 Electric-buffer-menu-mode.
3847 (electric-buffer-update-highlight): Minor code cleanup.
3848
205a7391
MA
38492012-05-13 Michael Albinus <michael.albinus@gmx.de>
3850
3851 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3852 (Bug#11447)
3853
e5bd0a28
SM
38542012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3855
3856 Move define-obsolete-variable-alias before the var's definition.
3857 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3858 * tooltip.el (tooltip-hook):
3859 * textmodes/reftex-toc.el (reftex-toc-map):
3860 * textmodes/reftex-sel.el (reftex-select-label-map)
3861 (reftex-select-bib-map):
3862 * textmodes/reftex-index.el (reftex-index-map)
3863 (reftex-index-phrases-map):
3864 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3865 * progmodes/meta-mode.el (meta-mode-map):
3866 * novice.el (disabled-command-hook):
3867 * loadhist.el (unload-hook-features-list):
3868 * frame.el (blink-cursor):
3869 * files.el (find-file-not-found-hooks, write-file-hooks)
3870 (write-contents-hooks):
3871 * emulation/tpu-edt.el (GOLD-map):
3872 * emacs-lock.el (emacs-lock-from-exiting):
3873 * emacs-lisp/generic.el (generic-font-lock-defaults):
3874 * emacs-lisp/chart.el (chart-map):
3875 * dos-fns.el (register-name-alist):
3876 * dired-x.el (dired-omit-files-p):
3877 * desktop.el (desktop-enable):
3878 * cus-edit.el (custom-mode-hook):
3879 * buff-menu.el (buffer-menu-mode-hook):
3880 * bookmark.el (bookmark-read-annotation-text-func)
3881 (bookmark-exit-hooks):
3882 * allout.el (allout-mode-deactivate-hook)
3883 (allout-exposure-change-hook, allout-structure-added-hook)
3884 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3885 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3886 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3887 comes before the corresponding variable's definition.
3888
ac59c2f6
CY
38892012-05-12 Chong Yidong <cyd@gnu.org>
3890
3891 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3892 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3893 (Buffer-menu-mode-map): Bind it.
3894 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3895
dee6c9a3
SM
38962012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3897
2171cea5
SM
3898 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3899 (prolog-upper-case-string, prolog-lower-case-string)
3900 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3901 (prolog-use-smie, prolog-smie-grammar): New vars.
3902 (prolog-smie-forward-token, prolog-smie-backward-token)
3903 (prolog-smie-rules): New funs.
3904 (prolog-comment-indent): Remove.
3905 (prolog-mode-variables): Use default comment indentation instead.
3906 Setup SMIE.
3907 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3908 (prolog-mode): Don't call them any more.
3909 (prolog-electric-colon, prolog-electric-dash)
3910 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3911
aa0382bd
SM
3912 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3913
dbacb4bd
SM
3914 * minibuffer.el (completion--twq-all): Again, allow case differences.
3915
13bdd94c
SM
3916 * term.el: Move keymap initialization code to be more idiomatic.
3917 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3918 (term-terminal-menu): Move initialization into declaration.
3919 (term-escape-char): Let the user set it in her .emacs.
3920
ff46c759
SM
3921 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3922 Provide SMIE-based indentation (not enabled by default yet).
3923 (sh-mode-map): Don't bind electric keys.
3924 Use electric-pair-mode instead of skeleton-pair.
3925 (sh-assignment-regexp): Fit within 80 columns.
3926 (sh-indent-supported): Specify actual shell name instead of boolean.
3927 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3928 (sh-maybe-here-document): Use it. Make obsolete.
3929 (sh-electric-here-document-mode) New minor mode.
3930 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3931 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3932 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3933 (sh-smie-rc-grammar, sh-use-smie): New vars.
3934 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3935 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3936 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3937 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3938 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3939 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3940 (sh-set-shell): Use smie-setup if requested.
3941
dee6c9a3
SM
3942 * term.el (term-set-escape-char): Properly set term-escape-char.
3943 See http://stackoverflow.com/questions/10524656.
3944
9f9aa044
CY
39452012-05-10 Chong Yidong <cyd@gnu.org>
3946
3947 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3948 Use url-generic-parse-url, and handle host names and Windows
3949 filenames properly.
3950 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3951 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3952 URL schemes to work on.
3953 (ffap--toggle-read-only): New function.
3954 (ffap-read-only, ffap-read-only-other-window)
3955 (ffap-read-only-other-frame): Use it.
3956 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3957 necessary for ffap-url-unwrap-remote.
3958
836d29b3
DA
39592012-05-10 Dave Abrahams <dave@boostpro.com>
3960
3961 * cus-start.el (create-lockfiles): Add it.
3962
00fd78ed
CY
39632012-05-09 Chong Yidong <cyd@gnu.org>
3964
3965 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3966 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3967
666b903b 39682012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3969
3970 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3971
666b903b 39722012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3973
3974 * ansi-color.el (ansi-color-process-output): Check for validity of
3975 comint-last-output-start before using it. This avoids a bad
3976 interaction with gdb-mi's input/output buffer.
3977
666b903b 39782012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3979
3980 * files.el (dir-locals-read-from-file):
3981 Mention dir-locals in any error message.
3982
666b903b 39832012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3984
3985 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3986 package (Bug#11410).
3987
f677562b
CY
3988 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3989 variables into description.
3990
666b903b 39912012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3992
3993 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3994 shell-delimiter-argument-list (bug#11348).
3995 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3996
b499d8d0
JB
39972012-05-09 Juanma Barranquero <lekktu@gmail.com>
3998
8f6b6da8
JB
3999 * textmodes/rst.el: Silence byte-compiler warnings.
4000 (rst-re-alist, rst-reset-section-caches): Move around.
4001 (rst-re): Use `characterp', not `char-valid-p'.
4002 (font-lock-beg, font-lock-end): Declare.
4003
4824146a
JB
4004 * progmodes/idlw-shell.el (specs): Remove reference to deleted
4005 variable `idlwave-shell-activate-alt-keybindings' and simplify.
4006
b499d8d0
JB
4007 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4008
ad89bb83
GM
40092012-05-08 Glenn Morris <rgm@gnu.org>
4010
4011 * files.el (auto-mode-alist): Treat ".make" like ".mk".
4012
8bba5a75
SM
40132012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4014
49ed9c8e
SM
4015 * vc/log-edit.el: Add GNU coding standards highlighting.
4016 (log-edit-font-lock-gnu-style)
4017 (log-edit-font-lock-gnu-keywords): New vars.
4018 (log-edit-font-lock-keywords): New fun.
4019 (log-edit-mode): Don't fold case in font-lock.
4020 (log-edit-font-lock-keywords): Do not assume case-folding.
4021
07d00b56
SM
4022 * imenu.el: Misc cleanup. Make docstrings out of comments.
4023 Use lexical-binding.
4024 (imenu--index-alist, imenu--last-menubar-index-alist)
4025 (imenu-menubar-modified-tick): Use defvar-local.
4026 (imenu--split-menu): Remove unused var.
4027 (imenu--cleanup-seen): Declare as global.
4028 (imenu--cleanup): Use dolist.
4029
8bba5a75
SM
4030 * subr.el (defvar-local): Add debug spec and doc-string position.
4031
5075bdb5
GM
40322012-05-08 Glenn Morris <rgm@gnu.org>
4033
090bd7cb 4034 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
4035 * language/english.el, language/georgian.el, language/greek.el:
4036 * language/japanese.el, language/khmer.el, language/korean.el:
4037 * language/lao.el, language/misc-lang.el, language/romanian.el:
4038 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4039 * language/thai.el, language/utf-8-lang.el:
4040 Remove no-byte-compile setting.
4041
5075bdb5
GM
4042 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
4043
06f679a7
AH
40442012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4045
4046 * progmodes/make-mode.el (makefile-browse):
4047 Remove unnecessary interactive. (Bug#11324)
4048
03794570
GM
40492012-05-07 Glenn Morris <rgm@gnu.org>
4050
af8630f4
GM
4051 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4052
03794570
GM
4053 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4054
f0809a9d
SM
40552012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4056
28be5ce7
SM
4057 * loadup.el: Preload newcomment.el.
4058 * newcomment.el: Move autoload-only code to toplevel.
4059
f0809a9d
SM
4060 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4061 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4062 Handle new :right-align column property.
4063 (tabulated-list-print-col): Idem, plus use `display' text-property to
4064 try and preserve alignment for variable pitch fonts.
4065
1241b724
CY
40662012-05-07 Chong Yidong <cyd@gnu.org>
4067
4068 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4069 (tabulated-list-use-header-line): New var.
4070 (tabulated-list-init-header): Use it.
4071 (tabulated-list-print-fake-header): New function.
4072 (tabulated-list-print): Use it.
4073 (tabulated-list-sort-button-map): Add non-header-line commands.
4074 (tabulated-list-init-header): Add column name property to basic
4075 labels as well.
4076 (tabulated-list-col-sort): Handle non-header-line button case.
4077 (tabulated-list--sort-by-column-name): Fix a corner case.
4078
f0809a9d
SM
4079 * buff-menu.el (list-buffers--refresh):
4080 Handle Buffer-menu-use-header-line.
1241b724 4081
e5f9458f
CY
40822012-05-06 Chong Yidong <cyd@gnu.org>
4083
4084 * buff-menu.el: Convert to Tabulated List mode.
4085 (Buffer-menu-buffer+size-width): Make obsolete.
4086 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4087 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4088 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4089 documentation into docstring of buffer-menu.
4090 (Buffer-menu-toggle-files-only): Add an informative message.
4091 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4092 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4093 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4094 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4095 (Buffer-menu-execute, Buffer-menu-select)
4096 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4097 (Buffer-menu-bury): Use Tabulated List machinery.
4098 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4099 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 4100 Delete.
e5f9458f
CY
4101 (list-buffers--refresh): New function.
4102 (list-buffers-noselect): Use it.
4103 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4104 (Buffer-menu--pretty-file-name): New helper functions.
4105
4106 * loadup.el: Preload tabulated-list.
4107
4108 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4109 tabulated-list-sort-column.
4110 (tabulated-list-init-header): Add the initial aligning space even
4111 if tabulated-list-padding is zero.
4112
e129292c
CS
41132012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4114
4115 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4116 whose cdr is not a cons cell correctly (bug#11038).
4117
6632d361
CY
41182012-05-06 Chong Yidong <cyd@gnu.org>
4119
e129292c
CS
4120 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4121 Accept additional plist in column descriptors.
6632d361
CY
4122 (tabulated-list-init-header): Obey it.
4123 (tabulated-list-get-entry): New function.
4124 (tabulated-list-put-tag): Use it. Use string-width instead of
4125 length.
4126 (tabulated-list--column-number): New function.
4127 (tabulated-list-print): Use it.
e129292c
CS
4128 (tabulated-list-print-col): New function.
4129 Set `tabulated-list-column-name' property on each column's text.
6632d361 4130 (tabulated-list-print-entry): Use it.
e129292c
CS
4131 (tabulated-list-delete-entry, tabulated-list-set-col):
4132 New functions.
6632d361
CY
4133 (tabulated-list-sort-column): New command (Bug#11337).
4134
3cc99f68
CY
4135 * buff-menu.el (list-buffers): Move C-x C-b binding from
4136 buff-menu.el to bindings.el.
4137
4138 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4139 :advertised-binding feature.
4140
52b61776
TN
41412012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4142
4143 * progmodes/compile.el (compilation-internal-error-properties):
4144 Calculate start position correctly when end-col is set but
4145 end-line is not (Bug#11382).
4146
ebfe2597
WJ
41472012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4148
4149 * man.el (Man-unindent): Use text-property-default-nonsticky to
4150 prevent untabify from inheriting face properties (Bug#11408).
4151
6d3f7c2f
SM
41522012-05-05 Stefan Merten <smerten@oekonux.de>
4153
4154 * textmodes/rst.el: Major merge with upstream development up to
4155 Docutils SVN r7399 / rst.el V1.2.1.
4156
4157 Clarify maintainership and authors.
4158
4159 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4160 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4161 (rst-official-version, rst-official-cvs-rev, rst-version)
4162 (rst-package-emacs-version-alist): New functions and variables
4163 for version information.
4164
4165 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4166 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4167 (rst-mode-syntax-table, rst-mode): New and corrected functions
4168 and variables representing reStructuredText features.
4169
4170 (rst-re): New function for reStructuredText regexes. Use in
4171 many places.
4172
4173 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4174 (rst-mode-map): Rebind keys.
4175
4176 (rst-mode-lazy, rst-font-lock-keywords)
4177 (rst-font-lock-extend-region)
4178 (rst-font-lock-extend-region-internal)
4179 (rst-font-lock-extend-region-extend)
4180 (rst-font-lock-find-unindented-line-limit)
4181 (rst-font-lock-find-unindented-line-match)
4182 (rst-adornment-level, rst-font-lock-adornment-level)
4183 (rst-font-lock-adornment-match)
4184 (rst-font-lock-handle-adornment-pre-match-form)
4185 (rst-font-lock-handle-adornment-matcher): Major revision of
4186 font-locking. Integrate with other code. Use `jit-lock-mode'.
4187
4188 (rst-preferred-adornments, rst-adjust-hook)
4189 (rst-new-adornment-down, rst-preferred-bullets)
4190 (rst-preferred-bullets, rst-indent, rst-indent-width)
4191 (rst-indent-field, rst-indent-literal-normal)
4192 (rst-indent-literal-minimized, rst-indent-comment): Change,
4193 extend and improve customization.
4194
4195 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4196 (rst-normalize-cursor-position, rst-get-decoration)
4197 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4198 (rst-rstrip, rst-toc-insert-find-delete-contents)
4199 (rst-shift-fill-region, rst-compute-bullet-tabs)
4200 (rst-debug-print-tabs, rst-debug-mark-found)
4201 (rst-shift-region-guts, rst-shift-region-right)
4202 (rst-shift-region-left, rst-use-char-classes)
4203 (rst-font-lock-keywords-function)
4204 (rst-font-lock-indentation-point)
4205 (rst-font-lock-find-unindented-line-begin)
4206 (rst-font-lock-find-unindented-line-end)
4207 (rst-font-lock-find-unindented-line)
4208 (rst-font-lock-adornment-point, rst-font-lock-level)
4209 (rst-adornment-level-alist): Remove functions and variables.
4210
4211 (rst-compare-adornments, rst-get-adornment-match)
4212 (rst-suggest-new-adornment, rst-get-adornments-around)
4213 (rst-adornment-complete-p, rst-get-next-adornment)
4214 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4215 (rst-straighten-adornments): Standardize function names to
4216 use "adornment" instead of "decoration". Correct callers.
4217 Similar standardizing in many places.
4218
4219 (rst-update-section, rst-adjust, rst-promote-region)
4220 (rst-enumerate-region, rst-bullet-list-region)
4221 (rst-repeat-last-character): Correct use of `interactive'.
4222
4223 (rst-classify-adornment, rst-find-all-adornments)
4224 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4225 (rst-find-leftmost-column, rst-repeat-last-character):
4226 Refactor functions.
4227
4228 (rst-find-title-line, rst-reset-section-caches)
4229 (rst-get-adornments-around, rst-adjust-adornment-work)
4230 (rst-arabic-to-roman, rst-roman-to-arabic)
4231 (rst-insert-list-pos, rst-insert-list-new-item)
4232 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4233 New functions.
4234
4235 (rst-all-sections, rst-section-hierarchy)
4236 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4237 New variables.
4238
4239 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4240 configuration instead of only buffer. Change where necessary.
4241
4242 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4243 (rst-shift-region, rst-adaptive-fill): New functions for
4244 indentation and filling.
4245
4246 (rst-comment-line-break, rst-comment-indent)
4247 (rst-comment-insert-comment, rst-comment-region)
4248 (rst-uncomment-region): New functions for handling comments.
4249
4250 (rst-compile): Quote shell arguments.
4251
4252 (rst-compile-pdf-preview, rst-compile-slides-preview):
4253 Delete temporary files after use.
4254
a43f98b3
GM
42552012-05-05 Glenn Morris <rgm@gnu.org>
4256
48176e8b
GM
4257 * calendar/cal-html.el: Optionally include holidays in the output.
4258 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4259 (cal-html-holidays): New option.
4260 (cal-html-css-default): Add holiday entry.
4261 (holiday-in-range): Autoload it.
4262 (cal-html-htmlify-entry): Add optional class argument.
4263 (cal-html-htmlify-list): Add optional holidays argument.
4264 (cal-html-insert-agenda-days): Include holidays in the output.
4265 (cal-html-one-month): Maybe include holidays.
4266
a43f98b3
GM
4267 * calendar/holidays.el (holiday-in-range):
4268 Move here from cal-tex-list-holidays.
4269 * calendar/cal-tex.el (cal-tex-list-holidays):
4270 Make it an obsolete alias for holiday-in-range. Update all callers.
4271
fef9d149 42722012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4273
4274 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4275 Nextstep.
4276
248da2f4
RW
42772012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4278
4279 * files.el (file-auto-mode-skip): New var.
4280 (set-auto-mode-1): Use it.
4281
f95e9344
SM
42822012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4283
df96ab1e
SM
4284 * repeat.el: Use lexical-binding.
4285 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4286 (repeat-undo-count): Remove.
4287 (repeat):
4288 * progmodes/octave-mod.el (octave-abbrev-start):
4289 * progmodes/f90.el (f90-abbrev-start):
4290 * face-remap.el (text-scale-adjust):
4291 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4292
5342bb06
SM
4293 * emacs-lisp/pcase.el (pcase--let*): New function.
4294 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4295 a bit more.
4296 (pcase--split-pred): Be more clever about ruling out overlap between
4297 a predicate and some constant pattern.
4298 (pcase--q1): Use `null' instead of (eq foo nil).
4299
f95e9344
SM
4300 * subr.el (setq-local, defvar-local): New macros.
4301 (kbd): Redefine as an alias.
4302 (with-selected-window): Leave unrelated frames alone.
4303 (set-temporary-overlay-map): New function.
4304
71873e2b
SM
43052012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4306
4307 * subr.el (user-error): New function.
4308 * window.el (switch-to-buffer):
4309 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4310 (smerge-match-conflict):
4311 * simple.el (previous-matching-history-element)
4312 (next-matching-history-element, goto-history-element, undo-more)
4313 (undo-start):
4314 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4315 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4316 (next-file, tags-loop-scan, list-tags, complete-tag):
4317 * progmodes/compile.el (compilation-loop):
4318 * mouse.el (mouse-minibuffer-check):
4319 * man.el (Man-bgproc-sentinel, Man-goto-page):
4320 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4321 (Info-history-forward, Info-follow-reference, Info-menu)
4322 (Info-extract-menu-item, Info-extract-menu-counting)
4323 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4324 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4325 (Info-next-reference, Info-prev-reference, Info-index)
4326 (Info-index-next, Info-follow-nearest-node)
4327 (Info-copy-current-node-name):
4328 * imenu.el (imenu--make-index-alist)
4329 (imenu-default-create-index-function, imenu-add-to-menubar):
4330 * files.el (basic-save-buffer, recover-file):
4331 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4332 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4333 (checkdoc-message-text, checkdoc-defun):
4334 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4335 * cus-edit.el (customize-changed-options, customize-rogue)
4336 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4337 (custom-variable-mark-to-reset-standard)
4338 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4339 (custom-file):
4340 * completion.el (check-completion-length):
4341 * comint.el (comint-search-arg)
4342 (comint-previous-matching-input-string-position)
4343 (comint-previous-matching-input)
4344 (comint-replace-by-expanded-history-before-point, comint-send-input)
4345 (comint-copy-old-input, comint-backward-matching-input)
4346 (comint-goto-process-mark, comint-set-process-mark):
4347 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4348 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4349
8a61ee22
SM
43502012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4351
66408d1e
SM
4352 * dabbrev.el (dabbrev--ignore-case-p): New function.
4353 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4354 Use it.
4355
8a61ee22
SM
4356 * files.el (automount-dir-prefix): Mark as obsolete.
4357
3c74813a
GM
43582012-05-04 Glenn Morris <rgm@gnu.org>
4359
4360 * patcomp.el, play/bruce.el: Move to obsolete/.
4361
0bfcf5c5
PE
43622012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4363
4364 Fix minor Y10k bugs.
4365 * arc-mode.el (archive-unixdate):
4366 * autoinsert.el (auto-insert-alist):
4367 * calc/calc-forms.el (math-this-year):
4368 * emacs-lisp/copyright.el (copyright-current-year)
4369 (copyright-update-year, copyright):
4370 * tar-mode.el (tar-clip-time-string):
4371 * time.el (display-time-update):
4372 Don't assume years have 4 digits.
4373
78f3273a
CY
43742012-05-04 Chong Yidong <cyd@gnu.org>
4375
4376 * dos-w32.el (file-name-buffer-file-type-alist)
4377 (direct-print-region-use-command-dot-com):
4378 * ffap.el (ffap-menu-regexp):
4379 * find-file.el (ff-special-constructs):
4380 * follow.el (follow-debug):
4381 * forms.el (forms--debug):
4382 * iswitchb.el (iswitchb-all-frames):
4383 * ido.el (ido-all-frames):
4384 * emacs-lisp/timer.el (timer-max-repeats):
4385 * mail/feedmail.el (feedmail-mail-send-hook)
4386 (feedmail-mail-send-hook-queued):
4387 * mail/footnote.el (footnote-signature-separator):
4388 * mail/mailabbrev.el (mail-alias-separator-string)
4389 (mail-abbrev-mode-regexp):
4390 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4391 * progmodes/idlwave.el (idlwave-libinfo-file)
4392 (idlwave-default-completion-case-is-down)
4393 (idlwave-library-routines): Convert defvars to defcustoms.
4394
4395 * mail/rmail.el (rmail-decode-mime-charset):
4396 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4397 (idlwave-shell-fix-inserted-breaks)
4398 (idlwave-shell-activate-alt-keybindings)
4399 (idlwave-shell-use-breakpoint-glyph):
4400 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4401
f7ae6719
SM
44022012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4403
4404 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4405
47086495
WS
44062012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4407
4408 * progmodes/verilog-mode.el (font-lock-keywords):
4409 Fix mis-highligting auto. Reported by Craig Barner.
4410 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4411 defines from global name space. Reported by Dan Dever.
4412 (verilog-auto-reset, verilog-auto-reset-widths)
4413 (verilog-auto-tieoff): Support using unbased numbers for
4414 AUTORESET and AUTOTIEOFF.
4415 (verilog-submit-bug-report): Update variable list.
4416 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4417 parenthesis from not matching. Reported by Michael Rytting.
4418 (verilog-auto-template-lint): Fix hash error when linting modules
4419 with no used templates.
4420 (verilog-warn, verilog-warn-error)
4421 (verilog-warn-fatal): When non-interactive report multiple
4422 warnings before exiting. Suggested by Brad Dobbie.
4423 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4424 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4425 to report unused template errors. Reported by Brad Dobbie.
4426 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4427 nets, bug438. Reported by Vns Blore.
4428 (verilog-auto-inout-module, verilog-auto-reg)
4429 (verilog-read-decls, verilog-read-sub-decls-sig)
4430 (verilog-signals-edit-wire-reg, verilog-signals-with):
4431 Fix passing of Verilog data types in ANSI input/output ports
4432 such as "output logic" into the AUTOs. Special case "wire" and
4433 "reg" for backwards compatibility presuming Verilog 2001.
4434 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4435 (verilog-preprocess): Fix replication of preprocess output.
4436 Reported by Brad Dobbie.
4437 (verilog-auto-inst-interfaced-ports):
4438 Create verilog-auto-inst-interfaced-ports, bug429.
4439 Reported by Julian Gorfajn.
4440 (verilog-after-save-font-hook)
4441 (verilog-before-save-font-hook): New variable.
4442 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4443 (verilog-save-font-mods): Wrap disabling fontification, reported
4444 by David Rogoff.
4445 (verilog-do-indent, verilog-pretty-declarations-auto)
4446 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4447 Reported by Pierre-David Pfister.
4448 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4449 of class declarations, bug292. Reported by Kevin Heilman.
4450 (verilog-read-decls): Fix 'parameter type' not appearing in
4451 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4452 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4453 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4454 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4455 Reported by David Kravitz.
4456
44572012-05-03 Michael McNamara <mac@mail.brushroad.com>
4458
4459 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4460 assignment with tests in ifs and for loops.
4461 (verilog-extended-complete-re, verilog-complete-reg): Change so
4462 that DPI inport functions don't look like fuction declarations.
4463 (verilog-pretty-expr): Don't line up assignment
4464 operations to the test and increment in if and for loops
4465 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4466 that DPI inport functions don't look like fuction declarations.
47086495 4467
2e51d4b5
KH
44682012-05-03 Kenichi Handa <handa@m17n.org>
4469
4470 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4471 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4472 (Bug#11282).
4473
2bd785a2
SM
44742012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4475
4476 * emacs-lisp/bytecomp.el
4477 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4478 since cconv.el might have introduced :fun-body, internal-make-closure,
4479 and friends for bytecomp to handle (bug#11391).
4480 * custom.el (defcustom): Avoid ((λ ..) ..).
4481
99d27583
SM
44822012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4483
4484 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4485
55a71479
JB
44862012-05-02 Juanma Barranquero <lekktu@gmail.com>
4487
4488 * notifications.el (dbus-debug):
4489 * term/linux.el (gpm-mouse-enable):
4490 * term/screen.el (xterm-register-default-colors): Declare.
4491
7b97c764
CY
44922012-05-02 Chong Yidong <cyd@gnu.org>
4493
2bc356d7
CY
4494 * cus-start.el (gc-cons-percentage, exec-suffixes)
4495 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4496 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4497 (make-cursor-line-fully-visible, void-text-area-pointer)
4498 (font-list-limit): Add customization data.
4499
7b97c764
CY
4500 * allout.el (allout-exposure-change-functions)
4501 (allout-structure-added-functions)
4502 (allout-structure-deleted-functions)
4503 (allout-structure-shifted-functions): Rename abnormal hooks from
4504 *-hook, and convert to defcustoms.
5d3385a0
JB
4505 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4506 Convert to defcustoms.
7b97c764
CY
4507 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4508
4509 * allout-widgets.el: Hook callers changed.
4510
90207a15 45112012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4512
4513 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4514 the yanked message in preference to the default value of
4515 buffer-file-coding-system.
4516
90207a15 45172012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4518
5d3385a0
JB
4519 * window.el (display-buffer--action-function-custom-type):
4520 Fix entry.
d9558cad 4521
90207a15 45222012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4523
4524 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4525
d80ac57b
GM
45262012-05-01 Glenn Morris <rgm@gnu.org>
4527
976f7668
GM
4528 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4529
beb83b5a
GM
4530 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4531
d80ac57b
GM
4532 * cus-edit.el (custom-variable-documentation): Simplify with format.
4533
b593d6a9 45342012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4535 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4536
4537 * simple.el (suggest-key-bindings, execute-extended-command):
4538 Move from keyboard.c.
4539
782fbf2a
CY
45402012-05-01 Chong Yidong <cyd@gnu.org>
4541
4542 * follow.el: Eliminate advice.
4543 (set-process-filter, process-filter, sit-for): Advice deleted.
4544 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4545 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4546 Vars deleted.
782fbf2a
CY
4547 (follow-auto): Use a :set function.
4548 (follow-mode): Rewritten. Don't advise process filters.
4549 (follow-switch-to-current-buffer-all, follow-scroll-up)
4550 (follow-scroll-down): Assume follow-mode is bound.
4551 (follow-comint-scroll-to-bottom)
4552 (follow-align-compilation-windows): New functions.
4553 (follow--window-sorter): New function.
4554 (follow-all-followers): Use it to explicitly sort windows by their
4555 positions; don't make assumptions about next-window order.
4556 (follow-windows-start-end, follow-delete-other-windows-and-split)
4557 (follow-calc-win-start): Doc fix.
4558 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4559 vertical-motion unnecessarily.
4560 (follow-adjust-window): New function.
4561 (follow-post-command-hook): Use it.
4562 (follow-call-set-process-filter, follow-call-process-filter)
4563 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4564 (follow-stop-intercept-process-output, follow-generic-filter):
4565 Functions deleted.
4566 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4567 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4568 New functions, replacing advice on scroll-bar-* commands.
87233a14 4569 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4570
4571 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4572 (comint-postoutput-scroll-to-bottom): Use it.
4573 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4574
290af740
GM
45752012-05-01 Glenn Morris <rgm@gnu.org>
4576
4577 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4578 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4579 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4580 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4581 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4582 Remove no-byte-compile setting.
4583
6eac8dc9
SM
45842012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4585
4586 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4587 all-completions code to not return a number in the last cdr.
4588
9cc7819c
LL
45892012-04-30 Leo Liu <sdl.web@gmail.com>
4590
4591 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4592 read-only error.
4593
c93b886f
CY
45942012-04-29 Chong Yidong <cyd@gnu.org>
4595
4596 * follow.el (follow-calc-win-end): Rewrite to handle partial
4597 screen lines correctly (Bug#8390).
4598 (follow-avoid-tail-recenter): Minor cleanup.
4599
8b6c19f4
SM
46002012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4601
4602 Avoid the obsolete `assoc' package.
4603 * speedbar.el (speedbar-refresh): Avoid adelete.
4604 (speedbar-file-lists): Simplify and avoid aput.
4605 * man.el (Man--sections, Man--refpages): New vars, replacing
4606 Man-sections-alist and Man-refpages-alist.
4607 (Man-build-section-alist, Man-build-references-alist):
4608 Use them; avoid aput.
4609 (Man--last-section, Man--last-refpage): New vars.
4610 (Man-follow-manual-reference): Use them.
4611 Use the `default' arg of completing-read.
4612 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4613
c5bb7569
CY
46142012-04-27 Chong Yidong <cyd@gnu.org>
4615
d1d2e2e8
CY
4616 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4617
15cd8efd
CY
4618 * startup.el (x-apply-session-resources): New function.
4619
4620 * term/ns-win.el (ns-initialize-window-system):
4621 * term/w32-win.el (w32-initialize-window-system):
4622 * term/x-win.el (x-initialize-window-system): Use it to properly
4623 set menu-bar-mode and other vars from X resources, even if the
4624 initial frame is not a window-system frame (Bug#2299).
4625
c5bb7569
CY
4626 * subr.el (read-key): Avoid running filter function when setting
4627 up temporary tool bar entries (Bug#9922).
4628
a8e7d6d7 46292012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4630
4631 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4632 (Bug#11344)
4633
a8e7d6d7 46342012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4635
4636 * select.el (xselect--encode-string): New function, split from
4637 xselect-convert-to-string.
4638 (xselect-convert-to-string): Use it.
4639 (xselect-convert-to-filename, xselect-convert-to-os)
4640 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4641 returned strings are properly encoded (Bug#11315).
4642
a8e7d6d7 46432012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4644
4645 * simple.el (delete-active-region): Move to killing custom group.
4646
a8e7d6d7 46472012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4648
4649 * progmodes/which-func.el (which-func-current): Quote %
4650 characters for mode-line processing.
4651
578c1d4b 46522012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4653
4654 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4655 reaching eob (Bug#11286).
4656
a8e7d6d7 46572012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4658
4659 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4660 (gdb): Make it buffer-local and init to zero.
4661 (gdb-control-commands-regexp): New variable.
4662 (gdb-send): Don't wrap in "-interpreter-exec console" if
4663 gdb-control-level is positive. Increment gdb-control-level
4664 whenever the command matches gdb-control-commands-regexp, and
4665 decrement it each time the command is "end". (Bug#11279)
4666
a8e7d6d7 46672012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4668
4669 * window.el (adjust-window-trailing-edge, enlarge-window)
4670 (shrink-window, window-resize):
4671 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4672 windows (Bug#11276).
4673
b3608390
CY
46742012-04-27 Chong Yidong <cyd@gnu.org>
4675
4676 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4677 fix "missing prefix" warning. All callers changed.
b3608390 4678
797e6e88
SM
46792012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4680
4681 * emacs-lisp/assoc.el: Move to obsolete/.
4682
e95a67dc
SM
46832012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4684
657c21e4 4685 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4686
4687 * term/ns-win.el (ns-define-service):
4688 * progmodes/pascal.el (pascal-goto-defun):
4689 * progmodes/js.el (js--read-tab):
4690 * progmodes/etags.el (tags-lazy-completion-table):
4691 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4692 * emacs-lisp/ewoc.el (ewoc--wrap):
4693 * emacs-lisp/assoc.el (aput, adelete, amake):
4694 * doc-view.el (doc-view-convert-current-doc):
4695 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4696
cb3e7ae0
CY
46972012-04-26 Chong Yidong <cyd@gnu.org>
4698
dce04f7f
CY
4699 * image.el (image-type-from-buffer): Only return supported image
4700 type (Bug#9045).
4701
cb3e7ae0
CY
4702 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4703 value, for symmetry with diff-end-of-hunk.
4704 (diff-split-hunk, diff-find-source-location)
4705 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4706 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4707 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4708 compute the relevant hunk or file properly (Bug#6005).
4709 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4710
0d42eb3e
SM
47112012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4712
4713 * vc/vc-mtn.el:
4714 * vc/vc-hg.el:
4715 * vc/vc-git.el:
4716 * vc/vc-dir.el:
4717 * vc/vc-cvs.el:
4718 * vc/vc-bzr.el:
4719 * vc/vc-arch.el:
4720 * vc/vc.el: Replace lexical-let by lexical-binding.
4721 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4722 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4723 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4724
f08ae1c9
CY
47252012-04-26 Chong Yidong <cyd@gnu.org>
4726
8b71081d
CY
4727 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4728 (diff-mode-shared-map): Bind it to / and [remap undo].
4729
f08ae1c9
CY
4730 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4731 (ediff-window-setup-function): Use it as the default, to set up
4732 windows based on whether the current frame is graphical (Bug#2138).
4733 (ediff-choose-window-setup-function-automatically): Make obsolete.
4734
4735 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4736
ef24141c
SM
47372012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4738
cc356a5d
SM
4739 * ffap.el: Remove old code for obsolete package.
4740 (ffap-complete-as-file-p): Remove.
4741
b4ff4f1f
SM
4742 Use completion-table-with-quoting for comint and pcomplete.
4743 * comint.el (comint--unquote&requote-argument)
4744 (comint--unquote-argument, comint--requote-argument): New functions.
4745 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4746 (comint-quote-filename): Use regexp-opt-charset.
4747 (comint--common-suffix, comint--common-quoted-suffix)
4748 (comint--table-subvert): Remove.
4749 (comint-unquote-function, comint-requote-function): New vars.
4750 (comint--complete-file-name-data): Use them with
4751 completion-table-with-quoting.
4752 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4753 * pcomplete.el (pcomplete-arg-quote-list)
4754 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4755 (pcomplete-unquote-argument-function): Default to non-nil.
4756 (pcomplete-unquote-argument): Simplify.
4757 (pcomplete--common-quoted-suffix): Remove.
4758 (pcomplete-requote-argument-function): New var.
4759 (pcomplete--common-suffix): New function.
4760 (pcomplete-completions-at-point): Use completion-table-with-quoting
4761 and completion-table-subvert.
4762
79c4eeb4
SM
4763 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4764 (minibuffer--double-dollars): Preserve properties.
4765 (completion--sifn-requote): New function.
4766 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4767
ef24141c
SM
4768 * minibuffer.el: Add support for completion of quoted/escaped data.
4769 (completion-table-with-quoting, completion-table-subvert): New funs.
4770 (completion--twq-try, completion--twq-all): New functions.
4771 (completion--nth-completion): New function.
4772 (completion-try-completion, completion-all-completions): Use it.
4773
784e7d6e
LL
47742012-04-25 Leo Liu <sdl.web@gmail.com>
4775
dd2ac746
SM
4776 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4777 Use compilation-message if available to find real filename.
784e7d6e 4778
07875ee7
CY
47792012-04-25 Chong Yidong <cyd@gnu.org>
4780
4781 * vc/diff-mode.el (diff-setup-whitespace): New function.
4782 (diff-mode): Use it.
4783
4784 * vc/diff.el (diff-sentinel):
4785 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4786 Whitespace mode variables based on diff style (Bug#8612).
4787
5055880d
LL
47882012-04-25 Leo Liu <sdl.web@gmail.com>
4789
daf75653
LL
4790 * progmodes/python.el (python-send-region): Add suffix .py to the
4791 temp file.
4792
5055880d
LL
4793 * files.el (auto-mode-alist): Use javascript-mode instead.
4794
db9b177b
AH
47952012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4796
ef24141c 4797 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4798
090bd7cb 4799 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4800 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4801 references, see Bug#9.
ef24141c 4802 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4803 when receiving a fault reply.
ef24141c 4804 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4805
090bd7cb 4806 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4807 (soap-inspect-simple-type): New function.
db9b177b 4808
090bd7cb 4809 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4810 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4811 (soap-decode-basic-type, soap-encode-basic-type):
4812 support unsignedInt and double basic types.
db9b177b 4813 (soap-resolve-references-for-simple-type)
ef24141c
SM
4814 (soap-parse-simple-type, soap-encode-simple-type): New function.
4815 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4816
090bd7cb 4817 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4818 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4819 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4820 the local name of "soapenc:Array".
4821 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4822 decoding integer, byte and anyURI xsd types.
4823
1fc6097b
CY
48242012-04-25 Chong Yidong <cyd@gnu.org>
4825
4826 * cus-edit.el (custom-buffer-create-internal): Update header text.
4827
afc6df87
EZ
48282012-04-25 Eli Zaretskii <eliz@gnu.org>
4829
4830 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4831 settings on 'system-type', not on 'window-system'. On MS-Windows,
4832 set interactive-mode on in GDB.
4833
dfbd787f
SM
48342012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4835
4836 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4837 (ruby-syntax-propertize-regexp): Remove.
4838 (ruby-syntax-propertize-function): Split regexp into chunks.
4839 Match following code directly.
4840
85222d44
DG
48412012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4842
51a8ea2a
DG
4843 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4844 (ruby-syntax-propertize-regexp): New function.
4845 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4846 by a special keyword.
4847
85222d44
DG
4848 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4849 (ruby-syntax-general-delimiters-goto-beg)
4850 (ruby-syntax-propertize-general-delimiters): New functions.
4851 (ruby-syntax-propertize-function): Use them to handle GDL.
4852 (ruby-font-lock-keywords): Move old handling of GDL...
4853 (ruby-font-lock-syntactic-keywords): .. to here.
4854 (ruby-calculate-indent): Adjust indentation for GDL.
4855
b613912b
MA
48562012-04-24 Michael Albinus <michael.albinus@gmx.de>
4857
b5380639
MA
4858 * notifications.el (top): Remove unneeded declarations.
4859 (notifications-specification-version): Change to "1.2".
e43042fe 4860 (notifications-interface, notifications-notify-method)
b613912b
MA
4861 (notifications-close-notification-method): Fix docstring.
4862 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4863 (notifications-notify): Add :action-items, :resident and
4864 :transient hints. Change "image_data" to "image-data" and
4865 "image_path" to "image-path".
b613912b
MA
4866 (notifications-get-capabilities): New defun.
4867
257440aa
LL
48682012-04-24 Leo Liu <sdl.web@gmail.com>
4869
4870 * progmodes/python.el: Move hideshow setup to the end.
4871
b1bac16e
MR
48722012-04-24 Martin Rudalics <rudalics@gmx.at>
4873
4874 * window.el (handle-select-window): Clear echo area since this is
4875 no more done by read_char (Bug#11304).
4876
d81bd059
SM
48772012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4878
4879 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4880 and `/ M' to filter-derived-mode.
4881 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4882 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4883 (ibuffer-mark-by-mode): Use default rather than initial-input.
4884 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4885
c4cf6d91
IA
48862012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4887
4888 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4889 (ibuffer-filter-by-derived-mode): New filter.
4890 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4891
7511ded8
CY
48922012-04-23 Andreas Politz <politza@fh-trier.de>
4893
4894 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4895
775c916b
CY
48962012-04-23 Chong Yidong <cyd@gnu.org>
4897
4898 * cus-edit.el (customize-apropos, customize-apropos-options):
4899 Disable matching of non-option variables (Bug#11176).
4900 (customize-option, customize-option-other-window)
4901 (customize-changed-options): Doc fix.
4902 (customize-apropos-options, customize-apropos-faces)
4903 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4904
4905 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4906 Fix word list splitting (Bug#11132).
46c71e23
CY
4907 (apropos-symbol, apropos-keybinding, apropos-label)
4908 (apropos-property, apropos-function-button)
4909 (apropos-variable-button, apropos-misc-button): New faces.
4910 (apropos-symbol-face, apropos-keybinding-face)
4911 (apropos-label-face, apropos-property-face, apropos-match-face):
4912 Variables removed (Bug#8396).
4913 (apropos-library-button, apropos-format-plist, apropos-print)
4914 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4915
2df41f9c
MA
49162012-04-23 Michael Albinus <michael.albinus@gmx.de>
4917
4918 * net/xesam.el (xesam-mode-map): Use let-bound map in
4919 initialization. (Bug#11292)
4920
da00640a
AM
49212012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4922
4923 Preserve ispell session localwords when switching back to
4924 original buffer.
4925
090bd7cb
JB
4926 * textmodes/ispell.el (ispell-buffer-session-localwords):
4927 New buffer-local variable to hold buffer session localwords.
ed9265fc 4928 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4929 localwords.
4930 (ispell-command-loop, ispell-change-dictionary)
4931 (ispell-buffer-local-words): Preserve session localwords when
4932 needed.
4933
090bd7cb
JB
4934 * textmodes/flyspell.el (flyspell-process-localwords)
4935 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4936
f621ccf5
AM
49372012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4938
090bd7cb
JB
4939 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4940 using obsolete `translation-table-for-input'.
ef24141c
SM
4941 (ispell-word, ispell-process-line, ispell-complete-word):
4942 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4943
c2d1019e
CY
49442012-04-22 Chong Yidong <cyd@gnu.org>
4945
4946 * cus-edit.el (custom-variable-menu)
4947 (custom-variable-reset-saved, custom-face-menu)
4948 (custom-face-reset-saved): If there is no saved value, make the
4949 "reset-saved" operation bring back the default (Bug#9509).
4950 (custom-face-state): Properly detect themed faces.
4951
eeddc531
CY
4952 * faces.el (face-spec-set): Stop supporting deprecated form of
4953 third arg.
4954
dcbf5805
MA
49552012-04-22 Michael Albinus <michael.albinus@gmx.de>
4956
4957 Move functions from C to Lisp. Make non-blocking method calls
4958 the default. Implement further D-Bus standard interfaces.
4959
ef24141c
SM
4960 * net/dbus.el (dbus-message-internal): Declare function.
4961 Remove unneeded function declarations.
dcbf5805
MA
4962 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4963 (dbus-message-type-method-return, dbus-message-type-error)
4964 (dbus-message-type-signal): Declare variables. Remove local
4965 definitions.
4966 (dbus-interface-dbus, dbus-interface-peer)
4967 (dbus-interface-introspectable, dbus-interface-properties)
4968 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4969 Adapt docstring.
4970 (dbus-interface-objectmanager): New defconst.
4971 (dbus-call-method, dbus-call-method-asynchronously)
4972 (dbus-send-signal, dbus-method-return-internal)
4973 (dbus-method-error-internal, dbus-register-service)
4974 (dbus-register-signal, dbus-register-method): New defuns, moved
4975 from dbusbind.c
4976 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4977 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4978 New defuns.
dcbf5805
MA
4979 (dbus-call-method-non-blocking): Make it an obsolete function.
4980 (dbus-unregister-object, dbus-unregister-service)
4981 (dbus-handle-event, dbus-register-property)
4982 (dbus-property-handler): Obey the new structure of
4983 `bus-registered-objects'.
4984 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4985 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4986 Use `dbus-call-method'.
4987
cf20dee0
CY
49882012-04-22 Chong Yidong <cyd@gnu.org>
4989
4990 * cus-edit.el (custom-commands, custom-reset-menu)
4991 (Custom-reset-standard): Tweak labels.
4992 (custom-reset-button-menu): Change default to t.
4993 (custom-buffer-create-internal): For the custom-reset-button-menu
4994 case, put the revert button first.
4995 (custom-group-subtitle): New face.
4996 (custom-group-value-create): Align docstring to a specific column.
4997
4998 * wid-edit.el (widget-documentation-link-add): Don't handle
4999 indentation in this function.
5000 (widget-documentation-string-indent-to): New function.
5001 (widget-documentation-string-value-create): Use it.
5002
5003 * autorevert.el (auto-revert):
5004 * epg-config.el (epg):
5005 * ibuffer.el (ibuffer):
5006 * mpc.el (mpc):
5007 * ses.el (ses):
5008 * eshell/eshell.el (eshell):
5009 * net/ange-ftp.el (ange-ftp):
5010 * progmodes/ebnf2ps.el (postscript):
5011 * progmodes/flymake.el (flymake):
5012 * progmodes/prolog.el (prolog):
5013 * progmodes/verilog-mode.el (verilog-mode):
5014 * progmodes/which-func.el (which-func):
5015 * term/xterm.el (xterm):
5016 * textmodes/picture.el (picture):
5017 * textmodes/tildify.el (tildify):
5018 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5019 customization buffers.
5020
583e23bd
AM
50212012-04-22 Alan Mackenzie <acm@muc.de>
5022
5023 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5024 Adding a ) can hide the resulting (..) from searches. Fix it.
5025 Bound the backward search to the position of the existing (.
5026
7dd51bf1
JB
50272012-04-21 Juanma Barranquero <lekktu@gmail.com>
5028
5029 * progmodes/verilog-mode.el (verilog-mode): Check whether
5030 which-func-modes is t before adding verilog-mode.
5031 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5032
d64a438f
LL
50332012-04-21 Leo Liu <sdl.web@gmail.com>
5034
7dd51bf1 5035 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 5036
081e8d65
MV
50372012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
5038
5039 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5040 filling of the last column of a table (Bug#5635).
5041 (woman-find-next-control-line): New arg, specifying an additional
5042 regexp component for the control line.
5043 (woman2-roff-buffer): Use it.
5044 (woman-break-table): New function.
5045 (woman2-TS): Use it.
5046
50472012-04-21 Chong Yidong <cyd@gnu.org>
5048
5049 * woman.el (woman-set-buffer-display-table, woman-decode-region)
5050 (woman-horizontal-escapes, woman-negative-vertical-space)
5051 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5052 (WoMan-warn-ignored): Use ?\s instead of ?\ .
5053
ed571ccb
SM
50542012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5055
5056 * minibuffer.el (completion-file-name-table): Complete user names.
5057
39773899
LL
50582012-04-20 Leo Liu <sdl.web@gmail.com>
5059
5060 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5061 and pcase-let*.
5062
de6ff46d
CY
50632012-04-20 Chong Yidong <cyd@gnu.org>
5064
5065 * server.el (server-execute): Respect initial-buffer-choice if it
5066 is a string and there are no files to open (Bug#2825).
5067 (server-create-window-system-frame, server-create-tty-frame):
5068 Don't switch buffers here.
2d0e8e61
CY
5069 (server-process-filter): Only try to open a window system frame if
5070 compiled with graphical support (Bug#8314).
de6ff46d 5071
54071013
DN
50722012-04-20 Dan Nicolaescu <dann@gnu.org>
5073
5074 * battery.el (battery-echo-area-format): Display remaining time
5075 for sysfs backend too (Bug#11269).
5076 (battery-linux-sysfs): Fix conditional for the charge.
5077
f30d612a
CY
50782012-04-20 Chong Yidong <cyd@gnu.org>
5079
c07a4c0b 5080 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
5081 (gdb-inferior-io--init-proc): New function.
5082 (gdb-init-1): Use it.
5083 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5084 responsible for allocating a new pty and hooking it to gdb when
5085 the old pty gets an EIO due to process exit.
5086 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5087 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5088 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5089
2116e93c
EZ
50902012-04-20 Eli Zaretskii <eliz@gnu.org>
5091
5092 * window.el (window-min-size, window-sizable, window-min-delta)
5093 (window-max-delta, window--resizable, window-resizable)
5094 (window-total-size, window-full-height-p, window-full-width-p)
5095 (window-in-direction, window--resize-mini-window, window-resize)
5096 (window--resize-child-windows-normal)
5097 (window--resize-child-windows, window--resize-siblings)
5098 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 5099 (enlarge-window, shrink-window): Doc fixes.
2116e93c 5100
c07a4c0b 51012012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 5102
ef24141c
SM
5103 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5104 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
5105 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5106 pty process (Bug#11273).
5107 (gdb-update): New arg to suppress talking to the gdb process.
5108 (gdb-done-or-error): Use it.
5109 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5110 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5111 sentinel not being called.
5112
5113 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5114
d02766ab
CY
5115 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5116
c07a4c0b 51172012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
5118
5119 * net/network-stream.el (open-network-stream): Doc fix.
5120
c07a4c0b 51212012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
5122
5123 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5124
c07a4c0b 51252012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
5126
5127 Ensure searching for keywords is case sensitive.
5128
5129 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5130 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5131 (c-defun-name, c-mark-function, c-cpp-define-name)
5132 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 5133 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 5134
ef24141c
SM
5135 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5136 Bind case-fold-search to nil.
f0f6bc35 5137
c07a4c0b 51382012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
5139
5140 * mail/sendmail.el (mail-bury): Call return action with the right
5141 Rmail buffer (Bug#11242).
5142
9a864fa2
CY
5143 * server.el (server-process-filter): Handle corner case where both
5144 tty and nowait options are present (Bug#11102).
5145
539aa513
EZ
51462012-04-20 Eli Zaretskii <eliz@gnu.org>
5147
5148 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
5149 (top level): Put into the executable the ident-style '$Id:' tag on
5150 windows-nt as well.
539aa513 5151
cfc7d5da
SM
51522012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5153
5154 * electric.el (electric-indent-post-self-insert-function): Check that
5155 electric-indent-mode is enabled in current buffer.
5156
5b01685c
JB
51572012-04-19 Juanma Barranquero <lekktu@gmail.com>
5158
5159 * imenu.el (imenu-progress-message): Restore; it is "used" in
5160 erc/erc-imenu.el and net/snmp-mode.el.
5161
4d6769e1
JB
51622012-04-19 Juanma Barranquero <lekktu@gmail.com>
5163
5164 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5165 (mouse-avoidance-nudge-mouse): Remove unused binding.
5166
5167 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5168
5169 * descr-text.el (describe-char):
5170 * progmodes/python.el (python-describe-symbol):
5171 Don't call `toggle-read-only', set `buffer-read-only'.
5172
5173 * imenu.el (imenu-default-goto-function): Mark unused args.
5174 (imenu-progress-message): Remove obsolete macro; all callers changed.
5175
5176 * subr.el (keymap-canonicalize): Remove unused binding.
5177 (read-passwd): Mark unused arg.
5178
5179 * tutorial.el (tutorial--display-changes): Remove unused binding.
5180 (tutorial--save-tutorial-to): Remove unused variable.
5181
5182 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5183 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5184 (package-generate-autoloads, package-menu--generate)
5185 (package-menu--find-upgrades): Remove unused bindings.
5186
5187 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5188 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5189 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5190 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5191 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5192 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5193 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5194 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5195 (cua-delete-char-rectangle): Mark unused args.
5196 (cua-align-rectangle): Remove unused binding.
5197
5198 * mail/rmail.el (compilation--message->loc)
5199 (epa--find-coding-system-for-mime-charset): Declare.
5200
5201 * net/dbus.el (dbus-register-service): Declare.
5202 (dbus-name-owner-changed-handler): Remove unused binding.
5203
5204 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5205 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5206 (nxml-scan-backward-within): Mark unused arg.
5207 (nxml-dynamic-markup-word): Remove unused binding.
5208
5209 * mouse.el (mouse-menu-major-mode-map):
5210 * emacs-lisp/authors.el (authors-scan-change-log)
5211 (authors-add-to-author-list):
5212 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5213 * emacs-lisp/smie.el (smie-auto-fill):
5214 * mail/sendmail.el (mail-bury):
5215 * mail/unrmail.el (unrmail):
5216 * net/tls.el (open-tls-stream):
5217 * textmodes/picture.el (picture-mouse-set-point):
5218 Remove unused bindings.
5219
8c8fc5df
MA
52202012-04-19 Michael Albinus <michael.albinus@gmx.de>
5221
5222 * net/tramp.el (tramp-action-password): Let-bind
5223 `enable-recursive-minibuffers' to t.
5224
a77b0ac9
SS
52252012-04-18 Sam Steingold <sds@gnu.org>
5226
5227 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5228 instead of 'string to accommodate values like [f11].
5229 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5230 * progmodes/gdb-mi.el: Likewise.
5231
12a106a9
LL
52322012-04-18 Leo Liu <sdl.web@gmail.com>
5233
5234 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5235 current buffer.
5236 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5237 LOCAL is nil.
5238
bc6494ef
CY
52392012-04-18 Chong Yidong <cyd@gnu.org>
5240
5241 * simple.el (line-move): Use forward-line if in batch mode
5242 (Bug#11053).
5243
c09c46b2
CS
52442012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5245
5246 * files.el (after-find-file): Do not try to add a final newline if
5247 the buffer is read-only (Bug#11156).
5248
5f6530ea
RS
52492012-04-17 Richard Stallman <rms@gnu.org>
5250
5251 * mail/rmail.el (rmail-start-mail):
5252 Pass (rmail-mail-return...) for the return-action.
5253 Pass (rmail-yank-current-message...) for the yank-action.
5254 (rmail-yank-current-message): New function.
5255 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5256 (rmail-reply): Likewise.
5257 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5258
5259 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5260 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5261 buffer, not newbuf.
5262
197b6f3c
JB
52632012-04-17 Juanma Barranquero <lekktu@gmail.com>
5264
5265 * server.el (server-ensure-safe-dir): Simplify.
5266
2311d8e5 52672012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5268
2311d8e5
GM
5269 * emacs-lisp/smie.el: Provide smarter auto-filling.
5270 (smie-auto-fill): New function.
5271 (smie-setup): Use it.
98fb480e 5272
2311d8e5
GM
5273 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5274
52752012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5276
5277 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5278 (comment-indent): Use it.
5279
2311d8e5 52802012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5281
5282 * ses.el: The overall change is to add cell renaming, that is
5283 setting fancy names for cell symbols other than name matching
5284 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5285 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5286 (ses-create-cell-variable): New defun.
2311d8e5 5287 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5288 (ses-relocate-formula): Relocate formulas only for cells the
5289 symbols of which are not renamed, i.e. symbols whose names do not
5290 match regexp "\\`[A-Z]+[0-9]+\\'".
5291 (ses-relocate-all): Relocate values only for cells the symbols of
5292 which are not renamed.
5293 (ses-load): Create cells variables as the (ses-cell ...) are read,
5294 in order to check row col consistency with cell symbol name only
5295 for cells that are not renamed.
5296 (ses-replace-name-in-formula): New defun.
5297 (ses-rename-cell): New defun.
4bdf2ad2 5298
fc72b15c
PO
52992012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5300
5301 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5302 New option (bug#11118).
5303 (perl-calculate-indent): Respect it.
5304
12e10e61
GM
53052012-04-17 Glenn Morris <rgm@gnu.org>
5306
5307 * dired-aux.el (dired-mark-read-string): Doc fix.
5308
30009afd
DA
53092012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5310
5311 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5312 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5313
41f03f4d
GM
53142012-04-17 Glenn Morris <rgm@gnu.org>
5315
5316 * mouse.el (mouse-drag-track):
5317 * speedbar.el (speedbar-frame-mode):
5318 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5319
f45f90f3
LL
53202012-04-16 Leo Liu <sdl.web@gmail.com>
5321
5322 * progmodes/python.el: Trivial cleanup.
5323
94ee8db5
GM
53242012-04-16 Glenn Morris <rgm@gnu.org>
5325
121b8917
GM
5326 * vc/vc.el (vc-string-prefix-p):
5327 * vc/pcvs-util.el (cvs-string-prefix-p):
5328 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5329 * mpc.el (mpc-string-prefix-p):
5330 Make all of these into obsolete aliases for string-prefix-p.
5331 Update callers.
5332 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5333
1197ecfa
GM
5334 * textmodes/two-column.el: Move custom options to the start.
5335 (frame-width): Remove compat definition.
5336 (2C-associate-buffer, 2C-dissociate):
5337 Use with-current-buffer rather than save-excursion.
5338 (2C-dissociate): Force a mode-line update.
5339 (2C-autoscroll): Use ignore-errors.
5340
099e7202
GM
5341 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5342 Autoload trivia.
5343
bf350d6a
GM
5344 * emacs-lisp/cl-extra.el (*random-state*):
5345 Remove unnecessary declaration.
5346
0e829eab
GM
5347 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5348
e3ad7552
GM
5349 * play/cookie1.el (cookie-snarf):
5350 Give an explicit error if input file cannot be read.
5351
68892d27
GM
5352 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5353
20f0c46d
GM
5354 * progmodes/perl-mode.el (c-macro-expand):
5355 Remove unnecessary autoload (it is in loaddefs.el).
5356
5a0978ce
GM
5357 * textmodes/picture.el (picture-desired-column)
5358 (picture-update-desired-column): Convert comments to doc-strings.
5359 (picture-substitute): Remove function.
5360 (picture-mode-map): Initialize in the defvar.
5361
6b955486
GM
5362 * woman.el: Remove eval-after-load for tar-mode.
5363 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5364 (woman-tar-extract-file): Autoload it.
5365
94ee8db5
GM
5366 * frame.el (automatic-hscrolling): Make this alias obsolete.
5367
177eca34
AM
53682012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5369
090bd7cb 5370 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5371 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5372 (ispell-dictionary-base-alist): Revert to original XEmacs
5373 friendly version for default. [:alpha:] will be added in
090bd7cb 5374 `ispell-set-spellchecker-params' if needed.
177eca34 5375
c505aaeb
CY
53762012-04-16 Chong Yidong <cyd@gnu.org>
5377
b19dd9d1 5378 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5379 (imagemagick-register-types): Use it.
5380 (imagemagick-types-inhibit): Add :set function. Allow new value
5381 of t to inhibit all types.
5382
5383 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5384 so we can preload it.
5385
5386 * loadup.el (fboundp): Preload regexp-opt, needed by
5387 imagemagick-register-types.
5388
60efac0f
CY
53892012-04-15 Chong Yidong <cyd@gnu.org>
5390
5391 * frame.el (scrolling): Remove nearly unused customization group.
5392
5393 * scroll-all.el (scroll-all-mode): Move to windows group.
5394
5dd1713e
CY
53952012-04-15 Chong Yidong <cyd@gnu.org>
5396
5397 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5398
e6fd457e
CY
53992012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5400
5401 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5402 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5403
e153c136
GM
54042012-04-15 Glenn Morris <rgm@gnu.org>
5405
5406 * simple.el (process-file-side-effects): Doc fix.
5407
e6fd457e 54082012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5409
5410 * international/mule-cmds.el (set-language-environment): Doc fix.
5411
3603c3b1
JB
54122012-04-14 Juanma Barranquero <lekktu@gmail.com>
5413
5414 * server.el (server-auth-key, server-generate-key): Doc fixes.
5415 (server-get-auth-key): Doc fix. Use `string-match-p'.
5416 (server-start): Reflow docstring.
5417
e6de100c
LI
54182012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5419
5420 * server.el (server-generate-key): `called-interactively-p'
5421 requires a parameter.
5422
29734c21
MN
54232012-04-14 Michal Nazarewicz <mina86@mina86.com>
5424
5425 * server.el (server-auth-key): New variable.
75f1671a 5426 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5427 (server-start): Use the new variable and functions to allow
5428 setting a permanent server key (bug#9423).
5429
d65c9521
LL
54302012-04-14 Leo Liu <sdl.web@gmail.com>
5431
5432 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5433
5ae255c7
PE
54342012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5435
5436 Spelling fixes.
5437 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5438 Emacs uses American spelling.
5439
d5e6342e
JB
54402012-04-14 Juanma Barranquero <lekktu@gmail.com>
5441
5442 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5443 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5444 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5445 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5446
ab036cd7
SM
54472012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5448
5449 * progmodes/which-func.el (which-func-modes): Change default.
5450
35dc09a1 54512012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5452
5453 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5454 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5455
35dc09a1 54562012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5457
5458 * custom.el (custom-theme-set-variables): Doc fix.
5459
35dc09a1 54602012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5461
5462 * international/mule.el (set-auto-coding-for-load): Doc fix.
5463
35dc09a1 54642012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5465
35dc09a1
GM
5466 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5467 imenu work again for Objective C Mode. Correct the *-index values,
5468 these having been disturbed by a previous change in 2011-08.
57f845ee 5469
0de3da9f
AM
5470 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5471 Correct two search limits.
5472
35dc09a1 54732012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5474
5475 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5476
35dc09a1 54772012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5478
5479 * international/characters.el: Fix sorting.
5480
35dc09a1 54812012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5482
5483 * international/characters.el: Add more missing Latin case pairs.
5484
35dc09a1 54852012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5486
5487 * files.el (dir-locals-set-class-variables): Doc fix.
5488
35dc09a1 54892012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5490
3f1b5bf8
EZ
5491 * international/characters.el: Add set-case-syntax-pair call for
5492 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5493 counterpart. (Bug#11209)
5494
9f847f41
EZ
5495 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5496
35dc09a1 54972012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5498
5499 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5500
35dc09a1 55012012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5502
35dc09a1
GM
5503 * textmodes/ispell.el (ispell-dictionary-base-alist):
5504 Add data for Hebrew.
e2627d21 5505
35dc09a1 55062012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5507
35dc09a1
GM
5508 * net/rcirc.el (rcirc-cmd-quit):
5509 Revert 2012-03-18 change (Bug#11192).
5c14e333 5510
35dc09a1 55112012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5512
5513 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5514
35dc09a1 55152012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5516
4517fe3a
SM
5517 * minibuffer.el (completion-in-region-mode-map):
5518 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5519
b472a594
VD
55202012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5521
5522 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5523
09b95ce3
MY
55242012-04-13 Masatake YAMATO <yamato@redhat.com>
5525
5526 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5527 to allow `C-M-f' and `C-M-b' to move to the nearest path
5528 separator (bug#9511).
5529
4b63a9ca
LI
55302012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5531
5532 * avoid.el: Require cl when compiling. And also move the
5533 `provide' to the end.
5534
7b55b8bf
TV
55352012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5536
5537 * avoid.el (mouse-avoidance-banish-position): New variable.
5538 (mouse-avoidance-banish-destination): Use it (bug#10165).
5539
adedaa1f
LL
55402012-04-13 Leo Liu <sdl.web@gmail.com>
5541
5542 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5543
70e74021
KB
55442012-04-13 Ken Brown <kbrown@cornell.edu>
5545
5546 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5547 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5548 (browse-url-filename-alist): For the same reason, don't modify
5549 file:// URLs on Cygwin.
5550
e75e89ba
SM
55512012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5552
5553 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5554 the region on shift if the binding is already shifted (bug#11221).
5555
82f289a4
GM
55562012-04-12 Glenn Morris <rgm@gnu.org>
5557
5558 * mail/mailpost.el: Move to obsolete/.
5559
d333dc4c
DA
55602012-04-12 Drew Adams <drew.adams@oracle.com>
5561
5562 * imenu.el (imenu--generic-function): Ignore invisible definitions
5563 (bug#10123).
5564
0d15b5ba
VD
55652012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5566
5567 * hexl.el (hexl-bits): New variable.
5568 (hexl-options): Mention the variable in the doc string.
75f1671a 5569 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5570 (hexl-mode): Mention the new variable.
75f1671a
JB
5571 (hexl-mode, hexl-current-address, hexl-current-address):
5572 Use the displen.
0d15b5ba
VD
5573 (hexl-ascii-start-column): New function.
5574 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5575 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5576
64a440db
AM
55772012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5578
5579 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5580 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5581 the encoding, as expected by hunspell.
5582
6decb6c2
SM
55832012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5584
5585 * battery.el (battery--linux-sysfs-regexp): New const.
5586 (battery-status-function): Use it. Remove yeeloong special case.
5587 (battery-yeeloong-sysfs): Remove.
5588 (battery-echo-area-format): Remove yeeloong special case.
5589
088be6fb
SM
55902012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5591
6622e416
SM
5592 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5593 Reported by Noah Friedman.
5594
088be6fb
SM
5595 * subr.el (read-passwd): Use read-string.
5596
b49f886e
LMI
55972012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5598
5599 * vcursor.el (vcursor-move): Increase the priority of the overlay
5600 (bug#9663).
5601
a63067fc
DD
56022012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5603
5604 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5605 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5606
ac3cf14a
WS
56072012-04-11 William Stevenson <yhvh2000@gmail.com>
5608
5609 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5610 define-minor-mode (bug#10760).
5611
c4fc691b 56122012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5613
4d6769e1 5614 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5615 that directories matching `grep-find-ignored-files' won't be
5616 pruned (bug#10351).
5617
af23e2e5
CY
56182012-04-11 Chong Yidong <cyd@gnu.org>
5619
5620 * startup.el (command-line): Remove support for long-obsolete
5621 variable font-lock-face-attributes.
5622
ab7ce8c1
GM
56232012-04-11 Glenn Morris <rgm@gnu.org>
5624
5625 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5626
de8c03dc
SM
56272012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * window.el (window--state-get-1): Obey window-point-insertion-type.
5630
050cc68b
LB
56312012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5632
5633 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5634 to previous function when point is on the first character of a
75f1671a 5635 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5636
a38c310c
GM
56372012-04-11 Glenn Morris <rgm@gnu.org>
5638
effed0c2
GM
5639 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5640 not just file-errors.
5641
a38c310c
GM
5642 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5643 (vc-bzr-sha1): Use internal sha1.
5644
0221e323
SM
56452012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5646
5647 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5648
43956923
SG
56492012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5650
5651 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5652 that start in the middle of the line (bug#10496).
5653
6a8c9eaf
DN
56542012-04-10 Dan Nicolaescu <dann@gnu.org>
5655
5656 * battery.el (battery-linux-proc-acpi): Only one battery is
5657 discharged at a time, but that seems to confuse battery.el when
5658 computing `rate-type' for the battery not being discharged
5659 (bug#10332).
5660
1930bf5d
SM
56612012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5662
2a718f6f
SM
5663 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5664
599430d0
SM
5665 * international/quail.el: Use dolist and simplify.
5666 (quail-define-package, quail-update-keyboard-layout)
5667 (quail-define-rules): Use dolist.
5668 (quail-insert-kbd-layout, quail-get-translation): CSE.
5669
a2754b6c
SM
5670 * tmm.el: Use dolist, remove left over hook.
5671 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5672 Use dolist.
5673 (calendar-load-hook): Don't mess with it.
5674
1930bf5d
SM
5675 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5676 Use derived-mode-p. Run the diff asynchronously.
5677
9f67961c
LMI
56782012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5679
5680 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5681
2a8ce227
JB
56822012-04-10 Juanma Barranquero <lekktu@gmail.com>
5683
5684 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5685 (list-dynamic-libraries--loaded): New function.
5686 (list-dynamic-libraries--refresh): Use it.
5687
8f33b5f8
NW
56882012-04-10 Nathan Weizenbaum <nweiz@google.com>
5689
1930bf5d
SM
5690 * progmodes/python.el (python-fill-paragraph):
5691 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5692 disabled (bug#7018).
5693
b12f0439
L
56942012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5695
1930bf5d 5696 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5697 DOS/MS Windows for the Baltic languages. There are still plenty
5698 of texts written in this encoding/codepage (bug#6519).
b12f0439 5699
57c3bd01
GM
57002012-04-10 Glenn Morris <rgm@gnu.org>
5701
5702 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5703 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5704
6c3eab30
FA
57052012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5706
1930bf5d 5707 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5708 next-line "n" and previous-line "p" in order to make recentf more
5709 consistent with ibuffer, dired or org-mode (bug#9387).
5710
24d78a88
LMI
57112012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5712
bc72b5d9
LMI
5713 * image.el (put-image): Return the overlay created instead of the
5714 optional input string (bug#7834). Note that this may break code
5715 that is (for some reason or other) depending on `put-image'
5716 returning the string.
5717
bd2dba5a
LMI
5718 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5719
74beb59f
LMI
5720 * simple.el (zap-to-char): Allow zapping using input methods
5721 (bug#1580).
5722
24d78a88
LMI
5723 * textmodes/fill.el (fill-region): Leave point and mark where they
5724 were before filling (bug#5399).
5725
263f20cd
GM
57262012-04-09 Glenn Morris <rgm@gnu.org>
5727
5728 * version.el (emacs-bzr-get-version):
5729 Handle lightweight checkouts of local branches.
5730
58d1f797
AS
57312012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5732
263f20cd 5733 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5734
b4d3bc10
CY
57352012-04-09 Chong Yidong <cyd@gnu.org>
5736
5737 * custom.el (custom-variable-p): Return nil for non-symbol
5738 arguments instead of signaling an error.
5739 (user-variable-p): Obsolete alias for custom-variable-p.
5740
5741 * apropos.el (apropos-variable):
5742 * files-x.el (read-file-local-variable):
5743 * simple.el (set-variable):
5744 * woman.el (woman-mini-help):
5745 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5746
fd06db5d
GM
57472012-04-09 Glenn Morris <rgm@gnu.org>
5748
e5fcdb5e
GM
5749 * startup.el (normal-top-level): Don't look for leim-list.el
5750 in places where it will not be found. (Bug#910)
5751
fd06db5d
GM
5752 * international/mule-cmds.el (set-default-coding-systems):
5753 * files.el (normal-mode):
5754 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5755 This function was removed with ucs-tables.el in 2008.
5756
b39bb7e1
EZ
57572012-04-08 Eli Zaretskii <eliz@gnu.org>
5758
5759 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5760 ispell-encoding8-command to "-i", without a trailing space.
5761 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5762 separate command-line arguments, to specify the encoding, since
5763 that's how hunspell expects it.
5764
5c5b8e23
GM
57652012-04-08 Glenn Morris <rgm@gnu.org>
5766
5767 * loadup.el: Load bindings before cus-start.
5768 This reduces somewhat the number of "rogue" settings in emacs -Q.
5769
a1ed8b05
GM
57702012-04-07 Glenn Morris <rgm@gnu.org>
5771
5772 * version.el (emacs-bzr-get-version): New function.
dfae128a 5773 (emacs-bzr-version): New variable.
a1ed8b05
GM
5774 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5775 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5776
b142f158
EZ
57772012-04-07 Eli Zaretskii <eliz@gnu.org>
5778
dfae128a
GM
5779 * international/uni-bidi.el, international/uni-category.el:
5780 * international/uni-combining.el, international/uni-decimal.el:
5781 * international/uni-decomposition.el, international/uni-digit.el:
5782 * international/uni-lowercase.el, international/uni-mirrored.el:
5783 * international/uni-name.el, international/uni-numeric.el:
5784 * international/uni-titlecase.el, international/uni-uppercase.el:
5785 Update for Unicode 6.1.
b142f158 5786
9078ead6
EZ
57872012-04-07 Eli Zaretskii <eliz@gnu.org>
5788
5789 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5790
f23d2c7d
LMI
57912012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5792
5793 * window.el (shrink-window): Mention the `window-min-height'
5794 variable in the doc string.
5795
0a0a3573
BG
57962012-04-05 Bastien Guerry <bzg@altern.org>
5797
5798 * color.el (color-lighten-name): Fix typo.
5799
e5248ac9
SM
58002012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5801
5802 * server.el (server--on-display-p): New function.
5803 (server--on-display-p): Use it.
5804
b4243e22
GV
58052012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5806
5807 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5808 (bug#11145).
5809
305d9f44
SM
58102012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5811
5812 * comint.el (comint--common-quoted-suffix): Check string boundary
5813 before comparing (bug#11158).
5814 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5815
3d439cd1
CY
58162012-04-04 Chong Yidong <cyd@gnu.org>
5817
321cc491
CY
5818 * minibuffer.el (completion-extra-properties): Doc fix.
5819
3d439cd1
CY
5820 * subr.el (delayed-warnings-hook): Doc fix.
5821
2d562c0f
DU
58222012-04-04 Daiki Ueno <ueno@unixuser.org>
5823
5824 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5825 selection (Bug#11159).
5826 (epa-insert-keys): Inform that the default public key will be
5827 exported if no key is selected.
5828
4443f204
RS
58292012-04-04 Richard Stallman <rms@gnu.org>
5830
5831 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5832
529c06b6
CY
58332012-04-03 Chong Yidong <cyd@gnu.org>
5834
5835 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5836 mail-insert-file, not its obsolete alias mail-attach-file.
5837
66b907dc
MA
58382012-04-03 Michael Albinus <michael.albinus@gmx.de>
5839
5840 * notifications.el (notifications-notify): Fix docstring.
5841
c0ea195d
GM
58422012-04-02 Glenn Morris <rgm@gnu.org>
5843
5844 * emacs-lisp/authors.el (authors-aliases): Another addition.
5845
5ca64e00
MA
58462012-04-02 Michael Albinus <michael.albinus@gmx.de>
5847
5848 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5849 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5850 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5851
42ee526b
CY
58522012-04-01 Chong Yidong <cyd@gnu.org>
5853
5854 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5855 Handle root directory properly.
5856 (copy-directory): Caller changed.
5857
5858 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5859 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5860
0b021094
GM
58612012-03-31 Glenn Morris <rgm@gnu.org>
5862
40f86458
GM
5863 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5864
7019c177
GM
5865 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5866
a1daddd6
GM
5867 * calendar/calendar.el (calendar-window-list)
5868 (calendar-hide-window): Restore. (Bug#11140)
5869 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5870
0b021094
GM
5871 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5872
40311efc
TV
58732012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5874
5875 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5876 Check if file is a symlink (Bug#10489).
5877
5878 * files.el (copy-directory): Likewise.
5879
5319014e
CY
58802012-03-30 Chong Yidong <cyd@gnu.org>
5881
5882 * image.el (imagemagick-types-inhibit)
5883 (imagemagick-register-types): Doc fix.
5884
935d1290
AM
58852012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5886
090bd7cb 5887 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5888 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5889 and treats ~word as ordinary words in pipe mode.
935d1290 5890
61c6e8fd
GM
58912012-03-30 Glenn Morris <rgm@gnu.org>
5892
5893 * tutorial.el (help-with-tutorial): Ensure local variables don't
5894 happen to make the buffer read-only. (Bug#11127)
5895
81fdff00
SM
58962012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5897
5898 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5899 (perl-calculate-indent): Return `noindent' in strings.
5900
6e7a6ec0
SS
59012012-03-28 Sam Steingold <sds@gnu.org>
5902
5903 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5904 instead of the broken adhockery which does not prevent calendar
5905 buffers from being displayed at random after exit.
5906 (calendar-window-list, calendar-hide-window): Remove the broken
5907 adhockery.
5908
fee88ca0
GM
59092012-03-28 Glenn Morris <rgm@gnu.org>
5910
5911 * replace.el (query-replace-map): Doc fix.
5912
38de3354
AS
59132012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5914
5915 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5916 contents. (Bug#11109)
5917
b973155e
SM
59182012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5919
5920 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5921 (bug#11077).
5922 (avl-tree--check, avl-tree--check-node): New funs.
5923
dcb6e7b3
MR
59242012-03-27 Martin Rudalics <rudalics@gmx.at>
5925
5926 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5927 (switch-to-prev-buffer, switch-to-next-buffer):
5928 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5929 showing a buffer already is done on the same frame.
5930
b4fa35fa
GM
59312012-03-27 Glenn Morris <rgm@gnu.org>
5932
5933 * startup.el (mail-host-address): Doc fix.
5934
f9210e18
SM
59352012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5936
5937 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5938 than 197 variables.
5939
c0bf7753
AF
59402012-03-26 Ami Fischman <ami@fischman.org>
5941
5942 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5943
33da7b16
GM
59442012-03-26 Glenn Morris <rgm@gnu.org>
5945
02243d9d
GM
5946 * files.el (save-buffers-kill-emacs): Doc fix.
5947
33da7b16
GM
5948 * startup.el (normal-top-level, command-line, command-line-1):
5949 Give them doc strings.
5950
e5a69fd0
EZ
59512012-03-25 Eli Zaretskii <eliz@gnu.org>
5952
5953 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5954 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5955
9a69676a
CY
59562012-03-25 Chong Yidong <cyd@gnu.org>
5957
4125cb8b
CY
5958 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5959 theme if it was previously enabled before (Bug#11031).
5960
dd470960
CY
5961 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5962 spec with custom-face-get-current-spec if its :shown-value is not
5963 determined yet (Bug#9337).
4125cb8b 5964 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5965
9a69676a
CY
5966 * button.el (button-at): Minor addition to docstring.
5967
6e7e90fa
SL
59682012-03-24 Simon Leinen <simon.leinen@gmail.com>
5969
5970 * vc/vc.el (vc-merge): Fix a prompt.
5971
f06e2758
CY
59722012-03-24 Chong Yidong <cyd@gnu.org>
5973
5974 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5975 point (Bug#9623).
5976
6e7e90fa
SL
5977 * button.el (button-at): Minor addition to docstring.
5978
b9d0879b
SM
59792012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5980
5981 * newcomment.el (comment-choose-indent): No space after BOL.
5982
e71cebb3
SS
59832012-03-22 Sam Steingold <sds@gnu.org>
5984
5985 * window.el (switch-to-prev-buffer): Revert last patch because the
5986 bug turned out to be an advertised feature (Elisp manual 28.14).
5987
335aff35
GM
59882012-03-22 Glenn Morris <rgm@gnu.org>
5989
5990 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5991 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5992
c676576a
LMI
59932012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5994
5995 * net/network-stream.el (network-stream-open-starttls): Make error
5996 message under Windows be less misleading.
5997
126f3d39
LW
59982012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5999
6000 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6001 understands (bug#9942).
6002
64fee311
CY
60032012-03-22 Chong Yidong <cyd@gnu.org>
6004
6005 * simple.el (end-of-visible-line): Handle return value of
6006 next-single-property-change properly (Bug#9371).
6007
a640d29a
KH
60082012-03-22 Kenichi Handa <handa@m17n.org>
6009
6010 * international/quail.el (quail-insert-kbd-layout): Fix previous
6011 change. To avoid unwanted bidi reordering, use
6012 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6013
39675016
DG
60142012-03-21 Dmitry Gutov <dgutov@yandex.ru>
6015
6016 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6017 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6018 (ruby-beginning-of-indent): Be more careful with the difference
6019 between word-boundary and symbol boundary.
6020 (ruby-mode-syntax-table): Make : a symbol constituent.
6021
0a6934fc 60222012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 6023
3d008e4f
SM
6024 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6025
0a6934fc
SM
60262012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6027
af67c9d7
SM
6028 * progmodes/etags.el (tags-completion-at-point-function):
6029 Improve last fix.
6030
1acad97c
SM
6031 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6032
e298b5da
SS
60332012-03-21 Sam Steingold <sds@gnu.org>
6034
6035 * progmodes/etags.el (tags-completion-at-point-function):
6036 Avoid the error when point is inside the pattern.
6037
91d82a70
JY
60382012-03-21 John Yates <john@yates-sheets.org> (tiny change)
6039
6040 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6041 line (Bug#10855).
6042
69188b79
CY
60432012-03-21 Drew Adams <drew.adams@oracle.com>
6044
6045 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6046
99fc91fe
AK
60472012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
6048
6049 * ido.el (ido-set-current-directory, ido-read-internal)
6050 (ido-choose-completion-string, ido-completion-help): Handle nil
6051 value of ido-completion-buffer (Bug#11008).
6052
087bbb4c
SS
60532012-03-21 Sam Steingold <sds@gnu.org>
6054
6055 * window.el (switch-to-prev-buffer): Do not switch to a visible
6056 window previous buffer, just like with the frame previous buffers.
6057
fb5b8aca
CY
60582012-03-21 Chong Yidong <cyd@gnu.org>
6059
6060 * faces.el (make-face, make-empty-face, copy-face):
6061 * face-remap.el (face-remap-add-relative, face-remap-set-base):
6062 Doc fixes.
6063
dc9924b8
SM
60642012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6065
6066 * wid-edit.el (widget-complete-field): Remove (bug#11051).
6067 (widget-complete): Remove broken use of it.
6068
f0bcceb9
CY
60692012-03-20 Chong Yidong <cyd@gnu.org>
6070
dc9924b8
SM
6071 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6072 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
6073 characters.
6074
ee52ebf3
TH
60752012-03-20 Tassilo Horn <tassilo@member.fsf.org>
6076
6077 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6078 to draw rectangles, not squares. (Regression introduced by revno
6079 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6080
4c5779ab
CY
60812012-03-18 Chong Yidong <cyd@gnu.org>
6082
6083 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6084 it is not yet defined (for temacs).
6085
15360934
LL
60862012-03-18 Leo Liu <sdl.web@gmail.com>
6087
dc9924b8 6088 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 6089
d9a8eb66
EZ
60902012-03-17 Eli Zaretskii <eliz@gnu.org>
6091
6092 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6093 (ispell-choices-win-default-height, ispell-silently-savep)
6094 (ispell-dictionary-alist, ispell-encoding8-command)
6095 (ispell-check-version, ispell-aspell-find-dictionary)
6096 (ispell-valid-dictionary-list, ispell-words-keyword)
6097 (ispell-get-word, ispell-internal-change-dictionary)
6098 (ispell-region, ispell-skip-region-list)
6099 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6100 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6101 (ispell-message-text-end, ispell-message)
6102 (ispell-buffer-local-parsing): Doc fix.
6103
f02ff80d
J
61042012-03-13 Jambunathan K <kjambunathan@gmail.com>
6105
6106 * htmlfontify.el: Add support for code block fontification for ODT
6107 export (Bug #9914).
6108 (hfy-optimisations): Define new option
6109 `body-text-only'
6110 (hfy-fontify-buffer): Honor above setting.
6111 (hfy-begin-span, hfy-end-span): New routines factored out form
6112 `hfy-fontify-buffer'.
6113 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6114 that permit insertion of custom tags.
6115 (hfy-fontify-buffer): Use above handlers.
6116 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6117 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 6118 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 6119 over multiple runs. This is made possible by having the caller let
f02ff80d
J
6120 bind a special variable `hfy-user-sheet-assoc'.
6121 (htmlfontify-string): New defun.
6122 (hfy-compile-face-map): Make sure that the last char in the
6123 buffer is correctly fontified.
6124 (hfy-face-resolve-face): Whitespace only change.
6125
9ac7a13f
EZ
61262012-03-17 Eli Zaretskii <eliz@gnu.org>
6127
6128 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6129 message more clear.
6130
e2b5bdd7
LL
61312012-03-16 Leo Liu <sdl.web@gmail.com>
6132
6133 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6134
2e492df3
AM
61352012-03-16 Alan Mackenzie <acm@muc.de>
6136
6137 Further optimise the handling of large macros.
6138
6139 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6140 limit to a call of `c-literal-limits'.
6141 (c-determine-+ve-limit): New function.
dc9924b8
SM
6142 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6143 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
6144 In CASE 5B, restrict a search limit to 500.
6145 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6146
6147 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6148 Restrict macro bounds to +-500 from after-change's BEG END.
6149
50e94f0c
LL
61502012-03-16 Leo Liu <sdl.web@gmail.com>
6151
6152 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6153
6f09f6ed
AH
61542012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6155
6156 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 6157 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 6158
c7e73d51
GM
61592012-03-16 Glenn Morris <rgm@gnu.org>
6160
da986230
GM
6161 * view.el (view-buffer, view-buffer-other-window)
6162 (view-buffer-other-frame): Doc fixes re special mode-class.
6163
0835f01e
GM
6164 * subr.el (eval-after-load): If named feature is provided not from
6165 a file, run after-load forms. (Bug#10946)
6166
c7e73d51
GM
6167 * calendar/calendar.el (calendar-insert-at-column):
6168 Handle non-unit-width characters a bit better. (Bug#10978)
6169
3f2eafd1
CY
61702012-03-15 Chong Yidong <cyd@gnu.org>
6171
6172 * emacs-lisp/ring.el (ring-extend): New function.
6173 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6174
6175 * comint.el (comint-read-input-ring)
6176 (comint-add-to-input-history): Grow comint-input-ring lazily.
6177
103af3fe
SM
61782012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6179
663b1677
SM
6180 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6181 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6182
103af3fe
SM
6183 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6184 (imenu-add-to-menubar): Don't add a redundant index.
6185 (imenu-update-menubar): Handle a dynamically composed keymap.
6186
899cb7cb
KY
61872012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6188
6189 * mail/sendmail.el (mail-encode-header):
6190 Bind rfc2047-encode-encoded-words to nil.
6191
3809f91d
GM
61922012-03-13 Glenn Morris <rgm@gnu.org>
6193
6194 * calendar/calendar.el (calendar-string-spread):
6195 Handle non-unit-width characters a bit better. (Bug#10978)
6196
9e345a01
LL
61972012-03-13 Leo Liu <sdl.web@gmail.com>
6198
6199 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6200 directory and file as argument (Bug#10822).
6201
4a07df36
KS
62022012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6203
6204 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6205 For dynamically generated code, follow $PC.
6206 (gdb-disassembly-handler-custom): Handle no function name case.
6207
4aaa9356
TL
62082012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6209
6210 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6211 * emulation/ws-mode.el (ws-query-replace):
6212 * sort.el (sort-regexp-fields):
6213 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6214
225979da
SM
62152012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6216
6217 * dabbrev.el: Fix cycle completion order (bug#10963).
6218 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6219 (dabbrev-completion): Don't use an obarray; provide
6220 a cycle-sort-function.
6221
e2f1fdab
LL
62222012-03-12 Leo Liu <sdl.web@gmail.com>
6223
dc9924b8 6224 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6225 (kill-do-not-save-duplicates): Doc fix.
6226
b19490ed
SM
62272012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6228
6229 * dabbrev.el: Fix cycle completion (bug#10963).
6230 Use lexical binding and wrap to 80 columns.
6231 (dabbrev-completion): Delay computing the list of completions.
6232
4b05d722
KH
62332012-03-12 Kenichi Handa <handa@m17n.org>
6234
6235 * international/quail.el (quail-insert-kbd-layout): Surround each
6236 row by LRO and PDF instead of inserting many LRMs. Pad the left
6237 and right of each non-spacing marks. Insert invisible space
6238 between lower and upper characters to prevent composition.
6239
dbbc2e69
SM
62402012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6241
6242 * minibuffer.el (minibuffer-complete): Don't get confused when the
6243 function is run twice via different commands (bug#10958).
6244 (complete-with-action): Fix docstring.
6245
292112ed
CY
62462012-03-12 Chong Yidong <cyd@gnu.org>
6247
5d1ac394
CY
6248 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6249 (nxml-completion-at-point-function): New function.
6250 (nxml-mode): Use it.
6251 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6252
292112ed
CY
6253 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6254 Load generated autoloads file before byte compiling (Bug#10970).
6255 (package--make-autoloads-and-compile): New helper fun.
6256
4098f8f7
CS
62572012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6258
6259 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6260
8f754691
MA
62612012-03-11 Michael Albinus <michael.albinus@gmx.de>
6262
6263 * autorevert.el (auto-revert-handler): Ensure, that
6264 file-readable-p is applied only for local files or in
6265 auto-revert-tail-mode.
6266
e29ab36b
AS
62672012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6268
dbbc2e69
SM
6269 * server.el (server-eval-at): Handle non-tcp connections.
6270 Decode result string.
ad0bf5b6 6271
e29ab36b
AS
6272 * server.el (server-msg-size): New constant.
6273 (server-reply-print): New function.
6274 (server-eval-and-print): Use it.
6275 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6276 Handle -print-nonl.
6277
de5939ba
CS
62782012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6279
6280 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6281 (Bug#10987).
6282
0c93eabf
CY
62832012-03-11 Chong Yidong <cyd@gnu.org>
6284
397a688f
CY
6285 * simple.el (goto-line): Doc fix (Bug#9938).
6286
2cc775f9
CY
6287 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6288
0c93eabf
CY
6289 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6290 when finished (Bug#10963).
6291
c491fa41
MR
62922012-03-11 Martin Rudalics <rudalics@gmx.at>
6293
6294 * window.el (split-window-below): Fix bug in case where
6295 split-window-keep-point is nil (Bug#10971).
6296
300e8fa5
JL
62972012-03-11 Juri Linkov <juri@jurta.org>
6298
6299 * replace.el (replace-highlight): Set isearch-word to nil
6300 unconditionally. (Bug#10887)
6301
dbf6c5a1
EZ
63022012-03-10 Eli Zaretskii <eliz@gnu.org>
6303
6304 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6305 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6306 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6307 (mairix-widget-create-query): Add usage information about mairix
6308 search forms: negating words, searching for substrings, etc.
6309
b9e501de
JP
63102012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6311
6312 * international/fontset.el (font-encoding-alist): Add an entry for
6313 ksx1001 (Bug#5667).
6314
92795c91
RS
63152012-03-10 Richard Stallman <rms@gnu.org>
6316
1694e6c1
RS
6317 * mail/sendmail.el (mail-encode-header):
6318 Set rfc2047-encode-encoded-words.
6319
607e8555
RS
6320 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6321
de3bc99a
RS
6322 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6323 view buffer means not swapped.
6324 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6325 (rmail-write-region-annotate): Error if real text has disappeared.
6326
92795c91
RS
6327 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6328
699bd04e
CY
63292012-03-10 Chong Yidong <cyd@gnu.org>
6330
6331 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6332 * emulation/cua-base.el (cua--init-keymaps):
6333 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6334
570a1714
MR
63352012-03-10 Martin Rudalics <rudalics@gmx.at>
6336
dbbc2e69
SM
6337 * speedbar.el (speedbar-unhighlight-one-tag-line):
6338 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6339
82dcf4e4
CY
63402012-03-10 Chong Yidong <cyd@gnu.org>
6341
7a2c7ca7
CY
6342 * minibuffer.el (completion-in-region, completion-help-at-point):
6343 Give the completion field overlay a high priority (Bug#6830).
6344
82dcf4e4
CY
6345 * dired.el (dired-goto-file): Recognize absolute file name
6346 listings (Bug#7126).
6347 (dired-goto-file-1): New helper function.
6348 (dired-toggle-read-only): Inhibit warnings.
6349
052e28ac
MA
63502012-03-09 Michael Albinus <michael.albinus@gmx.de>
6351
75f1671a 6352 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6353 there are no properties.
6354
95d5e396
LL
63552012-03-09 Leo Liu <sdl.web@gmail.com>
6356
6357 * savehist.el (savehist-printable): Stricter check for string
6358 value (Bug#10937).
6359
3f018d6d
EZ
63602012-03-09 Eli Zaretskii <eliz@gnu.org>
6361
dbbc2e69
SM
6362 * mail/smtpmail.el (smtpmail-send-it):
6363 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6364 valid mbox format.
6365
f7fd3d79
GM
63662012-03-09 Glenn Morris <rgm@gnu.org>
6367
6368 * files.el (dir-locals-find-file):
6369 Don't check result is regular, readable.
6370 (dir-locals-read-from-file): Demote errors.
6371
6ff6e72f
EZ
63722012-03-08 Eli Zaretskii <eliz@gnu.org>
6373
dbbc2e69
SM
6374 * international/quail.el (quail-insert-kbd-layout):
6375 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6376 layout cell, to prevent their reordering by bidi display engine.
6377 For details, see the discussion in
6378 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6379
9cec7834
AM
63802012-03-08 Alan Mackenzie <acm@muc.de>
6381
6382 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6383 the starting position; make it extend the marked region when
6384 invoked repeatedly - all under appropriate circumstances.
6385 Fixes bugs #5525, #10906.
6386
9a40b8d4
GM
63872012-03-08 Glenn Morris <rgm@gnu.org>
6388
6389 * files.el (locate-dominating-file, dir-locals-find-file):
6390 Undo 2012-03-06 change.
6391
7a08ed35
EZ
63922012-03-07 Eli Zaretskii <eliz@gnu.org>
6393
dbbc2e69
SM
6394 * international/quail.el (quail-help):
6395 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6396 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6397 for the reason.
6398
5aca4f71 63992012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6400
6401 Avoid superfluous registering of signals. (Bug#10807)
6402
6403 * notifications.el (notifications-on-action-object)
6404 (notifications-on-close-object): New defvars.
6405 (notifications-on-action-signal, notifications-on-closed-signal):
6406 Unregister the signal if not needed any longer.
6407 (notifications-notify): Register `notifications-action-signal' or
6408 `notifications-closed-signal', if :on-action or :on-close has been
6409 passed as argument.
6410
78e8b10a
CY
64112012-03-07 Chong Yidong <cyd@gnu.org>
6412
6413 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6414 non-X platforms.
6415
69481eb8
GM
64162012-03-06 Glenn Morris <rgm@gnu.org>
6417
6418 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6419 (x-disown-selection-internal, x-get-selection-internal):
6420 Doc fix (add arglist signatures). (Bug#10783)
6421
133b8e11
KS
64222012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6423
6424 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6425 Handle breakpoints with no "type".
6426
99a83064
GM
64272012-03-06 Glenn Morris <rgm@gnu.org>
6428
6429 * files.el (locate-dominating-file): Add optional predicate argument.
6430 (dir-locals-find-file): Make use of above change.
6431
17798e78
TTN
64322012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6433
6434 * info.el (Info-insert-dir): Also try "dir.gz".
6435
eb182446
GM
64362012-03-06 Glenn Morris <rgm@gnu.org>
6437
8f2114ee
GM
6438 * files.el (dir-locals-find-file):
6439 Ignore non-readable or non-regular files. (Bug#10928)
6440
eb182446
GM
6441 * files.el (locate-dominating-file): Doc fix.
6442
24679323
AS
64432012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6444
6445 * calendar/calendar.el (calendar-set-mode-line):
6446 `getenv' returns a string. (Bug#10951)
6447
01d972a9
LL
64482012-03-05 Leo Liu <sdl.web@gmail.com>
6449
109aa8a9
LL
6450 * simple.el (backward-delete-char-untabify): Constrain point to
6451 field (Bug#10939).
6452
01d972a9
LL
6453 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6454
10607bea
CY
64552012-03-05 Chong Yidong <cyd@gnu.org>
6456
6457 * simple.el (count-words): If called from Lisp, return the word
6458 count, for symmetry with `count-lines'. Arglist changed.
6459 (count-words--message): Args changed. Consolidate counting code
6460 from count-words and count-words-region.
6461 (count-words-region): Caller changed.
6462 (count-lines-region): Make it an obsolete alias.
6463
5dd11cfe
TH
64642012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6465
6466 * saveplace.el (save-place-to-alist)
6467 (save-place-ignore-files-regexp): Allow value nil to disable this
6468 feature.
6469
c349f4e6
CY
64702012-03-04 Chong Yidong <cyd@gnu.org>
6471
6472 * faces.el (face-spec-reset-face): For the default face, reset the
6473 attributes to default values (Bug#10748).
6474
e627be4c
LMI
64752012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6476
6477 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6478 previous patch: Check `message-send-mail-function', and not the
6479 default function (bug#10897).
6480
ebeabff4
MA
64812012-03-04 Michael Albinus <michael.albinus@gmx.de>
6482
a41a6cf4
MA
6483 * notifications.el (notifications-on-action-signal)
6484 (notifications-on-closed-signal): Check for unique service name of
6485 incoming event. Fix error in removing entry.
ebeabff4 6486 (top): Register for signals with wildcard service name.
a41a6cf4 6487 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6488
c1ca42b4
CY
64892012-03-04 Chong Yidong <cyd@gnu.org>
6490
dc9924b8 6491 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6492
ea16568d
GM
64932012-03-04 Glenn Morris <rgm@gnu.org>
6494
6495 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6496 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6497 (expand-abbrev, define-abbrev-table): Doc fixes.
6498
fbae4637
LMI
64992012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6500
6501 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6502 `message-default-send-mail-function' and not `send-mail-function'
6503 when doing the prompting for `sendmail-query-once' before sending
6504 in Message buffers (bug#10897).
6505
a1e7225c
LMI
6506 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6507 This is inconsistent with all the other stream functions, which leave
6508 the setting up to the higher levels (if so wanted) (bug#10931).
6509
56d093a9
AM
65102012-03-02 Alan Mackenzie <acm@muc.de>
6511
6512 Depessimize the handling of very large macros.
6513
6514 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6515 (c-macro-cache-syntactic): New variables to implement a one
6516 element macro cache.
6517 (c-invalidate-macro-cache): New function.
6518 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6519 Adapt to use the new cache.
6520 (c-state-safe-place): Use better the cache of safe positions.
6521 (c-state-semi-nonlit-pos-cache)
6522 (c-state-semi-nonlit-pos-cache-limit):
6523 New variables for...
6524 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6525 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6526 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6527 Use c-state-semi-safe-place.
56d093a9 6528
dbbc2e69
SM
6529 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6530 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6531
817e5c3d
MA
65322012-03-02 Michael Albinus <michael.albinus@gmx.de>
6533
dbbc2e69
SM
6534 * jka-compr.el (jka-compr-call-process):
6535 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6536 not remote.
6537
a032a702
MA
65382012-03-01 Michael Albinus <michael.albinus@gmx.de>
6539
6540 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6541 access of FILE2, if FILE1 does not exist.
6542
99a54f21
MA
6543 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6544 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6545
6546 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6547 Add "PAGER=" to `process-environment'.
6548
f6561e1f
MM
65492012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6550
6551 * progmodes/sql.el: Bug fix
6552 (sql-get-login-ext): Save login values in globals.
6553 (sql-get-login): Use new version of `sql-get-login-ext'.
6554 (sql-interactive-mode): Set global `sql-connection' to nil.
6555 (sql-connect): Set global values for connection.
6556 (sql-product-interactive): Save global values as buffer local.
6557
2d44d9cc
LL
65582012-02-29 Leo Liu <sdl.web@gmail.com>
6559
6560 * abbrev.el (define-abbrevs): Reset sys to nil.
6561
96b49301 65622012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6563
bf7f9bc5
JB
6564 * files.el (file-equal-p): Rename from `files-equal-p'.
6565 Return nil when one or both files don't exist.
96b49301 6566 (file-subdir-of-p): Now only top directory must exists,
6567 return nil if it doesn't.
bf7f9bc5
JB
6568 (copy-directory): No need to test with `file-subdir-of-p' after
6569 creating dir.
6570 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6571 to `file-equal-p'.
96b49301 6572
44e97401
GM
65732012-02-28 Glenn Morris <rgm@gnu.org>
6574
6575 * shell.el (shell-mode):
6576 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6577 * play/landmark.el (landmark-font-lock-face-O):
6578 * play/handwrite.el (handwrite):
6579 * play/gomoku.el (gomoku-O):
6580 * net/browse-url.el (browse-url-browser-display):
6581 * international/mule.el (define-charset):
6582 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6583 * filesets.el (filesets-find-file-delay):
6584 * eshell/em-xtra.el (eshell-xtra):
6585 * eshell/em-unix.el (eshell-grep):
6586 * emulation/viper.el (viper-mode):
6587 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6588 * emacs-lisp/easymenu.el (easy-menu-define):
6589 * calendar/timeclock.el (timeclock-use-display-time):
6590 * bs.el (bs-mode):
6591 * bookmark.el (bookmark-save-flag):
6592 Doc fix (standardize possessive apostrophe usage).
6593
c98c6276
CY
65942012-02-27 Chong Yidong <cyd@gnu.org>
6595
bf7f9bc5
JB
6596 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6597 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6598
c98c6276
CY
6599 * font-lock.el (font-lock-specified-p): Rename from
6600 font-lock-spec-present. Callers changed.
6601
9c62cd04 66022012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6603
bf7f9bc5
JB
6604 * emacs-lisp/package.el (package-compute-transaction):
6605 Handle holding a package version to t in package-load-list.
8ac9e529 6606
530739c9
MA
66072012-02-26 Michael Albinus <michael.albinus@gmx.de>
6608
6609 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6610 (tramp-get-inode, tramp-get-device): Use cached values.
6611
487915d7
AM
66122012-02-26 Alan Mackenzie <acm@muc.de>
6613
6614 Check there is a font-lock specification before doing initial
6615 fontification.
6616
6617 * font-core.el (font-lock-mode): Move the conditional from
6618 :after-hook to font-lock-initial-fontify.
6619 (font-lock-default-function): Move the check for a specification
6620 to font-lock-spec-present.
6621
dc9924b8 6622 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6623 (font-lock-spec-present): New function.
6624
4fd96557
JB
66252012-02-26 Jim Blandy <jimb@red-bean.com>
6626
6627 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6628 (gdb-send): Apply it to the operand of the '-interpreter-exec
6629 console' command, so that we can pass arguments with (say) quotes
6630 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6631
9a4888c0
CY
66322012-02-26 Chong Yidong <cyd@gnu.org>
6633
07498861
CY
6634 * help-fns.el (describe-function-1): Clarify description of
6635 remapping (Bug#10844).
6636
9a4888c0
CY
6637 * files.el (files-equal-p): Doc fix.
6638 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6639 and quit the loop once a mismatch is found.
6640
ea8fb88d
JB
66412012-02-25 Juanma Barranquero <lekktu@gmail.com>
6642
6643 * bs.el (bs--show-with-configuration): Don't throw an error
6644 if the window cannot be split; otherwise, subsequent calls to
6645 bs-show fail, restoring a stale window config. (Bug#10882)
6646
525795c1
JD
66472012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6648
6649 * term/ns-win.el (global-map): Bind ns-drag-file to
6650 ns-find-file (Bug#5855, Bug#10050).
6651
f008086f
AS
66522012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6653
6654 * calendar/parse-time.el (parse-time-string): Allow extractor to
6655 return nil.
6656
a3fcfa99
MA
66572012-02-25 Michael Albinus <michael.albinus@gmx.de>
6658
91027d08
JB
6659 * net/tramp.el (tramp-file-name-for-operation):
6660 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6661
6662 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6663 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6664 Add COPY-CONTENTS argument.
a3fcfa99 6665
67b0de11
CY
66662012-02-25 Chong Yidong <cyd@gnu.org>
6667
6668 Add custom groups for VC backends, for consistency with vc-bzr.
6669
6670 * vc/vc-arch.el (vc-arch):
6671 * vc/vc-cvs.el (vc-cvs):
6672 * vc/vc-git.el (vc-git):
6673 * vc/vc-hg.el (vc-hg):
6674 * vc/vc-mtn.el (vc-mtn):
6675 * vc/vc-rcs.el (vc-rcs):
6676 * vc/vc-sccs.el (vc-sccs):
6677 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6678 All relevant defcustoms reassigned.
6679
3c9dfce6
CY
66802012-02-25 Chong Yidong <cyd@gnu.org>
6681
1339bf43
CY
6682 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6683
3c9dfce6
CY
6684 * term/x-win.el (x-initialize-window-system): Reduce default for
6685 x-selection-timeout to 5 seconds (Bug#8869).
6686
25b2e303 66872012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6688
ec70a47d
GM
6689 * files.el (files-equal-p, file-subdir-of-p): New functions.
6690 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6691 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6692 * dired-aux.el (dired-copy-file-recursive): Same.
6693 (dired-create-files): Modify destination when source is equal to
6694 dest when copying files.
53a46cd0 6695 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6696
914260cd
MA
66972012-02-24 Michael Albinus <michael.albinus@gmx.de>
6698
6699 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6700 (Bug#10874)
6701
2cb228f7
AM
67022012-02-23 Alan Mackenzie <acm@muc.de>
6703
6704 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6705 parameter "after-hook:" to allow the expansion to run code after
6706 the execution of the mode hooks.
6707
6708 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6709 from font-lock-mode-internal.
2cb228f7 6710
91027d08 6711 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6712 :after-hook.
6713
8f0fde21
SM
67142012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6715
3e88618b
SM
6716 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6717 (completion--cache-all-sorted-completions): New function.
6718 (completion-all-sorted-completions): Use it.
6719 (completion--do-completion, minibuffer-force-complete):
6720 Use it to re-instate the flush hook.
6721
8f0fde21
SM
6722 * icomplete.el (icomplete-completions): Replace last fix with a better
6723 one (bug#10850).
6724
8e911f6f
DG
67252012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6726
6727 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6728 when it might call us back infinitely (bug#10797).
6729
49fe4321
GM
67302012-02-23 Glenn Morris <rgm@gnu.org>
6731
6732 * minibuffer.el (completion-category-overrides): Doc fix.
6733
b291b572
SM
67342012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6735
6736 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6737 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6738
31a9ef2e
GM
67392012-02-23 Glenn Morris <rgm@gnu.org>
6740
5e6e6794 6741 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6742 (authors-obsolete-files-regexps, authors-ignored-files)
6743 (authors-ambiguous-files, authors-renamed-files-alist):
6744 Add more entries.
6745
0bd1e074
JL
67462012-02-23 Juri Linkov <juri@jurta.org>
6747
6748 * isearch.el (isearch-occur): Sync interactive spec with occur's
6749 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6750
b617673c
JL
6751 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6752
19e9789e
JL
67532012-02-22 Juri Linkov <juri@jurta.org>
6754
6755 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6756 (ucs-insert): Doc fix. Check for hex digits in the string.
6757 Don't display `nil' in the error message. (Bug#10857)
6758
f41ce09d
AM
67592012-02-22 Alan Mackenzie <acm@muc.de>
6760
7a71b18d 6761 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6762
ac2eceee
GM
67632012-02-22 Glenn Morris <rgm@gnu.org>
6764
6765 * ffap.el (ffap-c-path):
6766 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6767
abd1f678
CY
67682012-02-22 Chong Yidong <cyd@gnu.org>
6769
6770 * custom.el (load-theme): Doc fix.
6771
f25aef2e
GM
67722012-02-22 Glenn Morris <rgm@gnu.org>
6773
6774 * dired-x.el (dired-guess-shell-alist-default):
6775 Remove escape sequences from nroff output. (Bug#172)
6776
5f8dc2ca
GM
67772012-02-21 Glenn Morris <rgm@gnu.org>
6778
6ff86ec4
GM
6779 * vc/emerge.el (emerge-defvar-local):
6780 Set `permanent-local' property rather than unused `preserved'.
6781
be3223a3 6782 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6783 (picture-mode-map): Use it. (Bug#10860)
6784 (picture-mode): Doc fix.
6785
3fe58f4f
JB
67862012-02-21 Juanma Barranquero <lekktu@gmail.com>
6787
6788 * newcomment.el (uncomment-region-default): Remove unused binding.
6789
f9a998c3
GM
67902012-02-21 Glenn Morris <rgm@gnu.org>
6791
6792 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6793 (picture-self-insert, picture-tab-chars): Doc fix.
6794 (picture-mode-map): Fix C-a, C-e.
6795
c6029348
GM
67962012-02-20 Glenn Morris <rgm@gnu.org>
6797
6798 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6799
ab1ce9d7
LL
68002012-02-20 Leo Liu <sdl.web@gmail.com>
6801
6802 * icomplete.el (icomplete-completions): Check FROM arg before
6803 passing to substring (Bug#10850).
6804
0fd40f89
CY
68052012-02-19 Chong Yidong <cyd@gnu.org>
6806
6807 * comint.el: Require ansi-color.
6808 (comint-output-filter-functions): Add ansi-color-process-output.
6809
6810 * ansi-color.el: Don't set comint-output-filter-functions; it is
6811 now in the initial value defined in comint.el.
6812 (ansi-color-apply-face-function): New variable.
6813 (ansi-color-apply-on-region): Use it.
6814 (ansi-color-apply-overlay-face): New function.
6815
6816 * shell.el (shell): No need to require ansi-color.
6817 (shell-mode): Use ansi-color-apply-face-function to highlight
6818 color escapes using font-lock-face property (Bug#10835).
6819
20af2394
CY
68202012-02-19 Chong Yidong <cyd@gnu.org>
6821
6822 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6823 mode-line formats (Bug#10839).
6824
e23a3fbe
GM
68252012-02-18 Glenn Morris <rgm@gnu.org>
6826
b474519e
GM
6827 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6828
6829 * mail/undigest.el (unforward-rmail-message): Doc fix.
6830
e23a3fbe
GM
6831 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6832
57939ff4
EZ
68332012-02-18 Eli Zaretskii <eliz@gnu.org>
6834
6835 * international/characters.el (script-list): Sync with the latest
6836 Unicode Character Database.
6837
0c23686e
AS
68382012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6839
6840 * international/titdic-cnv.el: Remove duplicate coding tag.
6841 * language/cham.el: Likewise.
6842 * language/tai-viet.el: Likewise.
6843
6818b449
GM
68442012-02-18 Glenn Morris <rgm@gnu.org>
6845
6846 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6847 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6848 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6849 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6850 * calendar/holidays.el (holiday-bahai-holidays)
6851 (calendar-holidays, list-holidays):
6852 Use utf-8 Bahá'í in doc-strings, menus, etc.
6853
0311a3fc
TH
68542012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6855
6856 * saveplace.el (save-place-ignore-files-regexp): New variable
6857 allowing for excluding files from saving their location of point.
6858 The default value matches the temporary commit message editing
6859 files from Git, SVN, Bazaar, and Mercurial.
6860 (save-place-to-alist): Use it.
6861
d209e2fb 68622012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6863 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6864
6865 * newcomment.el (uncomment-region-default): Don't leave extra space
6866 when an arg is provided (bug#8150).
6867
ee0ce425
TZ
68682012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6869
eb864a71 6870 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6871
95ddf442
GM
68722012-02-17 Glenn Morris <rgm@gnu.org>
6873
6874 * net/socks.el: Require network-stream. (Bug#10599)
6875
48dd1e39 68762012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6877
6878 * international/charprop.el:
6879 * international/uni-name.el:
6880 * international/uni-old-name.el:
6881 * international/uni-comment.el: Regenerate.
6882
d68cd087
GM
68832012-02-16 Glenn Morris <rgm@gnu.org>
6884
6885 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6886 Interactively in calendar buffer, give an error if not on a date.
6887
13932042
GM
68882012-02-15 Glenn Morris <rgm@gnu.org>
6889
6890 * shell.el (shell-delimiter-argument-list):
6891 Revert 2011-02-17 change. (Bug#8027)
6892
c3a70e2b
CY
68932012-02-15 Chong Yidong <cyd@gnu.org>
6894
60236b0d
CY
6895 * minibuffer.el (completion-at-point-functions): Doc fix.
6896
c3a70e2b
CY
6897 * custom.el (defcustom): Doc fix; note use of defvar.
6898
9f26dc24
GM
68992012-02-15 Glenn Morris <rgm@gnu.org>
6900
6901 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6902 Doc fixes.
6903
6546b134
GM
69042012-02-14 Glenn Morris <rgm@gnu.org>
6905
6906 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6907
d29b2b4c
LI
69082012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6909
6910 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6911 way the ports list is computed.
835bdcba
LI
6912 (smtpmail-query-smtp-server): Prompt the user for a port number if
6913 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6914
08dcdbc9
TZ
69152012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6916
6917 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6918
2605051a
GM
69192012-02-13 Glenn Morris <rgm@gnu.org>
6920
6921 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6922
7ee99f32
TZ
69232012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6924
6925 * net/gnutls.el (gnutls-trustfiles): New variable.
6926 (gnutls-negotiate): Use it.
6927
5f0af64f
LI
69282012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6929
6930 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6931 does its stuff if Gnus is running.
6932
c14fcc95
AM
69332012-02-13 Alan Mackenzie <acm@muc.de>
6934
6935 Fix a loop in c-set-fl-decl-start.
6936
7a71b18d 6937 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6938 c-backward-syntactic-ws actually moves backwards.
6939
142b4d90
LL
69402012-02-13 Leo Liu <sdl.web@gmail.com>
6941
6942 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6943 beginning so that all \C-o chars are removed.
6944
fa9958a6
TZ
69452012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6946
dc9924b8 6947 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6948
0bc5886a
AM
69492012-02-12 Alan Mackenzie <acm@muc.de>
6950
6951 Fix infinite loop with long macros.
4d6769e1 6952 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6953
d4bd55e7
CY
69542012-02-12 Chong Yidong <cyd@gnu.org>
6955
6956 * window.el (display-buffer): Doc fix (Bug#10785).
6957
66f3fe22
GM
69582012-02-12 Glenn Morris <rgm@gnu.org>
6959
bd7da63e
GM
6960 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6961 (x-disown-selection-internal, x-get-selection-internal):
6962 Sync docs with the xselect.c versions.
6963
66f3fe22
GM
6964 * allout-widgets.el: Add missing license notice.
6965
3e0d2fa7
GM
69662012-02-11 Glenn Morris <rgm@gnu.org>
6967
cfecdf09
GM
6968 * select.el (x-get-selection-internal, x-own-selection-internal)
6969 (x-disown-selection-internal):
6970 * x-dnd.el (x-get-selection-internal): Update declarations.
6971
6d216d7f
GM
6972 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6973
2bed3f04
GM
6974 * window.el (window-sides-slots):
6975 * tool-bar.el (tool-bar-position):
6976 * term/xterm.el (xterm-extra-capabilities):
6977 * ses.el (ses-self-reference-early-detection):
6978 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6979 (verilog-auto-wire-type)
6980 (verilog-auto-delete-trailing-whitespace)
6981 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6982 (verilog-auto-tieoff-declaration):
6983 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6984 (sql-oracle-statement-starters, sql-oracle-scan-on):
6985 * progmodes/prolog.el (prolog-align-comments-flag)
6986 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6987 (prolog-left-indent-regexp, prolog-paren-indent-p)
6988 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6989 (prolog-types, prolog-mode-specificators)
6990 (prolog-determinism-specificators, prolog-directives)
6991 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6992 (prolog-electric-dot-flag)
6993 (prolog-electric-dot-full-predicate-template)
6994 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6995 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6996 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6997 (prolog-program-switches, prolog-prompt-regexp)
6998 (prolog-debug-on-string, prolog-debug-off-string)
6999 (prolog-trace-on-string, prolog-trace-off-string)
7000 (prolog-zip-on-string, prolog-zip-off-string)
7001 (prolog-use-standard-consult-compile-method-flag)
7002 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7003 (prolog-imenu-max-lines, prolog-info-predicate-index)
7004 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7005 (prolog-char-quote-workaround):
7006 * progmodes/cc-vars.el (c-defun-tactic):
7007 * net/tramp.el (tramp-encoding-command-interactive)
7008 (tramp-local-end-of-line):
7009 * net/soap-client.el (soap-client):
7010 * net/netrc.el (netrc-file):
7011 * net/gnutls.el (gnutls):
7012 * minibuffer.el (completion-category-overrides)
7013 (completion-cycle-threshold)
7014 (completion-pcm-complete-word-inserts-delimiters):
7015 * man.el (Man-name-local-regexp):
7016 * mail/feedmail.el (feedmail-display-full-frame):
7017 * international/characters.el (glyphless-char-display-control):
7018 * eshell/em-ls.el (eshell-ls-date-format):
7019 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7020 (lisp-lambda-list-keyword-parameter-indentation)
7021 (lisp-lambda-list-keyword-parameter-alignment):
7022 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7023 * dired-x.el (dired-omit-verbose):
7024 * cus-theme.el (custom-theme-allow-multiple-selections):
7025 * calc/calc.el (calc-highlight-selections-with-faces)
7026 (calc-lu-field-reference, calc-lu-power-reference)
7027 (calc-note-threshold):
7028 * battery.el (battery-mode-line-limit):
7029 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7030 (archive-7z-update):
7031 * allout.el (allout-prefixed-keybindings)
7032 (allout-unprefixed-keybindings)
7033 (allout-inhibit-auto-fill-on-headline)
7034 (allout-flattened-numbering-abbreviation):
7035 * allout-widgets.el (allout-widgets-auto-activation)
7036 (allout-widgets-icons-dark-subdir)
7037 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7038 (allout-widgets-theme-dark-background)
7039 (allout-widgets-theme-light-background)
7040 (allout-widgets-item-image-properties-emacs)
7041 (allout-widgets-item-image-properties-xemacs)
7042 (allout-widgets-run-unit-tests-on-load)
7043 (allout-widgets-time-decoration-activity)
7044 (allout-widgets-hook-error-post-time)
7045 (allout-widgets-track-decoration):
7046 Add missing :version tags to new defcustoms and defgroups.
7047
5fec1b8e
GM
7048 * progmodes/sql.el (sql-ansi-statement-starters)
7049 (sql-oracle-statement-starters): Add custom type.
7050
3e0d2fa7
GM
7051 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7052 (prolog-system-version): Give it a type.
7053
90b671e2
EZ
70542012-02-11 Eli Zaretskii <eliz@gnu.org>
7055
7056 * term/pc-win.el (x-select-text, x-selection-owner-p)
7057 (x-own-selection-internal, x-disown-selection-internal)
7058 (x-get-selection-internal): Sync doc strings and argument lists
7059 with xselect.c, common-win.el and x-win.el. (Bug#10783)
7060
5eac0c02
LL
70612012-02-11 Leo Liu <sdl.web@gmail.com>
7062
7063 * progmodes/python.el (python-end-of-statement): Fix infinite
7064 loop. (Bug#10788)
7065
f82cb659
GM
70662012-02-10 Glenn Morris <rgm@gnu.org>
7067
7068 * international/mule-cmds.el (unify-8859-on-encoding-mode)
7069 (unify-8859-on-decoding-mode): Properly mark as obsolete.
7070
cc26d239
LI
70712012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
7072
7073 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7074 about SMTP before checking the From header.
7075
91027d08 7076 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
7077 into own function for reuse by emacsbug.el.
7078
1be3ca5a
LL
70792012-02-10 Leo Liu <sdl.web@gmail.com>
7080
7081 * subr.el (condition-case-unless-debug): Rename from
7082 condition-case-no-debug. All callers changed.
7083 (with-demoted-errors): Fix caller.
7084
7085 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7086 * nxml/rng-valid.el (rng-do-some-validation):
7087 * emacs-lisp/package.el (package-refresh-contents)
7088 (package-menu-execute):
7089 * desktop.el (desktop-create-buffer):
91027d08 7090 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 7091
b011fbfe
GM
70922012-02-10 Glenn Morris <rgm@gnu.org>
7093
b2096d72
GM
7094 * textmodes/bibtex.el:
7095 Add missing :version tags for new/changed defcustoms.
7096
b011fbfe
GM
7097 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7098
4c7e65bf
LI
70992012-02-09 Lars Ingebrigtsen <larsi@rusty>
7100
7101 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7102 (smtpmail-via-smtp): Use it, or fall back on the From address.
7103 (smtpmail-send-it): Ditto.
7104
f3934f6f
SM
71052012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7106
7107 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7108 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7109 (byte-compile-tmp-var): New const.
7110 (byte-compile-defvar): Use it to minimize .elc size.
7111 Just use `defvar' rather than simulate it (bug#10761).
7112
a075a2c5
GM
71132012-02-09 Glenn Morris <rgm@gnu.org>
7114
cf3aa21b
GM
7115 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7116
354998cd
GM
7117 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7118 Add :version tags.
7119
dc9924b8
SM
7120 * progmodes/compile.el (compilation-error-screen-columns)
7121 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 7122
dab3703d
GM
7123 * vc/log-view.el (log-view-toggle-entry-display):
7124 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7125
3f88cd72
GM
7126 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7127 (report-emacs-bug-can-use-xdg-email):
7128 (report-emacs-bug-insert-to-mailer): Doc fixes.
7129 (report-emacs-bug): Message fix.
7130
d95b247d
GM
7131 * net/browse-url.el (browse-url-can-use-xdg-open)
7132 (browse-url-xdg-open): Doc fixes.
7133
a075a2c5
GM
7134 * electric.el (electric-indent-mode, electric-pair-mode)
7135 (electric-layout-rules, electric-layout-mode): Doc fixes.
7136 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7137
ffb6157e
MR
71382012-02-08 Martin Rudalics <rudalics@gmx.at>
7139
7140 * server.el (server-unselect-display): Don't inadvertently kill
7141 the current buffer. (Bug#10729)
7142
e1ac4066
GM
71432012-02-08 Glenn Morris <rgm@gnu.org>
7144
34e8a2da
GM
7145 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7146 (sql-list-table): Doc fixes.
7147
b4ac6e8c
GM
7148 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7149 Comment out (does nothing).
7150
e1ac4066
GM
7151 * completion.el (dynamic-completion-mode):
7152 * dirtrack.el (dirtrack-debug-mode):
7153 * electric.el (electric-layout-mode):
7154 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7155 * face-remap.el (text-scale-mode, buffer-face-mode):
7156 * iimage.el (iimage-mode):
7157 * image-mode.el (image-transform-mode):
7158 * minibuffer.el (completion-in-region-mode):
7159 * scroll-lock.el (scroll-lock-mode):
7160 * simple.el (next-error-follow-minor-mode):
7161 * tar-mode.el (tar-subfile-mode):
7162 * tooltip.el (tooltip-mode):
7163 * vcursor.el (vcursor-use-vcursor-map):
7164 * wid-browse.el (widget-minor-mode):
7165 * emulation/tpu-edt.el (tpu-edt-mode):
7166 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7167 * international/iso-ascii.el (iso-ascii-mode):
7168 * language/thai-util.el (thai-word-mode):
7169 * mail/supercite.el (sc-minor-mode):
7170 * net/goto-addr.el (goto-address-mode):
7171 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7172 * progmodes/cwarn.el (cwarn-mode):
7173 * progmodes/flymake.el (flymake-mode):
7174 * progmodes/glasses.el (glasses-mode):
7175 * progmodes/hideshow.el (hs-minor-mode):
7176 * progmodes/pascal.el (pascal-outline-mode):
7177 * textmodes/enriched.el (enriched-mode):
7178 * vc/smerge-mode.el (smerge-mode):
7179 Doc fixes (minor mode argument).
7180
5e0d957f
EZ
71812012-02-07 Eli Zaretskii <eliz@gnu.org>
7182
7183 * ls-lisp.el (ls-lisp-sanitize): New function.
7184 (ls-lisp-insert-directory): Use it to fix or remove any elements
7185 in file-alist with missing attributes. (Bug#4673)
7186
98d7371e
AM
71872012-02-07 Alan Mackenzie <acm@muc.de>
7188
7189 Fix spurious recognition of c-in-knr-argdecl.
7190
7191 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7192 putative K&R region.
7193
667ced3a
AM
71942012-02-07 Alan Mackenzie <acm@muc.de>
7195
eb864a71
LM
7196 * progmodes/cc-engine.el (c-forward-objc-directive):
7197 Prevent looping in "#pragma mark @implementation".
667ced3a 7198
5b77774d
MA
71992012-02-07 Michael Albinus <michael.albinus@gmx.de>
7200
7201 * notifications.el (notifications-on-closed-signal): Make `reason'
7202 optional. (Bug#10744)
7203
af008560
GM
72042012-02-07 Glenn Morris <rgm@gnu.org>
7205
60d47423
GM
7206 * emacs-lisp/easy-mmode.el (define-minor-mode):
7207 Doc fixes for the macro and the mode it defines.
7208
dd605cc4
GM
7209 * image.el (imagemagick-types-inhibit): Doc fix.
7210
af008560
GM
7211 * cus-start.el (imagemagick-render-type): Add it.
7212
5cc59a37
LI
72132012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7214
4d6769e1
JB
7215 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7216 Set the default at load time, too, so that `font-lock-fontify-buffer'
7217 can be called without setting up the entire mode first. This fixes
7218 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 7219
9a6dd747
CY
72202012-02-06 Chong Yidong <cyd@gnu.org>
7221
2d16b285
CY
7222 * simple.el (list-processes--refresh): Delete exited processes
7223 (Bug#8094).
7224
171e9b6e
CY
7225 * comint.el (comint-next-prompt): next-single-char-property-change
7226 and prev-single-char-property-change never return nil (Bug#8657).
7227
9a6dd747
CY
7228 * custom.el (defcustom): Doc fix (Bug#9711).
7229
aa4589a7
CY
72302012-02-05 Chong Yidong <cyd@gnu.org>
7231
5c2a252f
CY
7232 * cus-edit.el (custom-variable-reset-backup): Quote the value
7233 before storing it in the customized-value property (Bug#6712).
4aab9006 7234 (custom-display): Add a customization type tag.
983b9602 7235 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7236
aa4589a7
CY
7237 * wid-edit.el (widget-field-value-get): New optional arg to
7238 suppress trailing whitespace truncation.
7239 (character): Use it (Bug#2689).
7240
1ff980ae
AS
72412012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7242
7243 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7244 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7245
03988c98
CY
72462012-02-05 Chong Yidong <cyd@gnu.org>
7247
eeb6cc88
CY
7248 * cus-edit.el (custom-variable-value-create): For mismatched
7249 types, show the current value (Bug#7600).
7250
03988c98
CY
7251 * custom.el (defcustom): Doc fix.
7252
f8cdeef0
GM
72532012-02-05 Glenn Morris <rgm@gnu.org>
7254
7255 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7256
0696d255
JB
72572012-02-05 Juanma Barranquero <lekktu@gmail.com>
7258
7259 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7260 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7261 (pp-last-sexp): Use `looking-at-p'.
7262
34c99998
GM
72632012-02-04 Glenn Morris <rgm@gnu.org>
7264
8f05da42
GM
7265 * files.el (revert-buffer):
7266 Doc fix (mention revert-buffer-in-progress-p).
7267
f160676e
GM
7268 * emacs-lisp/ert-x.el (ert-simulate-command):
7269 Check deferred-action-list (which is obsolete) is bound.
7270
c7291ad9
GM
7271 * subr.el (with-wrapper-hook): Doc fixes.
7272
34c99998
GM
7273 * simple.el (filter-buffer-substring-functions)
7274 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7275
6283a7d3
LL
72762012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7277
7278 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7279 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7280
e96e3013
LL
72812012-02-04 Leo Liu <sdl.web@gmail.com>
7282
7283 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7284
8ded50f2
GM
72852012-02-04 Glenn Morris <rgm@gnu.org>
7286
82ff1d13
GM
7287 * image.el (image-extension-data): Add obsolete alias.
7288
987a0a16
GM
7289 * isearch.el (isearch-update): Doc fix.
7290
ea32ef46
GM
7291 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7292
8ded50f2
GM
7293 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7294
eea14f31
GM
72952012-02-03 Glenn Morris <rgm@gnu.org>
7296
7297 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7298 (image-animate-timeout): Doc fix.
7299
7300 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7301
12f381b7
GM
73022012-02-02 Glenn Morris <rgm@gnu.org>
7303
953cebf5
GM
7304 * server.el (server-auth-dir): Doc fix.
7305 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7306
12f381b7
GM
7307 * subr.el (run-mode-hooks): Doc fix.
7308
953a8c3b
JL
73092012-02-02 Juri Linkov <juri@jurta.org>
7310
7311 * image-mode.el (image-toggle-display-image): Remove tautological
7312 `major-mode' from the `derived-mode-p' test.
7313
c5d3843c
KH
73142012-02-02 Kenichi Handa <handa@m17n.org>
7315
9f6e692e 7316 * composite.el (compose-region): Cancel previous change.
c5d3843c 7317
159462d4 73182012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7319
7320 * composite.el (compose-region, compose-string): Signal error for
7321 a null string component (Bug#6988).
7322
9f562668
CY
73232012-02-01 Chong Yidong <cyd@gnu.org>
7324
e2cef717
CY
7325 * view.el (view-buffer-other-window, view-buffer-other-frame):
7326 Handle special modes like view-buffer (Bug#10650).
7327 (view-buffer): Simplify.
7328
9f562668
CY
7329 * frame.el (set-frame-font): Tweak meaning of third argument.
7330
9f6e692e
JB
7331 * dynamic-setting.el (font-setting-change-default-font):
7332 Use set-frame-font (Bug#9982).
9f562668 7333
781acb9f
GM
73342012-02-01 Glenn Morris <rgm@gnu.org>
7335
6035be52
GM
7336 * progmodes/compile.el (compilation-internal-error-properties):
7337 Respect compilation-first-column in the "*compilation*" buffer.
7338
781acb9f
GM
7339 * emacs-lisp/easy-mmode.el (define-minor-mode):
7340 Relax :variable's test for a named function.
7341
abbceb00
AM
73422012-01-31 Alan Mackenzie <acm@muc.de>
7343
7344 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7345 off by one error.
7346
fce3fdeb
CY
73472012-01-31 Chong Yidong <cyd@gnu.org>
7348
7349 * frame.el (set-frame-font): New arg ALL-FRAMES.
7350
7351 * menu-bar.el (menu-set-font): Use set-frame-font.
7352
7353 * faces.el (face-spec-reset-face): Don't apply unspecified
7354 attribute values to the default face.
7355
47893581
JB
73562012-01-31 Juanma Barranquero <lekktu@gmail.com>
7357
7358 * progmodes/cwarn.el (cwarn): Remove dead link.
7359 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7360 Remove * from defcustom docstrings.
7361 (turn-on-cwarn-mode): Make obsolete.
7362 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7363 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7364
e58e988a
GM
73652012-01-31 Glenn Morris <rgm@gnu.org>
7366
60dc2671 7367 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7368 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7369 Allow named functions to be used as the cdr of :variable.
e58e988a 7370
7a3f511d
GM
73712012-01-30 Glenn Morris <rgm@gnu.org>
7372
7373 * emacs-lisp/authors.el (authors-fixed-entries):
7374 Remove reference to deleted file rnewspost.el.
7375
cb882333
JB
73762012-01-29 Juanma Barranquero <lekktu@gmail.com>
7377
7378 * window.el (window-with-parameter): Remove unused variable `windows'.
7379 (window--side-check): Remove unused variable `code'.
7380 (window--resize-siblings): Remove unused variable `first'.
7381 (adjust-window-trailing-edge): Remove unused variable `failed'.
7382 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7383 Use `let', not `let*'.
7384 (balance-windows-2): Remove unused variable `found'.
7385 (window--state-put-2): Remove unused variable `splits'.
7386 (window-state-put): Remove unused variable `selected'.
7387 (same-window-p): Use `string-match-p'.
7388 (display-buffer-assq-regexp): Remove unused variable `value'.
7389 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7390 Mark argument ALIST as ignored.
7391 (pop-to-buffer): Remove unused variable `old-window'.
7392
907201af
EZ
73932012-01-29 Eli Zaretskii <eliz@gnu.org>
7394
7395 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7396 and .lzma compressed files.
7397
ea162670
CY
73982012-01-29 Chong Yidong <cyd@gnu.org>
7399
5b95ee8a
CY
7400 * frame.el (window-system-default-frame-alist): Doc fix.
7401
ea162670
CY
7402 * dynamic-setting.el (font-setting-change-default-font): Don't
7403 change the default face if SET-FONT argument is non-nil (Bug#9982).
7404
d6e6f4b1
SB
74052012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7406
7407 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7408
0f29fa41 74092012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7410
7411 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7412 breakpoints in files outside current directory (Bug#6098).
7413
db174434
CY
74142012-01-29 Chong Yidong <cyd@gnu.org>
7415
6b25e4e2
SE
7416 * progmodes/python.el: Require ansi-color at top-level.
7417
6df6ae42
JB
7418 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7419 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7420 (lisp-mode-abbrev-table): Add doc.
7421 (lisp-mode-variables): Don't set local-abbrev-table.
7422 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7423
e70ee681
RW
74242012-01-28 Roland Winkler <winkler@gnu.org>
7425
7426 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7427
ace88aa2
RW
74282012-01-28 Roland Winkler <winkler@gnu.org>
7429
7430 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7431 (bibtex-set-dialect): Use it. Either set global values of
7432 dialect-dependent variables or bind these variables buffer-locally
7433 (Bug#10254).
7434 (bibtex-mode): Call bibtex-set-dialect via
7435 hack-local-variables-hook.
eb864a71
LM
7436 (bibtex-dialect): Update docstring.
7437 Add safe-local-variable predicate.
ace88aa2
RW
7438 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7439 bibtex-set-dialect.
7440 (bibtex-mode-map): Define menu for each dialect.
7441 (bibtex-entry): Fix docstring.
7442
93376c5b
CY
74432012-01-28 Chong Yidong <cyd@gnu.org>
7444
7445 * eshell/esh-arg.el (eshell-quote-argument): New function.
7446
7447 * eshell/esh-ext.el (eshell-invoke-batch-file):
7448 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7449 first arg to eshell-parse-command (Bug#10523).
7450
4372494f
DA
74512012-01-28 Drew Adams <drew.adams@oracle.com>
7452
7453 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7454 `default-directory' is non-nil.
7455
4d4ec1f8
EZ
74562012-01-28 Eli Zaretskii <eliz@gnu.org>
7457
7458 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7459 line that displays system-configuration-options. (Bug#9924)
7460
7c188927
DA
74612012-01-28 Drew Adams <drew.adams@oracle.com>
7462
7463 * descr-text.el (describe-char): Show information about POS, in
7464 addition to information about the character at POS. Improve and
7465 update the doc string. Change "code point" to "code point in
7466 charset", to avoid confusion with the character's Unicode code
7467 point shown above that. (Bug#10129)
7468
e0da685a
EZ
74692012-01-28 Eli Zaretskii <eliz@gnu.org>
7470
7471 * descr-text.el (describe-char): Show the raw character, not only
7472 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7473 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7474 for the reasons.
7475
70550acf
PH
74762012-01-28 Phil Hagelberg <phil@hagelb.org>
7477
eb864a71
LM
7478 * emacs-lisp/package.el (package-install):
7479 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7480
0ce8e868
CY
74812012-01-28 Chong Yidong <cyd@gnu.org>
7482
cb882333
JB
7483 * emacs-lisp/package.el (package-maybe-load-descriptor):
7484 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7485 (package-maybe-load-descriptor): Use it.
7486 (package-download-transaction): Fully load required packages
7487 inside the loop, so that `require' calls work (Bug#10593).
7488 (package-install): No need to call package-initialize now.
7489
2e7f3bea
CY
74902012-01-28 Chong Yidong <cyd@gnu.org>
7491
6e9bad14
CY
7492 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7493
f823b8ca
CY
7494 * tooltip.el (tooltip-mode): Doc fix.
7495 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7496
2680c309
CY
7497 * frame.el (set-cursor-color): Doc fix (Bug#352).
7498
d7a9e63b
CY
7499 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7500 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7501
2e7f3bea
CY
7502 * cus-edit.el (custom-buffer-create-internal): Fix search button
7503 action (Bug#10542).
2ae01800 7504 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7505
fc4f7a23
EW
75062012-01-27 Eduard Wiebe <usenet@pusto.de>
7507
7508 * dired.el (dired-mark-files-regexp):
7509 Include any subdirectory components. (Bug#10445)
7510
7dd37071
ML
75112012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7512
7513 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7514 Handle [host]:port syntax. (Bug#10533)
7515
a268160b
AH
75162012-01-27 Alex Harsanyi <harsanyi@mac.com>
7517
7518 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7519
e43273ef
GM
75202012-01-26 Glenn Morris <rgm@gnu.org>
7521
7522 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7523 * term.el (term-raw-escape-map): Use Control-X-prefix.
7524 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7525
1edf595d
MR
75262012-01-25 Martin Rudalics <rudalics@gmx.at>
7527
7528 * window.el (window-state-get, window--state-get-1): Don't deal
7529 with fixed-sizeness of windows. Simplify code.
7530
fa8eafef
JC
75312012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7532
6df6ae42
JB
7533 * window.el (window--state-get-1, window--state-put-2):
7534 Don't save and restore the mark.
fa8eafef 7535
0b21c100
CY
75362012-01-25 Chong Yidong <cyd@gnu.org>
7537
7538 * custom.el (custom-variable-p): Doc fix.
7539
5ae1a6c8
GM
75402012-01-25 Glenn Morris <rgm@gnu.org>
7541
40047858
GM
7542 * dired.el (dired-goto-file): Handle some of the more common
7543 characters that `ls -b' escapes. (Bug#10596)
7544
5ddce96c
GM
7545 * progmodes/compile.el (compilation-next-error-function):
7546 Respect compilation-first-column in the "*compilation*" buffer.
7547 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7548
5ae1a6c8
GM
7549 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7550
b559f1a9
GM
75512012-01-24 Glenn Morris <rgm@gnu.org>
7552
7553 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7554
6725d21a
JD
75552012-01-24 Julien Danjou <julien@danjou.info>
7556
7557 * color.el (color-rgb-to-hsl): Fix value computing.
7558 (color-hue-to-rgb): New function.
7559 (color-hsl-to-rgb): New function.
7560 (color-clamp, color-saturate-hsl, color-saturate-name)
7561 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7562 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7563
70df4bbe
GM
75642012-01-24 Glenn Morris <rgm@gnu.org>
7565
7566 * vc/vc-rcs.el (vc-rcs-create-tag):
7567 * vc/vc-sccs.el (vc-sccs-create-tag):
7568 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7569
802a2ae2
ML
75702012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7571
7572 * eshell/esh-util.el (eshell-read-hosts-file):
7573 Skip comment lines. (Bug#10549)
7574
d7128bb1
ML
7575 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7576
d1a5c3b4
JB
75772012-01-23 Juanma Barranquero <lekktu@gmail.com>
7578
2724d9c7
JB
7579 * subr.el (display-delayed-warnings): Doc fix.
7580 (collapse-delayed-warnings): New function to collapse identical
7581 adjacent warnings.
7582 (delayed-warnings-hook): Add it.
d1a5c3b4 7583
a5509865
MA
75842012-01-22 Michael Albinus <michael.albinus@gmx.de>
7585
7586 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7587
a5509865
MA
7588 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7589 (tramp-default-user-alist): Don't add "pscp".
7590 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7591 property "login-as", if set. (Bug#10530)
7592
cc6d5805
MA
75932012-01-21 Michael Albinus <michael.albinus@gmx.de>
7594
7595 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7596 "plink1" and "psftp". (Bug#10530)
7597
75982012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7599
7600 * international/mule-cmds.el (prefer-coding-system): Show a
7601 warning message if the default value of file-name-coding-system
7602 was not changed.
7603
f0960428
JC
76042012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7605
cb882333
JB
7606 * windmove.el (windmove-reference-loc):
7607 Fix windmove-reference-loc miscalculation.
f0960428 7608
dd6f2a63
JB
76092012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7610
7611 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7612 default unit.
7613
7b447e9b
GM
76142012-01-21 Glenn Morris <rgm@gnu.org>
7615
117a9ea1
GM
7616 * international/mule.el (auto-coding-alist): Add .tbz.
7617
7b447e9b
GM
7618 * files.el (local-enable-local-variables): Doc fix.
7619 (inhibit-local-variables-regexps): Rename from
7620 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7621 Doc fix. Add some extensions from auto-coding-alist.
7622 (inhibit-local-variables-suffixes):
7623 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7624 (inhibit-local-variables-p):
7625 New function, extracted from set-auto-mode-1.
7626 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7627 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7628 (hack-local-variables): Doc fix. Make the mode-only case
7629 respect enable-local-variables and friends.
7630 Respect inhibit-local-variables-regexps for file-locals, but
7631 not for directory-locals.
7632 (set-visited-file-name):
7633 Take account of inhibit-local-variables-regexps.
7634 Whether it applies may change as the file name is changed.
7635 * jka-cmpr-hook.el (jka-compr-install):
7636 * jka-compr.el (jka-compr-uninstall):
7637 Update for inhibit-first-line-modes-suffixes name change.
7638
dd6e3cdd
MR
76392012-01-20 Martin Rudalics <rudalics@gmx.at>
7640
7641 * help-macro.el (make-help-screen): Temporarily restore original
7642 binding for minor-mode-map-alist (Bug#10454).
7643
0d0deb38
JD
76442012-01-19 Julien Danjou <julien@danjou.info>
7645
7646 * color.el (color-name-to-rgb): Use the white color to find the max
7647 color component value and return correctly computed values.
7648 (color-name-to-rgb): Add missing float conversion for max value.
7649
34a02f46
MR
76502012-01-19 Martin Rudalics <rudalics@gmx.at>
7651
7652 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7653 special state value for window-persistent-parameters.
7654 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7655 (window--state-put-2): Reset all window parameters to nil before
7656 assigning values of persistent parameters.
7657
606c44c4
AM
76582012-01-18 Alan Mackenzie <acm@muc.de>
7659
7660 Eliminate sluggishness and hangs in fontification of "semicolon
7661 deserts".
7662
cb882333
JB
7663 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7664 Change value 10000 -> 3000.
606c44c4
AM
7665 (c-state-safe-place): Reformulate so it doesn't stack up an
7666 infinite number of wrong entries in c-state-nonlit-pos-cache.
7667 (c-determine-limit-get-base, c-determine-limit): New functions to
7668 determine backward search limits disregarding literals.
7669 (c-find-decl-spots): Amend commenting.
7670 (c-cheap-inside-bracelist-p): New function which detects "={".
7671
7672 * progmodes/cc-fonts.el
7673 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7674 backward search.
7675 (c-font-lock-declarations): Fix an occurrence of point being
7676 undefined. Check additionally for point being in a bracelist or
7677 near a macro invocation without a semicolon so as to avoid a
7678 fruitless time consuming search for a declarator. Give a more
7679 precise search limit for declarators using the new
7680 c-determine-limit.
7681
f3860cea
GM
76822012-01-18 Glenn Morris <rgm@gnu.org>
7683
7684 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7685 (set-auto-mode): Doc fixes.
7686
1db03b16
GM
76872012-01-17 Glenn Morris <rgm@gnu.org>
7688
0e6038be
GM
7689 * isearch.el (search-nonincremental-instead): Fix doc typo.
7690
1db03b16
GM
7691 * dired.el (dired-insert-directory): Handle newlines in directory name.
7692 (dired-build-subdir-alist): Unescape newlines in directory name.
7693
4cb0aa75
MA
76942012-01-17 Michael Albinus <michael.albinus@gmx.de>
7695
7696 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7697 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7698 (tramp-action-terminal): Use it. (Bug#10530)
7699
1d00653d
SM
77002012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7701
7702 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7703
6a6ee00d
MR
77042012-01-16 Martin Rudalics <rudalics@gmx.at>
7705
7706 * window.el (window-state-ignored-parameters): Remove variable.
7707 (window--state-get-1): Rename argument MARKERS to IGNORE.
7708 Handle persistent window parameters. Make copy of clone-of
7709 parameter only if requested. (Bug#10348)
7710 (window--state-put-2): Install a window parameter only if it has
7711 a non-nil value or an existing parameter shall be overwritten.
7712
97912def
MA
77132012-01-15 Michael Albinus <michael.albinus@gmx.de>
7714
7715 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7716
688070a5
EZ
77172012-01-14 Eli Zaretskii <eliz@gnu.org>
7718
7719 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7720 don't pass the (nil) value of `upnode' to string-match.
7721
301afadc
CY
77222012-01-14 Chong Yidong <cyd@gnu.org>
7723
7724 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7725 Fix values recognized by the cursorBlink resource.
301afadc 7726
9e5788aa
PE
77272012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7728
7729 * epg.el (epg--make-temp-file): Avoid permission race condition
7730 when running on old Emacs versions (bug#10403).
7731
3cdb7f5a
GM
77322012-01-14 Glenn Morris <rgm@gnu.org>
7733
7734 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7735
8c82b1b4
AM
77362012-01-13 Alan Mackenzie <acm@muc.de>
7737
7738 Fix filling for when filladapt mode is enabled.
7739
7740 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7741 c-mask-paragraph, pass in `fill-paragraph' rather than
7742 `fill-region-as-paragraph'. (This is a reversion of a previous
7743 change.)
eb864a71
LM
7744 * progmodes/cc-mode.el (c-basic-common-init):
7745 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7746
e517eda4
GM
77472012-01-13 Glenn Morris <rgm@gnu.org>
7748
1498536e
GM
7749 * dired.el (dired-switches-escape-p): New function.
7750 (dired-insert-directory): Use dired-switches-escape-p.
7751 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7752
e517eda4
GM
7753 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7754
328f984d
GM
77552012-01-12 Glenn Morris <rgm@gnu.org>
7756
7757 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7758 changes in adaptive-fill-regexp. (Bug#10276)
7759
2cc769a8
AM
77602012-01-11 Alan Mackenzie <acm@muc.de>
7761
7762 Fix Emacs bug #10463 - put `widen's around the critical spots.
7763
1d00653d 7764 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7765 widen around each invocation of c-state-pp-to-literal. Remove an
7766 unused let variable.
7767
e52c37fa
GM
77682012-01-11 Glenn Morris <rgm@gnu.org>
7769
7770 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7771 Doc fix.
e52c37fa 7772
96f8741e
CY
77732012-01-10 Chong Yidong <cyd@gnu.org>
7774
1d00653d
SM
7775 * net/network-stream.el (network-stream-open-starttls):
7776 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7777 response to the capability command.
7778
b09a806e
GM
77792012-01-10 Glenn Morris <rgm@gnu.org>
7780
7781 * mail/unrmail.el (unrmail): Tweak previous change.
7782
7655cb66
CY
77832012-01-09 Chong Yidong <cyd@gnu.org>
7784
7785 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7786
9d5a8f0b
AM
77872012-01-08 Alan Mackenzie <acm@muc.de>
7788
7789 Optimise font locking in long enum definitions.
7790
7791 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7792 arm to a cond form to handle enums.
7793 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7794 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7795
9a0115ab 77962012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7797
7798 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7799 (Bug#10401)
6bb72cbd 7800
f186bb95
LMI
78012012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7802
29232a68
LMI
7803 * faces.el (set-face-attribute): Clarify the meaning of the nil
7804 frame (bug#10294).
7805
4e5d086d
LMI
7806 * subr.el (with-selected-frame): Mention that the selected frame
7807 is restored (bug#9980).
7808
8e66aebe
LMI
7809 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7810 (bug#9759).
7811
cd394be1 7812 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7813 (password-read): Don't autoload unused function.
7814
adf4e762
JB
78152012-01-07 Juanma Barranquero <lekktu@gmail.com>
7816
7817 * progmodes/which-func.el (which-func-mode): Turn into a
7818 non-interactive function and mark as obsolete (bug#10428).
7819
89bd9ccd
CY
78202012-01-06 Chong Yidong <cyd@gnu.org>
7821
7822 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7823 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7824 functions, along with 1 and -1.
7825
4afee9d5
EZ
78262012-01-06 Eli Zaretskii <eliz@gnu.org>
7827
7828 * time.el (display-time-load-average)
7829 (display-time-default-load-average): Doc fixes. See the thread
7830 starting at
7831 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7832 for the details.
7833
536aea70
GM
78342012-01-06 Glenn Morris <rgm@gnu.org>
7835
665ae865
GM
7836 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7837 has no messages. (Bug#10377)
7838
c869783d
GM
7839 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7840 than Info-edit. (Bug#10385)
7841
2bb4227e
GM
7842 * time.el (display-time-load-average, display-time-next-load-average):
7843 Doc fixes.
7844
7d5944b9
GM
7845 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7846 local setting of buffer-read-only to the input buffer. (Bug#10419)
7847
536aea70
GM
7848 * calendar/calendar.el (calendar-mode):
7849 Locally set scroll-margin to 0. (Bug#10379)
7850
7dccca16
UM
78512012-01-06 Ulrich Mueller <ulm@gentoo.org>
7852
7853 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7854
afbb7930
GM
78552012-01-05 Glenn Morris <rgm@gnu.org>
7856
7857 * eshell/em-unix.el (diff-no-select): Autoload it.
7858 (eshell/diff): Use diff-no-select. (Bug#10420)
7859
04482335
CY
78602012-01-05 Chong Yidong <cyd@gnu.org>
7861
7baca3bc
CY
7862 * shell.el (shell-dynamic-complete-functions): Revert last change.
7863 (shell-command-completion-function): New function.
7864 (shell-completion-vars): Use it to implement
7865 shell-completion-execonly (Bug#10417).
7866
04482335
CY
7867 * custom.el (enable-theme): Don't set custom-safe-themes.
7868
1d00653d
SM
7869 * cus-theme.el (custom-theme-merge-theme):
7870 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7871
bb5aa5d6
MM
78722012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7873
7874 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7875 first prompt in `sql-interacive-mode'.
7876 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7877 keywords.
6df6ae42 7878 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7879 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7880 context of original buffer. Invoke `sql-login-hook'.
7881
a7183d7c
EZ
78822012-01-04 Eli Zaretskii <eliz@gnu.org>
7883
7884 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7885 letters in cite-prefix.
7886
a1eacd1e
LMI
78872012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7888
7889 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7890
787cdb34
CY
78912012-01-03 Chong Yidong <cyd@gnu.org>
7892
1d00653d
SM
7893 * shell.el (shell-dynamic-complete-functions):
7894 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7895 comint-filename-completion first (Bug#10417).
7896
30710442
RS
78972012-01-02 Richard Stallman <rms@gnu.org>
7898
7899 * battery.el (battery-status-function):
7900 Detect when to use battery-yeeloong-sysfs.
7901 (battery-echo-area-format): Add string for Yeeloong.
7902 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7903 (battery-yeeloong-sysfs): New function.
7904
f75bfc33
CY
79052012-01-02 Chong Yidong <cyd@gnu.org>
7906
7907 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7908 (dirtrack): Merge code for handling relative filenames in prompt
7909 from shell-dir-cookie-watcher.
7910 (dirtrack-debug-message): New arg to avoid excess format calls.
7911
7912 * shell.el (shell-dir-cookie-re): Variable deleted.
7913 (shell-dir-cookie-watcher): Function deleted.
7914 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7915 with dirtrack-mode.
7916
651e947e
EZ
79172012-01-01 Eli Zaretskii <eliz@gnu.org>
7918
1d00653d
SM
7919 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7920 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7921 libgnutls-26.dll.
7922
94d4c7dc
AS
79232011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7924
7925 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7926
8d43f3cd
EZ
79272011-12-31 Eli Zaretskii <eliz@gnu.org>
7928
7929 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7930 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7931
98c8795a
MA
79322011-12-29 Michael Albinus <michael.albinus@gmx.de>
7933
7934 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7935 also for alternative shells.
7936 (tramp-open-connection-setup-interactive-shell): Check, whether
7937 the shell is a busybox.
7938 (tramp-send-command): Don't suppress multiple prompts for
7939 busyboxes, it hurts.
7940
51281b32
CY
79412011-12-28 Chong Yidong <cyd@gnu.org>
7942
7943 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7944 (gdb-get-source-file): Move mode line update to
7945 gdb-get-source-file (Bug#10087).
7946
2170cb53
CY
79472011-12-25 Chong Yidong <cyd@gnu.org>
7948
7949 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7950 gud-gdb-marker-filter without taking it as an argument.
7951 (gud-gdb-run-command-fetch-lines): Caller changed.
7952 (gud-gdb-completion-function): New variable.
7953 (gud-gdb-completion-at-point): Use it.
7954 (gud-gdb-completions-1): Split from gud-gdb-completions.
7955
7956 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7957 function as separate arguments.
7958 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7959 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7960 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7961 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7962 (gdb-stopped, def-gdb-auto-update-trigger)
7963 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7964 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7965 Callers changed.
2170cb53
CY
7966 (gud-gdbmi-completions): New function.
7967 (gdb): Use it for generating the completion table.
7968
be8b11bb
AM
79692011-12-24 Alan Mackenzie <acm@muc.de>
7970
7971 Introduce a mechanism to widen the region used in context font
1d00653d 7972 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7973
1d00653d
SM
7974 * progmodes/cc-langs.el (c-before-font-lock-functions):
7975 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7976 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7977 functions to be run just before context (etc.) font locking.
7978
7979 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7980 New, functionality extracted from
be8b11bb 7981 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7982 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7983 (c-after-change): Set c-in-after-change-fontification.
7984 (c-set-fl-decl-start): Rejig its interface, so it can be called
7985 from both after-change and context fontifying.
b81d40f0
JB
7986 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7987 New functions.
7988 (c-standard-font-lock-fontify-region-function): New variable.
7989 (c-font-lock-fontify-region): New function.
be8b11bb 7990
341cf6ac
JL
79912011-12-24 Juri Linkov <juri@jurta.org>
7992
7993 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7994 (Bug#10348)
7995
bffcee0a
MA
79962011-12-23 Michael Albinus <michael.albinus@gmx.de>
7997
7998 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7999 existence of source file. (Bug#10325)
8000
cb5e207c
AM
80012011-12-23 Alan Mackenzie <acm@muc.de>
8002
8003 Fix unstable fontification inside templates.
8004
b81d40f0
JB
8005 * progmodes/cc-langs.el (c-before-font-lock-functions):
8006 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
8007 additionally has c-set-fl-decl-start. The other languages (apart
8008 from AWK) have that as a single entry.
8009
b81d40f0
JB
8010 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8011 The functionality for "local" declarations has been extracted to
cb5e207c
AM
8012 c-set-fl-decl-start.
8013
b81d40f0
JB
8014 * progmodes/cc-mode.el (c-common-init, c-after-change):
8015 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
8016 (c-set-fl-decl-start): New function, extracted from
8017 c-font-lock-enclosing-decls and enhanced.
8018
60ff536c
JB
80192011-12-23 Juanma Barranquero <lekktu@gmail.com>
8020
8021 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8022
1c4757d6
JL
80232011-12-22 Juri Linkov <juri@jurta.org>
8024
8025 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
8026
d031f2c7
CY
80272011-12-22 Chong Yidong <cyd@gnu.org>
8028
8029 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8030
bace743a
DA
80312011-12-21 Drew Adams <drew.adams@oracle.com>
8032
8033 * files.el (file-remote-p): Fix docstring. (Bug#10319)
8034
728a1f2b
JC
80352011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8036
8037 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8038
0d373f73
TZ
80392011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
8040
fec0aaa4
TZ
8041 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
8042 highlighting and support. Fix up comments for capitalization.
8043 (cfengine-mode-debug): New var.
8044 (cfengine3-mode): Change the modeline indicator to "CFE3".
8045 (cfengine3-font-lock-keywords): Improve defun highlighting.
8046 (cfengine2-actions): Rename from `cfengine-actions'.
8047 (cfengine2-font-lock-keywords): Rename from
8048 `cfengine-font-lock-keywords'.
8049 (cfengine2-imenu-expression): Rename from
8050 `cfengine-imenu-expression'.
8051 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8052 (cfengine2-beginning-of-defun): Rename from
8053 `cfengine-beginning-of-defun'.
8054 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8055 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8056 (cfengine2-mode): Rename from `cfengine-mode'. Change the
8057 modeline indicator to "CFE2".
8058 (cfengine-mode): Defalias to `cfengine-auto-mode'.
8059 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 8060
bc86f573
CY
80612011-12-21 Chong Yidong <cyd@gnu.org>
8062
8063 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8064 filename argument.
8065
d45ba96b
MR
80662011-12-20 Martin Rudalics <rudalics@gmx.at>
8067
8068 * window.el (window-normalize-buffer-to-display): Remove.
8069 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8070
a6198c90
CY
80712011-12-19 Chong Yidong <cyd@gnu.org>
8072
8073 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8074 Don't signal an error in a predicate function; return non-nil.
8075 (vc-dir-mark-file): Move the error here.
8076 (vc-dir-mark-unmark): If acting on the region, keep going if one
8077 of the entries cannot be marked/unmarked.
8078 (vc-dir-mark-all-files): If current entry is a directory, mark
8079 only child files, as documented.
8080
34c5fb55
VB
80812011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
8082
8083 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8084 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8085 addition.
8086
c803b2b7
JD
80872011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8088
8089 * term/ns-win.el (ns-get-selection-internal)
8090 (ns-store-selection-internal): Declare.
1154d12e
JB
8091 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8092 Declare as obsolete.
8093 (ns-get-pasteboard, ns-paste-secondary):
8094 Use ns-get-selection-internal.
8095 (ns-set-pasteboard, ns-copy-including-secondary):
8096 Use ns-store-selection-internal.
c803b2b7 8097
9cff91f8 80982011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
8099
8100 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 8101 (vc-deduce-fileset): Doc fix.
99a289d9 8102
f16c898a
AS
81032011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8104
8105 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8106
763237c4
SS
81072011-12-13 Sam Steingold <sds@gnu.org>
8108
8109 * man.el (Man-getpage-in-background): When running under a
8110 window-system, ignore $MANWIDTH and $COLUMNS.
8111
5fc1c122
KH
81122011-12-15 Kenichi Handa <handa@m17n.org>
8113
8114 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8115 (setup-ethiopic-environment-internal): Comment out key-binding for
8116 ethio-toggle-punctuation.
8117
13d49cbb
AM
81182011-12-13 Alan Mackenzie <acm@muc.de>
8119
898169a2
AM
8120 Add the switch statement to AWK Mode.
8121
7a71b18d 8122 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
8123 "default" to the keywords regexp.
8124
7a71b18d 8125 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 8126 expression as the rest.
1d00653d
SM
8127 (c-nonlabel-token-key): Allow string literals for AWK.
8128 Refactor for the other modes.
898169a2 8129
13d49cbb 8130 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 8131 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
8132 routines. Limit backward searching in c-font-lock-enclosing.decl.
8133
8134 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8135 pp-state and literal type in addition to the limits.
1d00653d 8136 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 8137 (c-state-literal-at): Use the above new defun.
1d00653d
SM
8138 (c-slow-in-literal, c-fast-in-literal): Remove.
8139 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
8140
8141 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8142 being in a literal. Add a limit for backward searching.
8143
8144 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8145 c-slow-in-literal.
8146
15e0efc7
SM
81472011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8148
8149 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8150
454592a6
MR
81512011-12-13 Martin Rudalics <rudalics@gmx.at>
8152
8153 * window.el (delete-other-windows): Use correct frame in call to
8154 window-with-parameter.
8155
87393f26
DP
81562011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8157
8158 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8159 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8160 (makefile-gmake-statements, makefile-makepp-statements):
8161 Use it and add new makepp keywords.
8162 (makefile-makepp-font-lock-keywords): Add new patterns.
8163 (makefile-match-function-end): Match new [...] and [[...]].
8164
11636b22
JB
81652011-12-11 Juanma Barranquero <lekktu@gmail.com>
8166
8167 * ses.el (ses-call-printer-return, ses-cell-property-get)
8168 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8169 (ses-create-cell-variable, ses-reset-header-string)
8170 (ses-cell-set-formula, ses-repair-cell-reference-all)
8171 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8172 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8173 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8174 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8175 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8176 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8177 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8178 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8179 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8180 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8181 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8182 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8183
cf018193
VB
81842011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
8185
8186 * ses.el: The overall change is to add cell renaming, that is
8187 setting fancy names for cell symbols other than name matching
8188 "\\`[A-Z]+[0-9]+\\'" regexp .
8189 (ses-create-cell-variable): New defun.
8190 (ses-relocate-formula): Relocate formulas only for cells the
8191 symbols of which are not renamed, i.e. symbols whose names do not
8192 match regexp "\\`[A-Z]+[0-9]+\\'".
8193 (ses-relocate-all): Relocate values only for cells the symbols of
8194 which are not renamed.
8195 (ses-load): Create cells variables as the (ses-cell ...) are read,
8196 in order to check row col consistency with cell symbol name only
8197 for cells that are not renamed.
8198 (ses-replace-name-in-formula): New defun.
8199 (ses-rename-cell): New defun.
8200
ee957461
CY
82012011-12-11 Chong Yidong <cyd@gnu.org>
8202
8203 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8204 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8205
9a9e9ef0
MR
82062011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8207
8208 * window.el (other-window): Fix docstring.
8209
92a8eba5
EZ
82102011-12-10 Eli Zaretskii <eliz@gnu.org>
8211
8212 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
8213 `from' or `to' address before taking its substring.
8214 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
8215 encoded name is chopped in the middle of the encoded string, and
8216 thus displayed encoded.
8217
e152e577
JB
82182011-12-10 Juanma Barranquero <lekktu@gmail.com>
8219
8220 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8221
e5d84bfe
EZ
82222011-12-10 Eli Zaretskii <eliz@gnu.org>
8223
8224 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8225 to use texinfo-update-node and commands that call it if the
8226 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8227 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8228 (texinfo-all-menus-update, texinfo-master-menu)
8229 (texinfo-update-node, texinfo-every-node-update)
8230 (texinfo-multiple-files-update): Doc fix. Warn against updating
8231 all the @node lines.
8232 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8233 argument is numeric. Explain better in the doc string what the
8234 function really does.
8235 (texinfo-insert-master-menu-list): Improve the error message
8236 displayed if there's no menu in the Top node.
8237 (Bug#2975) See also this thread:
e5d84bfe
EZ
8238 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8239
1d84e9bb
MG
82402011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8241
8242 * speedbar.el (speedbar-supported-extension-expressions):
8243 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8244
382c953b
JB
82452011-12-09 Juanma Barranquero <lekktu@gmail.com>
8246
8247 * printing.el (pr-mode-alist):
8248 * simple.el (filter-buffer-substring-functions)
8249 (completion-list-insert-choice-function):
8250 * window.el (window-with-parameter, window-atom-root)
8251 (window-sides-slots, window-size-fixed, window-min-delta)
8252 (window-max-delta, window--resize-mini-window)
8253 (window--resize-child-windows-normal, window-tree)
8254 (delete-other-windows, quit-window, split-window)
8255 (display-buffer-record-window, special-display-buffer-names)
8256 (special-display-regexps, special-display-popup-frame)
8257 (same-window-p, split-window-sensibly)
8258 (display-buffer-overriding-action, display-buffer-alist)
8259 (display-buffer-base-action, display-buffer, switch-to-buffer)
8260 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8261 (fit-window-to-buffer, recenter-positions)
8262 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8263 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8264 and remove unneeded backslashes in docstrings.
8265
39c9faef
SM
82662011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8267
98449af8
SM
8268 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8269
39c9faef
SM
8270 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8271 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8272 end in ".mk".
8273 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8274 when reading the makefile (bug#10116).
8275
86ed9fdc
SM
82762011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8277
8278 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8279 (bug#10116).
8280
5580f89d
GM
82812011-12-06 Glenn Morris <rgm@gnu.org>
8282
8283 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8284
28d3917c
CY
82852011-12-06 Chong Yidong <cyd@gnu.org>
8286
8287 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8288
a98edce9
JB
82892011-12-06 Juanma Barranquero <lekktu@gmail.com>
8290
8291 * textmodes/table.el (table-shorten-cell): Fix typo.
8292
e65adfac
CG
82932011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8294
8295 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8296
71cc0b74
EZ
82972011-12-05 Eli Zaretskii <eliz@gnu.org>
8298
8299 * descr-text.el (describe-char): Fix display of strong
8300 right-to-left characters and directional embeddings and overrides.
8301
8302 * simple.el (what-cursor-position): Fix display of codepoints of
8303 strong right-to-left characters.
8304
315bc30d
CY
83052011-12-05 Chong Yidong <cyd@gnu.org>
8306
8307 * faces.el (read-color): Doc fix.
8308
58a70b94
GM
83092011-12-05 Glenn Morris <rgm@gnu.org>
8310
8311 * align.el (align--set-marker): Add doc-string.
8312 Don't try to move something that is not a marker. (Bug#10216)
8313
5158face
GM
83142011-12-04 Glenn Morris <rgm@gnu.org>
8315
8316 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8317 overly zealous deletion of trailing whitespace.
8318
520fca41
JB
83192011-12-04 Juanma Barranquero <lekktu@gmail.com>
8320
8321 * server.el (server-delete-client): On Windows, do not try to delete
8322 the only terminal.
8323 (server-process-filter): On Windows, treat requests for a tty frame as
8324 if they were for a GUI frame if the running server is in GUI mode.
8325
5e605a2e
GM
83262011-12-03 Glenn Morris <rgm@gnu.org>
8327
8328 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8329
5c3fe83f
SM
83302011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8331
6f5e57e7
SM
8332 * electric.el: Streamline electric-indent's hook.
8333 (electric-indent-chars): Revert to simple list.
8334 (electric-indent-functions): New var.
8335 (electric-indent-post-self-insert-function): Use it.
8336
5c3fe83f
SM
8337 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8338 there's no inferior buffer (bug#10196).
8339 (prolog-consult-compile): Don't use toggle-read-only.
8340
6bdac736
MA
83412011-12-02 Michael Albinus <michael.albinus@gmx.de>
8342
8343 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8344 interrupt. (Bug#10187)
8345
6131ba7f
SM
83462011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8347
99c79fee
SM
8348 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8349 (bug#9160).
8350
6131ba7f
SM
8351 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8352 (bug#10191).
8353
cb0a02ea
JL
83542011-12-02 Juri Linkov <juri@jurta.org>
8355
8356 * info.el (Info-search): Display "end of manual" when Isearch
8357 reaches the end of single-file Info manual. (Bug#9918)
8358
66e0570c
EZ
83592011-12-02 Eli Zaretskii <eliz@gnu.org>
8360
8361 * isearch.el (isearch-message-prefix): Run the input method part
8362 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8363
02b16839
JL
83642011-12-02 Juri Linkov <juri@jurta.org>
8365
8366 * isearch.el (isearch-occur): Use `word-search-regexp' for
8367 `isearch-word'.
8368 (isearch-search-and-update): Add condition for `isearch-word' and
8369 call `word-search-regexp'. (Bug#10145)
8370
0b950688
GM
83712011-12-01 Glenn Morris <rgm@gnu.org>
8372
8373 * eshell/em-hist.el (eshell-hist-initialize):
8374 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8375 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8376
9505c3c7
SM
83772011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8378
8379 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8380
1bbe96b2 83812011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8382
a1beca85
SM
8383 * progmodes/verilog-mode.el (verilog-pretty-expr):
8384 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8385 verilog, such as += *= and the like.
8386 (verilog-assignment-operator-re): Regular expression to find the
8387 assigment operator in a verilog assignment.
8388 (verilog-assignment-operation-re): Regular expression to find an
8389 assignment statement for pretty-expr.
8390 (verilog-in-attribute-p): Query returns true if point is in an
8391 attribute context; used to skip these for expression line up from
8392 pretty-expr.
8393 (verilog-in-parameter-p): Query returns true if point is in an
8394 parameter definition context; used to skip these for expression
8395 line up from pretty-expr.
8396 (verilog-in-parenthesis-p): Query returns true if point is in a
8397 parenthetical expression, specifically ( ) but not [ ] or { };
8398 used by pretty-expr.
8399 (verilog-just-one-space): If there is no space, don't add one.
8400 (verilog-get-lineup-indent-2): Specifically skip just attribute
8401 contexts for expression lineup, rather than skipping all
8402 parenthetical expressions.
8403 (verilog-calculate-indent): Fix comment, and fix indent.
8404 (verilog-do-indent): Indent declarations in lists (suggested by
8405 Joachim Lechner).
8406 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8407 skeleton items.
8408 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8409 by Alain Mellan).
8410
1bbe96b2 84112011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8412
8413 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8414 parameters with embedded comments. Reported by Ray Stevens.
8415 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8416 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8417 Reported by Tim Holt.
8418 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8419 instantiated by upper module causing wrong expansion until AUTOed a
8420 second time. Reported by K C Buckenmaier.
8421 (verilog-diff-auto): Fix showing .* as a difference when
8422 `verilog-auto-star-save' off. Reported by Dan Dever.
8423 (verilog-auto-reset, verilog-read-always-signals)
8424 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8425 temporary signals in reset list if
8426 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8427 style to each signal's assignment type, bug381.
8428 Reported by Thomas Esposito.
6288f0ca
WS
8429 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8430 (verilog-uvm-statement-re): Support UVM indentation and
8431 highlighting, with old OVM keywords only.
a1beca85 8432 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8433 Support AUTOTIEOFF creating non-wire data types.
8434 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8435 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8436 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8437 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8438 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8439 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8440 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8441 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8442 non-numeric vector width. Reported by Alex Reed.
8443 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8444 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8445 (verilog-auto-delete-trailing-whitespace):
8446 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8447 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8448 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8449 Fix verilog-scan-cache corruption when running user AUTO expansion
8450 hooks that call indentation routines.
8451 (verilog-simplify-range-expression): Fix typo ignoring lower case
8452 identifiers.
8453 (verilog-delete-auto): Fix delete-autos to also remove user created
8454 automatics, as long as they start with AUTO.
8455 (verilog-batch-diff-auto, verilog-diff-auto)
8456 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8457 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8458 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8459 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8460 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8461 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8462 is disabled and its cache will get corrupt, causing AUTOS not to
8463 expand. Instead use only -quick functions.
8464 (verilog-scan-region): Fix scanning over escaped quotes.
8465 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8466 (verilog-re-search-backward-quick)
8467 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8468 related functions now ignore strings, to fix misparsing of strings
8469 with magic comments embedded in them.
a1beca85
SM
8470 (verilog-read-auto-template):
8471 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8472 Reported by Brad Dobbie.
8473 (verilog-read-auto-template):
8474 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8475 Reported by Brad Dobbie.
6288f0ca
WS
8476 (verilog-auto-inst, verilog-auto-inst-param)
8477 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8478 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8479 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8480 debugging templates without merge conflicts, bug357.
8481 Reported by Brad Dobbie.
8482 (verilog-read-auto-template):
8483 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8484 Reported by Brad Dobbie.
8485 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8486 abbrevs so user won't be asked to save.
8487 (verilog-read-auto-lisp-present): Fix to start at beginning of
8488 buffer in case called outside of verilog-auto.
8489 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8490 to "X-2". Reported by Matthew Myers.
8491 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8492 all inputs from module templates. Reported by Leith Johnson.
8493 (verilog-module-inside-filename-p): Fix locating programs as with
8494 modules.
8495 (verilog-auto-inst-port): Fix vl-width expressions when using
8496 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8497 (verilog-decls-get-regs, verilog-decls-get-signals,
8498 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8499 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8500 verilog-read-decls): Combine reg and wire structures into one var
8501 structure to represent SystemVerilog concepts.
8502 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8503 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8504 (verilog-auto-wire-type, verilog-insert-definition):
8505 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8506 SystemVerilog "logic" keyword instead of "wire"/"reg".
8507 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8508 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8509 ifdef or generate if so there's not a driver conflict).
8510 Reported by Matthew Myers.
8511 (verilog-auto-declare-nettype, verilog-insert-definition):
8512 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8513 `default_nettype none. Reported by Julian Gorfajn.
8514 (verilog-read-always-signals-recurse, verilog-read-decls)
8515 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8516 malformed end statement, bug325. Reported by Joshua Wise and
8517 Andrew Drake.
8518 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8519 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8520 when expanding .* in interfaces, bug320.
8521 Reported by Pierre-David Pfister.
6288f0ca 8522 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8523 name and open parenthesis, bug317.
8524 Reported by Pierre-David Pfister.
6288f0ca
WS
8525 (verilog-simplify-range-expression): Fix simplification of
8526 multiplications inside AUTOWIRE connections, bug303.
8527 (verilog-auto-inst-port): Support parameter expansion in
8528 multidimensional arrays.
8529 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8530 after "assert property". Reported by Julian Gorfajn.
8531 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8532 with multiplication, bug303.
8533 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8534 Reported by Jan Frode Lonnum.
8535
1bbe96b2
GM
85362011-11-30 Juanma Barranquero <lekktu@gmail.com>
8537
8538 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8539 (hfy-shell-file-name, hfy-shell):
8540 * international/fontset.el (x-decompose-font-name): Fix typos.
8541
85422011-11-29 Ken Brown <kbrown@cornell.edu>
8543
8544 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8545 (gdb-version): Remove defvar.
8546 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8547 (gdb-gud-context-command, gdb-non-stop-handler)
8548 (gdb-current-context-command, gdb-stopped): Use it.
8549 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8550 (gdb-non-stop-handler): Don't enable pretty-printing here.
8551 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8552 non-stop mode. Use the following.
8553 (gdb-check-target-async): New defun.
8554 (gud-watch, gdb-stopped): Fix whitespace.
8555 (gdb-get-source-file): Don't try to display the source file if
8556 `gdb-main-file' is nil.
8557
85582011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8559
8560 * align.el: Try to generate fewer markers (bug#10047).
8561 (align--set-marker): New macro.
8562 (align-region): Use it.
8563
c935221f
SM
85642011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8565
8566 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8567
e70b5064
CY
85682011-11-29 Chong Yidong <cyd@gnu.org>
8569
8570 * indent.el (indent-for-tab-command, indent-according-to-mode):
8571 Doc fix.
8572 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8573
f3af92b7
MA
85742011-11-29 Michael Albinus <michael.albinus@gmx.de>
8575
8576 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8577 aware of remote file names. (Bug#10124)
8578
ed472be9
CY
85792011-11-29 Chong Yidong <cyd@gnu.org>
8580
8581 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8582
24510c22
SM
85832011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8584
8585 * files.el (find-file): Don't use force-same-window (bug#10144).
8586 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8587 use pop-to-buffer if the selected window can't be used.
8588 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8589
c60c3703
EZ
85902011-11-28 Eli Zaretskii <eliz@gnu.org>
8591
8592 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8593 special-mode-map.
8594
e95def75
CY
85952011-11-28 Chong Yidong <cyd@gnu.org>
8596
8597 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8598
c3f1c606
NR
85992011-11-27 Nick Roberts <nickrob@snap.net.nz>
8600
8601 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8602 gdb-get-source-file-list on gdb-create-source-file-list.
8603
00db469c
EZ
86042011-11-26 Eli Zaretskii <eliz@gnu.org>
8605
8606 * whitespace.el (whitespace-newline): Use a different foreground
8607 color for 16-color light-background displays.
8608
4ad3bc2a
CY
86092011-11-24 Chong Yidong <cyd@gnu.org>
8610
8611 * window.el (display-buffer--special-action): Doc fix.
8612
e9fce1ac
JB
86132011-11-25 Juanma Barranquero <lekktu@gmail.com>
8614
8615 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8616 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8617 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8618 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8619 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8620 (avl-tree-stack-first):
8621 * emacs-lisp/cconv.el (cconv--analyse-use):
8622 * net/gnutls.el (gnutls-negotiate): Fix typos.
8623
cb825e5d
GM
86242011-11-24 Glenn Morris <rgm@gnu.org>
8625
3adbe224
GM
8626 * lpr.el (lpr-windows-system, lpr-lp-system):
8627 * mail/binhex.el (binhex-begin-line):
8628 * progmodes/grep.el (grep-history, grep-find-history):
8629 * textmodes/flyspell.el:
8630 * vc/pcvs-defs.el (cvs-global-menu):
8631 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8632 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8633 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8634
321decc8
GM
8635 * net/tls.el: Fix case of "GnuTLS".
8636
420b63ad
GM
8637 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8638
cb825e5d
GM
8639 * version.el (emacs-build-system): Give it a doc-string.
8640
a0649f08
JL
86412011-11-24 Juri Linkov <juri@jurta.org>
8642
8643 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8644
c0bc0fd4
GM
86452011-11-24 Glenn Morris <rgm@gnu.org>
8646
8647 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8648 if called on a non-mime message just toggle the headers. (Bug#8006)
8649
20db1522
JB
86502011-11-24 Juanma Barranquero <lekktu@gmail.com>
8651
8652 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8653 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8654 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8655 (allout-rebullet-heading, allout-open-sibtopic)
8656 (allout-toggle-current-subtree-encryption)
8657 (allout-toggle-subtree-encryption, allout-encrypt-string)
8658 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8659 (allout-distinctive-bullets-string, allout-auto-activation):
8660 * window.el (window-normalize-buffer-to-display):
8661 * progmodes/verilog-mode.el (verilog-batch-indent):
8662 * textmodes/bibtex.el (bibtex-field-braces-opt)
8663 (bibtex-field-strings-opt):
8664 * vc/cvs-status.el (cvs-tree-merge):
8665 Fix typos.
8666
7262a87c
MA
86672011-11-23 Michael Albinus <michael.albinus@gmx.de>
8668
8669 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8670 `non-essential' to t, in order to avoid remote connections.
8671
283430a1
EZ
86722011-11-23 Eli Zaretskii <eliz@gnu.org>
8673
a1beca85
SM
8674 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8675 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8676 case-insensitively.
8677
d2992a38
ML
86782011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8679
8680 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8681
50419064
GM
86822011-11-23 Glenn Morris <rgm@gnu.org>
8683
da94eca1
GM
8684 * paths.el (rmail-file-name): Reformat the doc-string so that it
8685 is picked up.
8686
9aac4de2
GM
8687 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8688 (rmail-auto-file): Ignore case in the "special" field names,
8689 as mail-fetch-field does for all others.
8690
8038d2d2
GM
8691 * mail/rmail.el (rmail-forward):
8692 * mail/rmailkwd.el (rmail-set-label):
8693 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8694 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8695
f3fe222a
GM
8696 * mail/rmail.el (rmail-current-message): Doc fix.
8697
50419064
GM
8698 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8699
28109f49
SM
87002011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8701
8702 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8703
394c65f1
GM
87042011-11-22 Glenn Morris <rgm@gnu.org>
8705
8706 * mail/rmailmm.el (test-rmail-mime-handler)
8707 (test-rmail-mime-bulk-handler)
8708 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8709
f2a0aa3a
JL
87102011-11-21 Juri Linkov <juri@jurta.org>
8711
1154d12e
JB
8712 * calc/calc.el (calc-read-key-sequence):
8713 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8714
9c34a344
LMI
87152011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8716
8717 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8718 Tell the caller that the next line needs recomputation, even
8719 though it doesn't start a sexp (bug#10094).
8720
f04a3be9
SM
87212011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8722
8723 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8724
7978747f
SM
87252011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8726
f04a3be9
SM
8727 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8728 Use force-same-window.
7978747f 8729
fe7a3057
JB
87302011-11-20 Juanma Barranquero <lekktu@gmail.com>
8731
8732 * descr-text.el (describe-char-unicode-data):
8733 * json.el (json-string-escape):
8734 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8735 (Footnote-unicode, Footnote-style-p):
8736 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8737
24901d61
CY
87382011-11-20 Chong Yidong <cyd@gnu.org>
8739
8740 * window.el (replace-buffer-in-windows): Restore interactive spec.
8741
bac7ff22
SM
87422011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8743
24f3d7b9
SM
8744 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8745
bac7ff22
SM
8746 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8747 (byte-compile-global-not-obsolete-vars): New var.
8748 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8749 Use it.
8750 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8751
cd1181db
JB
87522011-11-20 Juanma Barranquero <lekktu@gmail.com>
8753
8754 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8755 * progmodes/pascal.el (electric-pascal-equal):
8756 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8757 * xml.el (xml-substitute-special): Fix typos.
8758
7fb18e9e
GM
87592011-11-20 Glenn Morris <rgm@gnu.org>
8760
8761 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8762 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8763 Doc fixes.
8764 (rmail-decode-mime-charset): Mark as obsolete.
8765
8766 * mail/rmailsum.el (rmail-message-regexp-p-1):
8767 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8768 Before using mime functions, check they are set. (Bug#10077)
8769
d5a6b3ba
JL
87702011-11-19 Juri Linkov <juri@jurta.org>
8771
8772 * info.el (Info-finder-find-node): Use `package--builtins' instead
8773 of `package-alist'. Use node names formed by the pattern "Keyword "
8774 and the keyword name.
8775
e981b61f
AS
87762011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8777
1d00653d 8778 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8779
3ffbc301
JL
87802011-11-19 Juri Linkov <juri@jurta.org>
8781
8782 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8783 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8784 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8785 `old-history', `old-history-forward'. Add let-binding
8786 `window-selected'. Remove calls to `kill-buffer',
8787 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8788 before calling `Info-find-node', so `Info-find-node-2' will reread
8789 the Info file. Restore window positions only when `window-selected'
8790 is non-nil.
8791
30c62133
JL
87922011-11-19 Juri Linkov <juri@jurta.org>
8793
8794 * isearch.el (isearch-lazy-highlight-new-loop):
8795 Remove condition `(not isearch-error)'. (Bug#9918)
8796
8797 * misearch.el (multi-isearch-search-fun): Add condition
8798 `(not bound)' to ignore lazy-highlighting search.
8799 Add the search-failed message "end of multi" when the end of
8800 multi-sequence is reached. Uncapitalize the search-failed
8801 message "Repeat for next buffer".
8802
8803 * info.el (Info-search): Add the search-failed message
8804 "end of the manual" when the end of the manual is reached
8805 in Isearch mode.
8806
645ca9cf
JL
88072011-11-19 Juri Linkov <juri@jurta.org>
8808
8809 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8810 Use non-destructive `remove' instead of `delete' because
8811 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8812 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8813
df754f66
JL
88142011-11-19 Juri Linkov <juri@jurta.org>
8815
8816 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8817 to nil instead of binding `search-ring' and `regexp-search-ring'.
8818 (Bug#9185)
8819
0e23d96a
EZ
88202011-11-19 Eli Zaretskii <eliz@gnu.org>
8821
8822 * simple.el (line-move): Force movement by logical lines for any
8823 hscrolled window, not only when auto-hscroll-mode is on.
8824 (line-move-visual): Update doc string to that effect. (Bug#10076)
8825
8a6ccb66
AS
88262011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8827
8828 * language/european.el (macintosh): Define as alias for mac-roman.
8829
49ae5b39
EZ
88302011-11-19 Eli Zaretskii <eliz@gnu.org>
8831
8832 * mail/rmailmm.el (rmail-mime-display-header)
8833 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8834 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8835 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8836 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8837 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8838 of a raw aref.
8839 (rmail-mime-entity-segment): To get past the tagline, move forward
8840 2 more lines, to account for the 2 empty lines that precede and
8841 follow the line with the buttons.
8842 (rmail-mime-update-tagline): Move one more line, to get past the
8843 empty line that follows the buttons in the tagline. (Bug#9520)
8844
c56cad4a
MR
88452011-11-19 Martin Rudalics <rudalics@gmx.at>
8846
8847 * window.el (window-max-delta-1, window-min-delta-1)
8848 (window-min-size-1, window-state-get-1, window-state-put-1)
8849 (window-state-put-2): Use "window--" prefix.
8850
cbe71af3
SM
88512011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8852
2ad52c60
SM
8853 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8854 (smie-warning-count): New var.
8855 (smie-set-prec2tab): Use it.
8856 (smie-bnf->prec2): Improve warnings. Add docstring.
8857 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8858 (smie-bnf--set-class): New function.
8859 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8860 corner case.
8861
6944dbc1
SM
8862 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8863 (compilation-error-properties, compilation-move-to-column):
8864 Handle compilation-first-column while in the target buffer.
8865
c400c4d7
SM
8866 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8867 Don't hardcode point-min==1.
8868
6dbe3e96
SM
8869 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8870 (eshell-rewrite-for-command): Remove workaround.
8871 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8872 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8873 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8874
cbe71af3
SM
8875 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8876
a8e1496d
GM
88772011-11-17 Glenn Morris <rgm@gnu.org>
8878
8879 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8880 Ignore buffer-local generated-autoload-file if it is the same
8881 as the global value. (Bug#10049)
8882
df85d315
JB
88832011-11-17 Juanma Barranquero <lekktu@gmail.com>
8884
8885 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8886 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8887 (reftex-toc-previous-heading, reftex-toc-max-level)
8888 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8889 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8890 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8891 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8892 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8893 (reftex-toc-rename-label, reftex-toc-visit-location)
8894 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8895 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8896 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8897 leaving "*toc*" only for references to the buffer.
8898
a0c2d0ae
MR
88992011-11-17 Martin Rudalics <rudalics@gmx.at>
8900
8901 * window.el (window-resize, delete-window, split-window):
8902 Replace window-splits by window-combination-resize.
1d00653d 8903 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8904
35c0bac8
GM
89052011-11-17 Glenn Morris <rgm@gnu.org>
8906
8907 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8908 Make bash entry derive from sh entry, not shell entry.
8909
d0c8fc8a
MA
89102011-11-16 Michael Albinus <michael.albinus@gmx.de>
8911
7262a87c
MA
8912 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8913 local file name.
8914
7877f373
JB
89152011-11-16 Juanma Barranquero <lekktu@gmail.com>
8916
8917 * menu-bar.el (menu-bar-file-menu):
8918 * printing.el (pr-ps-utility):
8919 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8920 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8921 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8922 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8923 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8924 (icalendar--convert-cyclic-to-ical)
8925 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8926 (icalendar--convert-ical-to-diary)
8927 (icalendar--convert-recurring-to-diary)
8928 (icalendar--convert-non-recurring-all-day-to-diary)
8929 (icalendar-import-format-sample):
8930 * progmodes/idlw-shell.el (idlwave-shell-mode):
8931 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8932 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8933 (vhdl-ps-print-init): Fix typos.
8934
10649b82
KM
89352011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8936
9d0cfcd6
GM
8937 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8938 FSF and collapse date sequence, obscure author/maintainer email address
8939 better, remove extra version line, track relocation of author's webpage.
10649b82 8940
9d0cfcd6
GM
8941 * progmodes/python.el (python-pdbtrack-input-prompt)
8942 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8943 regular python pdb prompts. Adjustments shamelessly taken exactly as
8944 suggested in EmacsWiki page (tiny change):
8945 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8946
58179cce
JB
89472011-11-16 Juanma Barranquero <lekktu@gmail.com>
8948
8949 * expand.el (expand-pos, expand-index, expand-point):
8950 Remove redundant info from docstring.
8951 (expand-add-abbrevs): Doc fix.
8952 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8953 (expand-sample-perl-mode-expand-list): Fix typos.
8954
8955 * net/dbus.el (dbus-event-member-name):
8956 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8957 * term/pc-win.el (msdos-create-frame-with-faces):
8958 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8959
b6f67890
MR
89602011-11-16 Martin Rudalics <rudalics@gmx.at>
8961
8962 * window.el (split-window, window-state-get-1)
8963 (window-state-put-1, window-state-put-2): Rename occurrences of
8964 window-nest to window-combination-limit.
1d00653d 8965 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8966
ce7ddba0
CY
89672011-11-16 Chong Yidong <cyd@gnu.org>
8968
8969 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8970 regexp (Bug#10033).
8971
3ae704f4
SM
89722011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8973
8974 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8975 `completing-read' will remove *Completions* and will preserve
8976 current-buffer for us.
8977 (tmm-add-prompt): Users of *Completions* will always (re)set its
8978 major mode.
8979 (tmm-old-comp-map): Remove.
8980
6ad1cdde
GM
89812011-11-16 Glenn Morris <rgm@gnu.org>
8982
8983 * mail/rmailedit.el: Require rmailmm when compiling.
8984 (rmail-old-mime-state): New declaration.
8985 (rmail-edit-current-message): If editing a mime message,
8986 edit the "raw" message from the mbox buffer.
8987 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8988
d20faa20
GM
89892011-11-15 Glenn Morris <rgm@gnu.org>
8990
8991 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8992 which wasn't being used. Add optional arg to force given state.
8993 (rmail-mime): Add optional arg to force given state.
8994
c7015153
JB
89952011-11-15 Juanma Barranquero <lekktu@gmail.com>
8996
8997 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8998 * frame.el (display-mm-dimensions-alist):
8999 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9000 (outline-move-subtree-down):
9001 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9002 (newsticker--treeview-do-get-node):
9003 * net/quickurl.el (quickurl-list-buffer-name):
9004 * progmodes/dcl-mode.el (dcl-mode):
9005 * progmodes/gdb-mi.el (gdb-mapcar*):
9006 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9007
45261b50
GM
90082011-11-15 Glenn Morris <rgm@gnu.org>
9009
9010 * mail/rmail.el (rmail-file-coding-system): It's only ever used
9011 in a boolean sense, so just make it a boolean, and fix the doc.
9012 (rmail-show-mime-function, rmail-mime-feature)
9013 (rmail-require-mime-maybe): Doc fixes.
9014 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9015
9016 * mail/rmailmm.el (rmail-show-mime): Doc fix.
9017
0d26e0b6
JB
90182011-11-15 Juanma Barranquero <lekktu@gmail.com>
9019
9020 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9021 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9022 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9023 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9024
447f30f6
GM
90252011-11-15 Glenn Morris <rgm@gnu.org>
9026
672b871d
GM
9027 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9028 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9029 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9030 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9031 (rmail-mime, rmail-show-mime): Doc fixes.
9032
f6aa5bb1
GM
9033 * term/ns-win.el (mode-line-frame-identification):
9034 Leave it alone. (Bug#10051)
9035
947cd66b
GM
9036 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
9037
447f30f6
GM
9038 * mail/rmailout.el (rmail-output-to-rmail-buffer):
9039 Handle empty buffers. (Bug#9978)
9040
0b381c7e
JB
90412011-11-14 Juanma Barranquero <lekktu@gmail.com>
9042
9043 * international/mule.el (define-charset):
9044 * mail/rmailmm.el (rmail-mime-find-header-encoding):
9045 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9046 * progmodes/verilog-mode.el (verilog-backward-token):
9047 * textmodes/ispell.el (lookup-words):
9048 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9049
71e027ac
GM
90502011-11-14 Glenn Morris <rgm@gnu.org>
9051
56632ce4
GM
9052 * progmodes/executable.el
9053 (executable-make-buffer-file-executable-if-script-p):
9054 Handle file-modes returning nil.
9055
40500957
GM
9056 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9057 message - not necessary, and causes problems. (Bug#9831)
9058
071c2340
GM
9059 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9060
d3cfca60
GM
9061 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9062
71e027ac
GM
9063 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9064 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
9065 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9066
89d61221
MR
90672011-11-12 Martin Rudalics <rudalics@gmx.at>
9068
9069 * window.el (window-resize, delete-window): Use window-splits
9070 variable instead of function.
9071 (window-state-get-1, window-state-put-2, window-state-put):
9072 Don't deal with windows' splits status.
9073
98282f6f
GM
90742011-11-12 Glenn Morris <rgm@gnu.org>
9075
9076 * apropos.el (apropos-do-all, apropos-library, apropos-value)
9077 (apropos-documentation): Doc fixes.
9078
40a8bdf6
JB
90792011-11-11 Juanma Barranquero <lekktu@gmail.com>
9080
9081 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9082 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9083
65bd19ff
SM
90842011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9085
9086 * electric.el (electric-indent-post-self-insert-function): Make it
9087 possible for a char to only indent in some circumstances.
9088 (electric-indent-mode): Simplify.
9089
54f9154c
MR
90902011-11-11 Martin Rudalics <rudalics@gmx.at>
9091
9092 * window.el (windows-with-parameter): Remove unused function.
9093 (windows-at-side): Rename to window-at-side-list.
9094 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
9095 (window-side-check, window-size-ignore, window-size-fixed-1)
9096 (window-in-direction-2): Prefix with "window--".
9097 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 9098
68cbc58b
GM
90992011-11-11 Glenn Morris <rgm@gnu.org>
9100
9101 * subr.el (eval-after-load): If FILE is already loaded,
9102 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9103
b2621720
GM
91042011-11-10 Glenn Morris <rgm@gnu.org>
9105
9a4de110
GM
9106 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9107 Call svn via vc-svn-command rather than vc-do-command.
9108 (vc-svn-command): Add --non-interactive. (Bug#9993)
9109 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9110
b2621720
GM
9111 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9112 Add toggle-read-only. (Bug#7292)
9113 * files.el (toggle-read-only): Mention that it should only
9114 be used interactively. (Bug#10006)
9115
1dce7193
SM
91162011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9117
d9ac1a1e
SM
9118 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9119 Adjust regexp for OCaml warnings.
9120
0c325082
SM
9121 * electric.el (electric-pair-post-self-insert-function): Let user
9122 turn it off buffer-locally (bug#9932).
9123
90132c14
SM
9124 * progmodes/python.el (python-beginning-of-statement):
9125 Rewrite (bug#2703).
9126
1dce7193
SM
9127 * progmodes/compile.el: Better handle TABs (bug#9749).
9128 (compilation-internal-error-properties)
9129 (compilation-next-error-function): Obey the target buffer's
9130 compilation-error-screen-columns.
9131
c4e7c63a
JB
91322011-11-09 Juanma Barranquero <lekktu@gmail.com>
9133
9134 * progmodes/meta-mode.el: Remove obsolete comments.
9135 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9136 Fix typos in docstrings.
9137
2cffd681
MR
91382011-11-09 Martin Rudalics <rudalics@gmx.at>
9139
9140 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 9141 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
9142 (window--resizable): New function. Make all callers of
9143 window-resizable call window--resizable instead.
9144 (window-resizable): Rewrite in terms of window--resizable.
9145
0edcba87
GM
91462011-11-08 Glenn Morris <rgm@gnu.org>
9147
9148 * progmodes/delphi.el (delphi-mode-syntax-table):
9149 Let define-derived-mode define a proper syntax table. (Bug#9994)
9150
4b0d61e3
SM
91512011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9152
9153 * window.el: Stay away from defsubst.
9154 (window-list-no-nils): Remove.
9155 (window-state-get-1, window-state-get): Use backquote instead.
9156
cd394be1 91572011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 9158
4b0d61e3 9159 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 9160 Fix incorrect use of default argument in `completing-read'.
9161
e1c2c6f2
MR
91622011-11-08 Martin Rudalics <rudalics@gmx.at>
9163
9164 * window.el (display-buffer-function, special-display-function):
9165 Mention display-buffer-record-window but do not mention
9166 help-setup parameter in doc-strings.
b3f4a882 9167 (window-min-delta): Fix doc-string typo.
e1c2c6f2 9168
105216ed
CY
91692011-11-08 Chong Yidong <cyd@gnu.org>
9170
9171 * window.el (window-total-height, window-total-width): Doc fix.
9172 (window-body-size): Move from C.
9173 (window-body-height, window-body-width): Move to C.
9174
0a9f9ab5
SM
91752011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9176
9177 * window.el: Make special-display like display-buffer-alist (bug#9532).
9178 (display-buffer--special-action): New function, morphed
9179 from display-buffer--special.
9180 (display-buffer): Use it to handle special-display-buffers at higher
9181 priority (just after display-buffer-alist).
9182 (display-buffer-fallback-action, display-buffer--other-frame-action)
9183 (pop-to-buffer-same-window): Remove display-buffer--special.
9184
a769dd15
GM
91852011-11-07 Glenn Morris <rgm@gnu.org>
9186
9187 * calendar/cal-menu.el (cal-menu-set-date-title):
9188 Do nothing if not in a calendar. (Bug#9976)
9189
05a61ee3
SM
91902011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9191
9192 * files.el (find-file): Always use selected-window.
9193
be7f5545
MR
91942011-11-07 Martin Rudalics <rudalics@gmx.at>
9195
9196 * window.el (window-combinations): Make WINDOW argument
9197 mandatory. Rewrite doc-string.
9198 (walk-window-subtree, window-atom-check, window-min-delta)
9199 (window-max-delta, window--resize-this-window)
9200 (window--resize-root-window-vertically, window-tree)
9201 (balance-windows, window-state-put): Rewrite doc-strings as to
9202 not mention the term "subwindow".
9203 (window--resize-subwindows-skip-p): Rename to
9204 window--resize-child-windows-skip-p.
9205 (window--resize-subwindows-normal): Rename to
9206 window--resize-child-windows-normal.
9207 (window--resize-subwindows): Rename to
9208 window--resize-child-windows.
9209 (window-or-subwindow-p): Rename to window--in-subtree-p.
9210
3c6702ef
ML
92112011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9212
9213 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9214 Ensure that mbox format messages end in two newlines (Bug#9974).
9215
49745b39
CY
92162011-11-06 Chong Yidong <cyd@gnu.org>
9217
9218 * window.el (window-combination-p): Function deleted; its
9219 side-effect is not used in any existing code.
9220 (window-combinations, window-combined-p): Call window-*-child
9221 directly.
9222
24300f5f
CY
92232011-11-05 Chong Yidong <cyd@gnu.org>
9224
9225 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9226 (window-size-ignore, window-state-get): Callers changed.
9227 (window-normalize-window): Rename from window-normalize-any-window.
9228 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9229 (window-normalize-live-window): Delete.
447f16b8
CY
9230 (window-combination-p, window-combined-p, window-combinations)
9231 (walk-window-subtree, window-atom-root, window-min-size)
9232 (window-sizable, window-sizable-p, window-size-fixed-p)
9233 (window-min-delta, window-max-delta, window-resizable)
9234 (window-resizable-p, window-full-height-p, window-full-width-p)
9235 (window-current-scroll-bars, window-point-1, set-window-point-1)
9236 (window-at-side-p, window-in-direction, window-resize)
9237 (adjust-window-trailing-edge, maximize-window, minimize-window)
9238 (window-deletable-p, delete-window, delete-other-windows)
9239 (record-window-buffer, unrecord-window-buffer)
9240 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9241 (quit-window, split-window, window-state-put)
9242 (set-window-text-height, fit-window-to-buffer)
9243 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9244
89bd5ee1
EZ
92452011-11-04 Eli Zaretskii <eliz@gnu.org>
9246
53479029
EZ
9247 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9248 rfc2047-decode-string.
9249 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9250 warnings.
9251
89bd5ee1
EZ
9252 * window.el (window-body-height, window-body-width): Mention in
9253 the doc string that the return values are in frame's canonical
9254 units. (Bug#9949)
9255
bd17fdee
AM
92562011-11-03 Alan Mackenzie <acm@muc.de>
9257
9258 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9259 change in cc-engine.el.
9260
acc825c5
SM
92612011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9262
9263 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9264
1885e5b8
MR
92652011-11-02 Martin Rudalics <rudalics@gmx.at>
9266
9267 * window.el (quit-window): Call unrecord-window-buffer after
9268 showing another buffer in the window. (Bug#9937)
acc825c5 9269 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9270
ebe06da9
JB
92712011-11-02 Juanma Barranquero <lekktu@gmail.com>
9272
9273 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9274 Accept status with more than 9 shelves. (Bug#9935)
9275 Reported by Colin D Bennett <colin@gibibit.com>.
9276
4ee88440
MR
92772011-11-01 Martin Rudalics <rudalics@gmx.at>
9278
9279 * help.el (with-help-window): Don't reference
9280 temp-buffer-show-specifiers in doc-string.
9281
08e1d82c
AS
92822011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9283
9284 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9285 menu-item.
9286
84bd6e9e
VJL
92872011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9288
9289 * whitespace.el: New version 13.2.2.
9290 (whitespace-newline-mode): Disable properly. Reported by Sarah
9291 <EmacsWiki>.
9292
dba0634a
UJ
92932011-10-30 Ulf Jasper <ulf.jasper@web.de>
9294
9295 * net/newst-treeview.el: Remove "Time-stamp".
9296 (newsticker--group-manage-orphan-feeds): Do not call
9297 newsticker--treeview-tree-update.
db22a3c2
JB
9298 (newsticker-treeview-update, newsticker-treeview):
9299 Call newsticker--treeview-tree-update if necessary.
dba0634a 9300
3d8daefe
MR
93012011-10-30 Martin Rudalics <rudalics@gmx.at>
9302
9303 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9304 (window-iso-combinations): Remove "iso-" infix.
9305 Suggested by Chong Yidong.
3d8daefe
MR
9306 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9307 (window-max-delta-1, window-resize, window--resize-siblings)
9308 (window--resize-this-window, adjust-window-trailing-edge)
9309 (split-window, balance-windows-1)
9310 (shrink-window-if-larger-than-buffer):
9311 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9312 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9313
1bc4c3ae
SM
93142011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9315
9316 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9317 in place (bug#9907).
9318 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9319 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9320 (eshell-structure-basic-command, eshell-rewrite-while-command)
9321 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9322 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9323 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9324 (eshell-do-pipelines-synchronously, eshell-eval-command):
9325 Use backquotes and prefer setq to set.
9326 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9327 (eshell-macrop): Use functionp.
c1e2f5fa 9328 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9329
30b65d9c
CY
93302011-10-30 Chong Yidong <cyd@gnu.org>
9331
9332 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9333 instead of set-mark (Bug#9810).
9334
2d197ffb
CY
93352011-10-30 Chong Yidong <cyd@gnu.org>
9336
9337 * window.el (split-window-below, split-window-right): Rename from
9338 split-window-above-each-other and split-window-side-by-side
9339 respectively. All callers changed.
9340 (split-window-sensibly, split-window-sensibly): Use them.
9341 (split-window-keep-point): Doc fix.
9342
9343 * isearch.el: Add isearch-scroll property to split-window-below
9344 and split-window-right.
9345
9346 * follow.el (follow-mode):
9347 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9348 * progmodes/ada-xref.el (ada-gdb-application):
9349 * emulation/vip.el (vip-buffer-in-two-windows):
9350 * image-dired.el (image-dired-dired-with-window-configuration):
9351 * dired-x.el (dired-do-find-marked-files):
9352 * dired.el (dired-pop-to-buffer):
9353 * bs.el (bs--show-with-configuration):
9354 * vc/emerge.el (emerge-setup-windows):
9355 * textmodes/two-column.el (2C-two-columns):
9356 * textmodes/reftex-toc.el (reftex-toc):
9357 * progmodes/gdb-mi.el (gdb-setup-windows):
9358 * progmodes/fortran.el (fortran-window-create):
9359 * net/newst-treeview.el (newsticker--treeview-window-init):
9360 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9361 * emulation/tpu-edt.el (tpu-gold-map):
9362 * emulation/crisp.el (crisp-mode-map):
9363 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9364
38bb2ca8
CY
93652011-10-29 Chong Yidong <cyd@gnu.org>
9366
aa4de341
CY
9367 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9368
e1eb5385
CY
9369 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9370
5d2ece3c
CY
9371 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9372 forged Ispell output (Bug#7904).
9373
38bb2ca8
CY
9374 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9375
d0af9f77
SM
93762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9377
9378 * doc-view.el: Avoid ugly errors about not finding nil.
9379 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9380 (doc-view-dvipdf-program, doc-view-unoconv-program)
9381 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9382 Avoid nil or absolute file name as default value.
9383 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9384
52bedd34
AM
93852011-10-28 Alan Mackenzie <acm@muc.de>
9386
db22a3c2 9387 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9388
7e43cfa5
AM
93892011-10-28 Alan Mackenzie <acm@muc.de>
9390
9391 Amend the handling of c-beginning/end-of-defun in nested declaration
9392 scopes.
9393
52bedd34
AM
9394 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9395 cc-langs.el. Change it to a defcustom.
7e43cfa5 9396
52bedd34
AM
9397 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9398 cc-vars.el.
7e43cfa5 9399
d0af9f77
SM
9400 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9401 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9402
52bedd34 9403 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9404 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9405 (c-widen-to-enclosing-decl-scope): New function.
9406 (c-while-widening-to-decl-block): New macro.
9407 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9408 outward for defun boundaries, and correspondingly change symbol
9409 `respect-enclosure' to `go-outward'.
9410 (c-declaration-limits): Change algorithm to report only the "innermost"
9411 defun's boundaries.
9412
1a2ce9ee
DD
94132011-10-28 Deniz Dogan <deniz@dogan.se>
9414
9415 * net/rcirc.el (rcirc-mode): Use hard newlines.
9416
bc97a826
AM
94172011-10-28 Alan Mackenzie <acm@muc.de>
9418
9419 Amend to indent and fontify macros "which include their own semicolon"
9420 correctly, using the "virtual semicolon" mechanism.
9421
52bedd34 9422 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9423
d0af9f77 9424 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9425 Recode to scan one line at a time rather than having \n and \r
58179cce 9426 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9427 (c-forward-label): Amend for virtual semicolons.
58179cce 9428 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9429
52bedd34
AM
9430 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9431 of the new C macros.
bc97a826 9432
52bedd34 9433 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9434 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9435 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9436 (c-opt-cpp-macro-define): Make into a full language variable.
9437 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9438 AWK Mode (including \n, \r) removed, no longer needed.
9439
d0af9f77
SM
9440 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9441 Invoke c-make-macro-with-semi-re.
bc97a826 9442
52bedd34
AM
9443 * progmodes/cc-vars.el (c-macro-with-semi-re):
9444 (c-macro-names-with-semicolon): New variables.
58179cce 9445 (c-make-macro-with-semi-re): New function.
bc97a826 9446
7a6c0941
SM
94472011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9448
9449 * vc/log-edit.el: Fill empty field rather than adding new one.
9450 (log-edit-add-field): New function.
9451 (log-edit-insert-changelog): Use it.
9452
b0c4cdcf
ML
94532011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9454
9455 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9456
ee1f1da9
SM
94572011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9458
9459 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9460 (gdb--check-interpreter): New function.
9461 (gdb): Use it.
9462
51bc5f8b
GM
94632011-10-27 Glenn Morris <rgm@gnu.org>
9464
416a2c45
GM
9465 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9466 (least-positive-float, least-negative-float)
9467 (least-positive-normalized-float, least-negative-normalized-float)
9468 (float-epsilon, float-negative-epsilon):
9469 Remove unnecessary declarations.
9470
9471 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9472 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9473 (least-positive-float, least-negative-float)
9474 (least-positive-normalized-float, least-negative-normalized-float)
9475 (float-epsilon, float-negative-epsilon): Add doc-strings,
9476 based on those in cl.texi.
9477
51bc5f8b
GM
9478 * files.el (set-visited-file-name): If the major-mode changed,
9479 reload the local variables. (Bug#9796)
9480
15de15c6
CY
94812011-10-27 Chong Yidong <cyd@gnu.org>
9482
9483 * subr.el (change-major-mode-after-body-hook): New hook.
9484 (run-mode-hooks): Run it.
9485
ee1f1da9
SM
9486 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9487 Use change-major-mode-before-body-hook.
15de15c6
CY
9488
9489 * simple.el (fundamental-mode):
9490 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9491 change introducing fundamental-mode-hook.
9492
5430d399
JB
94932011-10-26 Juanma Barranquero <lekktu@gmail.com>
9494
acc825c5 9495 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9496
ad74a69e
MA
94972011-10-26 Michael Albinus <michael.albinus@gmx.de>
9498
9499 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9500 tramp.el explicitly. (Bug#7583)
ad74a69e 9501
71d4c2a5
SM
95022011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9503
9504 * progmodes/octave-mod.el:
9505 * progmodes/octave-inf.el: Update maintainer.
9506
b1f6fa26
CY
95072011-10-26 Chong Yidong <cyd@gnu.org>
9508
9509 * subr.el (with-wrapper-hook): Rewrite doc.
9510
3f04efd6
MA
95112011-10-25 Michael Albinus <michael.albinus@gmx.de>
9512
9513 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9514 filenames "/method:foo:". (Bug#9793)
3f04efd6 9515
410488d3
SM
95162011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9517
9518 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9519 (bug#9865).
9520
c1ebb47e
GM
95212011-10-24 Glenn Morris <rgm@gnu.org>
9522
9523 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9524
7f5c46c7
MA
95252011-10-24 Michael Albinus <michael.albinus@gmx.de>
9526
9527 * notifications.el: Add the requirement of a running D-Bus session
9528 bus to the Commentary.
9529
db2440b6
JL
95302011-10-24 Juri Linkov <juri@jurta.org>
9531
9532 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9533 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9534 (Bug#9364)
9535
feecf435
JL
95362011-10-24 Juri Linkov <juri@jurta.org>
9537
9538 * info.el (Info-following-node-name-re): Add newline to the list
9539 of allowed characters for leading space. (Bug#9824)
9540
a3839de2
SM
95412011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9542
acc825c5
SM
9543 * progmodes/octave-inf.el (inferior-octave-mode-map):
9544 Fix C-c C-h binding.
a3839de2
SM
9545 * progmodes/octave-mod.el (octave-help): Remove.
9546
09388e76
MA
95472011-10-23 Michael Albinus <michael.albinus@gmx.de>
9548
9549 Sync with Tramp 2.2.3.
9550
9551 * net/tramp-cache.el (top): Pacify byte-compiler using
9552 `init-file-user' and `site-run-file'.
9553
9554 * net/trampver.el: Update release number.
9555
86c60681
CY
95562011-10-23 Chong Yidong <cyd@gnu.org>
9557
9558 * files.el (toggle-read-only): Remove obsolete comment about
9559 version control.
9560
9561 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9562 for toggle-read-only. Note that this hasn't called vc-next-action
9563 since 2008-05-02, though it wasn't documented at the time.
9564
a3839de2
SM
9565 * vc/ediff-init.el (ediff-toggle-read-only-function):
9566 Use toggle-read-only.
86c60681 9567
cd5495ff
AM
95682011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9569
9570 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9571 of c-parse-state.
9572
00b77525 9573 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9574 correct faulty logical expression.
cd5495ff
AM
9575 (c-parse-state-state, c-record-parse-state-state):
9576 (c-replay-parse-state-state): New defvar/defuns.
9577 (c-debug-parse-state): Use new functions.
9578
42ee24ed
MR
95792011-10-22 Martin Rudalics <rudalics@gmx.at>
9580
9581 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9582 last fix. Use window-in-direction correctly.
42ee24ed 9583
a7dee7e7
CY
95842011-10-21 Chong Yidong <cyd@gnu.org>
9585
9586 * progmodes/idlwave.el (idlwave-mode):
9587 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9588 require-final-newline; that's done in prog-mode.
9589 Suggested by Stefan Monnier.
a7dee7e7 9590
e07b9a6d
MR
95912011-10-21 Martin Rudalics <rudalics@gmx.at>
9592
9593 * mouse.el (mouse-drag-window-above)
9594 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9595 (mouse-drag-mode-line-1, mouse-drag-header-line)
9596 (mouse-drag-vertical-line-rightward-window): Remove.
9597 (mouse-drag-line): New function.
9598 (mouse-drag-mode-line, mouse-drag-header-line)
9599 (mouse-drag-vertical-line): Call mouse-drag-line.
9600 * window.el (window-at-side-p, windows-at-side): New functions.
9601
7e1361d9
UM
96022011-10-21 Ulrich Mueller <ulm@gentoo.org>
9603
9604 * tar-mode.el (tar-grind-file-mode):
9605 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9606
30fcaf3a
CY
96072011-10-21 Chong Yidong <cyd@gnu.org>
9608
9609 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9610 * progmodes/vera-mode.el (vera-mode):
9611 Use mode-require-final-newline.
30fcaf3a 9612
516eddb0
GM
96132011-10-20 Glenn Morris <rgm@gnu.org>
9614
db22a3c2 9615 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9616
10d5f513
CS
96172011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9618
9619 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9620
ac6c8639
CY
96212011-10-20 Chong Yidong <cyd@gnu.org>
9622
9623 * emulation/cua-base.el (cua-mode):
9624 * mail/footnote.el (footnote-mode):
9625 * mail/mailabbrev.el (mail-abbrevs-mode):
9626 * net/xesam.el (xesam-minor-mode):
9627 * progmodes/bug-reference.el (bug-reference-mode):
9628 * progmodes/cap-words.el (capitalized-words-mode):
9629 * progmodes/compile.el (compilation-minor-mode)
9630 (compilation-shell-minor-mode):
9631 * progmodes/gud.el (gud-tooltip-mode):
9632 * progmodes/hideif.el (hide-ifdef-mode):
9633 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9634 * progmodes/subword.el (subword-mode):
9635 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9636 * progmodes/which-func.el (which-function-mode):
9637 * term/tvi970.el (tvi970-set-keypad-mode):
9638 * term/vt100.el (vt100-wide-mode):
9639 * textmodes/flyspell.el (flyspell-mode):
9640 * textmodes/ispell.el (ispell-minor-mode):
9641 * textmodes/nroff-mode.el (nroff-electric-mode):
9642 * textmodes/paragraphs.el (use-hard-newlines):
9643 * textmodes/refill.el (refill-mode):
9644 * textmodes/reftex.el (reftex-mode):
9645 * textmodes/rst.el (rst-minor-mode):
9646 * textmodes/sgml-mode.el (html-autoview-mode)
9647 (sgml-electric-tag-pair-mode):
9648 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9649 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9650 * emulation/crisp.el (crisp-mode):
9651 * emacs-lisp/eldoc.el (eldoc-mode):
9652 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9653 minor mode behavior.
9654
aa42ab43
JL
96552011-10-19 Juri Linkov <juri@jurta.org>
9656
9657 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9658 the list of hard-coded chars with escape-glyph face.
9659
89400f1d
SM
96602011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9661
9662 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9663
305c07f6
MA
96642011-10-19 Michael Albinus <michael.albinus@gmx.de>
9665
9666 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9667 running process.
9668
13754b54
GM
96692011-10-19 Glenn Morris <rgm@gnu.org>
9670
9671 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9672 Ignore ignored files. (Bug#9726)
9673
06e21633
CY
96742011-10-19 Chong Yidong <cyd@gnu.org>
9675
9676 Doc fix for minor modes, stating that an omitted argument enables
9677 the mode unconditionally when called from Lisp.
9678
9679 * abbrev.el (abbrev-mode):
9680 * allout.el (allout-mode):
9681 * autoinsert.el (auto-insert-mode):
9682 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9683 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9684 (global-auto-revert-mode):
9685 * battery.el (display-battery-mode):
9686 * composite.el (global-auto-composition-mode)
9687 (auto-composition-mode):
9688 * delsel.el (delete-selection-mode):
9689 * desktop.el (desktop-save-mode):
9690 * dired-x.el (dired-omit-mode):
9691 * dirtrack.el (dirtrack-mode):
9692 * doc-view.el (doc-view-minor-mode):
9693 * double.el (double-mode):
9694 * electric.el (electric-indent-mode, electric-pair-mode):
9695 * emacs-lock.el (emacs-lock-mode):
9696 * epa-hook.el (auto-encryption-mode):
9697 * follow.el (follow-mode):
9698 * font-core.el (font-lock-mode):
9699 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9700 * help.el (temp-buffer-resize-mode):
9701 * hilit-chg.el (highlight-changes-mode)
9702 (highlight-changes-visible-mode):
9703 * hi-lock.el (hi-lock-mode):
9704 * hl-line.el (hl-line-mode, global-hl-line-mode):
9705 * icomplete.el (icomplete-mode):
9706 * ido.el (ido-everywhere):
9707 * image-file.el (auto-image-file-mode):
9708 * image-mode.el (image-minor-mode):
9709 * iswitchb.el (iswitchb-mode):
9710 * jka-cmpr-hook.el (auto-compression-mode):
9711 * linum.el (linum-mode):
9712 * longlines.el (longlines-mode):
9713 * master.el (master-mode):
9714 * mb-depth.el (minibuffer-depth-indicate-mode):
9715 * menu-bar.el (menu-bar-mode):
9716 * minibuf-eldef.el (minibuffer-electric-default-mode):
9717 * mouse-sel.el (mouse-sel-mode):
9718 * msb.el (msb-mode):
9719 * mwheel.el (mouse-wheel-mode):
9720 * outline.el (outline-minor-mode):
9721 * paren.el (show-paren-mode):
9722 * recentf.el (recentf-mode):
9723 * reveal.el (reveal-mode, global-reveal-mode):
9724 * rfn-eshadow.el (file-name-shadow-mode):
9725 * ruler-mode.el (ruler-mode):
9726 * savehist.el (savehist-mode):
9727 * scroll-all.el (scroll-all-mode):
9728 * scroll-bar.el (scroll-bar-mode):
9729 * server.el (server-mode):
9730 * shell.el (shell-dirtrack-mode):
9731 * simple.el (auto-fill-mode, transient-mark-mode)
9732 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9733 (line-number-mode, column-number-mode, size-indication-mode)
9734 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9735 * strokes.el (strokes-mode):
9736 * time.el (display-time-mode):
9737 * t-mouse.el (gpm-mouse-mode):
9738 * tool-bar.el (tool-bar-mode):
9739 * tooltip.el (tooltip-mode):
9740 * type-break.el (type-break-mode-line-message-mode)
9741 (type-break-query-mode):
9742 * view.el (view-mode):
9743 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9744 (global-whitespace-mode, global-whitespace-newline-mode):
9745 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9746
a3839de2
SM
9747 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9748 Fix autogenerated docstring.
06e21633 9749
5214e501
JL
97502011-10-19 Juri Linkov <juri@jurta.org>
9751
9752 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9753 by checking environment variables "DESKTOP_SESSION" and
9754 "XDG_CURRENT_DESKTOP". (Bug#9779)
9755
195f8db9
JL
97562011-10-19 Juri Linkov <juri@jurta.org>
9757
9758 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9759 (browse-url-chromium-program, browse-url-chromium-arguments):
9760 New defcustoms.
9761 (browse-url-default-browser): Check for `browse-url-chromium' and
9762 call `browse-url-chromium-program'.
9763 (browse-url-chromium): New command. (Bug#9779)
9764
343a34ff
JB
97652011-10-18 Juanma Barranquero <lekktu@gmail.com>
9766
9767 * facemenu.el (list-colors-duplicates): On Windows, detect more
9768 duplicates by assuming that only colors matching "^System" are
9769 special "system colors". (Bug#9722)
9770
6978a151
SM
97712011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9772
9773 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9774 to distinguish the author from the committer.
9775
6a80b297
MA
97762011-10-18 Michael Albinus <michael.albinus@gmx.de>
9777
9778 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9779
b31a5677
JK
97802011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9781
9782 * international/mule.el (sgml-html-meta-auto-coding-function):
9783 Add support for detecting encoding in HTML5 specified only as
9784 <meta charset="UTF-8">. Implementation just makes http-equiv and
9785 content-type parts from HTML4 encoding string optional. (Bug#9716)
9786
80c6d77f
GM
97872011-10-18 Glenn Morris <rgm@gnu.org>
9788
9789 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9790
08b0fee8
CY
97912011-10-18 Chong Yidong <cyd@gnu.org>
9792
9793 * faces.el (cursor): Doc fix.
9794
67e729a5
CY
97952011-10-17 Chong Yidong <cyd@gnu.org>
9796
9797 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9798
343a34ff 97992011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9800
9801 * dirtrack.el (dirtrack): Support shell buffers with path
9802 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9803
0bc06380
TZ
98042011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9805
9806 * json.el: Bump version to 1.3 and note change in History.
9807 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9808
8b79f3e0
SM
98092011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9810
5a7c536b
SM
9811 * comint.el (comint-insert-input, comint-send-input)
9812 (comint-get-old-input-default, comint-backward-matching-input)
9813 (comint-next-prompt): Use nil instead of `input' for field property of
9814 past user input (bug#114).
9815
96a8a0df
SM
9816 * minibuffer.el (completion--replace): Inherit surrounding properties
9817 (bug#114).
9818 (minibuffer-complete-and-exit): Use it.
9819
8b79f3e0
SM
9820 * comint.el (comint--table-subvert): Quote the all-completions output
9821 (bug#9160).
9822
b8f7ff0d
MR
98232011-10-17 Martin Rudalics <rudalics@gmx.at>
9824
8b79f3e0 9825 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9826
b8f7ff0d 9827 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9828 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9829 entries and separate them from frame entries.
9830
c235b555
GM
98312011-10-15 Glenn Morris <rgm@gnu.org>
9832
9833 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9834 Doc fixes.
9835
6bbfa6e1
CY
98362011-10-15 Chong Yidong <cyd@stupidchicken.com>
9837
8b79f3e0
SM
9838 * net/network-stream.el (network-stream-open-starttls):
9839 Improve detection of failure due to lack of TLS support.
ec5c990d 9840
6bbfa6e1
CY
9841 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9842 putting the input text in front and in bold.
9843
98488977
SM
98442011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9845
3d1337be
SM
9846 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9847
ee0b45e4
SM
9848 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9849 empty buffer.
9850
98488977
SM
9851 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9852 unread-command-events rather than pushing yet-another event.
9853
186f4720
EZ
98542011-10-14 Eli Zaretskii <eliz@gnu.org>
9855
9856 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9857 the explanation of the possible choices. Make the options passed
9858 to completing-read shorter.
9859
8b7a997c
AM
98602011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9861
9862 * textmodes/flyspell.el (flyspell-large-region): Make sure
9863 extended character mode is used if defined (Bug#1339).
9864
12587bbb
EZ
98652011-10-13 Eli Zaretskii <eliz@gnu.org>
9866
9867 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9868 character info for LRE, LRO, RLE, and RLO characters by appending
9869 an invisible PDF.
12587bbb 9870
bad41229
SM
98712011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9872
9873 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9874 even in case of error; add debug spec; simplify data flow.
9875 (with-timeout-handler): Remove.
9876
28dbc92f
MA
98772011-10-12 Michael Albinus <michael.albinus@gmx.de>
9878
9879 Fix Bug#6019, Bug#9315.
9880
9881 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9882 complete `buffer-file-name', the local file name part could look
9883 remotely (for example on VMS).
9884
9885 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9886 `tramp-run-real-handler'.
9887 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9888 already quoted by '"'.
9889
9890 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9891 Let `file-name-handler-alist' be nil, the local file name part
9892 could look remotely (for example on VMS).
9893
e1b0b23a
SM
98942011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9895
9896 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9897 from here...
9898 (flyspell-post-command-hook): ...to here.
9899
a120bde9
SM
99002011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9901
9902 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9903 if not needed.
9904 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9905 using completion. Protect against "slow" callers.
9906 Remove the "message hack".
9907
7ce7717b
JL
99082011-10-11 Juri Linkov <juri@jurta.org>
9909
9910 * isearch.el (isearch-lazy-highlight-word): New variable.
9911 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9912 Use it. (Bug#9727)
9913
c02ee9d6
GM
99142011-10-11 Glenn Morris <rgm@gnu.org>
9915
9916 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9917 like f90-previous-statement does.
9918
93e616fd 99192011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9920
1f190e73 9921 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9922 only in interactive use, to avoid error.
9923
af7b6078
SM
99242011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9925
9926 * minibuffer.el (completion-file-name-table): Fix last change,
9927 i.e. ignore normal errors but not the other ones.
9928
0563dae9
MR
99292011-10-10 Martin Rudalics <rudalics@gmx.at>
9930
9931 * window.el (special-display-buffer-names)
9932 (special-display-regexps): Remove some remnants of earlier
9933 changes from doc-strings.
366ca7f3
MR
9934 (quit-windows-on): New function.
9935
9936 * vc/vc.el (vc-revert, vc-rollback):
9937 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9938 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9939 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9940
49677495
MR
99412011-10-09 Martin Rudalics <rudalics@gmx.at>
9942
9943 * window.el (frame-auto-hide-function): Add version tag.
9944 (Bug#9699)
9945
56f2d1e1
MA
99462011-10-09 Michael Albinus <michael.albinus@gmx.de>
9947
9948 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9949 condition.
9950
112a6592
LL
99512011-10-09 Leo Liu <sdl.web@gmail.com>
9952
9953 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9954 (Bug#9701)
9955
0812589b
GM
99562011-10-08 Glenn Morris <rgm@gnu.org>
9957
9958 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9959 before the first code statement zero indent. (Bug#9690)
9960
b2b0776e
CY
99612011-10-08 Chong Yidong <cyd@stupidchicken.com>
9962
9963 * simple.el (count-words-region): Always count in the region.
9964 Report the number of lines and characters too.
9965 (count-words): New command, which counts in the buffer if the
9966 region is inactive, as count-words-region used to.
9967 (count-words--message): New function. Handle plurals.
9968 (count-lines-region): Make it an alias for count-words-region.
9969
9970 * bindings.el (esc-map): Replace count-lines-region with
9971 count-words-region.
9972
c557cd6b
MR
99732011-10-08 Martin Rudalics <rudalics@gmx.at>
9974
9975 * window.el (window--delete): Delete dedicated frame
9976 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9977 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9978
61a57ef4 99792011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9980
3a7d293b 9981 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9982
c3833279
CY
99832011-10-07 Chong Yidong <cyd@stupidchicken.com>
9984
9985 * bindings.el ([M-left],[M-right]): Bind to left-word and
9986 right-word respectively.
9987
21ce8245
GM
99882011-10-07 Glenn Morris <rgm@gnu.org>
9989
9990 * cus-start.el (debug-on-quit): Fix custom type.
9991
6d823bb2
LMI
99922011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9993
0181e193
LMI
9994 * subr.el (define-key-after): Clarify that the function is not
9995 useful for non-menu keymaps.
9996
6d823bb2
LMI
9997 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9998
8e3459ce 99992011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10000
21ce8245 10001 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 10002 in current minibuffer (Fix bug with recursive minibuffers).
10003
a1c2d21e
CY
100042011-10-06 Chong Yidong <cyd@stupidchicken.com>
10005
10006 * progmodes/gdb-mi.el (gdb): Doc fix.
10007
5a4cf282
MR
100082011-10-05 Martin Rudalics <rudalics@gmx.at>
10009
10010 * window.el (frame-auto-hide-function): New option replacing
10011 frame-auto-delete. Suggested by Stefan Monnier.
10012 (window--delete): Call frame-auto-hide-function instead of
10013 investigating frame-auto-delete.
c96111ea
MR
10014 (window-point-1, set-window-point-1): New functions.
10015 (window-in-direction, record-window-buffer, window-state-get-1)
10016 (display-buffer-record-window): Use window-point-1 instead of
10017 window-point.
10018 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 10019
9854542e
SM
100202011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10021
10022 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10023
8943cfb0
GM
100242011-10-05 Glenn Morris <rgm@gnu.org>
10025
10026 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10027 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
10028
647ab967
LL
100292011-10-05 Leo Liu <sdl.web@gmail.com>
10030
10031 * subr.el (read-char-choice): Fix argument to buffer-live-p which
10032 works with buffer object.
10033
3ddfbced
SM
100342011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
10035
10036 * mpc.el (mpc-tool-bar-map): Add labels.
10037
bdfa5dd2
GM
100382011-10-04 Glenn Morris <rgm@gnu.org>
10039
10040 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10041
0e2070b5
MR
100422011-10-04 Martin Rudalics <rudalics@gmx.at>
10043
10044 * window.el (window--delete): New function.
10045 (frame-auto-delete): Resuscitate option.
10046 (bury-buffer, replace-buffer-in-windows)
10047 (quit-window): Rewrite using window--delete.
10048 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10049 Pass display-buffer-mark-dedicated to window--display-buffer-2
10050 (Bug#9639).
10051
3dc61a09
SM
100522011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10053
915a9b64
SM
10054 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10055 returns a list (bug#9554). Add remote file name completion.
10056 * comint.el (comint--table-subvert): Curry and get quote&unquote
10057 functions as arguments.
10058 (comint--complete-file-name-data): Adjust call accordingly.
10059 * pcomplete.el (pcomplete--table-subvert): Remove.
10060 (pcomplete-completions-at-point): Use comint--table-subvert instead.
10061
3dc61a09
SM
10062 * minibuffer.el (completion-table-case-fold): Use currying.
10063 (completion--styles-type, completion--cycling-threshold-type):
10064 New constants.
10065 (completion-styles, completion-category-overrides)
10066 (completion-cycle-threshold): Use them.
10067 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10068 completion-table-case-fold.
10069
8ea0a993
SB
100702011-10-03 Stephen Berman <stephen.berman@gmx.net>
10071
10072 * minibuffer.el (completion-category-overrides): Fix type of styles
10073 and add more user friendly tags (bug#9660).
10074
8c24b7f6
SM
100752011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
10076
10077 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10078 (mule-input-method-string): New widget.
10079 (default-input-method, language-info-custom-alist): Use it.
10080
428fe61a
SM
100812011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10082
32c1fffd
SM
10083 * pcomplete.el: Require comint.
10084 (pcomplete--common-suffix): Remove.
10085 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10086 (pcomplete--table-subvert): Sync with comint--table-subvert.
10087 (pcomplete--entries): Use comint-completion-file-name-table.
10088 * comint.el (comint-unquote-filename): Simplify.
10089 (comint-completion-file-name-table): New function (bug#9616).
10090 (comint--complete-file-name-data): Use it.
10091
428fe61a
SM
10092 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10093 (pcmpl-gnu-tar-buffer): Remove.
10094 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
10095 around. Make sure pcomplete-suffix-list is only changed temporarily.
10096 Don't look inside the tar's file if it's too large.
428fe61a 10097
04c52e2f
CY
100982011-10-01 Chong Yidong <cyd@stupidchicken.com>
10099
ce3cefcc
CY
10100 * cus-edit.el (custom-mode-map):
10101 * epa.el (epa-key-list-mode-map):
10102 * man.el (Man-mode-map):
10103 * startup.el (splash-screen-keymap):
10104 * simple.el (special-mode-map): Use scroll-up-command and
10105 scroll-down-command.
10106
10107 * progmodes/idlw-help.el (idlwave-help-mode-map):
10108 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10109 * net/newst-plainview.el (newsticker-mode-map):
10110 * emulation/ws-mode.el (wordstar-mode-map):
10111 * emulation/vi.el (vi-com-map):
10112 * calc/calc-graph.el (calc-graph-show-dumb):
10113 * term/sun.el (terminal-init-sun):
10114 * term/ns-win.el (global-map):
10115 * progmodes/grep.el (grep-mode-map):
10116 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10117 * mail/rmail.el (rmail-mode-map):
10118 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10119
04c52e2f
CY
10120 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10121 custom-safe-themes as special.
10122
79adf8c8
JD
101232011-10-01 Julien Danjou <julien@danjou.info>
10124
10125 * notifications.el (notifications-notify): Fix docstring.
10126
63bd50d3
PS
101272011-10-01 Per Starbäck <per@starback.se>
10128
10129 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10130
199e4c7e
MR
101312011-09-30 Martin Rudalics <rudalics@gmx.at>
10132
10133 * startup.el (command-line-1): Fix last fix by inserting
10134 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 10135 (Bug#9605) and (Bug#9636)
199e4c7e 10136
fe5f08dd
EZ
101372011-09-29 Eli Zaretskii <eliz@gnu.org>
10138
10139 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10140 window is hscrolled, move by logical lines. (Bug#9607)
10141 (line-move-visual): Update the doc string to the above effect.
10142
b5516bbd
MR
101432011-09-29 Martin Rudalics <rudalics@gmx.at>
10144
ccee00c0
MR
10145 * window.el (display-buffer-record-window): When WINDOW is the
10146 selected window use `point' instead of `window-point'. (Bug#9626)
10147
b5516bbd
MR
10148 * startup.el (command-line-1): Use insert-before-markers when
10149 inserting initial-scratch-message. (Bug#9605)
ccee00c0 10150
b5516bbd
MR
10151 * help.el (help-window): Remove variable.
10152
52aa0014
GM
101532011-09-29 Glenn Morris <rgm@gnu.org>
10154
10155 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10156
df9a7357
JB
101572011-09-29 Juanma Barranquero <lekktu@gmail.com>
10158
10159 * descr-text.el (describe-char-categories): Accept category
10160 descriptions more than one line long.
10161
a8406c20
SM
101622011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10163
88d9610c
SM
10164 * simple.el (delete-trailing-whitespace): Fix last change.
10165
a5daf810
SM
10166 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10167 Don't confuse "y => 3" as the beginning of a `y' operation.
10168
a8406c20
SM
10169 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10170 object has more than 4 slots (bug#9613).
10171
a239d4e9
JB
101722011-09-28 Juanma Barranquero <lekktu@gmail.com>
10173
10174 * subr.el (with-output-to-temp-buffer):
10175 * net/quickurl.el (quickurl, quickurl-browse-url):
10176 Fix typos in docstrings.
10177
693fbdb6
EZ
101782011-09-27 Eli Zaretskii <eliz@gnu.org>
10179
10180 * minibuffer.el (completion-styles)
10181 (completion-category-overrides): Cross reference each other in doc
10182 strings.
10183
8b457e28
GM
101842011-09-27 Glenn Morris <rgm@gnu.org>
10185
10186 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10187 to split-string. (Bug#9606)
10188
85a16208
LMI
101892011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10190
10191 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10192 (bug#9615).
10193
502f9ebd
CY
101942011-09-27 Chong Yidong <cyd@stupidchicken.com>
10195
10196 * emacs-lisp/package.el (list-packages): Fix echo area message.
10197
7690bdea
LL
101982011-09-27 Leo Liu <sdl.web@gmail.com>
10199
10200 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10201
e2ee6f30
MA
102022011-09-25 Michael Albinus <michael.albinus@gmx.de>
10203
10204 * net/dbus.el (dbus-unregister-object): Don't release services for
10205 registered signals. (Bug#9581)
10206
f3f98342
TZ
102072011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10208
10209 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10210 function that picks between cfengine 2 and 3 support
10211 automatically. Update docs accordingly.
10212
dd7aa8dd
KH
102132011-09-22 Kenichi Handa <handa@m17n.org>
10214
10215 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10216 ZERO.
10217 (indian-itrans-v5-table-for-tamil): New variable.
10218 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10219
3f2b07f8
KM
102202011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10221
10222 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10223 that's true if the current command involved collapsing of text.
10224 It's reset to false at the beginning of the next command.
10225 (allout-post-command-business): Move the cursor to the beginning
10226 of entry if the cursor is hidden and collapsing activity just
10227 happened.
10228
371d6a61
CY
102292011-09-24 Chong Yidong <cyd@stupidchicken.com>
10230
10231 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10232 tracking (Bug#9541).
10233
2ac2721a
UJ
102342011-09-24 Ulf Jasper <ulf.jasper@web.de>
10235
10236 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10237 (newsticker-show-news): Automatically load html rendering package
10238 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10239 because w3m-fill-column is let-bound" and the error "Symbol's value
10240 as variable is void: w3m-fill-column".
2ac2721a 10241
fac7ae53
MA
102422011-09-24 Michael Albinus <michael.albinus@gmx.de>
10243
10244 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10245 Release services only if they are defined. (Bug#9581)
10246
e08b633b
RS
102472011-09-23 Richard Stallman <rms@gnu.org>
10248
e488d29c
RS
10249 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10250 distinguish start of paragraph from start of its text.
10251
19c38752
RS
10252 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10253
e08b633b
RS
10254 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10255 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10256 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10257
0a39f27e
AS
102582011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10259
10260 * international/mule-diag.el (mule-diag): Insert a newline after
10261 each fontset description.
10262
db4e950d
SM
102632011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10264
10265 * simple.el (delete-trailing-whitespace):
10266 Document last change; simplify.
10267
eca3f3ea
PW
102682011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10269
d68e189a
PW
10270 * simple.el (delete-trailing-whitespace): Also delete
10271 extra newlines at the end of the buffer.
10272
eca3f3ea
PW
10273 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10274 (picture-newline): Use forward-line so as to ignore fields.
10275
01c157cc
SM
102762011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10277
10278 * subr.el (with-wrapper-hook): Fix edebug spec.
10279
022de23e
LMI
102802011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10281
10282 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10283 (bug#4538).
10284
91683089
MA
102852011-09-23 Michael Albinus <michael.albinus@gmx.de>
10286
eca3f3ea
PW
10287 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10288 Fix nasty bug using wrong cached values.
91683089 10289
5bdd6fa4
AM
102902011-09-23 Alan Mackenzie <acm@muc.de>
10291
10292 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10293
97adfb97
CY
102942011-09-23 Chong Yidong <cyd@stupidchicken.com>
10295
10296 * window.el (pop-to-buffer): Ensure right window is selected if we
10297 chose another frame.
10298
d4ef2b50
EZ
102992011-09-22 Eli Zaretskii <eliz@gnu.org>
10300
10301 * simple.el (what-cursor-position): Use get-char-property-change
10302 and next-single-char-property-change, to be able to show display
10303 properties that come from overlays as well as text properties.
10304
72258fe5
CY
103052011-09-22 Chong Yidong <cyd@stupidchicken.com>
10306
10307 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10308
10309 * cmuscheme.el (run-scheme, switch-to-scheme):
10310 * cus-edit.el (customize-group, custom-buffer-create)
10311 (customize-browse):
10312 * info.el (info):
10313 * shell.el (shell):
10314 * mail/sendmail.el (mail):
10315 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10316
8f098516
RS
103172011-09-22 Richard Stallman <rms@gnu.org>
10318
10319 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10320 move back only to line beg, don't move back over blank lines.
10321
e74f1bb6
MA
103222011-09-22 Michael Albinus <michael.albinus@gmx.de>
10323
10324 * files.el (copy-directory): Set directory attributes only in case
10325 they could be retrieved from the source directory. (Bug#9565)
10326
bfeef8b6
DK
103272011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10328
10329 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10330 (hs-find-block-beginning, hs-hide-level-recursive):
10331 Ignore strings as well as comments. (Bug#9502)
10332
7e423bb8
AS
103332011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10334
10335 * progmodes/sql.el (sql-comint-postgres):
10336 Convert port number to a string. (Bug#9566)
10337
b4d72fcf
MR
103382011-09-22 Martin Rudalics <rudalics@gmx.at>
10339
10340 * window.el (quit-window): Undedicate window when switching to
10341 previous buffer. Reported by Thierry Volpiatto
10342 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10343 (special-display-popup-frame): When popping up a new frame reset
10344 its previous buffers to nil. Simplify code.
b4d72fcf 10345
a7b88dc6
MA
103462011-09-21 Michael Albinus <michael.albinus@gmx.de>
10347
10348 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10349 and process filter, as done also in `shell-command'.
10350
cf4eacfd
MR
103512011-09-21 Martin Rudalics <rudalics@gmx.at>
10352
eca3f3ea 10353 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10354 Call set-window-start with NOFORCE argument t.
10355 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10356 (quit-window): Reword doc-string. Handle new format of
10357 quit-restore parameter. Don't delete window if it has a
10358 previous buffer we can show instead of the present one.
10359 (display-buffer-record-window): Rewrite using a new format for
10360 the quit-restore window parameter
10361 (special-display-popup-frame, display-buffer-same-window)
10362 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10363 (display-buffer-pop-up-window, display-buffer-use-some-window):
10364 Adapt symbol passed to display-buffer-record-window.
10365 * help.el (help-window-setup): Handle new format of quit-restore
10366 parameter.
10367
8d28cb95
SM
103682011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10369
94ab793f
SM
10370 * faces.el (face-list): Fix docstring (bug#9564).
10371
8d28cb95
SM
10372 * window.el (display-buffer--action-function-custom-type):
10373 Don't include internal functions in the Custom interface.
10374
3820edeb
JL
103752011-09-20 Juri Linkov <juri@jurta.org>
10376
10377 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10378 (Info-forward-node, Info-backward-node, Info-next-preorder)
10379 (Info-last-preorder): Use it. (Bug#9528)
10380
5147931d
JL
103812011-09-20 Juri Linkov <juri@jurta.org>
10382
10383 * info.el (Info-last-preorder): Visit last menu item only when
10384 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10385
cf499a1a
JD
103862011-09-20 Julien Danjou <julien@danjou.info>
10387
10388 * password-cache.el (password-cache-remove): Remove entries even if the
10389 value is nil, so that password with a nil value (negative caching) is
10390 possible to invalidate.
10391
f84e2fe2
LM
103922011-09-20 Lawrence Mitchell <wence@gmx.li>
10393
10394 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10395 all whitespace around breakpoint. (Bug#9553)
10396 (f90-find-breakpoint): Only break at whitespace inside a comment.
10397
78054a46
SM
103982011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10399
10400 * minibuffer.el (completion-file-name-table): Keep track of errors.
10401 (completion-table-with-predicate): Handle the case where pred1 is nil.
10402 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10403
345083b2
SM
104042011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10405
e24e27be
SM
10406 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10407 (debugger-return-value): Signal an error if the debugging context does
10408 not await any return value.
10409
345083b2
SM
10410 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10411 * image-mode.el (image-toggle-display-text)
10412 (image-toggle-display-image): Stay away from evil `intangible'.
10413
08d355e3
LL
104142011-09-19 Leo Liu <sdl.web@gmail.com>
10415
10416 * replace.el (occur-revert-arguments): Make it permanent-local.
10417 (occur-mode): Don't call font-lock-defontify.
10418
f01da43f
CY
104192011-09-19 Chong Yidong <cyd@stupidchicken.com>
10420
10421 * net/ldap.el (ldap-search-internal): Don't push empty search
10422 result (Bug#9508).
10423
b6072fa6
SM
104242011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10425
10426 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10427
443d6696
MA
104282011-09-19 Michael Albinus <michael.albinus@gmx.de>
10429
10430 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10431 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10432
7cc6e154
JL
104332011-09-18 Juri Linkov <juri@jurta.org>
10434
10435 * buff-menu.el (Buffer-menu-mode-map):
10436 * dired.el (dired-mode-map):
10437 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10438 (lisp-interaction-mode-map):
10439 * emacs-lisp/package.el (package-menu-mode-map):
10440 * epa.el (epa-key-list-mode-map):
10441 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10442 (menu-bar-options-menu):
10443 * outline.el (outline-mode-menu-bar-map):
10444 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10445 * vc/vc-dir.el (vc-dir-menu-map):
10446 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10447 Capitalize non-function content words in menu item strings.
10448
10449 * dired.el (dired-mode-map): Add menu item for
10450 `image-dired-dired-toggle-marked-thumbs'.
10451
80302a81
JL
104522011-09-18 Juri Linkov <juri@jurta.org>
10453
10454 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10455 to `isearch-case-fold-search' and restore its original value
10456 after the `isearch-mode' call.
10457
46c5cf66
JL
104582011-09-18 Juri Linkov <juri@jurta.org>
10459
10460 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10461 because `zgrep' returns 1 for successful matches (bug#9226).
10462
d18b513b
JL
104632011-09-18 Juri Linkov <juri@jurta.org>
10464
10465 * info.el (Info-extract-menu-node-name): Check the second match
10466 for empty string (second test-case of bug#9528).
10467 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10468 intermediate nodes to the history (first test-case of bug#9528).
10469
72753f87
JL
104702011-09-18 Juri Linkov <juri@jurta.org>
10471
10472 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10473 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10474
c9384295
JL
104752011-09-18 Juri Linkov <juri@jurta.org>
10476
1154d12e
JB
10477 * info.el (Info-file-supports-index-cookies):
10478 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10479 outputs one more line for long file names (bug#4142).
c9384295 10480
d473dce8
CY
104812011-09-18 Chong Yidong <cyd@stupidchicken.com>
10482
10483 * newcomment.el (comment-normalize-vars): If prompting for
10484 comment-start, set comment-start-skip too (Bug#8424).
10485
2176854d
JB
104862011-09-18 Johan Bockgård <bojohan@gnu.org>
10487
10488 * icomplete.el: Fix previous fix of Bug#5849.
10489 (icomplete-mode): Don't set completion-show-inline-help.
10490 (icomplete-minibuffer-setup): Set completion-show-inline-help
10491 locally during icompletion.
10492
3aace4e4
CY
104932011-09-18 Chong Yidong <cyd@stupidchicken.com>
10494
c940224f
CY
10495 * woman.el (woman2-process-escapes): Don't delete unrecognized
10496 escapes (Bug#7843).
10497
3aace4e4
CY
10498 * files.el (inhibit-first-line-modes-regexps): Add image files.
10499 (hack-local-variables-prop-line): Return nil for malformed
10500 prop-lines (Bug#9044).
10501
710dec63
MA
105022011-09-18 Michael Albinus <michael.albinus@gmx.de>
10503
10504 * net/tramp.el (top): Don't require 'shell.
10505 (tramp-methods): Fix docstring.
10506 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10507 Return complete remote file name. Handle "smb" case.
10508 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10509 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10510
10511 * net/tramp-compat.el (top): Require 'shell.
10512
10513 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10514 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10515 `tramp-current-host'.
10516 (tramp-get-remote-tmpdir): Remove.
10517
10518 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10519 `tramp-tmpdir' entries.
10520 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10521 (tramp-smb-handle-file-attributes): Ignore errors.
10522 (tramp-smb-wait-for-output): Check also for process end.
10523
5d5ac8ec
LMI
105242011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10525
10526 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10527 when sending QUIT (bug#9312).
10528
8c0f49f0
CY
105292011-09-17 Chong Yidong <cyd@stupidchicken.com>
10530
10531 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10532 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10533 occur-mode-display-occurrence.
10534 (occur-edit-mode): Add usage message.
10535 (occur-cease-edit): New command.
10536 (occur-after-change-function): Use text properties to find the
10537 position of the prefix text.
10538 (occur-engine): Set stickiness of prefix text properties.
10539
8f1383f7
GM
105402011-09-17 Glenn Morris <rgm@gnu.org>
10541
10542 * progmodes/etags.el (complete-tag):
10543 Fix call to completion-in-region. (Bug#9526)
10544
744ba0e3
JL
105452011-09-17 Juri Linkov <juri@jurta.org>
10546
10547 * textmodes/ispell.el (ispell-word): Add to the error message
10548 the word, ispell program name and current dictionary (bug#9121).
10549 (ispell-tex-arg-end): Capitalize "error" in the error message.
10550
d9bbf400
AS
105512011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10552
10553 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10554 check. (Bug#4251)
10555
8da11505
JL
105562011-09-17 Juri Linkov <juri@jurta.org>
10557
10558 * window.el (window-safe-min-height, window-safe-min-width):
10559 Fix typos (followup to bug#9522).
10560
a91adc7e
SJ
105612011-09-17 Sven Joachim <svenjoac@gmx.de>
10562
10563 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10564
064f328a
EZ
105652011-09-16 Eli Zaretskii <eliz@gnu.org>
10566
10567 * simple.el (line-move): If goal-column is set, move by logical
10568 lines, not by display lines. (Bug#971)
10569 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10570 to reflect the above change.
10571
e69df516
SM
105722011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10573
10574 * image.el (imagemagick-register-types): Use regexp-opt.
10575
cbb0f9ab
CY
105762011-09-15 Chong Yidong <cyd@stupidchicken.com>
10577
10578 * window.el (display-buffer-base-action): Rename from
10579 display-buffer-default-action. Make default value empty.
10580 (display-buffer-overriding-action): Convert to defvar.
10581 (display-buffer-fallback-action): New var.
10582
25322144
CY
105832011-09-15 Chong Yidong <cyd@stupidchicken.com>
10584
10585 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10586 declaration.
10587 (package--add-to-archive-contents): If there is a duplicate entry
10588 with an older version, remove it.
10589 (package-menu-mark-delete, package-menu-mark-install)
10590 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10591 (package-menu-mark-obsolete-for-deletion):
10592 Use package-menu-get-status instead of a regexp search.
25322144
CY
10593 (package-menu-get-status): Use tabulated-list-entry.
10594 (package-menu-mark-upgrades): New command.
d770725a 10595 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10596 (package-menu-execute): Do installation before deletion.
10597 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10598 instead of checking major-mode.
10599 (package-menu--find-upgrades): New function.
10600
7520339c
LMI
106012011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10602
10603 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10604 passwords in the log buffer.
65a046c4
LMI
10605 (smtpmail-process-filter): Update the process marker so that the
10606 "broken by peer" status message is inserted in the right place.
7520339c 10607
d3c30954
SM
106082011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10609
3fe48822
SM
10610 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10611 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10612 bibtex-completion-at-point-function.
10613 (bibtex-completion-at-point-function): Use them.
10614
1b8b3954
SM
10615 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10616
d3c30954
SM
10617 * mpc.el (mpc-constraints-tag-lookup): New function.
10618 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10619 also to browser "album|playlist".
10620
72779976
JL
106212011-09-14 Juri Linkov <juri@jurta.org>
10622
10623 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10624 (isearch-edit-string): Use length of `isearch-string' when
10625 `isearch-fail-pos' returns nil.
10626 (isearch-message): Remove duplicate code and call
10627 `isearch-fail-pos' with arg `t'.
10628
a0bf2bcd
CY
106292011-09-14 Chong Yidong <cyd@stupidchicken.com>
10630
17bb0a2d
CY
10631 * replace.el (occur-mode-goto-occurrence): Don't force using other
10632 window (Bug#9499).
10633
a0bf2bcd
CY
10634 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10635
f678e0b6
MR
106362011-09-14 Martin Rudalics <rudalics@gmx.at>
10637
10638 * window.el (display-buffer-window): Remove.
10639 (display-buffer-record-window): Use help-setup window parameter
10640 instead of variable display-buffer-window.
10641 (display-buffer-function, special-display-buffer-names)
10642 (special-display-function): Mention help-setup parameter instead
10643 of display-buffer-window in doc-string.
d3c30954
SM
10644 * help.el (help-window-setup): New argument help-window.
10645 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10646 Reword some messages.
10647 (with-help-window): Pass window used for displaying the buffer
10648 to help-window-setup. Don't set display-buffer-window.
10649
8e39b2e8
GM
106502011-09-13 Glenn Morris <rgm@gnu.org>
10651
10652 * emacs-lisp/debug.el (debugger-make-xrefs):
10653 Preserve point. (Bug#9462)
10654
85e9c04b
CY
106552011-09-13 Chong Yidong <cyd@stupidchicken.com>
10656
10657 * window.el (window-deletable-p): Use next-frame.
10658
1b36ed6a
MR
106592011-09-13 Martin Rudalics <rudalics@gmx.at>
10660
10661 * window.el (window-auto-delete): Remove.
10662 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10663 dedication and previous buffers.
1b36ed6a
MR
10664 (switch-to-prev-buffer): Don't delete window.
10665 (delete-windows-on): Delete a window's frame if and only if the
10666 window is dedicated.
10667 (replace-buffer-in-windows): Delete buffer's window or frame if
10668 and only if window is dedicated.
10669 (quit-window): Handle quit-restore as before last change.
4d61f28d 10670 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10671
ef8ef9fb
CY
106722011-09-13 Chong Yidong <cyd@stupidchicken.com>
10673
10674 * window.el (window-deletable-p): Never delete the last frame on a
10675 given terminal.
10676
b2cba41e
GM
106772011-09-13 Glenn Morris <rgm@gnu.org>
10678
10679 * help.el (describe-key-briefly): Copy previous standard-output change.
10680
51553db6 106812011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10682
10683 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10684
b7556719
GM
106852011-09-13 Glenn Morris <rgm@gnu.org>
10686
10687 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10688 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10689
64b51947
CY
106902011-09-12 Chong Yidong <cyd@stupidchicken.com>
10691
10692 * dired-aux.el (dired-mark-read-string): Don't return default
10693 value on empty input (Bug#9361).
10694 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10695 Omit initial minibuffer contents.
10696 (dired-do-chmod): Signal an error on empty input.
10697 (dired-mark-read-string): Don't return default on empty input.
10698
10699 * files.el (file-modes-symbolic-to-number): Doc fix.
10700
393a301e
SM
107012011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10702
10703 * international/mule-cmds.el (ucs-completions): Remove.
10704 (read-char-by-name): Use complete-with-action instead; add metadata.
10705
fa5660f9
CY
107062011-09-11 Chong Yidong <cyd@stupidchicken.com>
10707
10708 * window.el (display-buffer--action-function-custom-type)
10709 (display-buffer--action-custom-type): New vars.
10710 (display-buffer-alist, display-buffer-default-action)
10711 (display-buffer-overriding-action): Add defcustom types.
10712
4a592f66
CY
10713 * frame.el (delete-other-frames): Doc fix (Bug#276).
10714
73d56dbd
LMI
107152011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10716
10717 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10718
37ac18a3
CY
107192011-09-11 Chong Yidong <cyd@stupidchicken.com>
10720
10721 Change modes that used same-window-* vars to use switch-to-buffer.
10722
10723 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10724 Use switch-to-buffer.
10725
10726 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10727 (customize-browse, custom-buffer-create-other-window):
10728 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10729
10730 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10731 (Info-prev, Info-up, Info-speedbar-goto-node)
10732 (info-display-manual): Use switch-to-buffer.
10733 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10734
10735 * mail/sendmail.el (mail): Use switch-to-buffer.
10736 (mail-recover): Use switch-to-buffer-other-window.
10737
10738 * cmuscheme.el (run-scheme, switch-to-scheme):
10739 * ielm.el (ielm):
10740 * shell.el (shell):
10741 * net/rlogin.el (rlogin):
10742 * net/telnet.el (telnet, rsh):
10743 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10744
10195bd6
AS
107452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10746
10747 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10748
b322f63a
LMI
107492011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10750
39d7fed6
LMI
10751 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10752 so don't mention it (bug#9301).
ba5a81f1 10753 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10754
ee0e9f11
LMI
10755 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10756 match `x', `w32' and `ns', like the manual says (bug#9029).
10757
0b1c89c1 10758 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10759 (process-kill-buffer-query-function): Mention the buffer name in
10760 the query.
0b1c89c1 10761
77549ea8
LMI
10762 * image-mode.el (image-next-line): The line parameter is mandatory
10763 (bug#9258).
10764
803ef892
LMI
10765 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10766 which can be useful (bug#9301).
10767
12980837
LMI
10768 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10769
91054f8f
LMI
10770 * subr.el (match-string): Mention that the current buffer should
10771 be the same as the search was done in (bug#9282).
10772
b322f63a
LMI
10773 * facemenu.el: Disable the remove-* commands if the mark isn't
10774 active (bug#9162).
10775
3199b96f
CY
107762011-09-10 Chong Yidong <cyd@stupidchicken.com>
10777
10778 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10779 of display-buffer.
10780 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10781
10782 * replace.el (occur-mode-goto-occurrence)
10783 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10784 and display-buffer.
10785
10786 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10787 display-buffer.
10788
10789 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10790 special-display and same-window variables.
10791 (mail-other-window): Use switch-to-buffer-other-window.
10792 (mail-other-frame): USe switch-to-buffer-other-frame.
10793
393a301e
SM
10794 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10795 Use display-buffer-other-frame.
3199b96f
CY
10796 (gdb-display-gdb-buffer): Use pop-to-buffer.
10797
10798 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10799
10800 * progmodes/python.el: Don't set same-window-buffer-names.
10801
10802 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10803
10804 * window.el (display-buffer-alist): Add *Python*.
10805
8319e0bf
CY
108062011-09-10 Chong Yidong <cyd@stupidchicken.com>
10807
10808 * window.el (display-buffer-alist): Add entry for buffers
10809 previously handled same-window-*.
10810 (display-buffer-alist, display-buffer-default-action)
10811 (display-buffer-overriding-action): Mark as risky.
10812 (display-buffer-alist): Document action function changes.
10813 (display-buffer--same-window-action)
10814 (display-buffer--other-frame-action): New variables.
10815 (switch-to-buffer, display-buffer-other-frame): Use them.
10816 (display-buffer): Rename reuse-frame entry to reusable-frames.
10817 (display-buffer-reuse-selected-window): Function deleted.
10818 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10819 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10820 (display-buffer-special): New function.
10821 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10822 display-buffer-reuse-or-pop-window. Split off special-display
10823 part into display-buffer-special.
10824 (display-buffer-use-some-window): Don't perform any special
10825 pop-up-frames handling.
10826 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10827 (display-buffer--maybe-same-window): Rename from
0d3ff375 10828 display-buffer-maybe-same-window.
8319e0bf 10829
919a69aa
CY
10830 * info.el: Don't set same-window-regexps.
10831 (info-setup): New function.
10832 (info-other-window, info): Call it.
10833
10834 * cus-edit.el: Don't set same-window-regexps.
10835 (customize-group): New argument.
10836 (customize-group-other-window): Use it.
10837 (customize-face, customize-face-other-window): Likewise.
10838 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10839
8319e0bf
CY
10840 * net/rlogin.el:
10841 * net/telnet.el:
10842 * progmodes/gud.el: Don't set same-window-regexps.
10843
10844 * cmuscheme.el:
10845 * ielm.el:
10846 * shell.el:
10847 * mail/sendmail.el:
10848 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10849
25173000
JL
108502011-09-10 Juri Linkov <juri@jurta.org>
10851
10852 * isearch.el (isearch-edit-string): Remove obsolete mention of
10853 `C-w' (`isearch-yank-word-or-char') from docstring.
10854 (isearch-query-replace): Fix typo in docstring (bug#9466).
10855
056e44ef
JL
108562011-09-10 Juri Linkov <juri@jurta.org>
10857
10858 * paren.el (show-paren-function): Don't show escaped parens.
10859 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10860
c3760c17
EZ
108612011-09-10 Eli Zaretskii <eliz@gnu.org>
10862
10863 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10864 (mm-default-file-encoding): Remove autoload forms, they are
10865 replaced with autoload cookies in mml.el and mm-encode.el.
10866 (mail-add-attachment): New command.
10867 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10868 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10869 the doc string.
10870 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10871
fece895e
RT
108722011-09-10 Reuben Thomas <rrt@sc3d.org>
10873
e69df516
SM
10874 * simple.el (count-words-region): Use buffer if there's no region
10875 (bug#9429).
fece895e 10876
5e68ce4a
JL
108772011-09-09 Juri Linkov <juri@jurta.org>
10878
10879 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10880 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10881 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10882
0a6b9622
AM
108832011-09-09 Alan Mackenzie <acm@muc.de>
10884
10885 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10886 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10887
14a29deb
EZ
108882011-09-09 Eli Zaretskii <eliz@gnu.org>
10889
10890 Fix for Savannah bug#9392.
10891 * simple.el (mail-encode-mml): New defvar.
10892
10893 * mail/rmail.el (mail-encode-mml): Add a defvar.
10894 (rmail-enable-mime-composing): Default to t.
10895 (rmail-forward): Use MIME method of forwarding only if both
10896 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10897 Set mail-encode-mml non-nil if the MIME method was used.
10898
10899 * mail/sendmail.el (mml-to-mime): Add autoload form.
10900 (mail-encode-mml): Add a defvar.
10901 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10902 to nil.
10903 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10904 message through mml-to-mime, and reset mail-encode-mml to nil.
10905
28c45130
GM
109062011-09-09 Glenn Morris <rgm@gnu.org>
10907
10908 * woman.el (woman-if-body): When processing an .el block,
10909 do not delete the next .el block as well. (Bug#9447)
69f4b618 10910 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10911
9b1c252e
MR
109122011-09-08 Martin Rudalics <rudalics@gmx.at>
10913
10914 * window.el (window-deletable-p): Make sure window is live before
10915 invoking window-prev-buffers.
10916
567457e3
LL
109172011-09-08 Leo Liu <sdl.web@gmail.com>
10918
10919 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10920
97f05794
JL
109212011-09-08 Juri Linkov <juri@jurta.org>
10922
10923 * progmodes/compile.el (compilation-environment): Make it
10924 a defcustom (bug#8340).
10925
8b0874b5
MR
109262011-09-08 Martin Rudalics <rudalics@gmx.at>
10927
10928 * window.el (frame-auto-delete): Rename to window-auto-delete.
10929 Make it control auto-deletion of windows and/or frames.
10930 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10931 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10932 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10933 Rewrite handling of case when window/frame can be deleted.
10934 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10935 argument t. (Bug#9456)
8b0874b5 10936
4feb6e73
CY
109372011-09-07 Chong Yidong <cyd@stupidchicken.com>
10938
10939 * help-mode.el (help-mode): Restore autoload.
10940
91ab9c13
JL
109412011-09-07 Juri Linkov <juri@jurta.org>
10942
10943 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10944 `compilation-environment'. Set buffer-local
10945 `compilation-environment' to `thisenv' later after (funcall mode).
10946 (Bug#8340)
10947
10948 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10949 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10950 instead of replacing its value. (Bug#8340)
10951
0527e251
JL
109522011-09-07 Juri Linkov <juri@jurta.org>
10953
10954 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10955 based on text properties put by `grep-filter' instead of matching
10956 escape sequences.
10957 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10958 to the value of `grep-error-screen-columns' (bug#9438).
10959
249f792c
JL
109602011-09-07 Juri Linkov <juri@jurta.org>
10961
10962 * simple.el (next-error-highlight, next-error-highlight-no-select):
10963 Doc fix (bug#9432).
10964
ff7271b9
OT
109652011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10966
10967 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10968 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10969
183fc730
LL
109702011-09-07 Leo Liu <sdl.web@gmail.com>
10971
10972 * net/rcirc.el (rcirc-mode): Conditionally initialize
10973 rcirc-input-ring.
10974
77694924
SM
109752011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10976
10977 * emacs-lisp/find-func.el (find-function-C-source): Only set
10978 find-function-C-source-directory after checking that we found a source
10979 file there (bug#9440).
10980
d809b8eb
AM
109812011-09-06 Alan Mackenzie <acm@muc.de>
10982
10983 * isearch.el (isearch-other-meta-char): Wherever a key list is
10984 unread, "unread" the prefix arg, too. This fixes bug #8901.
10985
453de99f
OG
109862011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10987
10988 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10989
90439906
JL
109902011-09-05 Juri Linkov <juri@jurta.org>
10991
10992 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10993
f62bd846
JL
109942011-09-05 Juri Linkov <juri@jurta.org>
10995
10996 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10997 keeping point where processing of grep matches begins, and
10998 continue to delete remaining escape sequences from the same point.
10999 (grep-filter): Make leading zero optional in "0?1;31m" because
11000 git-grep emits "\033[1;31m" escape sequences unlike expected
11001 "\033[01;31m" as GNU Grep does (bug#9408).
11002 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11003
045820ec
JL
110042011-09-05 Juri Linkov <juri@jurta.org>
11005
11006 * subr.el (y-or-n-p): Capitalize "yes".
11007
f5e29b9b
MA
110082011-09-04 Michael Albinus <michael.albinus@gmx.de>
11009
11010 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
11011 `tramp-cache-unload-hook' where appropriate.
11012 (tramp-methods): Rename `tramp-remote-sh' to
11013 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
11014 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11015
11016 * net/tramp-sh.el (top): Don't require 'shell.
11017 (tramp-methods): Add `tramp-remote-shell' and
11018 `tramp-remote-shell-args' entries.
11019 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11020 (tramp-sh-handle-shell-command): Remove.
11021 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11022 Use `tramp-remote-shell'.
11023
2784c434
CY
110242011-09-03 Chong Yidong <cyd@stupidchicken.com>
11025
393a301e 11026 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
11027 (sendmail-query-once): Save directly to send-mail-function.
11028 Update message-send-mail-function too.
11029
11030 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11031
464cdf56
CS
110322011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11033
11034 * progmodes/python.el (python-mode-map): Use correct function to
11035 start python interpreter from menu-bar (as reported by Geert
11036 Kloosterman).
11037 (inferior-python-mode-map): Fix typo.
393a301e 11038 (python-shell-map): Remove.
464cdf56 11039
d37e5c87
DD
110402011-09-03 Deniz Dogan <deniz@dogan.se>
11041
11042 * net/rcirc.el (rcirc-print): Simplify code for
11043 rcirc-scroll-show-maximum-output. There is no need to walk
11044 through all windows to find the right one.
11045
f3ada0ee
CS
110462011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
11047
11048 * help.el (help-return-method): Doc fix.
11049
1f3c99ca
MR
110502011-09-03 Martin Rudalics <rudalics@gmx.at>
11051
11052 * window.el (window-deletable-p): Don't return a non-nil value
11053 when there's a buffer that was shown in the window before.
11054 (Bug#9419)
393a301e
SM
11055 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11056 Set window's previous buffers to nil.
1f3c99ca 11057
a3cf097f
EZ
110582011-09-03 Eli Zaretskii <eliz@gnu.org>
11059
11060 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11061 newline before and after the tag line, so it doesn't interfere
11062 with determining the paragraph direction of bidirectional text.
11063
3d03de90
LL
110642011-09-03 Leo Liu <sdl.web@gmail.com>
11065
11066 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
11067
c3313451
CY
110682011-09-02 Chong Yidong <cyd@stupidchicken.com>
11069
393a301e 11070 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
11071 (pop-to-buffer): Change interactive spec. Pass second argument
11072 directly to display-buffer.
11073 (display-buffer): Fix interactive spec. Use functionp to
11074 distinguish between a function and a list of functions.
11075
11076 * abbrev.el (edit-abbrevs):
11077 * arc-mode.el (archive-extract):
11078 * autoinsert.el (auto-insert):
11079 * bookmark.el (bookmark-bmenu-list):
11080 * files.el (find-file):
11081 * view.el (view-buffer):
11082 * progmodes/compile.el (compilation-goto-locus):
11083 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11084
89894cd8
CY
110852011-09-02 Chong Yidong <cyd@stupidchicken.com>
11086
11087 * window.el (display-buffer-alist): Doc fix.
11088 (display-buffer): Add docstring. Don't treat
11089 display-buffer-default specially.
11090 (display-buffer-reuse-selected-window)
11091 (display-buffer-same-window, display-buffer-maybe-same-window)
11092 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11093 (display-buffer-pop-up-window)
11094 (display-buffer-reuse-or-pop-window)
11095 (display-buffer-use-some-window): New functions.
11096 (display-buffer-default-action): Use them.
393a301e 11097 (display-buffer-default): Delete.
89894cd8
CY
11098 (pop-to-buffer-1): Fix choice of actions.
11099
ae0bc9fb
SM
111002011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11101
11102 * minibuffer.el (completion--insert-strings): Don't get confused by
11103 completion entries that end with an LF char.
11104
e9d90883
EZ
111052011-09-01 Eli Zaretskii <eliz@gnu.org>
11106
11107 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11108
437014c8
CY
111092011-09-01 Chong Yidong <cyd@stupidchicken.com>
11110
11111 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
11112 (display-buffer-same-window, display-buffer-other-window):
11113 New functions.
437014c8
CY
11114 (pop-to-buffer-1): New function. Use the above.
11115 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 11116 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
11117
11118 * view.el (view-buffer-other-window, view-buffer-other-frame):
11119 Just use pop-to-buffer.
11120
a5e063d5
TV
111212011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11122
11123 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11124
793d32bb
WH
111252011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11126
11127 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11128
d65e4c15
RS
111292011-08-31 Richard Stallman <rms@gnu.org>
11130
11131 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11132 of the separation of rmail-view-buffer from rmail-buffer.
11133 If you say no to "replace original", the decrypt is in the
11134 view buffer. If you say yes, the decrypt goes into the
11135 rmail buffer also.
11136
f818cd2a
MR
111372011-08-31 Martin Rudalics <rudalics@gmx.at>
11138
11139 * window.el (display-buffer-window): Rewrite doc-string.
11140 (display-buffer-record-window): New function.
11141 (display-buffer-macro-specifiers)
11142 (display-buffer-even-window-sizes, display-buffer-set-height)
11143 (display-buffer-set-width, display-buffer-in-window)
11144 (display-buffer-reuse-window, display-buffer-split-specifiers)
11145 (display-buffer-side-specifiers, display-buffer-split-window-1)
11146 (display-buffer-split-window, display-buffer-split-atom-window)
11147 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11148 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11149 (display-buffer-other-window-means-other-frame)
11150 (display-buffer-normalize-special)
11151 (display-buffer-normalize-default)
11152 (display-buffer-normalize-argument)
11153 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11154 (display-buffer-normalize-specifiers, display-buffer-frame)
11155 (display-buffer-same-window, display-buffer-same-frame)
11156 (display-buffer-other-window)
11157 (display-buffer-same-frame-other-window)
11158 (display-buffer-other-frame, pop-to-buffer-same-window)
11159 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11160 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11161 (switch-to-buffer-same-frame)
11162 (switch-to-buffer-other-window-same-frame)
11163 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11164 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11165 (display-buffer-alist-set): Remove.
11166 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
11167 (special-display-regexps, special-display-function):
11168 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
11169 parameter.
11170 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11171 (special-display-frame-alist, special-display-popup-frame)
11172 (same-window-buffer-names, same-window-regexps, same-window-p)
11173 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11174 (split-window-preferred-function, split-height-threshold)
11175 (split-width-threshold, window-splittable-p)
11176 (split-window-sensibly, window--try-to-split-window)
11177 (window--frame-usable-p, even-window-heights)
11178 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
11179 (window--display-buffer-2, display-buffer-other-frame):
11180 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
11181 (display-buffer-default, display-buffer-assq-regexp): New functions.
11182 (display-buffer-alist): Rewrite doc-string.
11183 (display-buffer-default-action)
11184 (display-buffer-overriding-action): New variables.
11185 (display-buffer, switch-to-buffer): Rewrite.
11186 (pop-to-buffer): Restore Emacs 23 behavior but use
11187 window-normalize-buffer-to-display.
11188 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11189 Restore Emacs 23 behavior but use
11190 window-normalize-buffer-to-switch-to.
11191 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
11192 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11193 Rewrite using Emacs 23 options.
f818cd2a 11194
5bc3b51d
MA
111952011-08-31 Michael Albinus <michael.albinus@gmx.de>
11196
11197 * net/tramp.el (tramp-root-regexp): Remove.
11198 (tramp-completion-file-name-regexp-unified)
11199 (tramp-completion-file-name-regexp-separate)
11200 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 11201 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
11202 (tramp-drop-volume-letter): Simplify definition.
11203 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 11204
b1a4f8e1
SM
112052011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11206
11207 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11208 (bug#9356).
11209
5664fa7b
RT
112102011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11211
b1a4f8e1 11212 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 11213
9a45d6c3
JL
112142011-08-29 Juri Linkov <juri@jurta.org>
11215
11216 * isearch.el (isearch-done): Don't display message "Mark saved"
11217 when arg `edit' is non-nil to prevent its flicker in the echo area.
11218
fb87e0fb
CY
112192011-08-28 Chong Yidong <cyd@stupidchicken.com>
11220
11221 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11222 obsolete packages for deletion.
11223
09ac1c2a
CS
112242011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11225
11226 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11227 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11228 view-mode from help-mode.
11229 (help-xref-override-view-map): Remove.
11230 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11231 view-mode is not used anymore.
11232
7a1ff57f
CY
112332011-08-28 Chong Yidong <cyd@stupidchicken.com>
11234
11235 * server.el (server-port): Doc fix.
11236
b9696605
CY
11237 * cus-theme.el (custom-theme-choose-mode): Inherit from
11238 special-mode (Bug#9124).
11239 (custom-theme-choose-mode-map): Add special-mode to parent.
11240
ef8cdf8c
AM
112412011-08-28 Alan Mackenzie <acm@muc.de>
11242
11243 * progmodes/cc-fonts.el
11244 (c-make-font-lock-BO-decl-search-function): New function.
11245 (c-basic-matchers-after - "Fontify the clauses after various
11246 keywords"): Extract the three keyword lists for the 3 erroneous
11247 constructs from the list of four, and use the new function above
11248 in place of an old one.
11249
27de4e20
DD
112502011-08-28 Deniz Dogan <deniz@dogan.se>
11251
11252 * net/rcirc.el (rcirc-insert-prev-input)
11253 (rcirc-insert-next-input): Remove unused argument.
11254
356a3681
SM
112552011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11256
11257 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11258
3fc9b218
AM
112592011-08-27 Alan Mackenzie <acm@muc.de>
11260
11261 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11262 handle function pointer parameters properly.
11263
538a061c
MR
112642011-08-27 Martin Rudalics <rudalics@gmx.at>
11265
11266 * window.el (display-buffer-reuse-window): Fix case where
11267 selected window was reused with non-nil OTHER-WINDOW argument.
11268 (Bug#9381)
11269
35b1c40c
DD
112702011-08-27 Deniz Dogan <deniz@dogan.se>
11271
11272 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11273 oftc's NickServ messages.
11274
2f6a3e79
GM
112752011-08-27 Glenn Morris <rgm@gnu.org>
11276
11277 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11278
7254299e
CY
112792011-08-26 Chong Yidong <cyd@stupidchicken.com>
11280
11281 * emacs-lisp/package.el (package-install): Call package-initialize
11282 if called interactively.
11283
f8ccf167
LL
112842011-08-26 Leo Liu <sdl.web@gmail.com>
11285
11286 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11287
3e8cd5ce
JL
112882011-08-25 Juri Linkov <juri@jurta.org>
11289
11290 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11291 `search-whitespace-regexp' (bug#9364).
11292
93eb7113
JL
112932011-08-25 Juri Linkov <juri@jurta.org>
11294
11295 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11296 `regexp-search-ring' to their global values to protect from
11297 updating by `read-from-minibuffer' (bug#9185).
11298
f65d1611
JL
112992011-08-25 Juri Linkov <juri@jurta.org>
11300
11301 * textmodes/ispell.el (ispell-command-loop): Add newline
11302 at the end of the "Use option `i'..." line.
11303
f1cf7a31
JL
113042011-08-25 Juri Linkov <juri@jurta.org>
11305
11306 * battery.el (display-battery-mode): If `battery-status-function'
11307 or `battery-mode-line-format' is nil, display the message and set
11308 `display-battery-mode' to nil (bug#9363).
11309
0c95fcf7
EZ
113102011-08-25 Eli Zaretskii <eliz@gnu.org>
11311
11312 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11313 bidi-string-mark-left-to-right; they are unnecessary now.
11314
a2ebe600
DD
113152011-08-25 Deniz Dogan <deniz@dogan.se>
11316
11317 * net/quickurl.el: Documentation typo fixes.
11318
e4ed06f1
CY
113192011-08-25 Chong Yidong <cyd@stupidchicken.com>
11320
11321 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11322
e5f1c99e
GM
113232011-08-25 Glenn Morris <rgm@gnu.org>
11324
b2948976
GM
11325 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11326
e5f1c99e
GM
11327 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11328 (smtpmail-via-smtp): Handle nil response from smtp.
11329
f22f4808
JL
113302011-08-24 Juri Linkov <juri@jurta.org>
11331
11332 * proced.el (proced-marked): Inherit from `error' instead of
11333 `font-lock-warning-face'.
11334
11335 * ibuffer.el (ibuffer-marked-face): Change default face from
11336 `font-lock-warning-face' to `warning'.
11337 (ibuffer-deletion-face): Change default face from
11338 `font-lock-type-face' to `error'.
11339
11340 * battery.el (battery-update): Use the face `error' instead of
11341 `font-lock-warning-face' (bug#6117).
11342
6a93965e
JL
113432011-08-24 Juri Linkov <juri@jurta.org>
11344
11345 * faces.el (success): Change face color from "Green3" to
11346 "ForestGreen" on light background (bug#9353).
11347
1ed43b09
CY
113482011-08-24 Chong Yidong <cyd@stupidchicken.com>
11349
5664fa7b
RT
11350 * window.el (quit-window): Rename from quit-restore-window.
11351 Use same arglist as old quit-window.
1ed43b09
CY
11352 (frame-auto-delete): Doc fix.
11353
11354 * view.el (view-mode-exit): Use quit-window.
11355
11dcdbb2
JL
113562011-08-24 Juri Linkov <juri@jurta.org>
11357
11358 * isearch.el (isearch-ring-adjust1): Start visiting previous
11359 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11360 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11361 for empty search string (when the last search string is reused
11362 automatically) to adjust the isearch ring to the last element and
11363 prepare the correct index for further M-p commands (bug#9185).
11364
de62b4df
KH
113652011-08-24 Kenichi Handa <handa@m17n.org>
11366
11367 * international/ucs-normalize.el: If decomposition property of
11368 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11369 nil.
11370 (nfd, nfkd): Likewise.
11371
963b492b
SM
113722011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11373
11374 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11375 from process filters aren't reliably transmitted to the surrounding
11376 accept-process-output.
11377 (mpc-proc-check): New function.
11378 (mpc-proc-sync): Use it (bug#8293)
11379
93b6b5e1
SM
113802011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11381
11382 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11383 Add compatibility functions (bug#9313).
11384
bca633fb
EZ
113852011-08-23 Eli Zaretskii <eliz@gnu.org>
11386
b177498a
EZ
11387 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11388
6df6ae42 11389 * international/uni-bidi.el: Regenerate.
bca633fb 11390
0902a04e
KH
113912011-08-23 Kenichi Handa <handa@m17n.org>
11392
11393 * international/charprop.el:
11394 * international/uni-bidi.el:
11395 * international/uni-category.el:
11396 * international/uni-combining.el:
11397 * international/uni-comment.el:
11398 * international/uni-decimal.el:
11399 * international/uni-decomposition.el:
11400 * international/uni-digit.el:
11401 * international/uni-lowercase.el:
11402 * international/uni-mirrored.el:
11403 * international/uni-name.el:
11404 * international/uni-numeric.el:
11405 * international/uni-old-name.el:
11406 * international/uni-titlecase.el:
11407 * international/uni-uppercase.el: Regenerate.
11408
3bbf23bc
MR
114092011-08-23 Martin Rudalics <rudalics@gmx.at>
11410
11411 * help.el (help-window-setup): Fix message displayed when other
11412 window is reused. (Bug#9341)
11413
b3fd59bd
SM
114142011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11415
1802e444
SM
11416 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11417 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11418
b3fd59bd
SM
11419 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11420 Mark obsolete.
11421 * shell.el (shell-parse-pcomplete-arguments): New function.
11422 (shell-completion-vars): Use it instead (bug#9160).
11423
4eb61348
SM
114242011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11425
867cab74
SM
11426 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11427 strings and comments (bug#9333).
11428
4eb61348
SM
11429 * emacs-lisp/debug.el (debug-arglist): New function.
11430 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11431 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11432
262a1439
JL
114332011-08-22 Juri Linkov <juri@jurta.org>
11434
56ee679c
JL
11435 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11436 Revert regexp that highlights output switches to its old
11437 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11438
262a1439
JL
11439 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11440 to check for empty output (bug#9226).
11441
f13f86fb
CY
114422011-08-22 Chong Yidong <cyd@stupidchicken.com>
11443
11444 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11445 symbol-constituent as the default, as that stops font-lock from
11446 working properly (Bug#8843).
11447
c65c9622
LMI
114482011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11449
11450 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11451 `coding-system-for-*' around the process open call to avoid
11452 auth-source side effects.
e7f2c178 11453 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11454 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11455 probe hangs.
c65c9622 11456
23a8a5ab
CY
114572011-08-21 Chong Yidong <cyd@stupidchicken.com>
11458
ff98b2dd
CY
11459 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11460
23a8a5ab
CY
11461 * emacs-lisp/find-func.el (find-function-noselect): New arg
11462 lisp-only.
11463
11464 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11465 signal an error for built-in functions (Bug#6664).
11466
f5e3c598
LMI
114672011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11468
11469 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11470 (smtpmail-try-auth-methods): Use it.
11471
a3f2468a
CY
114722011-08-21 Chong Yidong <cyd@stupidchicken.com>
11473
2c34e8da
CY
11474 * font-lock.el (font-lock-fontify-region)
11475 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11476 (font-lock-default-unfontify-buffer)
11477 (font-lock-default-fontify-region)
11478 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11479
b3fd59bd
SM
11480 * progmodes/compile.el (compilation-error-properties):
11481 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11482 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11483 `ant' regexp.
ee31aabc 11484
a3f2468a
CY
11485 * net/browse-url.el (browse-url-firefox): Don't call
11486 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11487
8e999f70
GM
114882011-08-20 Glenn Morris <rgm@gnu.org>
11489
c21a496a
GM
11490 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11491
59ee0542
GM
11492 * tutorial.el (tutorial--default-keys): Update some default bindings.
11493
8e999f70
GM
11494 * files.el (hack-local-variables): Fully ignore case for "mode:".
11495
e3715033
AM
114962011-08-20 Alan Mackenzie <acm@muc.de>
11497
11498 Resolve invalid use of a regexp in regexp-opt.
11499
4d61f28d
JB
11500 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11501 detection for a java annotation.
e3715033 11502
4d61f28d 11503 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11504 detection for a java annotation.
11505
4d61f28d
JB
11506 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11507 handling for java.
e3715033
AM
11508 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11509
04ed2e9c
CY
115102011-08-20 Chong Yidong <cyd@stupidchicken.com>
11511
11512 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11513 (Bug#9274).
11514
826cee64
AM
115152011-08-20 Alan Mackenzie <acm@muc.de>
11516
58179cce 11517 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11518 such a construct. Mainly for when jit-lock etc. starts a chunk
11519 here.
11520
58179cce 11521 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11522 variable.
58179cce 11523 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11524 c-make-font-lock-search-function.
11525 (c-make-font-lock-search-function): Use the above function.
11526 (c-make-font-lock-context-search-function): New function.
11527 (c-cpp-matchers): Enhance the preprocessor expression case with
11528 the above function
11529 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11530 which takes an expression.
11531
11532 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11533
13009bd8
MR
115342011-08-20 Martin Rudalics <rudalics@gmx.at>
11535
11536 * window.el (display-buffer-reuse-window)
11537 (display-buffer-pop-up-window): Don't reuse or split a side
11538 window.
11539
9234ff7f
GM
115402011-08-19 Glenn Morris <rgm@gnu.org>
11541
11542 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11543 Downcase "Mode:". (Bug#9331)
9234ff7f 11544
f635daa1
CY
115452011-08-18 Chong Yidong <cyd@stupidchicken.com>
11546
11547 * international/characters.el: Add L and R categories.
11548
11549 * subr.el (bidi-string-mark-left-to-right): Rename from
11550 string-mark-left-to-right. Use category search.
11551
11552 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11553
bc987f8b
JL
115542011-08-18 Juri Linkov <juri@jurta.org>
11555
11556 * faces.el (error, warning, success): New faces with definitions
11557 copied from old default values of `font-lock-warning-face',
11558 `compilation-warning', `compilation-info' (bug#6117).
11559
11560 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11561
11562 * progmodes/compile.el (compilation-error): Inherit from `error'.
11563 (compilation-warning): Inherit from `warning'.
11564 (compilation-info): Inherit from `success'.
11565
11566 * dired.el (dired-marked): Inherit from `warning'.
11567 (dired-flagged): Inherit from `error'.
11568
57173b96
LMI
115692011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11570
3e79eb87
LMI
11571 * mail/smtpmail.el (auth-source): Require to avoid problems with
11572 binding variables (bug#9298). Also clean up some unused
11573 autoloads.
11574
b3fd59bd
SM
11575 * net/network-stream.el (network-stream-open-starttls):
11576 Support using starttls.el without using gnutls-cli.
57173b96 11577
02b404de
JL
115782011-08-17 Juri Linkov <juri@jurta.org>
11579
11580 * progmodes/grep.el (rgrep): Handle the case when
11581 `grep-find-command' is a cons cell (bug#9278).
11582
8c9177f2
MR
115832011-08-17 Martin Rudalics <rudalics@gmx.at>
11584
11585 * window.el (display-buffer-pop-up-frame): Run frame creation
11586 function with BUFFER current (as special-display-popup-frame
11587 does). Reported by Drew Adams.
11588
3644a0ab
DU
115892011-08-17 Daiki Ueno <ueno@unixuser.org>
11590
11591 * epa-mail.el: Simplify GnuPG group expansion using
11592 epg-expand-group.
11593 (epa-mail-group-alist, epa-mail-group-modtime)
11594 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11595 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11596 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11597 Remove.
11598
5e617bc2 115992011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11600
11601 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11602
9c4aeabf
AM
116032011-08-16 Alan Mackenzie <acm@muc.de>
11604
11605 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11606 Correct, to avoid the inside of macros.
11607
3a99bf64
RS
116082011-08-16 Richard Stallman <rms@gnu.org>
11609
04963aa8
RS
11610 * epa-mail.el: Handle GnuPG group definitions.
11611 (epa-mail-group-alist, epa-mail-group-modtime)
11612 (epa-mail-gnupg-conf-file): New variables.
11613 (epa-mail-parse-groups, epa-mail-sync-groups)
11614 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11615 (epa-mail-expand-recipients): New functions.
11616 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11617
177549d0
RS
11618 * mail/rmail.el (rmail-epa-decrypt): New command.
11619
fe38beef
RS
11620 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11621 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11622 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11623 (epa-decrypt-armor-in-region): Make error message clearer.
11624
934eacb9
SM
116252011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11626
11627 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11628 and "a2b" to "ab" for `prefix'.
11629
d024fb4e
CY
116302011-08-14 Chong Yidong <cyd@stupidchicken.com>
11631
11632 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11633 filter groups.
de148fee
CY
11634 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11635 Fourquet (Bug#8804).
d024fb4e 11636
62f1ca49
JB
116372011-08-12 Juanma Barranquero <lekktu@gmail.com>
11638
11639 * startup.el (argi): Declare as global variable (bug#9275).
11640
9ccaaa4b
CY
116412011-08-12 Chong Yidong <cyd@stupidchicken.com>
11642
11643 * subr.el (string-mark-left-to-right): Search the entire string
11644 for RTL script, not just the terminating character. Doc fix.
11645
a3dae87a
SM
116462011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11647
6cd18349
SM
11648 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11649 New function.
11650 (js--regexp-literal, js-syntax-propertize-function): Remove.
11651 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11652 (js-mode-map): Don't rebind electric keys.
11653 (js-insert-and-indent): Remove.
11654 (js-mode): Setup electric-layout and electric-indent instead.
11655
a3dae87a
SM
11656 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11657
9d5cb631
DU
116582011-08-12 Daiki Ueno <ueno@unixuser.org>
11659
11660 * epa.el (epa-progress-callback-function): Fix the logic of
11661 displaying progress.
11662 * epa-file.el (epa-file-insert-file-contents): Make progress
11663 display more user-friendly.
11664 (epa-file-write-region): Ditto.
11665
3e26a4a2
CY
116662011-08-10 Chong Yidong <cyd@stupidchicken.com>
11667
11668 * subr.el (string-mark-left-to-right): New function.
11669
11670 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11671 Use string-mark-left-to-right.
11672 (list-buffers-noselect): Caller changed.
11673
a3dae87a
SM
11674 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11675 Use string-mark-left-to-right.
3e26a4a2
CY
11676 (tabulated-list-print): Recenter after moving point.
11677
ac8cf6e6
JL
116782011-08-10 Juri Linkov <juri@jurta.org>
11679
11680 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11681 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11682 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11683
8d96c9a4
CY
116842011-08-09 Chong Yidong <cyd@stupidchicken.com>
11685
11686 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11687 (Bug#7554).
11688
7be1c708 116892011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11690
11691 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11692 character. (Bug#6594)
11693
37e11a63
CY
116942011-08-08 Chong Yidong <cyd@stupidchicken.com>
11695
839dde57
CY
11696 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11697 (image-dired--with-db-file): New macro.
11698 (image-dired-write-tags, image-dired-remove-tag)
11699 (image-dired-create-gallery-lists, image-dired-write-comments)
11700 (image-dired-get-comment, image-dired-mark-tagged-files)
11701 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11702 (image-dired-gallery-generate): Use insert-file-contents.
11703
37e11a63
CY
11704 * time.el (display-time-world-list, display-time-world-display):
11705 * time-stamp.el (time-stamp-string):
11706 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11707 set-time-zone-rule (Bug#7337).
11708
0b4946c4
DU
117092011-08-08 Daiki Ueno <ueno@unixuser.org>
11710
11711 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11712 (epg-error-to-string, epg-errors-to-string): New function.
11713 (epg-wait-for-completion): Reverse errors list.
11714 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11715 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11716 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11717 (epg-sign-keys, epg-generate-key-from-file)
11718 (epg-generate-key-from-string): Format errors by using
11719 epg-errors-to-string (bug#9255).
11720 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11721
75bfc667
JL
117222011-08-07 Juri Linkov <juri@jurta.org>
11723
11724 * faces.el (list-faces-display): Remove extra angle bracket
11725 from `help-mode-map'.
11726
11727 * info.el (Info-history-toc-nodes): Doc fix.
11728
11729 * longlines.el (longlines-mode): Doc fix.
11730
673e08bb
SM
117312011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11732
4640dd88
SM
11733 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11734 of statements and in a few more cases (bug#9183).
11735
673e08bb
SM
11736 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11737 New functions.
11738 (cl-transform-lambda): Use them (bug#9239).
11739
89b3f019
MR
117402011-08-05 Martin Rudalics <rudalics@gmx.at>
11741
11742 * window.el (display-buffer-same-window)
11743 (display-buffer-same-frame, display-buffer-other-window)
11744 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11745 (pop-to-buffer-other-window)
11746 (pop-to-buffer-same-frame-other-window)
11747 (pop-to-buffer-other-frame): Make them defuns.
11748 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11749
640c8776
SM
117502011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11751
11752 * subr.el (make-composed-keymap): Move from C. Change calling
11753 convention, and improve docstring to bring attention to a subtle point.
11754 * minibuffer.el (completing-read-default): Adjust accordingly.
11755
63648a95
MA
117562011-08-03 Michael Albinus <michael.albinus@gmx.de>
11757
11758 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11759 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11760
11761 * net/trampver.el: Update release number.
11762
b796c9b7
SM
117632011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11764
11765 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11766 "in" (bug#9190).
11767
2239d7d5
LMI
117682011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11769
e07dd7c3
LMI
11770 * mail/sendmail.el (sendmail-query-once): Restore the current
11771 buffer after querying (bug#9074).
11772
0e6a2bd7
LMI
11773 * dired.el (dired-flagged): Use different faces for marked and
11774 flagged files (bug#6117).
11775
ce887515
LMI
11776 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11777 (bug#4433).
11778
92f2affc
LMI
11779 * ido.el (ido-mode): Switch off the message if called
11780 non-interactively.
11781
57d5aff0
LMI
11782 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11783 before 587, since it appears that that's more likely to work for
11784 more people.
11785
98cd6c18 11786 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11787 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11788 exist.
11789
b96dec83
LMI
11790 * info.el: Remove the `Info-beginning-of-buffer' function
11791 (bug#8325).
11792
b796c9b7
SM
11793 * net/network-stream.el (network-stream-open-starttls):
11794 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11795
d90e2ea0
MR
117962011-08-01 Martin Rudalics <rudalics@gmx.at>
11797
11798 * window.el (display-buffer-in-window): Don't set dedicated status
11799 of window here (Bug#9215).
11800 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11801 (display-buffer-pop-up-side-window)
b796c9b7 11802 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11803
cca09170
SM
118042011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11805
11806 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11807 before binding generated-autoload-file.
11808
027b979c
DD
118092011-08-01 Deniz Dogan <deniz@dogan.se>
11810
11811 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11812
3c7ee4f3
MA
118132011-07-30 Michael Albinus <michael.albinus@gmx.de>
11814
11815 Sync with Tramp 2.2.2.
11816
11817 * net/trampver.el: Update release number.
11818
2cc8e51a
JL
118192011-07-30 Juri Linkov <juri@jurta.org>
11820
11821 * dired-aux.el (dired-touch-initial): Remove function.
11822 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11823 current time, and `default' to the last modification time of the
11824 current marked file (bug#6887).
11825
a514d856
JM
118262011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11827
11828 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11829 numeric argument to read-number (bug#9163).
a514d856 11830
8a7eddd7
MA
118312011-07-27 Michael Albinus <michael.albinus@gmx.de>
11832
11833 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11834 connection process, it could be nil.
11835
1ddd96f5
LL
118362011-07-27 Leo Liu <sdl.web@gmail.com>
11837
11838 Simplify url handling in rcirc-mode.
11839
11840 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11841 (rcirc-browse-url-at-mouse): Remove.
11842 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11843
b248a85d
AM
118442011-07-26 Alan Mackenzie <acm@muc.de>
11845
11846 Fontify bitfield declarations properly.
11847
11848 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11849 (c-symbol-chars): Now exported as a lang variable.
11850 (c-not-primitive-type-keywords): New lang variable.
11851
11852 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11853 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11854 parsed as a bitfield declaration.
b248a85d 11855
b796c9b7
SM
11856 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11857 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11858 (c-punctuation-in): New function.
11859 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11860 declarations properly.
11861
68575ab0
UJ
118622011-07-26 Ulf Jasper <ulf.jasper@web.de>
11863
11864 * calendar/icalendar.el (icalendar--all-events): Take care of
11865 multiple vcalendars in a single file.
b796c9b7 11866 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11867
0f0a88b9
DD
118682011-07-25 Deniz Dogan <deniz@dogan.se>
11869
11870 * image.el (insert-image): Clarifying docstring.
11871
0b3f36df
MA
118722011-07-24 Michael Albinus <michael.albinus@gmx.de>
11873
11874 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11875 `tramp-send-command-and-check' if there is no error.
11876 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11877
a9901f61
AM
118782011-07-22 Alan Mackenzie <acm@muc.de>
11879
11880 Prevent cc-langs.elc being loaded at run time.
11881
11882 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11883 cc-langs.
11884
4d61f28d 11885 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11886 "(require 'cc-langs)". Quote a form so it will evaluate at
11887 (cc-mode's) compilation time.
11888
11d074b2
MA
118892011-07-22 Michael Albinus <michael.albinus@gmx.de>
11890
11891 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11892 loading. (Bug#9114)
11893
938b94c8
MR
118942011-07-21 Martin Rudalics <rudalics@gmx.at>
11895
11896 * window.el (display-buffer-pop-up-window)
11897 (display-buffer-pop-up-side-window)
11898 (display-buffer-in-side-window): Call display-buffer-set-height
11899 and display-buffer-set-width after setting the new window's
b796c9b7 11900 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11901
bfa4f190
SS
119022011-07-20 Sam Steingold <sds@gnu.org>
11903
11904 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11905 (etags-tags-included-tables): Call `convert-standard-filename' on
11906 the file names contained in TAGS so that windows Emacs can handle
11907 TAGS files created by cygwin ctags.
11908
8ca42262
LMI
119092011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11910
11911 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11912 which apparently didn't work.
11913
5db2afd2 119142011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11915
5db2afd2
RW
11916 * proced.el (proced-send-signal): For *Marked Processes* buffer
11917 put point at beginning of buffer.
11918
92e15d10
SB
119192011-07-19 Stephen Berman <stephen.berman@gmx.net>
11920
11921 * proced.el (proced-format): Make header lines align with the text
11922 (bug#1779).
11923
1bfd59e5
LMI
119242011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11925
11926 * view.el (view-buffer): Allow running in `special' modes if we're
11927 visiting a file (bug#8615).
11928
f5aae37c
MR
119292011-07-19 Martin Rudalics <rudalics@gmx.at>
11930
11931 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11932 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11933 New functions.
f5aae37c
MR
11934 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11935 more accurately.
11936
bf2c1571
AM
119372011-07-18 Alan Mackenzie <acm@muc.de>
11938
11939 Fontify declarators properly when, e.g., a jit-lock chunk begins
11940 inside a declaration.
11941
11942 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11943
b796c9b7
SM
11944 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11945 New function.
bf2c1571
AM
11946 (c-complex-decl-matchers): Insert reference to
11947 c-font-lock-enclosing-decls.
11948
11949 * progmodes/cc-engine.el (c-backward-single-comment):
11950 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11951 to nil around calls to (forward-comment -1).
11952
4e190b80
LMI
119532011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11954
12dc863d
LMI
11955 * image.el (put-image): Doc typo fix.
11956
a762e966
LMI
11957 * progmodes/etags.el (tags-search): Doc typo fix.
11958
4e190b80
LMI
11959 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11960 password if we get errors 550 to 554.
11961
f019fb21
LMI
119622011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11963
b796c9b7 11964 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11965
81746738
LMI
11966 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11967 indentation character (bug#6380).
11968
3ee3a1b5
LMI
11969 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11970
c82f64de
LMI
11971 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11972 to clarify what the problem is (bug#4291).
11973
f019fb21
LMI
11974 * simple.el (current-kill): Clarify what
11975 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11976 (auto-fill-mode): Document `auto-fill-function' in relation to
11977 `auto-fill-mode' (bug#2470).
f019fb21 11978
0794775d
LM
119792011-07-16 Lawrence Mitchell <wence@gmx.li>
11980
11981 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11982 method if slot is read-only (bug#9035).
11983
be39b8cc
MR
119842011-07-16 Martin Rudalics <rudalics@gmx.at>
11985
b796c9b7 11986 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11987 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11988 selected before, see discussion of (Bug#8615), (Bug#6954).
11989 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11990
6ccf7859
GM
119912011-07-15 Glenn Morris <rgm@gnu.org>
11992
11993 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11994 Respect help-form.
6ccf7859 11995
87e86684
LM
119962011-07-09 Lawrence Mitchell <wence@gmx.li>
11997
11998 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11999 (gnutls-negotiate): Use it.
12000
d6066239
LMI
120012011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12002
b796c9b7
SM
12003 * net/gnutls.el (gnutls-negotiate):
12004 Upcase `gnutls-algorithm-priority'.
d6066239 12005
bd23ebc0
GM
120062011-07-15 Glenn Morris <rgm@gnu.org>
12007
c65bca65
GM
12008 * jka-compr.el (jka-compr-verbose): Move from here...
12009 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
12010 Add missing :version tag.
12011 * info.el: No need to require jka-compr when compiling.
bd23ebc0 12012
478615cc
LMI
120132011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
12014
7b41decb
LMI
12015 * net/gnutls.el (gnutls-algorithm-priority): New variable.
12016 (gnutls-negotiate): Use it.
12017
dbc44fcd
LMI
12018 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12019
06789f97
LMI
12020 * info.el (Info-beginning-of-buffer): New command.
12021 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12022 announcing `b' as the key (bug#8325).
ab896c37 12023 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 12024
c39da690
LMI
12025 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12026
3aa5f34b
LMI
12027 * international/mule-cmds.el
12028 (describe-specified-language-support): Make the error message
12029 clearer (bug#8905).
12030
4bf0979f
LMI
12031 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12032
478615cc
LMI
12033 * isearch.el (isearch-barrier): Add a doc string, since it's
12034 mentioned in a function doc string (bug#8678).
12035
75c68aa1
MR
120362011-07-15 Martin Rudalics <rudalics@gmx.at>
12037
12038 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12039 buffer argument (Bug#9083) and self-identifying label argument.
12040
a7c33da2
GM
120412011-07-15 Glenn Morris <rgm@gnu.org>
12042
12043 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
12044
2f5c6024
LMI
120452011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12046
12047 * man.el (Man-fontify-manpage): Fix message when formatting the
12048 man page (bug#7929).
12049
0bb23927 120502011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
12051
12052 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12053 argument LRM; if non-nil, append an invisible LRM character to the
12054 buffer name.
12055 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12056 last argument non-nil, when formatting buffer names.
0bb23927
EZ
12057 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12058 paragraph direction.
cce4b0a7 12059
621ef9ab
LMI
120602011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
12061
d1583c48
LMI
12062 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12063 the man page name (bug#7929).
12064
6a57fb5f
LMI
12065 * image.el (put-image): Mention the `put-image' overlay property
12066 (bug#7834).
12067
d7956b14
LMI
12068 * scroll-bar.el (set-scroll-bar-mode): Mention that
12069 `scroll-bar-mode' lists the values (bug#7772).
12070
5b2d4a66
LMI
12071 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12072 command (bug#7729).
12073
7509a874
LMI
12074 * rect.el (apply-on-rectangle): Return the point after the last
12075 operation.
12076 (string-rectangle): Go to the point after the last operation
12077 (bug#7522).
12078
4fe74b19
LMI
12079 * printing.el (pr-toggle-region): Clarify the documentation
12080 slightly (bug#7493).
12081
b796c9b7
SM
12082 * time.el (display-time-update):
12083 Allow `display-time-mail-function' to return nil (bug#7158).
12084 Fix suggested by Detlev Zundel.
ab283561 12085
fc233c9d
LMI
12086 * vc/diff.el (diff): Clarify the order the file names are read
12087 (bug#7111).
12088
43f5740b
LMI
12089 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12090 the doc string (bug#7015).
12091
f2182a76
LMI
12092 * font-lock.el (font-lock-maximum-decoration): Mention what
12093 numeric levels mean (bug#6935).
12094
621ef9ab
LMI
12095 * startup.el (initial-buffer-choice): Don't mention the `none'
12096 selection, which is against policy.
12097
adc47434
MR
120982011-07-14 Martin Rudalics <rudalics@gmx.at>
12099
b796c9b7
SM
12100 * window.el (display-buffer-normalize-special):
12101 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 12102
7e5bfb8f
EZ
121032011-07-14 Eli Zaretskii <eliz@gnu.org>
12104
12105 * subr.el (version<, version<=, version=): Mention "-CVS" and
12106 "-12345" alpha version numbers.
12107
27fa387a
CY
121082011-07-14 Chong Yidong <cyd@stupidchicken.com>
12109
12110 * bindings.el: Add advertised binding for set-mark-command
12111 (Bug#5772).
12112
8bdfa064
CY
121132011-07-14 Chong Yidong <cyd@stupidchicken.com>
12114
12115 * bindings.el (mode-line-other-buffer):
12116 * bookmark.el (bookmark-bmenu-2-window):
12117 * bs.el (bs-cycle-next, bs-cycle-previous):
12118 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12119 switch-to-buffer.
12120
12121 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 12122 Delete.
8bdfa064 12123
5eba16a3
JB
121242011-07-14 Juanma Barranquero <lekktu@gmail.com>
12125
12126 * follow.el (follow-debug-message, follow-redisplay):
12127 * jka-cmpr-hook.el (with-auto-compression-mode):
12128 Fix typos in docstrings.
12129
15853710
LMI
121302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12131
a28e4607
LMI
12132 * subr.el (with-silent-modifications): Clarify somewhat what the
12133 macro inhibits (bug#6525).
12134
15853710
LMI
12135 * simple.el (eval-expression): Note what it does if called
12136 interactively (bug#6495).
12137
bee0fcef
CY
121382011-07-13 Chong Yidong <cyd@stupidchicken.com>
12139
b796c9b7
SM
12140 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12141 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
12142
12143 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12144 Remove switch-to-buffer.
12145
58274504
LMI
121462011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12147
bd2fcc8d
LMI
12148 * files.el (make-directory): Clarify that an error will be raised
12149 if there's an error (bug#6397).
12150
0f04b32c
LMI
12151 * startup.el (initial-buffer-choice): Add `none' as a choice
12152 (bug#6234).
12153
465c5fc8
LMI
12154 * subr.el (add-hook): Clarify section about buffer-local hooks
12155 (bug#6218).
12156
58274504
LMI
12157 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12158
bead9a43
JB
121592011-07-13 Juanma Barranquero <lekktu@gmail.com>
12160
12161 * tabify.el (untabify): Preserve the current column so that point
12162 doesn't move (bug#6032).
12163
3af98a7b
LMI
121642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12165
b796c9b7
SM
12166 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12167 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 12168
6240145a
GM
121692011-07-13 Glenn Morris <rgm@gnu.org>
12170
12171 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12172 (dired-insert-directory): Give a message the first time
12173 if ls is found not to support --dired.
12174
1d8c2ccc
LMI
121752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12176
12177 * simple.el (toggle-truncate-lines): Clarify what is toggled
12178 (bug#5580). Text by Drew Adams.
12179
5fc4038e
CY
121802011-07-13 Chong Yidong <cyd@stupidchicken.com>
12181
12182 * simple.el (blink-matching-open): Make the error message from the
12183 last change less verbose.
12184
bf6012e5
DN
121852011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12186
12187 * font-lock.el (font-lock-comment-face): Use the high contrast
12188 "yellow" color for font-lock-comment-face on low color terminals
12189 using a dark background color (bug#4221).
12190
343c3b5a
LMI
121912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12192
7e9505c5
LMI
12193 * dired.el (dired-insert-set-properties): Make the doc string
12194 reflect what it does now (bug#5325).
12195
c26fdcf5
LMI
12196 * simple.el (blink-matching-open): Say that we were unable to find
12197 the match within the limit, if we're limited (bug#5122).
12198
bb388cc5
LMI
12199 * international/mule-cmds.el (prefer-coding-system): Add an
12200 example (bug#4869).
12201
343c3b5a
LMI
12202 * progmodes/etags.el (tags-search): Document `file-list-form'
12203 (bug#4731).
12204
2a517d45
LM
122052011-07-13 Lawrence Mitchell <wence@gmx.li>
12206
12207 * net/browse-url.el (browse-url-default-browser)
12208 (browse-url-browser-function): Make the default browser choice a
12209 bit more logical (bug#4300). Also clean up the doc string.
12210
b6c78ef2
JB
122112011-07-13 Juanma Barranquero <lekktu@gmail.com>
12212
12213 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12214 binary endings (bug#4440).
12215
1c4dd947
LMI
122162011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12217
a2014063
LMI
12218 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12219 which can be pretty annoying (bug#8971).
12220
9c9c2d88
LMI
12221 * jka-compr.el (jka-compr-verbose): New variable, and use
12222 throughout (bug#8971).
12223
1c4dd947
LMI
12224 * info.el (Info-find-file): Fall back on the installation
12225 directory if we can't find the info node anywhere else.
12226
a1c9f41b
SO
122272011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12228
12229 * vc/vc.el (vc-revert-file):
12230 Don't set file time-stamp in the past. (Bug#5181)
12231
536f3d36
LMI
122322011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12233
7152b011
LMI
12234 * files.el (after-find-file): Give a better error message when
12235 trying to find a symlink that points to a file that doesn't exist
12236 (bug#4398).
12237
536f3d36
LMI
12238 * progmodes/cc-vars.el: Remove (probably) misleading comment
12239 (bug#4396).
12240
460c0fba
JB
122412011-07-12 Johan Bockgård <bojohan@gnu.org>
12242
12243 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12244
7a6bda45
CY
122452011-07-12 Chong Yidong <cyd@stupidchicken.com>
12246
12247 * mouse-sel.el: Hack restoring functionality, while keeping
12248 compatibility with 2010-07-03 changes to mouse selection.
12249 (mouse-sel-primary-overlay): New var.
12250 (mouse-sel-selection-alist): Use it.
12251 (mouse-sel-mode): Doc fix; remove points that are default features
12252 of mouse.el.
12253
c79598ef
JB
122542011-07-12 Johan Bockgård <bojohan@gnu.org>
12255
12256 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12257 Fix previous fix (bug#2490).
12258
ff8be6ef
RW
122592011-07-12 Roland Winkler <winkler@gnu.org>
12260
b796c9b7
SM
12261 * textmodes/bibtex.el (bibtex-initialize):
12262 Use pop-to-buffer-same-window.
ff8be6ef
RW
12263 (bibtex-search-entries): Fix interactive call.
12264
296ba3ee
LMI
122652011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12266
f5242a02 12267 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12268 Fontise bytecomp Error lines more correctly (bug#2490).
12269 Fix suggested by Johan Bockgård.
f5242a02 12270
296ba3ee
LMI
12271 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12272
12273 * dired-x.el (dired-guess-default): Use `delete-dups'.
12274
f69fd0d2
CY
122752011-07-12 Chong Yidong <cyd@stupidchicken.com>
12276
12277 * dired.el (dired-mark-prompt):
12278 * dired-aux.el (dired-read-shell-command): Doc fix.
12279
eab5dc07
LMI
122802011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12281
b796c9b7
SM
12282 * mail/sendmail.el (sendmail-query-once):
12283 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12284 emacs -Q.
12285
12286 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12287
eab5dc07
LMI
12288 * cus-edit.el (custom-file): Take an optional no-error variable.
12289 (customize-save-variable): Set the variable, and give a warning if
12290 running under "emacs -q".
12291
a1e65d42
JB
122922011-07-11 Juanma Barranquero <lekktu@gmail.com>
12293
12294 * loadhist.el (unload-feature-special-hooks):
12295 Add `auto-coding-functions', `fill-nobreak-predicate' and
12296 `find-directory-functions' (bug#5327).
12297
1d52da10
LMI
122982011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12299
be958f1d
LMI
12300 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12301
5bedb26c
LMI
12302 * cus-edit.el (custom-guess-name-alist): -alist variables should
12303 use the `alist' type (bug#3120). Suggested by Drew Adams.
12304
1d52da10
LMI
12305 * printing.el: Add documentation to all the `pr-toggle-' commands.
12306
cd394be1 123072011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12308
12309 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12310 backends where it makes sense (bug#2623).
12311
dcc88d8a
LMI
123122011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12313
c3de9feb
LMI
12314 * dired-x.el (dired-guess-default): Remove duplicate shell command
12315 entries (bug#2028).
8a93078b 12316 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12317 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12318
dcc88d8a
LMI
12319 * subr.el (remove-duplicates): New conveniency function.
12320
505e3645
LMI
123212011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12322
12323 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12324 (bug#1526).
12325
123262011-07-10 Martin Rudalics <rudalics@gmx.at>
12327
12328 * window.el (display-buffer-normalize-default): Don't invert
12329 meaning of even-window-heights. Reported by Eli Zaretskii
12330 <eliz@gnu.org>.
12331
455e4fa1
BR
123322011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12333
12334 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12335
8e0bc3e9
CY
123362011-07-10 Chong Yidong <cyd@stupidchicken.com>
12337
12338 * window.el (display-buffer): Fix arguments to
12339 display-buffer-reuse-window in last change.
12340
fa7c3228
CY
12341 * faces.el (link): Use a less saturated blue on light backgrounds.
12342
12343 * startup.el (fancy-startup-text, fancy-about-text)
12344 (fancy-startup-tail): Use font-lock faces, for background safety.
12345
c0a7f300
BN
123462011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12347
b796c9b7
SM
12348 * emulation/viper-cmd.el (viper-change-state-to-vi):
12349 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12350
4dc2a129
MR
123512011-07-09 Martin Rudalics <rudalics@gmx.at>
12352
12353 * window.el (display-buffer-default-specifiers): Remove.
12354 (display-buffer-macro-specifiers): Remove default specifiers.
12355 (display-buffer-alist): Default to nil.
b796c9b7 12356 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12357 (display-buffer-pop-up-window): Allow splitting internal
12358 windows. Check whether a live window was created.
12359 (display-buffer-other-window-means-other-frame)
12360 (display-buffer-normalize-arguments): Rename to
12361 display-buffer-normalize-argument and rewrite. Set the
12362 other-window specifier.
12363 (display-buffer-normalize-special): New function.
12364 (display-buffer-normalize-options): Rename to
12365 display-buffer-normalize-default and rewrite.
12366 (display-buffer-normalize-options-inhibit): Remove.
12367 (display-buffer-normalize-specifiers): Rewrite.
12368 (display-buffer): Process other-window specifier and call
12369 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12370 more faithfully.
b796c9b7 12371 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12372 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12373 (display-buffer-in-window, display-buffer-alist-set):
12374 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12375 <tassilo@member.fsf.org>.
12376
2d43b8c9
LL
123772011-07-09 Leo Liu <sdl.web@gmail.com>
12378
12379 * register.el (insert-register): Restore accidental change on
12380 2011-06-26. (Bug#9028)
12381
7f9b7c53
GM
123822011-07-09 Glenn Morris <rgm@gnu.org>
12383
12384 * subr.el (remq): Handle the empty list. (Bug#9024)
12385
f042cfd8
AS
123862011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12387
12388 * mail/sendmail.el (send-mail-function): No longer delay custom
12389 initialization.
12390 * custom.el (custom-initialize-delay): Doc fix.
12391
856b2f11
SM
123922011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12393
12394 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12395
afae1d68
MA
123962011-07-08 Michael Albinus <michael.albinus@gmx.de>
12397
12398 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12399 human-friendly prompt.
12400
0757af94
SM
124012011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12402
12403 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12404 provided by a particular plugin.
12405
d760b731
LMI
124062011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12407
12408 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12409 save customizations (with "emacs -Q"), just set the variable
12410 instead of erroring out.
12411
12412 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12413
cd79ce90
JL
124142011-07-08 Juri Linkov <juri@jurta.org>
12415
12416 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12417 (archive-zip-update-case): Use 7z if found by `executable-find'.
12418 The order of searching the available programs is the same as in
12419 `archive-zip-extract' (bug#8968).
12420
14cc04aa
CY
124212011-07-07 Chong Yidong <cyd@stupidchicken.com>
12422
12423 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12424 (menu-bar-options-menu): Tweak descriptions.
12425
0a1848ec
LMI
124262011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12427
12428 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12429 menu items into verb phrases (bug#1421). Also refill to fit under
12430 80 columns.
12431
f5bd0689
CY
124322011-07-07 Chong Yidong <cyd@stupidchicken.com>
12433
538e85c6
CY
12434 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12435 (Info-read-node-name): Doc fix (Bug#1084).
12436
f5bd0689
CY
12437 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12438 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12439 (end-of-sexp, beginning-of-sexp)
12440 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12441 (forward-symbol, forward-same-syntax, word-at-point)
12442 (sentence-at-point): Doc fix (Bug#1144).
12443
56ec5115
LMI
124442011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12445
f3f8e37f
LMI
12446 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12447 should cover it (bug#1281).
12448
0757af94 12449 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12450
e9fce1ac 12451 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12452 negotiation fails, then possibly try again with a non-encrypted
12453 connection (bug#9017).
12454
56ec5115
LMI
12455 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12456 be used.
12457
c2f9aec8
RS
124582011-07-07 Richard Stallman <rms@gnu.org>
12459
12460 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12461 property, and handle its changed format.
12462 Look for the correct line number.
12463 Use file's line contents (but not past first =) to find
12464 correct line in message.
12465
ef7b981d 124662011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12467
12468 * international/characters.el (build-unicode-category-table):
12469 Delete it.
0757af94 12470 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12471
0757af94 12472 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12473 to src/chartab.c.
12474 (get-char-code-property): Call unicode-property-table-internal to
12475 load a file. Call get-unicode-property-internal where necessary.
12476 (put-char-code-property): Call unicode-property-table-internal to
12477 load a file. Call put-unicode-property-internal where necessary.
12478 put-unicode-property-internal where necessary.
0757af94
SM
12479 (char-code-property-description):
12480 Call unicode-property-table-internal to load a file.
c805dec0
KH
12481
12482 * international/charprop.el:
12483 * international/uni-bidi.el:
12484 * international/uni-category.el:
12485 * international/uni-combining.el:
12486 * international/uni-comment.el:
12487 * international/uni-decimal.el:
12488 * international/uni-decomposition.el:
12489 * international/uni-digit.el:
12490 * international/uni-lowercase.el:
12491 * international/uni-mirrored.el:
12492 * international/uni-name.el:
12493 * international/uni-numeric.el:
12494 * international/uni-old-name.el:
12495 * international/uni-titlecase.el:
12496 * international/uni-uppercase.el: Regenerate.
12497
12498 * loadup.el: Load international/charprop.el before
12499 international/characters.
12500
e14b388a
CY
125012011-07-07 Chong Yidong <cyd@stupidchicken.com>
12502
12503 * window.el (next-buffer, previous-buffer): Signal an error if
12504 called from a minibuffer window.
12505
12506 * bindings.el: Revert 2011-07-04 change.
12507
354cf0ba
RS
125082011-07-06 Richard Stallman <rms@gnu.org>
12509
12510 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12511 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12512 Treat markers like ints.
12513 (rmail-mime-entity): Doc fix.
12514
a48868a7
LMI
125152011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12516
4906cd3d
LMI
12517 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12518 defcustom again for backwards compatibility.
12519
e0457abe
LMI
12520 * simple.el (shell-command-on-region): Fill.
12521
d67f7e1f
LMI
12522 * dired-aux.el (dired-kill-line): Add a doc string.
12523
fe204702
LMI
12524 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12525 to "\\sw\\|\\s_" (bug#358).
12526
a48868a7
LMI
12527 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12528 (dired-unmark-backward): Ditto.
12529 (dired-flag-backup-files): Ditto.
12530
12531 * dired-x.el (dired-mark-sexp): Ditto.
12532
aa8a705c
RS
125332011-07-06 Richard Stallman <rms@gnu.org>
12534
12535 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12536 (rmail-mime-entity): New arg TRUNCATED.
12537 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12538 New functions.
12539 (rmail-mime-save): Warn if entity is truncated.
12540 (rmail-mime-toggle-hidden): Likewise, for showing.
12541 (rmail-mime-process-multipart): Record when an entity is truncated.
12542
a9a936b9
RS
12543 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12544 if ENTITY is a string.
12545
1f2b92cb
LMI
125462011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12547
f4f73198 12548 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12549 of faces when `M-C-x'-ing their definitions (bug#8378).
12550 Also clean up the code slightly.
f4f73198 12551
12b16734 12552 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12553 because that makes the colors go away.
12b16734 12554
f0691d22
LMI
12555 * mail/sendmail.el (send-mail-function): Change the default to
12556 `sendmail-query-once'.
9e87df06 12557 (sendmail-query-once): Add an autoload cookie.
f0691d22 12558
1f2b92cb
LMI
12559 * net/network-stream.el (network-stream-open-starttls): Try using
12560 a plain connection even if the server offered STARTTLS, and we
12561 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12562 capability. This should make smtpmail.el work in slightly more
12563 configurations.
12564
1cdd2a1b
MA
125652011-07-06 Michael Albinus <michael.albinus@gmx.de>
12566
12567 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12568 New defun.
12569 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12570
fbcc67e2
MM
125712011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12572
12573 * progmodes/sql.el: Version 3.0
0757af94 12574 (sql-product-alist): Add product :completion-object,
fbcc67e2 12575 :completion-column, and :statement attributes.
0757af94 12576 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12577 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12578 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12579 ansi keywords.
12580 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12581 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12582 (sql-oracle-show-reserved-words): New function for development.
12583 (sql-product-font-lock): Simplify for source code buffers.
12584 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12585 New functions.
12586 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12587 (sql-mode-map): Add statement movement functions.
12588 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12589 New variable.
fbcc67e2
MM
12590 (sql-statement-regexp, sql-beginning-of-statement)
12591 (sql-end-of-statement, sql-signum): New functions.
0757af94 12592 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12593 (sql-show-sqli-buffer): Bug fix.
12594 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12595 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12596 with sql-interactive-mode.
12597 (sql-save-connection): Save buffer local settings.
0757af94 12598 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12599 (sql-product-interactive): Bug fix.
12600 (sql-preoutput-hold): New variable.
12601 (sql-interactive-remove-continuation-prompt): Bug fixes.
12602 (sql-debug-redirect): New variable.
12603 (sql-str-literal): New function.
12604 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12605 Redesign.
fbcc67e2
MM
12606 (sql-oracle-save-settings, sql-oracle-restore-settings)
12607 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12608 (sql-completion-object, sql-completion-column)
12609 (sql-completion-sqlbuf): New variables.
12610 (sql-build-completions-1, sql-build-completions)
12611 (sql-try-completion): New functions.
12612 (sql-read-table-name): Use them.
12613 (sql-contains-names): New buffer local variable.
12614 (sql-list-all, sql-list-table): Use it.
12615 (sql-oracle-completion-types): New variable.
12616 (sql-oracle-completion-object, sql-sqlite-completion-object)
12617 (sql-postgres-completion-object): New functions.
12618
d4eaeab1
GM
126192011-07-06 Glenn Morris <rgm@gnu.org>
12620
12621 * window.el (pop-to-buffer): Doc fix.
12622
322b7dab 126232011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12624
12625 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12626
322b7dab 126272011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12628
322b7dab 12629 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12630
322b7dab 12631 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12632
605dd5bf
CY
126332011-07-05 Chong Yidong <cyd@stupidchicken.com>
12634
12635 * button.el (button): Inherit from link face. Suggested by Dan
12636 Nicolaescu.
12637
7dbfa719
SM
126382011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12639
3db614b0
SM
12640 * progmodes/gdb-mi.el: Fit in 80 columns.
12641 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12642 switch-to-buffer.
12643
7dbfa719
SM
12644 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12645 if imenu is simply not configured (bug#8941).
12646
919d884a
KM
126472011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12648
12649 * allout.el (allout-post-undo-hook): New allout outline-change
12650 event hook to signal undo activity.
12651 (allout-post-command-business): Run allout-post-undo-hook if an
12652 undo just occurred.
7dbfa719
SM
12653 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12654 * allout-widgets.el (allout-widgets-after-undo-function):
12655 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12656 in the vicinity of an undo.
12657 (allout-widgets-mode): Include allout-widgets-after-undo-function
12658 on the new allout-post-undo-hook.
12659
450a0f09
SM
126602011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12661
12662 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12663 Let define-derived-mode define it.
12664 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12665 cycles of abbrev-table inheritance (bug#8998).
12666
2de69e00
RW
126672011-07-05 Roland Winkler <winkler@gnu.org>
12668
12669 * textmodes/bibtex.el: Add support for biblatex.
12670 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12671 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12672 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12673 (bibtex-entry-alist, bibtex-field-alist): New variables.
12674 (bibtex-entry-field-alist): Obsolete alias for
12675 bibtex-BibTeX-entry-alist.
12676 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12677 (bibtex-set-dialect): New command.
12678 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12679 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12680 Bind via bibtex-set-dialect.
2de69e00
RW
12681 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12682 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12683 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12684 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12685 Define via bibtex-set-dialect.
450a0f09
SM
12686 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12687 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12688 (bibtex-vec-push, bibtex-vec-incr): New functions.
12689 (bibtex-format-entry, bibtex-field-list)
12690 (bibtex-print-help-message, bibtex-validate)
12691 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12692
2dcdbdd9
SM
126932011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12694
12695 * progmodes/compile.el (compilation-goto-locus):
12696 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12697 * bs.el (bs-cycle-next, bs-cycle-previous):
12698 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12699 * bindings.el (mode-line-other-buffer):
12700 * autoinsert.el (auto-insert):
12701 * arc-mode.el (archive-extract):
12702 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12703
b27640fe
JB
127042011-07-05 Juanma Barranquero <lekktu@gmail.com>
12705
12706 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12707 Fix check of `emacs-lock-unlockable-modes'.
12708 Coerce true values of `emacs-lock--try-unlocking' to t.
12709
53bbe3ad
JB
127102011-07-05 Juanma Barranquero <lekktu@gmail.com>
12711
12712 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12713 * emacs-lock.el: New file.
12714
1d3cdbc7
JD
127152011-07-05 Julien Danjou <julien@danjou.info>
12716
12717 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12718 than `boundp' to check if face is set.
12719
9173deec
JB
127202011-07-05 Juanma Barranquero <lekktu@gmail.com>
12721
12722 * register.el (registerv-make):
12723 * window.el (window-min-height): Fix typos in docstrings.
12724
869795d6
JD
127252011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12726
9173deec 12727 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12728 Update doc string.
12729
b768cdcd
JB
127302011-07-04 Juanma Barranquero <lekktu@gmail.com>
12731
12732 * server.el (server-execute): Catch quit and call
12733 `server-return-error' to pass the error back to emacsclient and
12734 close the connection (bug#8942).
12735
13aa217b
KM
127362011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12737
12738 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12739 insecure exception for current topic. Also note that auto-saves
12740 are handled differently.
12741
5d3385a0 12742 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12743 State variables for tracking auto-save inhibition situation.
12744
12745 (allout-write-contents-hook-handler): Rename from
12746 'allout-write-file-hook-handler', and describe how it depends on
12747 write-contents-functions sensitivity to non-nil value to prevent
12748 file write.
12749
12750 (allout-auto-save-hook-handler): Remove. auto-save does not check
12751 this in individual buffers, only in the starting buffer, so this
12752 is not the right way for us to inhibit auto-save in a buffer
12753 according to its condition.
12754
12755 (allout-mode): Use new allout-write-contents-hook-handler, and
12756 only with write-contents-functions. Remove auto-save provisions -
12757 they're implemented elsewhere.
12758
12759 (allout-before-change-handler): If undo is in progress, note that
12760 for attention of allout-post-command-business.
12761
12762 (allout-post-command-business): If the command we're following was
12763 an undo, check for change in the status of encrypted items and
12764 adjust auto-save inhibitions accordingly.
12765
12766 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12767 according to whether there are or aren't any plain-text topics
12768 pending encryption.
12769
2dcdbdd9 12770 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12771 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12772 if there are plain-text topics pending encryption.
13aa217b
KM
12773
12774 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12775 buffer-saved-size and some allout state to not inhibit auto-saves
12776 if there are no longer any plain-text topics pending encryption.
12777
0757af94
SM
12778 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12779 No longer provide for exemption of the current topic.
13aa217b 12780
ac89b32c
JL
127812011-07-04 Juri Linkov <juri@jurta.org>
12782
12783 Add 7z operations to delete and save changed members (bug#8968).
12784 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12785 New defcustoms.
12786 (archive-7z-write-file-member): New function.
12787 (archive-7z-summarize): Fix the number of dashes in the
12788 listing output.
12789
8fa39615
SM
127902011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12791
12792 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12793 (bug#8958).
12794
2f11b3f1
CY
127952011-07-04 Chong Yidong <cyd@stupidchicken.com>
12796
d66fef2b
CY
12797 * bindings.el: Ignore next-buffer and previous-buffer in
12798 minibuffer-local-map.
12799
2f11b3f1
CY
12800 * font-lock.el (font-lock-builtin-face): Change light background
12801 color to dark slate blue (Bug#6693).
12802
f932a347
WD
128032011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12804
12805 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12806
c8af70e1
SM
128072011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12808
12809 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12810 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12811 Add switch-to-buffer.
12812
f158badc
LMI
128132011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12814
12815 * isearch.el (isearch-search-fun-function): Clarify further the
12816 meaning of the function returned.
12817
6d95bd46
MA
128182011-07-04 Michael Albinus <michael.albinus@gmx.de>
12819
12820 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12821
12822 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12823 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12824 Use it.
12825 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12826 `tramp-default-remote-path' does not exist.
12827 (tramp-send-command-and-read): New optional argument NOERROR.
12828 (tramp-open-connection-setup-interactive-shell)
12829 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12830 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12831 (tramp-process-sentinel): Flush also process' connection property.
12832 (tramp-sh-handle-start-file-process): Do not set process
12833 sentinel. It is done now ...
12834 (tramp-maybe-open-connection): ... here. (Bug#8929)
12835
909e6b67
MK
128362011-07-04 MON KEY <monkey@sandpframing.com>
12837
12838 * play/animate.el (animate-string): Doc fixes and allow changing
12839 the buffer name (bug#5417).
12840
128412011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12842
c8af70e1 12843 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12844
f34755dc
PE
128452011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12846
396cec72
PE
12847 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12848 This is simpler and helps future-proof the code.
12849 (timer-until): Use time-subtract and float-time.
08235028 12850 (timer--time-less-p): Use time-less-p.
f34755dc 12851
56e6cc31
JB
128522011-07-04 Juanma Barranquero <lekktu@gmail.com>
12853
3abb79e5
JB
12854 * type-break.el (timep): Use the value of `float-time' to avoid a
12855 byte-compiler warning.
12856
56e6cc31
JB
12857 * server.el (server-eval-and-print): Return any result, even nil.
12858
7b9430b4
PE
128592011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12860
12861 * type-break.el: Accept time formats that the builtins accept.
12862 (timep, type-break-time-difference): Accept any format that
12863 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12864 This is simpler and helps future-proof the code.
12865 (type-break-time-difference): Round rather than ignoring
12866 subseconds components.
12867
3034e9e7
LMI
128682011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12869
12870 * info.el (Info-apropos-matches): Make non-interactive, since it
12871 doesn't seem to do anything useful as a command (bug#8829).
12872
1485f4c0
CY
128732011-07-03 Chong Yidong <cyd@stupidchicken.com>
12874
12875 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12876 Move from faces.el.
1485f4c0
CY
12877 (frame-default-terminal-background): New function.
12878
12879 * custom.el (custom-push-theme): Don't record faces in `changed'
12880 theme; this doesn't work correctly for per-frame face settings.
12881 (disable-theme): Use face-set-after-frame-default to reset faces.
12882 (custom--frame-color-default): New function.
12883
9fa3dd45
LMI
128842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12885
c8af70e1 12886 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12887 (bug#8769).
12888
6cbbc20c
KR
128892011-03-29 Kevin Ryde <user42@zip.com.au>
12890
12891 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12892 `perl-Test2' extend to match possible "fail #N" rep count
12893 (bug#8377).
12894
c7f98048
LMI
128952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12896
65676592
LMI
12897 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12898 `smtpmail-via-smtp' now returns the error instead of nil.
12899
c7f98048
LMI
12900 * isearch.el (isearch-search-fun-function): Clarify the doc string
12901 (bug#8101).
12902
56e6cc31 129032011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12904
12905 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12906 unnecessary spaces (bug#8987).
12907
2b216704
LMI
129082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12909
12910 * net/network-stream.el (open-network-stream): Use the
12911 :end-of-capability command thoughout.
12912
129132011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12914
12915 * net/network-stream.el (open-network-stream): Add the
12916 :end-of-capability command parameter, used by pop3.el.
12917
36adf6ce
LMI
129182011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12919
1ca0da0e
LMI
12920 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12921
fc00f69c
LMI
12922 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12923 for list)" (bug#6475).
12924
28fd8759 12925 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12926 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12927 an error (bug#6297).
12928
0dd8b6da
LMI
12929 * man.el (Man-reference-regexp): Allow matching possible
12930 word-wrapped references (bug#6289).
12931
ce1438d6
LMI
12932 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12933 for consistency with the other vc buffers (bug#6197).
12934 (vc-checkin): Ditto.
12935
12936 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12937
36adf6ce
LMI
12938 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12939
e83cc1f7
LMI
129402011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12941
8a20ca4c
LMI
12942 * custom.el (defcustom): Clarify that :set is only used in the
12943 Customize user interface (bug#6089).
12944
83319045
LMI
12945 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12946 associated with a file, refuse to run instead of erroring out
12947 (bug#6084).
12948
a8392169
LMI
12949 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12950 the doc string, since it appears that using `fill-column' always
12951 controls the width (bug#7845).
12952
e83cc1f7
LMI
12953 * simple.el (shell-command-on-region): Say where the error output
12954 went if `shell-command-default-error-buffer' is set (bug#6857).
12955
e47ca23b
KM
129562011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12957
12958 * allout.el (allout-yank-processing): Adjust cursor position for
12959 backwards-deleted space.
12960
12961 (allout-rebullet-heading): Register changes with
12962 allout-exposure-changed-hook, so the modified topic is properly
12963 decorated.
12964
5cf56143
LMI
129652011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12966
08549772
LMI
12967 * minibuffer.el (completion-in-region): Document PREDICATE
12968 (bug#7136).
12969
48e96771
LMI
12970 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12971 of keyword/argument pairs (bug#6904).
12972
c8af70e1
SM
12973 * replace.el (multi-occur):
12974 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12975
e17d05e2
LMI
129762011-07-02 Drew Adams <drew.adams@oracle.com>
12977
12978 * dired.el (dired-mark-if): Make the message about whether it's
12979 marking or unmarking clearer (bug#8523).
12980
063b0e45
LMI
129812011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12982
12983 * disp-table.el (display-table-print-array): New function.
12984 (describe-display-table): Use it to print the vectors more pretty
12985 (Bug#8859).
12986
28545e04
MR
129872011-07-02 Martin Rudalics <rudalics@gmx.at>
12988
12989 * window.el (window-state-get-1): Don't assign clone numbers.
12990 Add clone-of item to list of window parameters.
12991 (window-state-put-2): Don't process clone numbers.
12992 (display-buffer-alist): Fix doc-string.
12993
3349e122
SM
129942011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12995
12996 * subr.el (remq): Don't allocate if it's not needed.
12997 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12998 (keymap--merge-bindings): New functions.
12999 (keymap-canonicalize): Use them to refine the canonicalization.
13000 * minibuffer.el (minibuffer-local-completion-map)
13001 (minibuffer-local-must-match-map): Move initialization from C.
13002 (minibuffer-local-filename-completion-map): Move initialization from C;
13003 don't inherit from anything here.
13004 (minibuffer-local-filename-must-match-map): Make obsolete.
13005 (completing-read-default): Use make-composed-keymap to combine
13006 minibuffer-local-filename-completion-map with either
13007 minibuffer-local-must-match-map or
13008 minibuffer-local-filename-completion-map.
13009
d224ac83
GM
130102011-07-01 Glenn Morris <rgm@gnu.org>
13011
3de63bf8
GM
13012 * type-break.el (type-break-time-sum): Use dolist.
13013
d224ac83
GM
13014 * textmodes/flyspell.el (flyspell-word-search-backward):
13015 Replace CL function.
13016
1a1e3f32
SM
130172011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13018
fe3f64d5
SM
13019 * mouse.el (mouse--strip-first-event): New function.
13020 (function-key-map): Use it to map fringe clicks to normal clicks
13021 by default.
13022
eb604e34
SM
13023 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13024 (vc-bzr-revision-completion-table): Add support for annotate and date.
13025
1a1e3f32
SM
13026 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13027 inherit from parent.
13028
5bd35902
LMI
130292011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13030
ace6c69c 13031 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 13032 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 13033
191e2bed
LMI
13034 * dired.el (dired-mode): Fix up the doc string as suggested by
13035 Drew Adams (bug#8817).
13036
5bd35902
LMI
13037 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13038 cookie, since the manual says that it should be possible to add
13039 this function to `find-file-hook' (bug#8709).
13040
eee8207a
TZ
130412011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13042
13043 * progmodes/cfengine.el: Moved all cfengine3.el functionality
13044 here. Noted Ted Zlatanov as the maintainer.
13045 (cfengine-common-settings, cfengine-common-syntax): New functions
13046 to set up common things between `cfengine-mode' and
13047 `cfengine3-mode'.
13048 (cfengine3-mode): New mode.
13049 (cfengine3-defuns cfengine3-defuns-regex
13050 (cfengine3-class-selector-regex cfengine3-category-regex)
13051 (cfengine3-vartypes cfengine3-font-lock-keywords)
13052 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 13053 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 13054
36b148cf
MA
130552011-07-01 Michael Albinus <michael.albinus@gmx.de>
13056
13057 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13058
13059 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13060
0bf4ba9a
MR
130612011-07-01 Martin Rudalics <rudalics@gmx.at>
13062
13063 * window.el (same-window-buffer-names, same-window-regexps)
13064 (same-window-p, special-display-frame-alist)
13065 (special-display-popup-frame, special-display-function)
13066 (special-display-buffer-names, special-display-regexps)
13067 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13068 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13069 (split-window-preferred-function, split-height-threshold)
13070 (split-width-threshold, even-window-heights)
13071 (display-buffer-mark-dedicated, window-splittable-p)
13072 (split-window-sensibly, window-safely-shrinkable-p):
13073 Un-obsolete.
13074 (display-buffer): Don't spread args with function specifier
13075 because special-display-popup-frame won't like it.
13076
35837f51
PE
130772011-07-01 Paul Eggert <eggert@cs.ucla.edu>
13078
d0672f86
PE
13079 Time-stamp simplifications and fixes.
13080 These improve accuracy slightly, and future-proof the code
13081 against some potential changes to current-time format.
13082
b9444d97
PE
13083 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13084 by using time-since and float-time.
13085
0ef923dc
PE
13086 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13087 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13088 + NNN microseconds".
13089
2f81380d
PE
13090 * type-break.el (type-break-time-sum): Rewrite using time-add.
13091
845b5c3e
PE
13092 * play/hanoi.el (hanoi-current-time-float): Remove.
13093 All uses replaced by float-time.
13094
ee6f1be0
PE
13095 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13096 This yields a more-accurate answer.
13097 (rng-time-to-float): Remove; no longer needed.
13098
fe955043
PE
13099 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13100
5777162a
PE
13101 * calendar/timeclock.el (timeclock-seconds-to-time):
13102 Defalias to seconds-to-time, since they're the same thing.
13103
3103f8b6 13104 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 13105 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
13106 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13107
0e61a35f
SM
131082011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13109
13110 * window.el (bury-buffer): Don't iconify the only frame.
13111 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13112 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13113
ddd63a1e
CY
131142011-07-01 Chong Yidong <cyd@stupidchicken.com>
13115
0e61a35f
SM
13116 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13117 Add mouse-yank-primary.
ddd63a1e 13118
055f4923
TZ
131192011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13120
13121 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13122
6a2fb145
SM
131232011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13124
13125 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13126 (find-library-name): Use it to find relative load names when provided
13127 absolute file name (bug#8803).
13128
fd4983f2
LMI
131292011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13130
887d14ad
LMI
13131 * textmodes/flyspell.el (flyspell-word): Consider words that
13132 differ only in case as potential doublons (bug#5687).
13133
c53dc7fc
LMI
13134 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13135 Remove two rather uninteresting debugging-like messages to make
13136 debbugs.el more silent.
13137
fd4983f2
LMI
13138 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13139 a password-like phrase.
13140
7a71b18d 131412011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
13142
13143 * progmodes/cc-guess.el: New file.
13144
6a2fb145 13145 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
13146
13147 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13148 derived from `c-basic-common-init'.
13149
13150 * progmodes/cc-mode.el (top-level): Require cc-guess.
13151 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13152
1fa280a3
LM
131532011-06-30 Lawrence Mitchell <wence@gmx.li>
13154
13155 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13156
e6597158
AM
131572011-06-30 Alan Mackenzie <acm@muc.de>
13158
1fa280a3
LM
13159 * progmodes/cc-engine.el (c-guess-continued-construct):
13160 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
13161 lock is disabled. Name this case as "CASE G".
13162
68ba37fb
KM
131632011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13164
13165 * allout.el (allout-yank-processing): Fix injection of extra space
13166 between bullet and non-whitespace character in first topic when
13167 pasting, ensuring that the actual spacing in the pasted topic
13168 following the bullet char is preserved. This extra space was
13169 causing pasted encrypted topics to get a decrypted status even
13170 when the content was actually still encrypted. Now the decryption
13171 status from before the paste is preserved.
13172
13173 (allout-flag-region): Set all allout overlays so they evaporate
13174 when reduced to zero length (evanescent), to prevent overlay
13175 leakage.
13176
887a0b34
GM
131772011-06-30 Glenn Morris <rgm@gnu.org>
13178
94b9acce
GM
13179 * w32-fns.el (w32-charset-info-alist): Declare.
13180
1d9b46d4
GM
13181 * find-dired.el (find-grep-options): Simplify.
13182
cc232200
GM
13183 * term/ns-win.el (ns-set-resource): Declare.
13184
28e77c46
GM
13185 * ses.el (row, col): Declare dynamic variables honestly.
13186
887a0b34
GM
13187 * textmodes/reftex-parse.el (index-tags): Declare.
13188
658d8eb8
CY
131892011-06-30 Chong Yidong <cyd@stupidchicken.com>
13190
13191 * cus-edit.el (customize-push-and-save): New function.
13192
13193 * files.el (hack-local-variables-confirm): Use it.
13194
1fa280a3
LM
13195 * custom.el (load-theme): New arg NO-CONFIRM.
13196 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
13197 (custom-enabled-themes): Doc fix.
13198
13199 * cus-theme.el (customize-create-theme)
13200 (custom-theme-merge-theme): Callers to load-theme changed.
13201
bb617717
LMI
132022011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13203
d61bdd5d
LMI
13204 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13205 short URLs have at least one dot in them (bug #7614).
13206
bb617717
LMI
13207 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13208 nil, because using a pty is apparently too slow (bug #895).
13209
2f31f37a
LMI
132102011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13211
13212 * mail/sendmail.el (sendmail-query-once): New function.
13213 (sendmail-query-once-function): New variable.
13214
3076b24e
GM
132152011-06-29 Glenn Morris <rgm@gnu.org>
13216
faf2a174
GM
13217 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13218
3076b24e
GM
13219 * ses.el (top-level): Require cl when compiling.
13220 (ses-set-localvars): Fix error statement.
13221 Call it at compile time to silence a storm of warnings.
13222
5386012d
MR
132232011-06-29 Martin Rudalics <rudalics@gmx.at>
13224
13225 * window.el (normalize-live-buffer): Rename to
13226 window-normalize-buffer.
13227 (normalize-live-frame): Rename to window-normalize-frame.
13228 (normalize-any-window): Rename to window-normalize-any-window.
13229 (normalize-live-window): Rename to window-normalize-live-window.
13230 (make-window-atom): Rename to window-make-atom.
13231 (window-resize-reset): Rename to window--resize-reset.
13232 (window-resize-reset-1): Rename to window--resize-reset-1.
13233 (resize-mini-window): Rename to window--resize-mini-window.
13234 (resize-subwindows-skip-p): Rename to
13235 window--resize-subwindows-skip-p.
13236 (resize-subwindows-normal): Rename to
13237 window--resize-subwindows-normal.
13238 (resize-subwindows): Rename to window--resize-subwindows.
13239 (resize-other-windows): Rename to window--resize-siblings.
13240 (resize-this-window): Rename to window--resize-this-window.
13241 (resize-root-window): Rename to window--resize-root-window.
13242 (resize-root-window-vertically): Rename to
13243 window--resize-root-window-vertically.
13244 (normalize-buffer-to-display): Rename to
13245 window-normalize-buffer-to-display.
13246 (normalize-buffer-to-switch-to): Rename to
13247 window-normalize-buffer-to-switch-to.
13248 Correspondingly update all callers of the functions listed
13249 above.
13250 (display-buffer-alist, display-buffer-normalize-arguments)
13251 (display-buffer-normalize-options, display-buffer)
13252 (display-buffer-alist-set): Use "function" instead of
13253 "fun-with-args".
13254
1176868d
CY
132552011-06-28 Chong Yidong <cyd@stupidchicken.com>
13256
13257 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13258 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13259 debbugs.gnu.org. Mention acknowledgment email.
13260
20a7a65f
LMI
132612011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13262
13263 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13264 buffer multibyteness, since it shouldn't matter.
13265
5f45cca5
MR
132662011-06-28 Martin Rudalics <rudalics@gmx.at>
13267
13268 * window.el (display-buffer-in-side-window): Handle dedicated
13269 windows as in display-buffer-reuse-window.
13270 (display-buffer-normalize-alist): Use value of override
13271 specifier.
13272 (display-buffer-normalize-specifiers): Use value of
13273 other-window-means-other-frame specifier.
13274 (display-buffer-alist): Rewrite some texts in widgets.
13275 (display-buffer): Spread arguments when calling function
13276 specified by fun-with-args.
13277
ad85fe1f
DD
132782011-06-28 Deniz Dogan <deniz@dogan.se>
13279
1fa280a3
LM
13280 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13281 Unnest `let'.
da68c4c8 13282
ad85fe1f
DD
13283 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13284 selectors (Bug#5732).
ec49bd31 13285 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13286
a08cc025
JA
132872011-06-27 Jari Aalto <jari.aalto@cante.net>
13288
13289 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13290 (eshell-ls-date-format): New defcustom.
13291 (eshell-ls-file): Use it.
13292
e2b551c5
SM
132932011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13294
13295 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13296
8982b231
KY
132972011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13298
13299 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13300 (ange-ftp-make-tmp-name): New arg.
13301 (ange-ftp-file-local-copy): Use it.
13302
36c9fa27
J
133032011-06-27 Jambunathan K <kjambunathan@gmail.com>
13304
13305 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13306 no-conversion (Bug#8870).
13307
d68443dc
MR
133082011-06-27 Martin Rudalics <rudalics@gmx.at>
13309
13310 * window.el (window-right, window-left, window-child)
13311 (window-child-count, window-last-child)
13312 (window-iso-combination-p, walk-window-tree-1)
13313 (window-atom-check-1, window-tree-1, delete-window)
13314 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13315 new naming conventions - window-vchild, window-hchild,
13316 window-next and window-prev are now called window-top-child,
13317 window-left-child, window-next-sibling and window-prev-sibling
13318 respectively.
d615d6d2
MR
13319 (resize-window-reset): Rename to window-resize-reset.
13320 (resize-window-reset-1): Rename to window-resize-reset-1.
13321 (resize-window): Rename to window-resize.
13322 (window-min-height, window-min-width)
13323 (resize-mini-window, resize-this-window, resize-root-window)
13324 (resize-root-window-vertically, adjust-window-trailing-edge)
13325 (enlarge-window, shrink-window, maximize-window)
13326 (minimize-window, delete-window, quit-restore-window)
13327 (split-window, balance-windows, balance-windows-area-adjust)
13328 (balance-windows-area, window-state-put-2)
13329 (display-buffer-even-window-sizes, display-buffer-set-height)
13330 (display-buffer-set-width, set-window-text-height)
13331 (fit-window-to-buffer): Rename all "resize-window" prefixed
13332 calls to use the "window-resize" prefix convention.
13333 (display-buffer-alist): Fix symbol for label specifier.
13334 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13335 corresponding specifier.
13336 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13337
b6458526
VB
133382011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13339
13340 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13341 convention.
13342 (ses-call-printer): Does not pass an empty string to formatter when the
13343 cell is empty to keep from barking printer Calc math-format-value.
13344
d31fd9ac
RS
133452011-06-27 Richard Stallman <rms@gnu.org>
13346
43d5bf84
RS
13347 * battery.el (battery-mode-line-limit): New variable.
13348 (battery-update): Handle it.
13349
d31fd9ac
RS
13350 * mail/rmailmm.el (rmail-mime-process-multipart):
13351 Handle truncated messages.
13352
819a6054
GM
133532011-06-27 Glenn Morris <rgm@gnu.org>
13354
13355 * progmodes/flymake.el (flymake-err-line-patterns):
13356 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13357
cedc73f2
VB
133582011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13359
819a6054 13360 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13361 (ses--clean-!, ses--clean-_): New functions.
13362 (ses-range): Add configurability of readout order, and conversion
13363 to Calc vector.
13364
5e5d49b6
VB
13365 * ses.el (ses-repair-cell-reference-all): New function.
13366 (ses-cell-symbol): Set macro as safe, so that it can be used in
13367 formulas.
13368
56e6cc31 13369 * ses.el: Update cycle detection algorithm.
90ca8b49 13370 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13371 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13372 (ses-set-localvars): New function.
13373 (ses-make-cell): Add property-list as a cell element.
13374 (ses-cell-property-get-fun, ses-cell-property-get)
13375 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13376 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13377 New functions.
90ca8b49
VB
13378 (ses-cell-property-set, ses-cell-property-pop)
13379 (ses-cell-property-get-handle): New macro.
13380 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13381 New aliases, used for code readability.
13382 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13383 cycle detection.
13384 (ses-self-reference-early-detection): New defcustom.
fac916bf 13385 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13386 (ses-mode): Use ses-set-localvars.
13387 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13388 before lauching the update processing.
13389 (ses-initialize-Dijkstra-attempt): New function.
13390 (ses-recalculate-cell): Update for cycle detection based on
13391 Dijkstra algorithm.
13392
2bb63e81
VB
13393 * ses.el: Fix commenting and indenting convention.
13394
c9d29fb8
SM
133952011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13396
13397 * bs.el (bs-cycle-next): Complete last change.
13398
d8e4b68b
JB
133992011-06-27 Drew Adams <drew.adams@oracle.com>
13400
13401 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13402
40098786
LMI
134032011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13404
c9d29fb8
SM
13405 * net/network-stream.el (network-stream-open-starttls):
13406 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13407 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13408
40098786
LMI
13409 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13410 to binary to possibly avoid line encoding issues on Windows (among
13411 other things).
13412
468d09d4
LMI
134132011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13414
13415 * net/network-stream.el (open-network-stream): Return an :error
13416 saying what the problem was, if possible.
13417
13418 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13419 server.
13420
13421 * net/network-stream.el (network-stream-open-starttls): If we
13422 wanted to use STARTTLS, and the server offered it, but we weren't
13423 able to because we had no STARTTLS support, then close the connection.
13424 (open-network-stream): Return an :error element, if present.
13425
16f07dd7
CY
134262011-06-26 Chong Yidong <cyd@stupidchicken.com>
13427
88821ca0
CY
13428 * hl-line.el (hl-line-sticky-flag): Doc fix.
13429 (global-hl-line-sticky-flag): New option (Bug#8323).
13430 (global-hl-line-highlight): Obey it.
13431
16f07dd7
CY
13432 * vc/vc.el (vc-revert-show-diff): Default to t.
13433
6b5ccddf
KM
134342011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13435
c9d29fb8
SM
13436 * allout-widgets.el (allout-widgets-post-command-business):
13437 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13438 undecorated when an isearch is continued past, and isearch
13439 automatically collapses them. This leads to "widget leaks", where
13440 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13441 hidden widgets can slow down cursor travel, substantially.
13442 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13443 so we're doing without this nicety.
13444
13445 (allout-widgets-tally-string): Don't try to do a hash-table-count
13446 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13447 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13448 *Messages* when allout-widgets-maintain-tally is t.
13449
355f2e07
MR
134502011-06-26 Martin Rudalics <rudalics@gmx.at>
13451
13452 * window.el (display-buffer-normalize-argument): Rename to
13453 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13454 LABEL argument. Respect special-display-function when popping up
13455 a new frame. Fix code searching for a window showing the buffer
13456 on another frame.
c9d29fb8
SM
13457 (display-buffer-normalize-specifiers):
13458 Call display-buffer-normalize-arguments.
355f2e07
MR
13459 (display-buffer-in-window): Don't undedicate the window if its
13460 buffer remains the same.
13461 Reported by Drew Adams <drew.adams@oracle.com>.
13462 (display-buffer-alist): Add choice for same-window macro
13463 specfier.
13464 (display-buffer): Mention special meaning of LABEL argument in
13465 doc-string. Fix quoting. Don't pop up a new frame even as
13466 fallback.
13467
7ca8fc42
JB
134682011-06-26 Juanma Barranquero <lekktu@gmail.com>
13469
13470 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13471 avoid deleting the current window in some cases (bug#8911).
13472
bc312254
AS
134732011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13474
13475 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13476 (Bug#8934)
13477
2db18f3f
LMI
134782011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13479
c9d29fb8
SM
13480 * net/network-stream.el (network-stream-open-starttls):
13481 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13482 (network-stream-open-tls): Ditto.
13483
6302e0d3
LL
134842011-06-26 Leo Liu <sdl.web@gmail.com>
13485
13486 * register.el (registerv): New struct.
13487 (registerv-make): New function.
c9d29fb8
SM
13488 (jump-to-register, describe-register-1, insert-register):
13489 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13490 struct. (Bug#8415)
13491
5fdd4046
CY
134922011-06-26 Chong Yidong <cyd@stupidchicken.com>
13493
2afef60a
CY
13494 * vc/vc.el (vc-revert-show-diff): New defcustom.
13495 (vc-diff-internal): New arg specifying diff buffer.
13496 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13497 reuse an existing *vc-diff* buffer (Bug#8927).
13498
5fdd4046
CY
13499 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13500
e93db24a
GM
135012011-06-26 Glenn Morris <rgm@gnu.org>
13502
13503 * progmodes/f90.el (f90-critical-indent): New option.
13504 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13505 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13506 (f90-mode): Doc fix.
13507 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13508 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13509 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13510 (f90-match-end): Handle block, critical.
13511
eefff499
GM
135122011-06-25 Glenn Morris <rgm@gnu.org>
13513
f6ba4cc9
GM
13514 * calendar/diary-lib.el (diary-included-files): Doc fix.
13515 (diary-include-files): New function, extracted from
13516 diary-include-other-diary-files and diary-mark-included-diary-files.
13517 (diary-include-other-diary-files, diary-mark-included-diary-files):
13518 Just call diary-include-files.
13519 (diary-mark-entries): Reset diary-included-files on first call.
13520
16712304
GM
13521 * calendar/diary-lib.el (diary-mark-entries)
13522 (diary-mark-included-diary-files):
13523 Visit included diary-files in temp buffers.
13524
5d8e0d43
GM
13525 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13526 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13527 (f90-start-block-re, f90-imenu-generic-expression)
13528 (f90-looking-at-program-block-start, f90-no-block-limit):
13529 Add support for submodules.
13530
ccf7a5d5
GM
13531 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13532 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13533
11fdef7d 135342011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13535
13536 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13537 buffer-file-type before setting its value, to avoid disastrous
eefff499 13538 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13539
74f53697
JB
135402011-06-25 Juanma Barranquero <lekktu@gmail.com>
13541
13542 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13543
13544 * ses.el (ses-unload-function):
13545 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13546
13547 * proced.el (proced-unload-function):
13548 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13549
18a4ce5e
AR
135502011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13551
13552 * server.el (server-create-window-system-frame): Add parameters arg.
13553 (server-process-filter): Doc fix. Handle frame-parameters.
13554
519d22cc
JB
135552011-06-25 Juanma Barranquero <lekktu@gmail.com>
13556
13557 Fix bug#8730, bug#8781.
13558
13559 * loadhist.el (unload--set-major-mode): New function.
13560 (unload-feature): Use it.
13561
13562 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13563 (python-unload-function): New function.
13564
c206f5b0
SM
135652011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13566
13567 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13568
f9ad64f3
GS
135692011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13570
13571 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13572 the candidates list.
13573
7d0da90e
JB
135742011-06-24 Juanma Barranquero <lekktu@gmail.com>
13575
13576 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13577
14b4e83d
RS
135782011-06-23 Richard Stallman <rms@gnu.org>
13579
13580 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13581 (rmail-variables): Set next-error-move-function.
13582 (rmail-what-message): Take argument POS.
13583 (rmail-next-error-move): New function.
13584
273d2baf
SM
135852011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13586
13587 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13588 messages for adjacent non-terminals.
13589
56c2cc9a
RS
135902011-06-23 Richard Stallman <rms@gnu.org>
13591
13592 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13593 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13594 (rmail-start-mail): Don't specify use of rmail-mail-return;
13595 that's done by mail-bury now.
13596 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13597
d59eb518
MA
135982011-06-23 Michael Albinus <michael.albinus@gmx.de>
13599
13600 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13601 SIZE is a number.
13602
02cfc6d6
MR
136032011-06-23 Martin Rudalics <rudalics@gmx.at>
13604
13605 * window.el (get-lru-window, get-mru-window)
13606 (get-largest-window): Never return a minibuffer window.
13607 (display-buffer-pop-up-window): Fix a bug that could lead to
13608 reusing the minibuffer window.
13609 (display-buffer): Pass original specifier argument to
13610 display-buffer-function instead of the normalized one.
13611 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13612
4e323265
LL
136132011-06-22 Leo Liu <sdl.web@gmail.com>
13614
13615 * minibuffer.el (completing-read-function)
13616 (completing-read-default): Move from minibuf.c
13617
7a70468f
RS
136182011-06-22 Richard Stallman <rms@gnu.org>
13619
50718fc2
RS
13620 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13621 to Rmail even if not started by a special Rmail command.
13622
7a70468f
RS
13623 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13624 Copy the buffer currently showing just one message.
13625
297dde5a
RW
136262011-06-22 Roland Winkler <winkler@gnu.org>
13627
13628 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13629 (bibtex-clean-entry): First delete the old key so that a
13630 customized algorithm for generating the new key does not get
13631 confused by the old key.
13632 (bibtex-url): Obey regexp of first step.
13633 (bibtex-search-entries): Do not use add-to-list with local
13634 list-var.
13635
97bb1093
LMI
136362011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13637
13638 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13639 stored a user name, then query for the password first, instead of
13640 waiting for SMTP to give an error message and the trying again.
13641
1c0f1a19
JD
136422011-06-22 Lawrence Mitchell <wence@gmx.li>
13643
13644 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13645 BUFFER in call-process.
13646
396f7c9d
LMI
136472011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13648
13649 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13650 QUIT twice.
ddb7ffee
LMI
13651 (smtpmail-try-auth-methods): Require user name and password from
13652 auth-source.
396f7c9d 13653
8998d1b3
MR
136542011-06-22 Martin Rudalics <rudalics@gmx.at>
13655
13656 * window.el (display-buffer-default-specifiers)
13657 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13658 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13659 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13660
13661 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13662 (special-display-frame-alist, special-display-popup-frame):
13663 Remove duplicate declarations. These are now in window.el.
13664
4ea31e07
LMI
136652011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13666
c9d29fb8
SM
13667 * mail/smtpmail.el (smtpmail-via-smtp):
13668 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13669 server supports it. SMTP servers that support STARTTLS commonly
13670 require it.
13671
13672 * net/network-stream.el (network-stream-open-starttls): Support
13673 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13674 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13675
95f41d9a
LMI
13676 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13677 upgrades with `open-network-stream', and rely solely on
13678 auth-source for all credentials. Big changes throughout the file,
13679 but in particular:
c9d29fb8
SM
13680 (smtpmail-auth-credentials): Remove.
13681 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13682 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13683 MAIL FROM, too.
95f41d9a 13684
c9d29fb8
SM
13685 * net/network-stream.el (network-stream-open-starttls):
13686 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13687 STARTTLS.
13688 (auth-source): Require.
13689 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13690 (network-stream-certificate): Change cert-cert to cert and
13691 cert-key to key.
4ea31e07 13692
065ec2c7
MA
136932011-06-21 Michael Albinus <michael.albinus@gmx.de>
13694
13695 * net/tramp-cache.el (top): Don't load the persistency file when
13696 "emacs -Q" has been called.
13697
cd93b359
DR
136982011-06-21 Tim Harper <timcharper@gmail.com>
13699
d8e4b68b
JB
13700 * term/ns-win.el (ns-initialize-window-system):
13701 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13702 resource to NO as it is not yet supported by the NS port.
13703
ae9c0411
JB
137042011-06-21 Juanma Barranquero <lekktu@gmail.com>
13705
13706 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13707 (list-dynamic-libraries): ...not here.
13708
7f3f739f
LL
137092011-06-21 Leo Liu <sdl.web@gmail.com>
13710
13711 * subr.el (sha1): Implement sha1 using secure-hash.
13712
327c8fb1
MR
137132011-06-21 Martin Rudalics <rudalics@gmx.at>
13714
13715 * window.el (display-buffer-alist): In default value do not
13716 enforce searching a window on any but the selected frame.
13717 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13718 (display-buffer-select-window): Remove function.
13719 (display-buffer-in-window): When a window on another frame gets
13720 reused, do not select it any more but just raise its frame if
13721 necessary (Bug#8851) and (Bug#8856).
13722 (display-buffer-normalize-options): Handle pop-up-frames related
13723 options more faithfully.
13724 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13725 window if it is on another frame.
c9d29fb8
SM
13726 (display-buffer-alist, display-buffer-default-specifiers):
13727 Don't make new frame unsplittable by default.
9e9de014
MR
13728 (display-buffer-normalize-argument): Fix doc-string typo and use
13729 'same-frame-other-window instead of 'other-window when associating
13730 with display-buffer-macro-specifiers.
327c8fb1 13731
7cf3f556
VB
137322011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13733
13734 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13735 New functions.
13736 (5x5-mode-map, 5x5-mode-menu): Bind them.
13737 (5x5-draw-grid): Tweak the solver's rendering.
13738
60a406cf
SM
137392011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13740
13741 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13742 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13743
d8e4b68b 137442011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13745
13746 * menu-bar.el: Use function variable instead of switch-to-buffer.
13747 (menu-bar-select-buffer-function): New variable.
60a406cf 13748 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13749
478d6f95
SM
137502011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13751
13752 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13753 variable's status.
13754
ca530739
JD
137552011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13756
13757 * x-dnd.el (x-dnd-version-from-flags)
13758 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13759 and long as number (Bug#8899).
13760 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13761
bcd70d97
SM
137622011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13763
60a406cf 13764 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13765 (completion-try-completion, completion-all-completions): Compute the
13766 metadata argument if it's missing; make it optional (bug#8795).
13767
60a406cf 13768 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13769 (widget-complete): Use new :completion-function property.
13770 (widget-completions-at-point): New function.
13771 (default): Use :completion-function instead of :complete.
60a406cf
SM
13772 (widget-default-completions): Rename from widget-default-complete;
13773 Rewrite.
bcd70d97
SM
13774 (widget-string-complete, widget-file-complete, widget-color-complete):
13775 Remove functions.
13776 (file, symbol, function, variable, coding-system, color):
13777 * international/mule-cmds.el (default-input-method, charset)
13778 (language-info-custom-alist):
13779 * cus-edit.el (face): Use new property :completions.
13780
13781 * progmodes/pascal.el (pascal-completions-at-point): New function.
13782 (pascal-mode): Use it.
13783 (pascal-mode-map): Use completion-at-point.
13784 (pascal-toggle-completions): Make obsolete.
13785 (pascal-complete-word, pascal-show-completions):
13786 * progmodes/octave-mod.el (octave-complete-symbol):
13787 Redefine as obsolete alias.
13788 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13789 Signal absence of completion info for old Octave,
13790 (inferior-octave-complete): Redefine as obsolete alias.
13791 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13792 (meta-completions-at-point): Rename from meta-complete-symbol and
13793 adapt it for use on completion-at-point-functions.
13794 (meta-common-mode): Use it.
13795 (meta-looking-at-backward, meta-match-buffer): Remove.
13796 (meta-complete-symbol): Redefine as obsolete alias.
13797 (meta-common-mode-map): Use completion-at-point.
13798 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13799 (makefile-mode-map): Use completion-at-point.
13800 (makefile-completions-at-point): Rename from makefile-complete and
13801 adapt it for use on completion-at-point-functions.
13802 (makefile-mode): Use it.
13803 (makefile-complete): Redefine as obsolete alias.
13804
aebf69c8
DD
138052011-06-20 Deniz Dogan <deniz@dogan.se>
13806
13807 * net/rcirc.el: Delete trailing whitespaces once and for all.
13808
bfbbb27d
DC
138092011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13810
13811 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13812
d264a46b
CY
138132011-06-19 Chong Yidong <cyd@stupidchicken.com>
13814
4ca009e5
CY
13815 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13816
d264a46b
CY
13817 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13818
fbf5b3ce
MR
138192011-06-19 Martin Rudalics <rudalics@gmx.at>
13820
13821 * window.el (display-buffer-other-window-means-other-frame):
13822 Call display-buffer-normalize-alist.
13823 (display-buffer-normalize-specifiers-1): Rename to
13824 display-buffer-normalize-argument. New argument other-frame.
13825 Rewrite.
13826 (display-buffer-normalize-specifiers-2): Rename to
13827 display-buffer-normalize-options.
13828 (display-buffer-normalize-alist-1): New function.
13829 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13830 display-buffer-normalize-alist.
13831 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13832 (display-buffer-normalize-options-inhibit): New variable.
13833 (display-buffer-normalize-specifiers): Rewrite calling
13834 display-buffer-normalize-alist,
13835 display-buffer-normalize-argument, and
13836 display-buffer-normalize-options. Don't call the latter if
13837 display-buffer-normalize-options-inhibit is non-nil.
13838 (frame-auto-delete): New option.
13839 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13840 (window-list-no-nils, window-state-ignored-parameters)
13841 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13842 (window-state-put-1, window-state-put-2, window-state-put):
13843 New functions.
9a028c23
MR
13844 (display-buffer-normalize-options): Move special-display-p group
13845 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13846
6d10d800
CY
138472011-06-18 Chong Yidong <cyd@stupidchicken.com>
13848
6420d28b
CY
13849 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13850 groups (Bug#8776).
13851 (rx-submatch-n): New function.
13852 (rx): Document it.
13853
ddb8b596
CY
13854 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13855 (Bug#8768).
13856
13857 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13858
77080289
CY
13859 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13860
61dfb316
CY
13861 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13862 anytime existing face settings are present (Bug#8889).
13863
6d10d800
CY
13864 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13865 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13866 Remove unused argument.
13867
be3fb2b8
MR
138682011-06-18 Martin Rudalics <rudalics@gmx.at>
13869
bcd70d97
SM
13870 * window.el (display-buffer-default-specifiers):
13871 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13872 pop-up-window-min-width, and another reuse-window specifier
13873 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13874 (display-buffer-normalize-specifiers-2):
13875 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13876 pop-up-windows is unset. Add a reuse-window specifier for the
13877 case popping up a new window fails.
13878 (special-display-popup-frame): Remove double quoting.
28dec25a 13879 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13880
1c6d8c76
SM
138812011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13882
13883 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13884 according to comint-completion-addsuffix.
13885
13886 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13887 (pcomplete-suffix-list): Mark as obsolete.
13888 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13889 pcomplete-seen in the closure.
13890 (pcomplete-comint-setup): Setup completion-at-point as well.
13891 (pcomplete--entries): New function.
13892 (pcomplete--env-regexp): New var.
13893 (pcomplete-entries): Rewrite to work with partial-completion and
13894 without relying on pcomplete-suffix-list.
13895 (pcomplete-pare-list): Remove, unused.
13896
25aef8b8
MR
138972011-06-17 Martin Rudalics <rudalics@gmx.at>
13898
13899 * window.el (display-buffer-alist): Set pop-up-window-min-height
13900 and pop-up-window-min-width in default value. Reported by
13901 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13902 other-window-means-other-frame.
13903 (display-buffer-macro-specifiers): Comment out entry for
13904 other-window specifier.
13905 (display-buffer-other-window-means-other-frame): New function.
13906 (display-buffer-normalize-specifiers-1): New arguments
13907 buffer-name and label. Treat other-window case specially.
13908 (display-buffer-normalize-specifiers-2): Treat other-window case
13909 specially.
13910 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13911 (display-buffer-normalize-specifiers):
13912 Call display-buffer-normalize-specifiers-3.
25aef8b8 13913
dbad4f69
MR
139142011-06-17 Martin Rudalics <rudalics@gmx.at>
13915
13916 * window.el (same-window-p): Fix two typos introduced when
13917 adding with-no-warnings.
d1067961
MR
13918 (display-buffer-normalize-specifiers-1): Don't check
13919 pop-up-frames for 'unset initialization.
13920 (display-buffer-normalize-specifiers-2): Major rewrite using
13921 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13922 (pop-up-frames, display-buffer-reuse-frames)
13923 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13924 Suggested by David Engster <deng@randomsample.de>.
13925 (even-window-heights): Initialize to 'unset.
13926 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13927 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13928 other window case.
dbad4f69 13929
9b9c9e3a
MR
139302011-06-16 Martin Rudalics <rudalics@gmx.at>
13931
bcd70d97
SM
13932 * window.el (display-buffer-normalize-specifiers-1):
13933 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13934 second argument of display-buffer (Bug#8865).
981d5c09
MR
13935 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13936 (switch-to-buffer-other-window-same-frame)
13937 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13938 Adams (Bug#8875).
9c2755e9
MR
13939 (display-buffer): Don't check noninteractive when calling
13940 display-buffer-pop-up-frame.
13941 (display-buffer-pop-up-frame): Never pop up a frame in
13942 noninteractive mode (Bug#8857).
67222e1d
MR
13943 (enlarge-window, shrink-window): Don't report an error when the
13944 window can't be resized as requested (Bug#8862).
9b9c9e3a 13945
2b75be67
SM
139462011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13947
9ffdd3ba
SM
13948 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13949
cb581a67
SM
13950 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13951
2b75be67
SM
13952 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13953
8c0e3589
AM
139542011-06-15 Alan Mackenzie <acm@muc.de>
13955
cb581a67
SM
13956 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13957 for declarators, disable knr checking to speed up for normal files.
13958 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13959
b96e6cde
LMI
139602011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13961
4bba86e6
LMI
13962 * net/network-stream.el (open-network-stream): Add the keyword
13963 :always-query-capabilities for the case where you want to force a
13964 `plain' network connection, but the protocol still requires the
13965 capabilitiy command (i.e., SMTP and EHLO).
13966
2b75be67 13967 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13968 consistency with other `-live-p' functions.
13969
efdcdbf8
SM
139702011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13971
13972 * window.el (same-window-buffer-names, same-window-regexps)
13973 (special-display-frame-alist, special-display-popup-frame)
13974 (special-display-function, special-display-buffer-names)
13975 (special-display-regexps, pop-up-frame-alist)
13976 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13977 (pop-up-windows, split-window-preferred-function)
13978 (split-height-threshold, split-width-threshold, even-window-heights)
13979 (display-buffer-mark-dedicated): Don't encourage the use of
13980 display-buffer-alist from Elisp code.
13981
c5cde042
DN
139822011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13983
13984 * progmodes/python.el (python-mode): Derive from prog-mode.
13985 * progmodes/ps-mode.el (ps-mode):
13986 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13987 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13988 * progmodes/ld-script.el (ld-script-mode): Likewise.
13989
baa1c9ab
MR
139902011-06-15 Martin Rudalics <rudalics@gmx.at>
13991
13992 * window.el (display-buffer-alist): Trim default value to avoid
13993 popping up a new frame (Bug#8857) or reusing an arbitrary window
13994 on another frame.
13995 (display-buffer): Do not fall back on popping up a new frame in
13996 batch mode (Bug#8857).
13997
c5dd5a51
CY
139982011-06-14 Chong Yidong <cyd@stupidchicken.com>
13999
14000 * cus-theme.el (describe-theme-1): Use custom-theme-p.
14001 (custom-theme-summary): New function.
14002 (customize-themes): Use it.
14003
d647b7c4
GM
140042011-06-13 Glenn Morris <rgm@gnu.org>
14005
14006 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14007
9481c002
MR
140082011-06-13 Martin Rudalics <rudalics@gmx.at>
14009
357f93d2
MR
14010 * help.el (help-window): Remove variable.
14011 (help-window-point-marker, temp-buffer-max-height)
14012 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14013 (help-print-return-message): Don't set help-window.
14014 (resize-temp-buffer-window): Rewrite cod eand doc-string.
14015 (help-window-setup-finish): Remove.
14016 (help-window-display-message, help-window-setup)
14017 (with-help-window): Major rewrite based on new
14018 display-buffer-window variable.
14019
14020 * help-mode.el (help-mode-finish): Remove help-window related
14021 code.
14022
14023 * view.el (view-exits-all-viewing-windows): Remove reference to
14024 view-return-to-alist in doc-string.
14025 (view-return-to-alist): Make obsolete.
14026 (view-buffer): Call pop-to-buffer-same-window and remove
14027 undo-window code.
14028 (view-buffer-other-window): Call pop-to-buffer-other-window and
14029 simplify code. Ignore second argument.
14030 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14031 simplify code. Ignore second argument.
14032 (view-return-to-alist-update): Make obsolete.
14033 (view-mode-enter): Rename second argument to QUIT-RESTORE.
14034 Rewrite using quit-restore window parameters.
2b75be67
SM
14035 (view-mode-exit): Rename second argument to EXIT-ONLY.
14036 Rewrite using quit-restore-window.
357f93d2
MR
14037 (View-exit, View-exit-and-edit, View-leave, View-quit)
14038 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14039 appropriate arguments.
14040 (view-end-message): Use quit-restore window parameter.
14041
9481c002
MR
14042 * window.el (display-buffer-function): Rewrite doc-string.
14043 (display-buffer-window, display-buffer-alist): New variables.
14044 (display-buffer-split-specifiers)
14045 (display-buffer-side-specifiers)
14046 (display-buffer-macro-specifiers): New constants.
14047 (display-buffer-even-window-sizes, display-buffer-set-height)
14048 (display-buffer-set-width, display-buffer-select-window)
14049 (display-buffer-in-window, display-buffer-reuse-window)
14050 (display-buffer-split-window-1, display-buffer-split-window)
14051 (display-buffer-split-atom-window, display-buffer-pop-up-window)
14052 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14053 (display-buffer-in-side-window, normalize-buffer-to-display)
14054 (display-buffer-normalize-specifiers-1)
14055 (display-buffer-normalize-specifiers-2)
2b75be67
SM
14056 (display-buffer-normalize-specifiers, display-buffer-frame):
14057 New functions.
9481c002
MR
14058 (display-buffer): Major rewrite.
14059 (display-buffer-other-window, display-buffer-other-frame)
14060 (pop-to-buffer, switch-to-buffer-other-window)
14061 (switch-to-buffer-other-frame): Rewrite.
14062 (display-buffer-same-window, display-buffer-same-frame)
14063 (display-buffer-same-frame-other-window)
14064 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14065 (pop-to-buffer-other-window)
14066 (pop-to-buffer-same-frame-other-window)
14067 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14068 (switch-to-buffer-other-window-same-frame): New functions.
14069 (same-window-p, special-display-p): Rewrite disabling warnings.
14070 Make obsolete.
14071 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14072 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14073 Make obsolete
14074 (same-window-buffer-names, same-window-regexps)
14075 (special-display-frame-alist, special-display-popup-frame)
14076 (special-display-function, special-display-buffer-names)
14077 (special-display-regexps, pop-up-frame-alist)
14078 (pop-up-frame-function, split-window-preferred-function)
14079 (split-height-threshold, split-width-threshold)
14080 (even-window-heights): Make obsolete.
14081
9db51aca
GM
140822011-06-12 Glenn Morris <rgm@gnu.org>
14083
14084 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 14085 Misc simplifications.
9db51aca 14086
39cffb44
MR
140872011-06-12 Martin Rudalics <rudalics@gmx.at>
14088
14089 * window.el (window-safely-shrinkable-p): Restore function which
14090 was inadvertently removed in change from 2011-06-11. Declare as
14091 obsolete.
14092
2b75be67
SM
14093 * calendar/calendar.el (calendar-generate-window):
14094 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
14095 window-safely-shrinkable-p.
14096
a8955be7
GM
140972011-06-12 Glenn Morris <rgm@gnu.org>
14098
14099 * progmodes/fortran.el (fortran-mode-syntax-table):
14100 * progmodes/f90.el (f90-mode-syntax-table):
14101 Set % to punctuation. (Bug#8820)
14102 (f90-find-tag-default): Remove, no longer needed.
14103
f0d4059d
DC
141042011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14105
14106 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14107
1100a63c
CY
141082011-06-11 Chong Yidong <cyd@stupidchicken.com>
14109
14110 * image.el (image-animated-p): Return animation delay in seconds.
14111 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14112 (image-animate-timeout): Remove DELAY argument. Don't assume
14113 every subimage has the same delay; get it from image-animated-p.
14114 (image-animate): Caller changed.
14115
def722bf
MA
141162011-06-11 Michael Albinus <michael.albinus@gmx.de>
14117
14118 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14119 to ignored backtrace functions.
14120
0a2bb1a9
GM
141212011-06-11 Glenn Morris <rgm@gnu.org>
14122
14123 * calendar/appt.el (appt-disp-window-function): Doc fix.
14124 (appt-check): Handle overlapping appointments. (Bug#8337)
14125
6198ccd0
MR
141262011-06-11 Martin Rudalics <rudalics@gmx.at>
14127
14128 * window.el (window-tree-1, window-tree): New functions, moving
14129 the latter to window.el.
14130 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14131 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14132 (bw-refresh-edges): Remove.
14133 (balance-windows-1, balance-windows-2): New functions.
14134 (balance-windows): Rewrite in terms of window tree functions,
14135 balance-windows-1 and balance-windows-2.
14136 (bw-adjust-window): Remove.
14137 (balance-windows-area-adjust): New function with functionality of
14138 bw-adjust-window but using resize-window.
2b75be67
SM
14139 (set-window-text-height): Rewrite doc-string.
14140 Use normalize-live-window and resize-window.
14141 (enlarge-window-horizontally, shrink-window-horizontally):
14142 Rename argument to DELTA.
6198ccd0
MR
14143 (window-buffer-height): New function.
14144 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14145 Rewrite using new window resize routines.
2b75be67
SM
14146 (kill-buffer-and-window, mouse-autoselect-window-select):
14147 Use ignore-errors instead of condition-case.
6198ccd0
MR
14148 (quit-window): Call delete-frame instead of delete-windows-on
14149 for the only buffer on frame.
14150
9397e56f
MR
141512011-06-10 Martin Rudalics <rudalics@gmx.at>
14152
14153 * loadup.el (top-level): Load window before files for the sake
14154 of replace-buffer-in-windows.
14155
14156 * files.el (read-buffer-to-switch)
14157 (switch-to-buffer-other-window)
2b75be67
SM
14158 (switch-to-buffer-other-frame, display-buffer-other-frame):
14159 Move to window.el.
9397e56f
MR
14160
14161 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14162 (previous-buffer): Move to window.el.
14163
14164 * bindings.el (unbury-buffer): Move to window.el.
14165
14166 * window.el (delete-other-windows-vertically): Move after
14167 definition of delete-other-windows.
14168 (other-window, delete-windows-on, replace-buffer-in-windows):
14169 Move here from window.c.
14170 (record-window-buffer, unrecord-window-buffer)
14171 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14172 (switch-to-next-buffer): New functions.
14173 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14174 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
14175 (previous-buffer): Move here from simple.el.
14176 Call switch-to-prev-buffer.
9397e56f
MR
14177 (bury-buffer): Move here from buffer.c. Switch to previous
14178 buffer when window cannot be deleted.
14179 (unbury-buffer): Move here from bindings.el.
14180 (ctl-x-map): Move binding for other-window from window.c to
14181 here.
14182 (read-buffer-to-switch, switch-to-buffer-other-window)
14183 (switch-to-buffer-other-frame): Move here from files.el.
14184 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
14185 (switch-to-buffer): Move here from buffer.c.
14186 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 14187
562dd5e9
MR
141882011-06-10 Martin Rudalics <rudalics@gmx.at>
14189
14190 * window.el (window-min-height, window-min-width): Move here
14191 from window.c. Add defcustoms and rewrite doc-strings.
14192 (resize-mini-window, resize-window): New functions.
14193 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14194 Move here from window.c.
14195 (maximize-window, minimize-window): New functions.
14196 (delete-window, delete-other-windows, split-window): Move here
14197 from window.c.
14198 (window-split-min-size): New function.
14199 (split-window-keep-point): Mention split-window-above-each-other
14200 instead of split-window-vertically.
2b75be67 14201 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
14202 Rename split-window-vertically to split-window-above-each-other
14203 and provide defalias for old definition.
14204 (split-window-side-by-side, split-window-horizontally):
14205 Rename split-window-horizontally to split-window-side-by-side
14206 and provide defalias for the old definition.
562dd5e9
MR
14207 (ctl-x-map): Move bindings for delete-window,
14208 delete-other-windows and enlarge-window here from window.c.
14209 Replace bindings for split-window-vertically and
14210 split-window-horizontally by bindings for
14211 split-window-above-each-other and split-window-side-by-side.
14212
14213 * cus-start.el (all): Remove entries for window-min-height and
14214 window-min-width. Add entries for window-splits and
14215 window-nest.
14216
f0da764a
GM
142172011-06-09 Glenn Morris <rgm@gnu.org>
14218
80675c21
GM
14219 * calendar/appt.el (appt-mode-line): New function.
14220 (appt-check, appt-disp-window): Use it.
14221
f0da764a
GM
14222 * files.el (hack-one-local-variable-eval-safep):
14223 Allow minor-modes with explicit +/-1 arguments.
14224
59f623b7
TZ
142252011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14226
14227 * term/xterm.el (xterm): Add defgroup.
14228 (xterm-extra-capabilities): Add defcustom to supply known xterm
14229 capabilities, skip querying them, or query them (default).
14230 (terminal-init-xterm): Use it.
14231 (terminal-init-xterm-modify-other-keys): New function to set up
14232 modifyOtherKeys support to simplify `terminal-init-xterm'.
14233
9aab8e0d
MR
142342011-06-09 Martin Rudalics <rudalics@gmx.at>
14235
14236 * window.el (resize-window-reset, resize-window-reset-1)
14237 (resize-subwindows-skip-p, resize-subwindows-normal)
14238 (resize-subwindows, resize-other-windows, resize-this-window)
14239 (resize-root-window, resize-root-window-vertically)
14240 (window-deletable-p, window-or-subwindow-p)
14241 (frame-root-window-p): New functions.
14242
e8b08aee
GM
142432011-06-09 Glenn Morris <rgm@gnu.org>
14244
14245 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14246 (ange-ftp-get-files): Use it.
14247
254c37a5
AK
142482011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14249
14250 * mail/sendmail.el (mail-recover-1, mail-recover):
14251 * files.el (recover-file, recover-session):
14252 Handle dired-listing-switches not being just a single short option.
14253
35d7dbd3
GM
142542011-06-09 Glenn Morris <rgm@gnu.org>
14255
14256 * calendar/appt.el (appt-display-message, appt-disp-window):
14257 Handle lists of appointments.
14258
387522b2
MR
142592011-06-08 Martin Rudalics <rudalics@gmx.at>
14260
2b75be67
SM
14261 * window.el (one-window-p): Move down in code.
14262 Rewrite doc-string.
14263 (window-current-scroll-bars): Rewrite doc-string.
14264 Normalize live window argument.
387522b2
MR
14265 (walk-windows, get-window-with-predicate, count-windows):
14266 Rewrite doc-string. Use window-list-1.
14267 (window-in-direction-2, window-in-direction, get-mru-window):
14268 New functions.
14269
d8e4b68b 142702011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14271
14272 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14273 Doc fix (Bug#8713).
14274
142752011-06-08 Chong Yidong <cyd@stupidchicken.com>
14276
14277 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14278
142792011-06-08 Juanma Barranquero <lekktu@gmail.com>
14280
14281 * loadhist.el (unload-feature-special-hooks):
14282 Add `comint-output-filter-functions'.
14283
0de12c52
IK
142842011-06-08 Ivan Kanis <gnu@kanis.fr>
14285
14286 * calendar/appt.el (appt-check): Move some initializations into the let.
14287
f3d1777e
MR
142882011-06-08 Martin Rudalics <rudalics@gmx.at>
14289
14290 * window.el (window-height): Defalias to window-total-height.
14291 (window-width): Defalias to window-body-width.
14292
18af70d0
CY
142932011-06-07 Chong Yidong <cyd@stupidchicken.com>
14294
14295 * image-mode.el (image-toggle-animation): New command.
14296 (image-mode-map): Bind it to RET.
14297 (image-mode): Update message.
14298 (image-toggle-display-image): Avoid a spurious cache flush.
14299 (image-transform-rotation): Doc fix.
14300 (image-transform-properties): Return quickly in the normal case.
14301 (image-animate-loop): Rename from image-animate-max-time.
14302
2b75be67 14303 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14304 (create-animated-image): Remove unnecessary function.
14305 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14306 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14307 (image-animate-timer): Use car-safe.
14308 (image-animate-timeout): Rename argument.
14309
190b47e6
MR
143102011-06-07 Martin Rudalics <rudalics@gmx.at>
14311
14312 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14313 window.c. Rename first argument to ALL-FRAMES.
14314 Rephrase doc-strings.
14315 (get-buffer-window-list): Rewrite using window-list-1.
14316 Rephrase doc-string.
a1511caf
MR
14317 (window-safe-min-height, window-safe-min-width): New constants.
14318 (window-size-ignore, window-min-size, window-min-size-1)
14319 (window-sizable, window-sizable-p, window-size-fixed-1)
14320 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14321 (window-max-delta-1, window-max-delta, window-resizable)
14322 (window-resizable-p, window-total-height, window-total-width)
14323 (window-body-width): New functions.
14324 (window-full-height-p, window-full-width-p): Rewrite using
14325 window-total-size.
14326 (window-body-height): Rewrite using window-body-size.
190b47e6 14327
85cc1f11
MR
143282011-06-06 Martin Rudalics <rudalics@gmx.at>
14329
14330 * window.el (window-right, window-left, window-child)
14331 (window-child-count, window-last-child, window-any-p)
14332 (normalize-live-buffer, normalize-live-frame)
14333 (normalize-any-window, normalize-live-window)
14334 (window-iso-combination-p, window-iso-combined-p)
14335 (window-iso-combinations)
14336 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14337 (windows-with-parameter, window-with-parameter)
14338 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14339 (window-atom-check, window-side-check, window-check):
14340 New functions.
85cc1f11
MR
14341 (ignore-window-parameters, window-sides, window-sides-vertical)
14342 (window-sides-slots): New variables.
14343 (window-size-fixed): Move down in code. Minor doc-string fix.
14344
e7156492
AS
143452011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14346
14347 * comint.el (comint-dynamic-complete-as-filename)
14348 (comint-dynamic-complete-filename): Correctly call
14349 completion-in-region.
14350
7e821d0d
DD
143512011-06-05 Deniz Dogan <deniz@dogan.se>
14352
14353 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14354 in last change.
14355
ac09b8a1
DD
143562011-06-05 Deniz Dogan <deniz@dogan.se>
14357
14358 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14359 (rcirc): Use it to prompt for encryption.
14360
34699b85
RW
143612011-06-05 Roland Winkler <winkler@gnu.org>
14362
14363 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14364 (bibtex-search-entries): New command bound to C-c C-a.
14365 (bibtex-display-entries): New function.
14366
004dedd3
RW
143672011-06-05 Roland Winkler <winkler@gnu.org>
14368
14369 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14370 (bibtex-insert-kill): After yanking insert newline if necessary.
14371 (bibtex-initialize): Call bibtex-string-files-init only once.
14372 (bibtex-mode): Do not call easy-menu-add.
14373 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14374 (bibtex-yank): Set arg properly if nil.
14375
022fe7ce
RW
143762011-06-05 Roland Winkler <winkler@gnu.org>
14377
2b75be67
SM
14378 * textmodes/bibtex.el (bibtex-search-entry-globally):
14379 New variable.
022fe7ce
RW
14380 (bibtex-search-entry): Use it.
14381
b7c3692a
RW
143822011-06-05 Roland Winkler <winkler@gnu.org>
14383
14384 * textmodes/bibtex.el (bibtex-entry-format): New option
14385 sort-fields.
14386 (bibtex-format-entry, bibtex-reformat): Honor this option.
14387 (bibtex-parse-entry): Return fields in proper order.
14388
8eda563d
JB
143892011-06-05 Juanma Barranquero <lekktu@gmail.com>
14390
14391 * doc-view.el (doc-view-remove-if): Move computation of result out
14392 of `dolist' to silence misleading lexical-binding warning.
14393
7dbe3dbc
CY
143942011-06-04 Chong Yidong <cyd@stupidchicken.com>
14395
14396 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14397 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14398
0c33dd17
MA
143992011-06-04 Michael Albinus <michael.albinus@gmx.de>
14400
14401 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14402 "SunOS 5.10".
14403
f8f91c2b
MA
144042011-06-04 Michael Albinus <michael.albinus@gmx.de>
14405
14406 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14407 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14408 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14409 (tramp-parse-putty):
14410 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14411 (tramp-completion-function-alist-ssh)
14412 (tramp-completion-function-alist-telnet)
14413 (tramp-completion-function-alist-su)
14414 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14415 cookie.
14416
14417 * net/tramp-ftp.el:
14418 * net/tramp-sh.el:
14419 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14420 load "tramp.el" `tramp-set-completion-function'.
14421
e17d9003
SM
144222011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14423
14424 * shell.el: Require and use pcomplete.
14425 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14426 (shell-completion-vars): Set pcomplete-default-completion-function.
14427
6c4cab03
DD
144282011-06-04 Deniz Dogan <deniz@dogan.se>
14429
14430 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14431 `memq' (Bug#8799).
14432
ea9fafe0
SM
144332011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14434
14435 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14436
b3e945d3
JB
144372011-06-02 Juanma Barranquero <lekktu@gmail.com>
14438
14439 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14440 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14441 * vc/log-view.el (log-view-beginning-of-defun):
14442 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14443 (smerge-refine-forward, smerge-refine-chopup-region):
14444 Silence warning for unused `dotimes' counter variables.
14445
7d520089
SM
144462011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14447
14448 * net/tramp.el (tramp-with-progress-reporter): Rename from
14449 with-progress-reporter. Use `declare'.
14450 * net/tramp-smb.el:
14451 * net/tramp-sh.el:
14452 * net/tramp-gvfs.el: Update all uses.
14453
a1c2400f
JB
144542011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14455
14456 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14457 buffer isn't killed before making it current.
14458
2403c841
SM
144592011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14460
14461 Silence various byte-compiler warnings.
14462 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14463 `access-type' and new obsolescence format.
14464 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14465 new format.
14466 (byte-compile-check-variable): New `access-type' argument.
14467 Only warn if the access-type is obsolete.
14468 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14469 (byte-compile-variable-set): Adjust callers.
14470 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14471 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14472 setting it as obsolete.
14473 * simple.el (minibuffer-completing-symbol):
14474 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14475 access as obsolete.
14476 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14477 obsolete yet.
14478 * international/quail.el (quail-mouse-choose-completion): Remove unused
14479 code referring to obsolete var.
14480 (quail-choose-completion-string): Remove.
14481 * server.el (server-clients-with, server-kill-buffer-query-function)
14482 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14483 * proced.el (proced-send-signal):
14484 * emacs-lisp/lisp.el (lisp-complete-symbol):
14485 Replace completion-annotate-function with completion-extra-properties.
14486
2462470b
SM
144872011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14488
fb5b2591
SM
14489 * simple.el (goto-line): Use read-number.
14490 (overriding-map-is-bound): Remove.
14491 (saved-overriding-map): Change default.
14492 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14493 Take the map as argument.
14494 (universal-argument, negative-argument, digit-argument): Use it.
14495 (restore-overriding-map): Adjust.
14496 (do-auto-fill): Use fill-forward-paragraph.
14497 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14498
fd6fa53f
SM
14499 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14500 (minibuffer-inactive-mode): New major mode.
14501 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14502 the *Messages* buffer" hack.
14503 (mouse-popup-menubar): Don't burp if the event is a normal key.
14504
2462470b
SM
14505 Miscellaneous tweaks.
14506 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14507 lexical scoping as in subr.el's dolist and dotimes.
14508 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14509 Silence compiler warning.
14510 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14511 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14512 * international/ccl.el (ccl-compile): Trivial simplification.
14513 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14514 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14515 `printflag' argument.
14516 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14517 Purecopy the whole obsolescence data.
14518
108bf785
LL
145192011-06-01 Leo Liu <sdl.web@gmail.com>
14520
14521 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14522 improve doc-string as suggested by Marco Pessotto
14523 <melmothx@gmail.com>.
14524 (rcirc-print): Fix last change.
14525
30a23501
SM
145262011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14527
14528 * minibuffer.el (complete-with-action): Return nil for the metadata and
14529 boundaries of non-functional tables.
14530 (completion-table-dynamic): Return nil for the metadata.
14531 (completion-table-with-terminator): Add default case, using
14532 complete-with-action.
14533 (completion--metadata): New function.
14534 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14535 to try and avoid pathological performance problems.
14536 (completion--embedded-envvar-table): Return `category' metadata.
14537
bcd54f83
LMI
145382011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14539
14540 * subr.el (process-alive-p): New tiny convenience function.
14541
e227544d
SM
145422011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14543
14544 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14545 content but also its previous major mode.
14546
e8296fdc
HE
145472011-05-31 Helmut Eller <eller.helmut@gmail.com>
14548
4d61f28d 14549 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14550 *Backtrace* buffer when we exit with C-M-c.
14551
620c53a6
SM
145522011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14553
14554 * minibuffer.el: Add metadata method to completion tables.
14555 (completion-category-overrides): New defcustom.
14556 (completion-metadata, completion--field-metadata)
14557 (completion-metadata-get, completion--styles)
14558 (completion--cycle-threshold): New functions.
14559 (completion-try-completion, completion-all-completions):
14560 Add `metadata' argument to choose completion-styles.
14561 (completion--do-completion): Use metadata to choose cycling.
14562 (completion-all-sorted-completions): Use metadata for sorting.
14563 Remove :completion-cycle-penalty which is not needed any more.
14564 (completion--try-word-completion): Add `metadata' argument.
14565 (minibuffer-completion-help): Check metadata for annotation function
14566 and sorting.
14567 (completion-file-name-table): Return `category' metadata.
14568 (minibuffer-completing-file-name): Make obsolete.
14569 * simple.el (minibuffer-completing-symbol): Make obsolete.
14570 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14571 completion-try-completion.
14572
1257e755
SM
145732011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14574
14575 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14576
3767e706
LL
145772011-05-30 Leo Liu <sdl.web@gmail.com>
14578
14579 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14580 (rcirc-print): Decode all incoming messages (bug#8744).
14581 (rcirc-decode-coding-system): Allow value nil for automatic coding
14582 system detection.
3767e706 14583
d1a5d56a
GM
145842011-06-01 Glenn Morris <rgm@gnu.org>
14585
14586 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14587
e8cbec34
CY
145882011-05-29 Chong Yidong <cyd@stupidchicken.com>
14589
14590 * image.el (image-animate-max-time): Allow nil and t values.
14591 Default to nil.
14592 (create-animated-image): Doc fix.
14593 (image-animate-start): Remove second arg; just use
14594 image-animate-max-time.
14595 (image-animate-timeout): Doc fix. Args changed.
14596
14597 * image-mode.el (image-toggle-display-image): Ensure that the
14598 image spec passed to the animate timer is the same object as in
58179cce 14599 the buffer's display property (Bug#6981).
e8cbec34
CY
14600 (image-transform-properties): Doc fix.
14601
14602 * image.el (image-animate-max-time): Default to nil.
14603
159daf87
MR
146042011-05-29 Martin Rudalics <rudalics@gmx.at>
14605
14606 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14607 entire buffer list (Bug#8184).
14608
d66c4c7c
CY
146092011-05-29 Chong Yidong <cyd@stupidchicken.com>
14610
14611 * image.el (imagemagick-types-inhibit)
14612 (imagemagick-register-types): Doc fix.
14613
80aec780
DD
146142011-05-29 Deniz Dogan <deniz@dogan.se>
14615
14616 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14617 default.
14618
1dd3c2d9
CY
146192011-05-29 Chong Yidong <cyd@stupidchicken.com>
14620
14621 * select.el: Don't perform clipboard-manager saving in hooks;
14622 leave the hooks empty.
14623
60e56523
LL
146242011-05-28 Leo Liu <sdl.web@gmail.com>
14625
14626 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14627 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14628 (occur-edit-mode): New major mode (Bug#8463).
14629 (occur-after-change-function): New function.
14630 (occur-engine): Give Occur tags a read-only property.
14631
2b1e1a22
KR
146322011-05-28 Kevin Ryde <user42@zip.com.au>
14633
14634 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14635
5d344e88
CY
146362011-05-28 Chong Yidong <cyd@stupidchicken.com>
14637
8e6ca83d
CY
14638 * bindings.el (help-echo): Make the initial non-indicator dash
14639 empty on graphical terminals (Bug#7295).
14640
5d344e88
CY
14641 * files.el (auto-mode-alist): Move config rule after the
14642 in-stripping one (Bug#8547).
14643
bfbbace7
CY
14644 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14645
fbeba6e2
CY
14646 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14647 setting (Bug#8740).
14648
60ed8c72
AA
146492011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14650
4ac619f0
AA
14651 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14652 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14653 (Bug#8539).
60ed8c72 14654
23db196e
CY
146552011-05-28 Chong Yidong <cyd@stupidchicken.com>
14656
14657 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14658
5012f24c
DK
146592011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14660
14661 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14662 (hs-hide-block-at-point, hs-find-block-beginning)
14663 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14664 (Bug#8279).
14665
6a639b16
GM
146662011-05-28 Glenn Morris <rgm@gnu.org>
14667
14668 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14669
d43eaf2c
CY
146702011-05-28 Chong Yidong <cyd@stupidchicken.com>
14671
5199bde1
CY
14672 * help-fns.el (describe-function-1): If the function is a derived
14673 major mode, print the parent mode.
14674
d43eaf2c
CY
14675 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14676 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14677
423428a8
SM
146782011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14679
0ff8e1ba 14680 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14681 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14682 * progmodes/etags.el (tags-completion-at-point-function):
14683 * info-look.el (info-lookup-completions-at-point): Mark as
14684 non-exclusive.
14685 (info-complete): Adjust accordingly.
14686
423428a8
SM
14687 * info-look.el: Convert to lexical-binding and completion-at-point.
14688 (info-lookup-completions-at-point): New function.
14689 (info-complete): Use it and completion-in-region.
14690
b74aa22b
DA
146912011-05-28 Drew Adams <drew.adams@oracle.com>
14692
14693 * isearch.el: Let M-e start with point at the first mismatched char.
14694 (isearch-fail-pos): New function.
14695 (isearch-edit-string): Use it.
14696
66e2e71d
DK
146972011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14698
14699 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14700
b1890b0f 147012011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14702
14703 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14704 traversal functions for avl-trees.
14705 (avl-tree--stack): New struct.
14706 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14707 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14708 (avl-tree--do-enter): Add optional `updatefun' arg.
14709 Change return value.
eb95d01d 14710 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14711 (avl-tree--do-delete): Add `test' and `nilflag' args.
14712 Change return value.
eb95d01d
TC
14713 (avl-tree-member): Add optional `nilflag'
14714 (avl-tree-member-p): New function.
14715 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14716 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14717 (avl-tree-stack-empty-p): New functions.
14718
3769ddcf
TC
14719 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14720 avl-tree--del-balance1 and make it work both ways.
14721 (avl-tree--del-balance2): Remove.
14722 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14723 make it work both ways.
14724 (avl-tree--enter-balance2): Remove.
14725 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14726 New macros.
14727 (avl-tree--mapc, avl-tree-map): Add direction argument.
14728
eb95d01d 147292011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14730
14731 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14732
a9f737ee
CY
147332011-05-27 Chong Yidong <cyd@stupidchicken.com>
14734
14735 * select.el: Support clipboard managers with built-in function
14736 x-clipboard-manager-save, via delete-frame-functions and
14737 kill-emacs-hook.
14738 (xselect-convert-to-targets): Add MULTIPLE target to list.
14739 (xselect-convert-to-save-targets): New function.
14740
c92a1e54
KH
147412011-05-27 Kenichi Handa <handa@m17n.org>
14742
14743 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14744 let-binding rfc2047-encode-encoded-words to nil.
14745
e145f188
GM
147462011-05-27 Glenn Morris <rgm@gnu.org>
14747
5ec8a862
GM
14748 * mail/emacsbug.el: Don't require url-util.
14749
4b29d9fb
GM
14750 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14751
e145f188
GM
14752 * files.el (set-auto-mode):
14753 Also respect mode: entries at the end of the file. (Bug#8586)
14754
7d15102b
GM
147552011-05-26 Glenn Morris <rgm@gnu.org>
14756
98f593b8
GM
14757 * files.el (hack-local-variables-prop-line, hack-local-variables):
14758 Downcase mode names, as seems to be traditional.
27b48e63 14759 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14760
7d15102b
GM
14761 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14762 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14763
51d5b4ec
JD
147642011-05-25 Julien Danjou <julien@danjou.info>
14765
14766 * textmodes/rst.el (rst-define-level-faces): Do not define face
14767 symbol if it is already defined.
14768
91513f63
VB
147692011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14770
14771 * play/5x5.el (5x5-new-game, 5x5-randomize):
14772 Reset 5x5-solver-output to nil when a new grid is cast.
14773 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14774 these debugging traces, as defmacro breaks the compiled code.
14775
4d90d6d0
DK
147762011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14777
14778 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14779
e1b90ef6
LL
147802011-05-24 Leo Liu <sdl.web@gmail.com>
14781
14782 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14783 (vc-bzr-sha1): Adapt.
14784
d8e4b68b 14785 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14786
14787 * bindings.el: Provide sha1 feature.
14788
db0406bb 147892011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14790
14791 * mail/sendmail.el: Require `rfc2047'.
14792 (mail-insert-from-field): Do not perform RFC2047 encoding.
14793 (mail-encode-header): New function.
14794 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14795 buffer to the return value of select-message-coding-system.
14796 Call mail-encode-header.
b8d747b9
KH
14797
14798 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14799
db0406bb 148002011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14801
4d90d6d0
DK
14802 * mail/supercite.el (sc-default-cite-frame):
14803 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14804
eb8a5e9b
GM
148052011-05-24 Glenn Morris <rgm@gnu.org>
14806
f8630703
GM
14807 * progmodes/python.el (brm-menu): Declare.
14808
8831bbed
GM
14809 * emulation/viper.el (viper-set-hooks): Declare.
14810
eb8a5e9b
GM
14811 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14812 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14813 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14814 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14815 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14816 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14817
a2a25d24
SM
148182011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14819
14820 Add an :exit-function for completion-at-point.
14821
14822 * minibuffer.el (completion--done): New fun.
14823 (completion--do-completion): Use it. New arg `expect-exact'.
14824 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14825 since completion--do-completion does it for us now.
14826 (minibuffer-force-complete): Use completion--done and
14827 completion--replace. Handle sole-completion case with more care.
14828 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14829 (completion-extra-properties): New var.
14830 (completion-annotate-function): Make obsolete.
14831 (minibuffer-completion-help): Adjust accordingly.
14832 Use completion-list-insert-choice-function.
14833 (completion-at-point, completion-help-at-point):
14834 Bind completion-extra-properties.
14835 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14836 * simple.el (completion-list-insert-choice-function): New var.
14837 (completion-setup-function): Preserve it.
14838 (choose-completion): Pay attention to it, shuffle the code a bit.
14839 (choose-completion-string): New arg `insert-function'.
14840
14841 * textmodes/bibtex.el: Convert to lexical binding.
14842 (bibtex-mode-map): Use completion-at-point.
14843 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14844 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14845 (bibtex-complete): Define as obsolete alias.
14846 (bibtex-complete-internal): Remove.
14847 (bibtex-format-entry): Remove unused sub-group in regexp.
14848 * shell.el (shell--command-completion-data)
14849 (shell-environment-variable-completion):
14850 * pcomplete.el (pcomplete-completions-at-point):
14851 * comint.el (comint--complete-file-name-data): Use :exit-function
14852 instead of completion-table-with-terminator so it also works for
14853 choose-completion.
14854
e44e373d
SM
148552011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14856
4f91a816
SM
14857 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14858
782fc819
SM
14859 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14860 (bug#8710).
14861
e44e373d
SM
14862 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14863
381987c3
KM
148642011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14865
14866 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14867 customization variable and implement: If non-nil, auto-fill will
14868 be inhibited while on topic's header line.
14869
b776bc70
VB
148702011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14871
14872 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14873 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14874 always have a solution in grid size = 5 cases.
14875 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14876 (5x5-solver-output, 5x5-log-buffer): New vars.
14877 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14878 Make these variables buffer local to achieve 5x5 multi-session-ness.
14879 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14880 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14881 (5x5-solve-suggest): New funs.
14882 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14883 randomize a grid so that we ensure that there is always a solution.
14884 (5x5-make-random-grid): Allow other movement than flipping.
14885
7de88b6e
KR
148862011-05-23 Kevin Ryde <user42@zip.com.au>
14887
14888 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14889 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14890 advice and passes PREDICATE.
14891
b1ef1257
SM
148922011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14893
bbca48fe
SM
14894 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14895 byte-compile-lambda if it's actually a lambda.
14896
b1ef1257
SM
14897 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14898 Fix function quoting. Use backquote better.
14899
92a9cc65
YS
149002011-05-22 Yuanle Song <sylecn@gmail.com>
14901
14902 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14903 matching (Bug#8516).
14904
f0fb8059
JA
149052011-01-22 Jari Aalto <jari.aalto@cante.net>
14906
14907 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14908 different face (Bug#8178).
14909
d5b44c93
CY
149102011-05-22 Chong Yidong <cyd@stupidchicken.com>
14911
14912 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14913 defface (Bug#8144).
14914
79106a44
SM
149152011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14916
9c848d8a
SM
14917 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14918 funcall as well (bug#8712). Warn when performing those conversions.
14919 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14920
79106a44
SM
14921 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14922
88dfa756
GM
149232011-05-22 Glenn Morris <rgm@gnu.org>
14924
14925 * files.el (hack-local-variables-prop-line): Small simplifications.
14926 (hack-local-variables, hack-local-variables-prop-line):
14927 If MODE-ONLY, return the mode, rather than just `t'.
14928
b7cf2c79
SM
149292011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14930
14931 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14932
3f1a8558
GM
149332011-05-21 Glenn Morris <rgm@gnu.org>
14934
7e4ccca3
GM
14935 * files.el (hack-local-variables-prop-line, hack-local-variables):
14936 If only interested in the mode, don't bother doing the other stuff.
14937
637d46ca
GM
14938 * image-mode.el (image-after-revert-hook):
14939 Redraw all frames on which the image is visible. (Bug#8567)
14940
973d955b
GM
14941 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14942
3f1a8558
GM
14943 * wid-edit.el (widget-checklist-match-inline):
14944 Fix 2011-04-19 change. (Bug#8649)
14945
96479927
SM
149462011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14947
1dcf791f
SM
14948 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14949 Also allow singlespace after single-letter capitals followed by a dot.
14950
96479927
SM
14951 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14952 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14953
35fd0881
N
149542011-05-20 Nix <nix@esperi.org.uk>
14955
14956 * files.el (basic-save-buffer-2):
14957 Fix handling of break-hardlink-on-save with non-existent files.
14958
82745640
DD
149592011-05-19 Deniz Dogan <deniz@dogan.se>
14960
14961 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14962 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14963
4a720484
GM
149642011-05-19 Glenn Morris <rgm@gnu.org>
14965
d1f21341
GM
14966 * progmodes/f90.el (f90-type-def-re):
14967 Handle "type, bind(c)". (Bug#8691)
14968
4a720484
GM
14969 * emacs-lisp/autoload.el (batch-update-autoloads):
14970 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14971
2fb0a219
MA
149722011-05-18 Michael Albinus <michael.albinus@gmx.de>
14973
14974 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14975 property for the correct connection in case of multihops.
14976
e565dd37
GM
149772011-05-18 Glenn Morris <rgm@gnu.org>
14978
c2571358 14979 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14980 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14981
e565dd37
GM
14982 Rationalize calendar handling of day and month abbrev-arrays.
14983 * calendar/calendar.el (calendar-customized-p): New function.
14984 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14985 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14986 Add :set function.
14987 (calendar-abbrev-length, calendar-day-abbrev-array)
14988 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14989 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14990 Elements may no longer be nil.
14991 (calendar-day-name, calendar-month-name):
14992 Update for changed nature of abbrev arrays.
14993 * calendar/diary-lib.el (diary-name-pattern):
14994 Update for changed nature of abbrev arrays.
14995 (diary-mark-entries-1): Update calendar-make-alist calls.
14996 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14997 * calendar/cal-html.el (cal-html-day-abbrev-array):
14998 Simply inherit from calendar-day-abbrev-array.
14999
1d99a745
SM
150002011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15001
15002 * progmodes/grep.el (grep-mode): Disable default
15003 compilation-directory-matcher setting (bug#8684).
15004
7c1d9aa0
MA
150052011-05-17 Michael Albinus <michael.albinus@gmx.de>
15006
15007 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15008 instead of "head" and "tail". There were problems with SunOS 5.9,
15009 and it performs better.
15010
3952e9d8
GM
150112011-05-17 Glenn Morris <rgm@gnu.org>
15012
2dd12e7f
GM
15013 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15014
e4157b9c
GM
15015 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15016 Replace obsolete function.
15017
8e249bbd
GM
15018 * shell.el (pcomplete-parse-arguments-function): Declare.
15019
3952e9d8
GM
15020 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15021 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15022 (appt-check): Doc fixes.
15023 (appt-disp-window-function, appt-delete-window-function):
15024 Remove needless special case in custom :type.
15025 (appt-display-count): Default to 0, not nil.
15026 (appt-check): Reset appt-display-count to 0, not nil.
15027
c71a0d48 150282011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 15029
c71a0d48
GM
15030 * progmodes/python.el (python-font-lock-keywords):
15031 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 15032
31d55be9
SM
150332011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
15034
15035 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15036
3bfacb2f
KR
150372011-05-16 Kevin Ryde <user42@zip.com.au>
15038
15039 * info-look.el (makefile-automake-mode): New setups, looking in
15040 automake manual, then makefile-mode.
15041 (makefile-mode): Remove automake manual, have it just in
15042 makefile-automake-mode since there's various things different or
15043 not relevant to plain make.
15044 (makefile-mode): Remove "other-modes" non-existent automake-mode,
15045 believe a hypothetical automake-mode would go to makefile-mode,
15046 not the other way around.
15047
c8e83751
CY
150482011-05-15 Chong Yidong <cyd@stupidchicken.com>
15049
5e9e35cd
CY
15050 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15051 hunk-end tags (Bug#8672).
15052
c8e83751
CY
15053 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15054 vc-annotate-show-diff-revision-at-line (Bug#8671).
15055
50b23e5a
GM
150562011-05-14 Glenn Morris <rgm@gnu.org>
15057
7210a739
GM
15058 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15059 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
15060 (change-log-font-lock-keywords): Also handle multiple author lines
15061 with leading tabs. (Bug#8644)
7210a739 15062
4691905a
GM
15063 * calendar/appt.el (appt-check): Rename some local variables.
15064 Some simplification/reordering.
15065
50b23e5a
GM
15066 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15067 (feedmail-sendmail-f-doesnt-sell-me-out)
15068 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15069 (feedmail-debug-sit-for, feedmail-queue-express-hook)
15070 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
15071 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15072 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
15073 (feedmail-binmail-gnulinuxish-template):
15074 Rename from feedmail-binmail-linuxish-template.
15075 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15076 Use insert-buffer-substring.
15077
215cda7c
BC
150782011-05-14 Bill Carpenter <bill@carpenter.org>
15079
15080 * mail/feedmail.el (feedmail-patch-level): Increase.
15081 (feedmail-debug): New custom group.
15082 (feedmail-confirm-outgoing-timeout)
15083 (feedmail-sendmail-f-doesnt-sell-me-out)
15084 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15085 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15086 (feedmail-sender-line, feedmail-from-line)
15087 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 15088 (feedmail-spray-this-address)
215cda7c
BC
15089 (feedmail-spray-address-fiddle-plex-list)
15090 (feedmail-queue-use-send-time-for-date)
15091 (feedmail-queue-use-send-time-for-message-id)
15092 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15093 (feedmail-buffer-eating-function):
15094 Doc fixes.
15095 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15096 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15097 (feedmail-message-action-scroll-down): New functions.
15098 (feedmail-queue-directory, feedmail-queue-draft-directory):
15099 Use expand-file-name.
15100 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15101 Remove C-v help entry.
15102 (feedmail-queue-buffer-file-name): New variable.
15103 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15104 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15105 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15106 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15107 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15108 (feedmail-message-action-toggle-spray)
15109 (feedmail-run-the-queue-no-prompts)
15110 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15111 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15112 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15113 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15114 (feedmail-envelope-deducer, feedmail-fiddle-from)
15115 (feedmail-fiddle-sender, feedmail-default-date-generator)
15116 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15117 (feedmail-fiddle-spray-address)
15118 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15119 (feedmail-fiddle-list-of-fiddle-plexes)
15120 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15121 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15122 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15123 Change default. Doc fix.
15124 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15125 (feedmail-binmail-linuxish-template): New constant.
15126 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15127 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15128 (feedmail-send-it): Add debug call.
15129 Use feedmail-queue-buffer-file-name, and
15130 feedmail-send-it-immediately-wrapper.
15131 (feedmail-message-action-send): Add debug call.
15132 Use feedmail-send-it-immediately-wrapper.
15133 (feedmail-queue-express-to-queue): Add debug call.
15134 Run feedmail-queue-express-hook.
15135 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15136 (feedmail-message-action-help-blat):
15137 Rename from feedmail-queue-send-edit-prompt-help-first.
15138 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15139 Check line-endings. Handle errors better.
15140 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15141 Doc fix. Add debug call.
15142 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15143 Use feedmail-queue-send-edit-prompt-inner.
15144 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15145 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15146 from feedmail-queue-send-edit-prompt.
15147 (feedmail-queue-send-edit-prompt-help)
15148 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15149 (feedmail-tidy-up-slug): Add debug call.
15150 Respect feedmail-queue-slug-suspect-regexp.
15151 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15152 (feedmail-dump-message-to-queue): Add debug call.
15153 Expand queue-directory.
15154 (feedmail-dump-message-to-queue): Change message slightly.
15155 Use feedmail-say-chatter.
15156 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15157 (feedmail-send-it-immediately-wrapper): New function.
15158 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15159 Insert empty string rather than newline. Handle full-frame case.
15160 Use catch/throw. Use feedmail-say-chatter.
15161 (feedmail-fiddle-from): Try mail-host-address.
15162 (feedmail-default-message-id-generator): Doc fix.
15163 Bind system-time-locale. Handle missing end.
15164 (feedmail-fiddle-x-mailer): Add debug call.
15165 Handle feedmail-x-mailer-line being nil.
15166 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15167 Add debug call. Use buffer-substring-no-properties.
15168 (feedmail-say-debug, feedmail-say-chatter): New functions.
15169 (feedmail-find-eoh): Give an explicit error.
15170
42c7e61e
UJ
151712011-05-13 Ulf Jasper <ulf.jasper@web.de>
15172
c2571358 15173 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 15174 family from helvetica to sans.
c2571358 15175 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15176 etc/images/newsticker.
15177
c2571358 15178 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
15179 family from helvetica to sans.
15180
15181 * net/newst-plainview.el (newsticker-new-item-face)
15182 (newsticker-old-item-face, newsticker-immortal-item-face)
15183 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 15184 (newsticker-statistics-face): Change default family from
42c7e61e 15185 helvetica to sans.
c2571358 15186 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15187 etc/images/newsticker.
15188
5d3385a0
JB
15189 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15190 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
15191 auto-marking.
15192
8497a297
DV
151932011-05-13 Didier Verna <didier@xemacs.org>
15194
15195 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
15196 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15197 TODO entries.
8497a297
DV
15198 (lisp-lambda-list-keyword-parameter-indentation)
15199 (lisp-lambda-list-keyword-parameter-alignment)
15200 (lisp-lambda-list-keyword-alignment): New customizable user options.
15201 (lisp-indent-defun-method): Improve docstring.
15202 (extended-loop-p): Fix comment.
15203 (lisp-indent-lambda-list-keywords-regexp): New variable.
15204 (lisp-indent-lambda-list): New function.
15205 (lisp-indent-259): Use it.
15206 (lisp-indent-defmethod): Support for more than one
15207 method qualifier and properly indent methods lambda-lists.
15208 (defgeneric): Provide a missing common-lisp-indent-function property.
15209
f278f87f
SM
152102011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15211
15212 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15213 bounds for the empty string (bug#8667).
15214
5233edd7
GM
152152011-05-13 Glenn Morris <rgm@gnu.org>
15216
5237a44f
GM
15217 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15218
8340026c 15219 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 15220 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 15221
5233edd7 15222 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 15223 (appt-time-msg-list): Doc fix.
a5464014 15224 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15225
92d10796
AS
152262011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15227
15228 * progmodes/ld-script.el (ld-script-keywords)
15229 (ld-script-builtins): Update keywords list.
15230
914a0ae1
SM
152312011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15232
c89be45f
SM
15233 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15234
914a0ae1
SM
15235 * shell.el (shell-completion-vars): New function.
15236 (shell-mode):
15237 * simple.el (read-shell-command): Use it.
15238 (blink-matching-open): No need for " [...]" in minibuffer-message.
15239
98dc3df3
GM
152402011-05-12 Glenn Morris <rgm@gnu.org>
15241
15242 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15243 (appt-check): Simplify.
15244
d2fc7e3d 152452011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15246
4d61f28d 15247 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15248 literal "/dev/null".
15249
d2fc7e3d 152502011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15251
15252 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15253 Fix typo.
15254
d2fc7e3d 152552011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15256
3f254caa
SM
15257 * progmodes/which-func.el (which-function):
15258 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15259 which might not be defined (Bug#8260).
15260
d45885f7
GM
152612011-05-12 Glenn Morris <rgm@gnu.org>
15262
15263 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15264 Let byte-compile-initial-macro-environment always take precedence.
15265
488086f4
SM
152662011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15267
15268 * net/rcirc.el: Add support for SSL/TLS connections.
15269 (rcirc-server-alist): New field `encryption'.
15270 (rcirc): Check `encryption' settings.
15271 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15272 Merge make-local-variable into `set'.
15273 (rcirc--connection-open-p): New function.
15274 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15275 the process is not a network process (e.g. running gnutls-cli).
15276 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15277 Make rcirc-(en|de)code-coding-system local here.
15278 (rcirc-mode): Merge make-local-variable into `set'.
15279 (rcirc-parent-buffer): Make permanent buffer-local.
15280 (rcirc-multiline-minor-mode): Don't do it here.
15281 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15282 there's no server buffer.
15283
7d3b9d44
GM
152842011-05-11 Glenn Morris <rgm@gnu.org>
15285
f64049c6
GM
15286 * newcomment.el (comment-kill): Prefix "unused" local.
15287
93c9df73
GM
15288 * term/w32console.el (get-screen-color): Declare.
15289
7d3b9d44
GM
15290 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15291 Handle symbol elements of byte-compile-initial-macro-environment.
15292
9e2dd53f
LL
152932011-05-10 Leo Liu <sdl.web@gmail.com>
15294
488086f4
SM
15295 * bookmark.el (bookmark-bmenu-mode-map):
15296 Bind bookmark-bmenu-search to `/'.
8b340240 15297
9e2dd53f 15298 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15299 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15300 (Footnote-unicode): New function.
15301 (footnote-style-alist): Add unicode style to the list.
15302 (footnote-style): Doc fix.
9e2dd53f 15303
79b70037
GM
153042011-05-10 Jim Meyering <meyering@redhat.com>
15305
15306 Fix doubled-word typos.
15307 * international/quail.el (quail-insert-kbd-layout): and and -> and
15308 * kermit.el: and and -> and
15309 * net/ldap.el (ldap-search-internal): to to -> to
15310 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15311 * progmodes/js.el (js-mode): and and -> and
15312 * textmodes/artist.el (artist-move-to-xy): at at -> at
15313 (artist-draw-region-trim-line-endings): if if -> if
15314 And Safetyc -> Safety.
15315 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15316
b8f82dc1 153172011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15318 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15319
15320 * files.el (hack-one-local-variable-eval-safep):
15321 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15322
4f99f44b
GM
153232011-05-10 Glenn Morris <rgm@gnu.org>
15324
15325 * calendar/diary-lib.el (diary-list-entries-hook)
15326 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15327 (diary-nongregorian-marking-hook, diary-list-entries)
15328 (diary-include-other-diary-files, diary-mark-entries)
15329 (diary-mark-included-diary-files): Doc fixes.
15330
84f29e6b
JB
153312011-05-09 Juanma Barranquero <lekktu@gmail.com>
15332
15333 * misc.el: Require tabulated-list.el during compilation.
15334
9bedd73a
CY
153352011-05-09 Chong Yidong <cyd@stupidchicken.com>
15336
488086f4
SM
15337 * progmodes/compile.el (compilation-start):
15338 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15339 (compilation-filter-hook): Doc fix.
15340
797c735c
DD
153412011-05-09 Deniz Dogan <deniz@dogan.se>
15342
15343 * wdired.el: Remove outdated installation comment. Fix usage
15344 comment.
15345
5f4b1dfe
JB
153462011-05-09 Juanma Barranquero <lekktu@gmail.com>
15347
15348 * misc.el: Implement new command `list-dynamic-libraries'.
15349 (list-dynamic-libraries--loaded-only-p): New variable.
15350 (list-dynamic-libraries--refresh): New function.
15351 (list-dynamic-libraries): New command.
15352
4c44026c
CY
153532011-05-09 Chong Yidong <cyd@stupidchicken.com>
15354
488086f4
SM
15355 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15356 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15357 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15358 higher priority to avoid clobbering by gnu.
15359
027f966d
CY
153602011-05-08 Chong Yidong <cyd@stupidchicken.com>
15361
15362 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15363 if the face has existing theme settings (Bug#8454).
15364
085f5d7d
CY
153652011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15366
488086f4
SM
15367 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15368 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15369
2a86a00c
RS
15370 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15371 special file names `.' and `..' (Bug#8259).
15372
d9c54a06
CY
153732011-05-08 Chong Yidong <cyd@stupidchicken.com>
15374
488086f4
SM
15375 * progmodes/grep.el (grep-mode-font-lock-keywords):
15376 Remove buffer-changing entries.
d9c54a06
CY
15377 (grep-filter): New function.
15378 (grep-mode): Add it to compilation-filter-hook.
15379
15380 * progmodes/compile.el (compilation-filter-hook)
15381 (compilation-filter-start): New defvars.
15382 (compilation-filter): Call compilation-filter-hook prior to
15383 updating the process mark.
15384
c4662635
SM
153852011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15386
15387 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15388
b0512a1d
EZ
153892011-05-07 Eli Zaretskii <eliz@gnu.org>
15390
605c9376
EZ
15391 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15392 mailclient-send-it even if window-system is nil. (Bug#8595)
15393
c4662635
SM
15394 * term/w32console.el (terminal-init-w32console):
15395 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15396 background-mode. (Bug#8597)
15397
d1dc2cc2
SM
153982011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15399
15400 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15401 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15402 New functions.
15403 (defgeneric, eieio--defmethod): Use them.
15404 (eieio-defgeneric): Remove.
15405 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15406
915d1300
GM
154072011-05-07 Glenn Morris <rgm@gnu.org>
15408
a3961c3e
GM
15409 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15410 Use let rather than let*.
15411 (timeclock-find-discrep): Remove unused local.
15412
314347b9
GM
15413 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15414
915d1300
GM
15415 * calendar/appt.el (appt-time-msg-list): Doc fix.
15416
275b59b0
NF
154172011-05-06 Noah Friedman <friedman@splode.com>
15418
15419 * apropos.el (apropos-print-doc): Only use
15420 emacs-lisp-docstring-fill-column when it is bound to an integer,
15421 per that variable's documentation.
15422
6c19f744
SM
154232011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15424
15425 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15426 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15427
60f884b2
GM
154282011-05-06 Glenn Morris <rgm@gnu.org>
15429
5006e634
GM
15430 * calendar/appt.el (appt-message-warning-time): Doc fix.
15431 (appt-warning-time-regexp): New option.
15432 (appt-make-list): Respect appt-message-warning-time.
15433
548d0a63
GM
15434 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15435 New options.
15436 (diary-add-to-list): Strip comments from the displayed string.
15437 (diary-mode): Set comment-start and comment-end.
15438
60f884b2
GM
15439 * vc/diff-mode.el (smerge-refine-subst): Declare.
15440 (diff-refine-hunk): Don't require smerge-mode when compiling.
15441
989681bb
JB
154422011-05-06 Juanma Barranquero <lekktu@gmail.com>
15443
15444 * simple.el (list-processes): Return nil as the docstring says.
15445
a6bc05e1
MA
154462011-05-05 Michael Albinus <michael.albinus@gmx.de>
15447
15448 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15449 to "".
15450 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15451 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15452 determining of binary transfer. (Bug#7383)
15453
23c22e9a
MA
154542011-05-05 Michael Albinus <michael.albinus@gmx.de>
15455
c4662635
SM
15456 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15457 Fix port computation bug. (Bug#8618)
23c22e9a 15458
0bff894f
GM
154592011-05-05 Glenn Morris <rgm@gnu.org>
15460
b8296902
GM
15461 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15462
1f522ce8
GM
15463 * simple.el (shell-dynamic-complete-functions)
15464 (comint-dynamic-complete-functions): Declare.
15465
cf5bee67
GM
15466 * net/network-stream.el (gnutls-negotiate):
15467 * simple.el (tabulated-list-print): Fix declarations.
15468
15469 * progmodes/gud.el (syntax-symbol, syntax-point):
15470 Remove unnecessary and incorrect declarations.
15471
0bff894f
GM
15472 * emacs-lisp/check-declare.el (check-declare-scan):
15473 Handle byte-compile-initial-macro-environment in bytecomp.el
15474
9869b3ae
SM
154752011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15476
15477 Fix earlier half-done eieio-defmethod change (bug#8338).
15478 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15479 Streamline and change calling convention.
15480 (defmethod): Adjust accordingly and simplify.
15481 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15482 new eieio--defmethod.
15483 (slot-boundp): Minor CSE simplification.
15484
9c1d5ac5
MZ
154852011-05-05 Milan Zamazal <pdm@zamazal.org>
15486
15487 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15488 (glasses-make-readable): Use glasses-separate-capital-groups.
15489
455c834e
JB
154902011-05-05 Juanma Barranquero <lekktu@gmail.com>
15491
15492 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15493 (warning-series): Doc fix.
15494 (display-warning): Don't try to create the buffer if we just found it.
15495
9ed7c8cb
CY
154962011-05-04 Chong Yidong <cyd@stupidchicken.com>
15497
15498 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15499 (autoload-find-generated-file): New function.
15500 (generate-file-autoloads): Bind generated-autoload-file to
15501 buffer-file-name.
9869b3ae
SM
15502 (update-file-autoloads, update-directory-autoloads):
15503 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15504 output file (Bug#7989).
15505 (batch-update-autoloads): Doc fix.
15506
0898ca10
JB
155072011-05-04 Juanma Barranquero <lekktu@gmail.com>
15508
15509 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15510
31dfb76c
GM
155112011-05-04 Glenn Morris <rgm@gnu.org>
15512
f330b642
GM
15513 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15514 function, so it follows changes in calendar-date-style.
15515 (diary-fancy-date-matcher): New function.
15516 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15517 (diary-fancy-font-lock-fontify-region-function):
15518 Use diary-fancy-date-pattern as a function.
15519
31dfb76c
GM
15520 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15521 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15522
48e79d6a
TZ
155232011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15524
15525 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15526 instead of positional arguments. Allow :keylist and :crlfiles
15527 arguments.
15528 (open-gnutls-stream): Call it.
15529
15530 * net/network-stream.el (network-stream-open-starttls): Adjust to
15531 call `gnutls-negotiate' with :process and :hostname arguments.
15532
dd5a5ee0
SM
155332011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15534
ef80fc09
SM
15535 * minibuffer.el (completion--message): New function.
15536 (completion--do-completion, minibuffer-complete)
15537 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15538 (completion--do-completion): Don't ignore completion-auto-help when in
15539 icomplete-mode.
15540
dd5a5ee0
SM
15541 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15542 internal encoding (e.g. tibetan zero is not whitespace).
15543 (global-whitespace-mode): Prefer save-current-buffer.
15544 (whitespace-trailing-regexp): Remove useless save-match-data.
15545 (whitespace-empty-at-bob-regexp): Minor simplification.
15546
b7d22a83
CY
155472011-05-03 Chong Yidong <cyd@stupidchicken.com>
15548
15549 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15550
5192af46
AM
155512011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15552
15553 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15554 Use `concat' to create string for insertion.
5192af46 15555
5767d190
SM
155562011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15557
15558 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15559 Avoid open-line which runs post-self-insert-hook.
15560 (bibtex-fill-entry): Remove unused `end' var.
15561
bf242939
AM
155622011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15563
5767d190
SM
15564 * textmodes/ispell.el (ispell-add-per-file-word-list):
15565 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15566
25666126
LL
155672011-05-03 Leo Liu <sdl.web@gmail.com>
15568
15569 * isearch.el (isearch-yank-pop): New command.
5767d190 15570 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15571 (isearch-forward): Mention it.
15572
52d3c2d0
SM
155732011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15574
1bcace58
SM
15575 * simple.el (minibuffer-complete-shell-command): Remove.
15576 (minibuffer-local-shell-command-map): Use completion-at-point.
15577 (read-shell-command): Setup completion vars here instead.
15578 (read-expression-map): Bind TAB to symbol completion.
15579
52d3c2d0
SM
15580 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15581 error directly rather via storing it into `results'.
15582
35813471
LL
155832011-05-02 Leo Liu <sdl.web@gmail.com>
15584
15585 * vc/diff.el: Fix description.
15586
e793a940
LMI
155872011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15588
15589 * server.el (server-eval-at): New function.
15590
8de66e05
LMI
155912011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15592
15593 * net/network-stream.el (open-network-stream): Take a :nowait
15594 parameter and pass it on to `make-network-process'.
15595 (network-stream-open-plain): Ditto.
15596
dcb79f20
AS
155972011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15598
15599 * faces.el (face-spec-set-match-display): Don't match toolkit
15600 options on terminal frames.
15601
14a7fbd8
SM
156022011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15603
7eabc1be
SM
15604 * progmodes/pascal.el: Use lexical binding.
15605 (pascal-mode-map): Remove author preferences.
15606
14a7fbd8
SM
15607 * pcomplete.el (pcomplete-std-complete): Don't abuse
15608 completion-at-point.
15609
50f84510
JB
156102011-04-28 Juanma Barranquero <lekktu@gmail.com>
15611
6e087a44
JB
15612 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15613 removing code that has been dead since 1991 or so.
15614
50f84510
JB
15615 * startup.el (command-line): When warning about "_emacs", use a
15616 delayed warning to allow the user to filter it out.
15617
0ba690bd
DD
156182011-04-28 Deniz Dogan <deniz@dogan.se>
15619
15620 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15621 user has not joined.
15622
08abfaad
SM
156232011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15624
15625 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15626 aren't any completions at point.
15627
638f053a
JB
156282011-04-28 Juanma Barranquero <lekktu@gmail.com>
15629
15630 * subr.el (display-delayed-warnings): New function.
15631 (delayed-warnings-hook): New variable.
15632
8fff8daa
SM
156332011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15634
08abfaad
SM
15635 * minibuffer.el (completion-at-point, completion-help-at-point):
15636 Don't presume that a given completion-at-point-function will always
15637 use the same calling convention.
15638
8fff8daa
SM
15639 * pcomplete.el (pcomplete-completions-at-point):
15640 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15641 pcomplete-seen is non-nil.
15642 (pcomplete-comint-setup): Also recognize the new comint/shell
15643 completion functions.
15644 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15645 pcomplete-seen is non-nil.
15646
841a1577 156472011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15648
841a1577 15649 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15650 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15651 the first character in the entry. This allows for code to add its
211ec907
UJ
15652 own uid to the entry.
15653 (icalendar--convert-float-to-ical): Add export of
15654 `diary-float'-entries save for those with the optional DAY
15655 argument.
15656
2a782793
DC
156572011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15658
15659 * subr.el (shell-quote-argument): Use alternate escaping strategy
15660 when we spot a variable reference in a string.
15661
0438ce91
DC
156622011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15663
15664 * cus-start.el (all): Define customization for debug-on-event.
15665
841a1577 156662011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15667
15668 * subr.el (shell-quote-argument): Escape correctly under Windows.
15669
d090ed6c
SM
156702011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15671
15672 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15673
bfd31217
MA
156742011-04-25 Michael Albinus <michael.albinus@gmx.de>
15675
d090ed6c
SM
15676 * net/tramp.el (tramp-process-actions): Add POS argument.
15677 Delete region between POS and (pos).
bfd31217 15678
d090ed6c
SM
15679 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15680 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15681 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15682
15683 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15684 position in `tramp-process-actions' call.
15685
15686 * net/trampver.el: Update release number.
15687
e92f3bd3
SM
156882011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15689
850256b5
SM
15690 * custom.el (defcustom): Obey lexical-binding.
15691
e92f3bd3
SM
15692 Fix octave-inf completion problems reported by Alexander Klimov.
15693 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15694 Inherit from octave-mode-syntax-table.
15695 (inferior-octave-mode): Set info-lookup-mode.
15696 (inferior-octave-completion-at-point): New function.
15697 (inferior-octave-complete): Use it and completion-in-region.
15698 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15699 comint-filename-completion.
15700 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15701 symbol elements which shouldn't be word elements.
15702 (octave-font-lock-keywords, octave-beginning-of-defun)
15703 (octave-function-header-regexp): Adjust regexps accordingly.
15704 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15705
cd22b309
JB
157062011-04-25 Juanma Barranquero <lekktu@gmail.com>
15707
15708 * net/gnutls.el (gnutls-errorp): Declare before first use.
15709
8b492194
TZ
157102011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15711
15712 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15713 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15714 default trustfile exists before going to use it. Add missing
5a5fa834 15715 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15716 Reported by Claudio Bley <claudio.bley@gmail.com>.
15717 (open-gnutls-stream): Add usage example.
15718
15719 * net/network-stream.el (network-stream-open-starttls): Give host
15720 parameter to `gnutls-negotiate'.
15721 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15722 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15723
841a1577 157242011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15725
cd22b309
JB
15726 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15727 Use correct match group (bug#8438).
05842630 15728
3ba7869c
CY
157292011-04-24 Chong Yidong <cyd@stupidchicken.com>
15730
512e3ae1
CY
15731 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15732 (package-menu--generate): New arg specifying packages to show.
15733 (package-menu-refresh, package-menu-execute, list-packages):
15734 Callers changed.
15735 (package-show-package-list): New function, replacing deleted
15736 package--list-packages (renamed because it is non-internal).
15737
15738 * finder.el (finder-list-matches): Use package-show-package-list
15739 instead of deleted package--list-packages.
15740
e92f3bd3
SM
15741 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15742 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15743 (vc-annotate-mode-map): Bind it to RET.
15744
7031be6d
UR
157452011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15746
15747 * progmodes/etags.el (next-file): Don't use set-buffer to change
15748 buffers (Bug#8478).
15749
4ef177aa
CY
157502011-04-24 Chong Yidong <cyd@stupidchicken.com>
15751
c8d173eb
CY
15752 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15753
4ef177aa
CY
15754 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15755 (apropos-accumulator): Doc fix.
15756 (apropos-function, apropos-macro, apropos-command)
15757 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15758 (apropos-plist): Add face property.
15759 (apropos-symbols-internal): Fix indentation.
15760 (apropos-print): Simplify help, and recognize apropos-multi-type.
15761 (apropos-print-doc): Use button-type-get to extract the button's
15762 face property. Fill docstring (Bug#8352).
15763
4ffd0d6b 157642011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15765
15766 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15767
c6c32125 15768 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15769 (mpuz-mode-map): Use mapc.
c6c32125
JB
15770 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15771 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15772 Fix typos in docstrings.
15773
58d468b4
JB
15774 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15775 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15776
6470c3c6
JB
15777 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15778
4ffd0d6b 157792011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15780
15781 * minibuffer.el (completion--do-completion): Avoid the "Next char
15782 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15783
3ad8bad0
CY
15784 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15785 mouse-2 into unread-command-events, it is interpreted correctly.
15786
71d73c9c 15787 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15788 (image-toggle-display): Doc fix.
71d73c9c 15789
841a1577 157902011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15791
4ffd0d6b
GM
15792 * textmodes/page.el (what-page): Use line-number-at-pos to
15793 calculate line number (Bug#6825).
6e1dbaa9 15794
c2fb1b60
JB
157952011-04-22 Juanma Barranquero <lekktu@gmail.com>
15796
15797 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15798 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15799 Pass argument NO-DEFAULT to `find-tag-interactive'.
15800
e02f48d7
JB
158012011-04-22 Juanma Barranquero <lekktu@gmail.com>
15802
15803 Lexical-binding cleanup.
15804
15805 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15806 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15807 * progmodes/ada-prj.el (ada-prj-initialize-values)
15808 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15809 (ada-prj-show-value):
15810 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15811 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15812 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15813 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15814 * progmodes/bug-reference.el (bug-reference-push-button):
15815 * progmodes/fortran.el (fortran-line-length):
15816 * progmodes/glasses.el (glasses-change):
15817 * progmodes/octave-mod.el (octave-fill-paragraph):
15818 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15819 (python-pdbtrack-grub-for-buffer, python-sentinel):
15820 * progmodes/sql.el (sql-save-connection):
15821 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15822 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15823 Mark unused parameters.
15824
15825 * progmodes/compile.el (compilation--flush-directory-cache)
15826 (compilation--flush-parse, compile-internal): Mark unused parameters.
15827 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15828 (compilation-next-error-function): Remove unused variable `timestamp'.
15829
15830 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15831 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15832
15833 * progmodes/dcl-mode.el (dcl-end-of-command):
15834 Remove unused variable `start'.
15835 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15836 (dcl-option-value-basic, dcl-option-value-offset)
15837 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15838 Mark unused parameters.
15839 (dcl-save-local-variable): Remove unused variable `val'.
15840 (mode): Declare.
15841
15842 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15843 Mark unused parameters.
15844 (delphi-ignore-changes): Move before first use.
15845 (delphi-charset-token-at): Remove unused variable `start'.
15846 (delphi-else-start): Remove unused variable `if-count'.
15847 (delphi-comment-block-start, delphi-comment-block-end):
15848 Remove unused variable `kind'.
15849 (delphi-indent-line): Remove unused variable `new-point'.
15850
15851 * progmodes/ebrowse.el (ebrowse-files-list)
15852 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15853 Mark unused parameters. Don't quote `lambda'.
15854 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15855 Don't quote `lambda'.
15856 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15857 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15858 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15859 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15860 Use `ignore-errors'.
15861 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15862 (ebrowse-view/find-file-and-search-pattern)
15863 (ebrowse-view/find-member-declaration/definition):
15864 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15865 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15866 Rename parameter PREFIX-ARG to PREFIX.
15867 (ebrowse-tags-read-name): Remove unused variables `start' and
15868 `member-info'.
15869 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15870 to `tags-file'.
15871
15872 * progmodes/etags.el (local-find-tag-hook): Declare.
15873 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15874 Mark unused parameters.
15875
15876 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15877 (executable-interpret): Mark unused parameter.
15878
15879 * progmodes/flymake.el (flymake-process-sentinel)
15880 (flymake-after-change-function)
15881 (flymake-create-temp-with-folder-structure)
15882 (flymake-get-include-dirs-dot): Mark unused parameters.
15883 (flymake-safe-delete-directory): Remove unused variable `err'.
15884
15885 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15886 (speedbar-timer-fn, speedbar-line-text)
15887 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15888 (speedbar-center-buffer-smartly): Declare functions.
15889 (gdb-find-watch-expression): Remove unused variable `array'.
15890 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15891 (gdb-starting): Mark unused parameters.
15892 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15893 (gdb-table-string): Remove unused variable `res'.
15894 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15895 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15896 (gdb-display-buffer): Remove unused variable `cur-size'.
15897
15898 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15899 allow lexical-binding compilation.
15900 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15901 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15902 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15903 Mark unused parameters.
15904 (gud-gdb-marker-filter): Remove unused variable `match'.
15905 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15906 lambda expressions and funcall them, instead of using `fset'.
15907
15908 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15909 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15910
15911 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15912 variable `header-beg'; use `let'.
15913
15914 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15915 `restart', `last-sexp' and `at-do'.
15916
15917 * progmodes/js.el (js--debug): Mark unused parameter.
15918 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15919 (js--splice-into-items): Remove unused variable `item'.
15920 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15921
15922 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15923 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15924 (makefile-complete): Remove unused variable `try'.
15925 (makefile-fill-paragraph, makefile-match-function-end):
15926 Mark unused parameters.
15927
15928 * progmodes/octave-inf.el (inferior-octave-complete):
15929 Remove unused variable `proc'.
15930 (inferior-octave-output-digest): Mark unused parameter.
15931
15932 * progmodes/perl-mode.el (perl-calculate-indent):
15933 Remove unused variable `err'.
15934
15935 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15936 (prolog-indent-line): Mark unused parameters.
15937 (prolog-indent-line): Remove unused variable `beg'.
15938
15939 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15940 (reporter-dont-compact-list): Declare.
15941
15942 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15943 Remove unused variable `char'.
15944 (sh-debug): Mark unused parameter.
15945 (sh-get-indent-info): Remove unused variable `start'.
15946 (sh-calculate-indent): Remove unused variable `var'.
15947
15948 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15949 (simula-electric-keyword): Remove unused variable `null'.
15950 (simula-search-backward, simula-search-forward): Remove unused
15951 variables `begin' and `end'.
15952
15953 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15954 Remove unused variable `pos'.
15955 (vera-electric-tab, vera-comment-uncomment-region):
15956 Mark unused parameters.
15957 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15958
7ede3b65
CY
159592011-04-22 Chong Yidong <cyd@stupidchicken.com>
15960
15961 * emacs-lisp/package.el (package--builtins, package-alist)
15962 (package-load-descriptor, package-built-in-p, package-activate)
15963 (define-package, package-installed-p)
15964 (package-compute-transaction, package-buffer-info)
15965 (package--push): Doc fix. Distinguish more clearly between
15966 version strings and version lists.
15967
121656e9
JB
159682011-04-21 Juanma Barranquero <lekktu@gmail.com>
15969
15970 Lexical-binding cleanup.
15971
15972 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15973 (5x5-make-mutate-best):
15974 * play/fortune.el (fortune-in-buffer):
15975 * play/gomoku.el (gomoku-init-display):
15976 * play/solitaire.el (solitaire, solitaire-do-check):
15977 * play/tetris.el (tetris-default-update-speed-function):
15978 Mark unused parameters.
15979
15980 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15981 (bubbles--shift): Remove unused variable `char-org'.
15982 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15983 (bubbles--show-images): Remove unused variable `char'.
15984
15985 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15986 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15987 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15988 (decipher-analyze-buffer): Use ?\s.
15989 (decipher-make-checkpoint): Remove unused variable `mapping'.
15990
15991 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15992
15993 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15994 Remove unused variable `result'; use `let'.
15995
15996 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15997 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15998 (gametree-children-shown-p, gametree-compute-reduced-score):
15999 Use `ignore-errors'.
16000
16001 * play/handwrite.el (ps-lpr-switches): Declare.
16002 (handwrite): Remove unused variables `pmin' and `lastp'.
16003
16004 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16005
16006 * play/landmark.el (landmark-init-display)
16007 (landmark-update-naught-weights): Mark unused parameters.
16008 (landmark-y): Remove unused variable `noise'. Simplify.
16009 (landmark-human-plays): Remove unused variable `score'.
16010
16011 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16012 (mpuz-try-proposal): Remove unused variable `game'.
16013
16014 * play/zone.el (life-patterns): Declare.
16015
80f499c7
JB
160162011-04-20 Juanma Barranquero <lekktu@gmail.com>
16017
16018 * vc/vc.el (ediff-vc-internal): Declare function.
16019
024ff170
SM
160202011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16021
c0a193ea
SM
16022 * shell.el: Use lexical-binding and std completion UI.
16023 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16024 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16025 comint-preoutput-filter-functions rather than on
16026 comint-output-filter-functions.
16027 (shell-command-completion, shell--command-completion-data)
16028 (shell-filename-completion, shell-environment-variable-completion)
16029 (shell-c-a-p-replace-by-expanded-directory): New functions.
16030 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16031 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16032 (shell-dynamic-complete-environment-variable): Use them.
16033 (shell-dynamic-complete-as-environment-variable)
16034 (shell-dynamic-complete-as-command): Remove.
16035 (shell-match-partial-variable): Match past point.
16036 * comint.el: Clean up use of completion-at-point-functions.
16037 (comint-completion-at-point): New function.
16038 (comint-mode): Use it completion-at-point-functions.
16039 (comint-dynamic-complete): Make it obsolete.
16040 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16041 (comint-c-a-p-replace-by-expanded-history): New function.
16042 (comint-dynamic-complete-functions)
16043 (comint-replace-by-expanded-history): Use it.
16044 * minibuffer.el (completion-table-with-terminator): Allow dynamic
16045 termination strings. Try harder to avoid second try-completion.
16046 (completion-in-region-mode-map): Disable bindings that don't work yet.
16047
2dbaa080
SM
16048 * comint.el: Use lexical-binding. Require CL.
16049 (comint-dynamic-complete-functions): Use comint-filename-completion.
16050 (comint-completion-addsuffix): Tweak custom type.
16051 (comint-filename-completion, comint--common-suffix)
16052 (comint--common-quoted-suffix, comint--table-subvert)
16053 (comint--complete-file-name-data): New functions.
16054 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16055 (comint-dynamic-list-filename-completions): Use them.
16056 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 16057
2dbaa080
SM
16058 * minibuffer.el (completion-in-region-mode):
16059 Keep completion-in-region-mode--predicate global.
16060 (completion-in-region--postch):
16061 Assume completion-in-region-mode--predicate is not null.
16062
c79a6f38
SM
16063 * progmodes/flymake.el (flymake-start-syntax-check-process):
16064 Obey `dir'. Simplify.
16065
024ff170
SM
16066 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16067 we're in VC after all.
16068
1c6c854e
CS
160692011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
16070
16071 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 16072 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
16073 (vc-version-diff): Use vc-diff-build-argument-list-internal.
16074
bed7f140
SM
160752011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16076
332e62ab
SM
16077 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16078 add sanity check.
16079
bed7f140
SM
16080 * obsolete/erc-hecomplete.el: Make obsolete.
16081 * obsolete/: Standardize obsolescence info in the header.
16082
f195c582
GM
160832011-04-20 Glenn Morris <rgm@gnu.org>
16084
16085 * calendar/solar.el (solar-horizontal-coordinates):
16086 Use the longitude argument rather than `calendar-longitude'.
16087 (solar-date-next-longitude): Remove unused locals.
16088
cb79b8c0
VJL
160892011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16090
16091 * whitespace.el: New version 13.2.1.
16092
160932011-04-20 felix <EmacsWiki> (tiny change)
16094
d8e4b68b 16095 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
16096 switching between major modes on a file.
16097
602ea69d
SM
160982011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16099
16100 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16101 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16102 multi-line comments as well.
16103
06b60517
JB
161042011-04-19 Juanma Barranquero <lekktu@gmail.com>
16105
16106 Lexical-binding cleanup.
16107
16108 * arc-mode.el (archive-mode-revert):
16109 * cmuscheme.el (scheme-interactively-start-process):
16110 * custom.el (custom-initialize-delay):
16111 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16112 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16113 * emacs-lock.el (emacs-lock-clear-sentinel):
16114 * ezimage.el (defezimage):
16115 * follow.el (follow-avoid-tail-recenter):
16116 * fringe.el (set-fringe-mode-1):
16117 * generic-x.el (bat-generic-mode-compile):
16118 * help-mode.el (help-info-variable, help-do-xref)
16119 (help-mode-revert-buffer):
16120 * help.el (view-emacs-todo):
16121 * iswitchb.el (iswitchb-completion-help):
16122 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16123 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16124 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16125 * locate.el (locate-update):
16126 * longlines.el (longlines-encode-region)
16127 (longlines-after-change-function):
16128 * outline.el (outline-isearch-open-invisible):
16129 * ps-def.el (declare-function, charset-dimension, char-width)
16130 (encode-char):
16131 * ps-mule.el (ps-mule-plot-string):
16132 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16133 (recentf-edit-list-select, recentf-edit-list-validate)
16134 (recentf-open-files-action):
16135 * rect.el (delete-whitespace-rectangle-line)
16136 (rectangle-number-line-callback):
16137 * register.el (window-configuration-to-register)
16138 (frame-configuration-to-register):
16139 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16140 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16141 (xselect-convert-to-targets, xselect-convert-to-delete)
16142 (xselect-convert-to-filename, xselect-convert-to-charpos)
16143 (xselect-convert-to-lineno, xselect-convert-to-colno)
16144 (xselect-convert-to-os, xselect-convert-to-host)
16145 (xselect-convert-to-user, xselect-convert-to-class)
16146 (xselect-convert-to-name, xselect-convert-to-integer)
16147 (xselect-convert-to-atom, xselect-convert-to-identity):
16148 * subr.el (declare, ignore, process-kill-without-query)
16149 (text-clone-maintain):
16150 * terminal.el (te-get-char, te-tic-sentinel):
16151 * tool-bar.el (tool-bar-make-keymap):
16152 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16153 * type-break.el (type-break-mode, type-break-noninteractive-query):
16154 * view.el (View-back-to-mark):
16155 * wid-browse.el (widget-browse-action, widget-browse-widget)
16156 (widget-browse-widgets, widget-browse-sexp):
16157 * widget.el (define-widget-keywords):
16158 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16159 Mark unused parameters.
16160
16161 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16162 (align-areas): Remove unused variable `look'.
16163 (align-region): Remove unused variables `real-end' and `pos-list'.
16164
16165 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16166
16167 * bindings.el (mode-line-modified, mode-line-remote):
16168 Mark unused parameters.
16169 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16170
16171 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16172 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16173
16174 * comint.el (comint-history-isearch-pop-state)
16175 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16176 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16177 (comint-substitute-in-file-name): Doc fix.
16178
16179 * completion.el (cmpl-statistics-block): Mark unused parameter.
16180 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16181 (save-completions-to-file, load-completions-from-file):
16182 Remove unused local variable `e'.
16183
16184 * composite.el (compose-chars): Remove unused variable `len'.
16185 (lgstring-insert-glyph): Remove unused variable `g'.
16186 (compose-glyph-string): Remove unused variables `ascent',
16187 `descent', `lbearing' and `rbearing'.
16188 (compose-glyph-string-relative): Remove unused variables
16189 `lbearing', `rbearing' and `wadjust'.
16190 (compose-gstring-for-graphic): Remove unused variables `header',
16191 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16192 (compose-gstring-for-terminal): Remove unused variables `header'
16193 and `nchars'. Use `let', not `let*'.
16194
16195 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16196 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16197 (Custom-buffer-done, custom-buffer-create-internal)
16198 (custom-browse-visibility-action, custom-browse-group-tag-action)
16199 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16200 (widget-magic-mouse-down-action, custom-toggle-parent)
16201 (custom-add-parent-links, custom-toggle-hide-variable)
16202 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16203 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16204 (custom-face-menu-create, custom-variable-menu-create, get)
16205 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16206 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16207 (customize-apropos): Remove unused variable `tests'.
16208 (custom-group-value-create): Remove unused variable `hidden-p'.
16209 (sort-fold-case): Declare.
16210
16211 * cus-theme.el (custom-reset-standard-faces-list)
16212 (custom-reset-standard-variables-list): Declare.
16213 (customize-create-theme, custom-theme-revert, custom-theme-write)
16214 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16215 Mark unused parameters.
16216
16217 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16218
16219 * delim-col.el (delimit-columns-max): Move defvar before first use.
16220
16221 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 16222 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
16223
16224 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16225 (auto-insert): Declare.
16226 (desktop-restore-file-buffer): Rename desktop-* parameters;
16227 mark unused ones.
16228 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16229 (desktop-buffer): Rename desktop-* parameters.
16230
16231 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16232 (dframe-reposition-frame-xemacs, dframe-help-echo)
16233 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16234 Mark unused parameters.
16235
16236 * dired-aux.el (backup-extract-version-start, overwrite-query)
16237 (overwrite-backup-query, rename-regexp-query)
16238 (rename-non-directory-query): Declare.
16239 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16240 (dired-add-entry): Remove unused variable `orig-file-name'.
16241 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16242 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16243 `dired-copy-preserve-time' directly.
16244 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16245 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16246
16247 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16248 (dired-virtual-revert, dired-make-relative-symlink):
16249 Mark unused parameters.
16250 (manual-program): Declare.
16251 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16252 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16253 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16254
16255 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16256
16257 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16258
16259 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16260 Declare.
16261
16262 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16263
16264 * electric.el (Electric-command-loop): Rename parameter
16265 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16266
16267 * expand.el (expand-in-literal): Remove unused variable `here'.
16268
16269 * facemenu.el (facemenu-add-new-color):
16270 Remove unused variable `docstring'.
16271
16272 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16273 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16274 (face-attr-construct): Mark unused parameter. Doc fix.
16275 (read-color): Remove unused variable `hex-string'.
16276
16277 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16278 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16279 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16280 (display-buffer-other-frame): Remove unused variable `old-window'.
16281 (kill-buffer-hook): Declare.
16282 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16283 Mark unused parameters.
16284 (after-find-file): Pass 1 to `auto-save-mode', not t.
16285
16286 * files-x.el (auto-insert): Declare.
16287 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16288
16289 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16290 variable `buf'. Mark unused parameter.
06b60517
JB
16291 (find-lisp-insert-directory): Mark unused parameter.
16292
16293 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16294 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16295 (format-common-tail): Remove, unused.
16296 (format-deannotate-region): Remove unused variable `loc'.
16297 (format-annotate-region): Remove unused variable `p'.
16298 (format-annotate-single-property-change): Remove unused variables
16299 `default' and `tail'.
16300
16301 * forms.el (read-file-filter): Declare.
16302 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16303
16304 * frame.el (frame-creation-function-alist): Mark unused parameter.
16305 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16306
16307 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16308 Remove unused parameters.
16309 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16310 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16311
16312 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16313 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16314 (hfy-prepare-tag-map): Mark unused parameters.
16315 (htmlfontify-buffer): Use `called-interactively-p'.
16316
16317 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16318 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16319 (ibuffer-do-occur): Mark unused parameters.
16320 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16321 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16322
16323 * ibuffer.el: Don't quote `lambda'.
16324 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16325 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16326 Mark unused parameters.
16327
16328 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16329 (ido-completing-read): Mark unused parameters.
16330 (ido-copy-current-word): Mark unused parameters;
16331 remove unused variable `name'.
16332 (ido-sort-merged-list): Remove unused parameter `dirs'.
16333
16334 * ielm.el (ielm-input-sender): Mark unused parameter.
16335 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16336 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16337 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16338 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16339 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16340
16341 * image-dired.el (image-dired-display-thumbs): Remove unused
16342 variables `curr-file' and `count'.
16343 (image-dired-remove-tag): Remove unused variable `start'.
16344 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16345 variable `curr-file'
16346 (image-dired-rotate-original): Remove unused variable `temp-file'.
16347 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16348 Remove unused variable `file'.
16349 (image-dired-gallery-generate): Remove unused variable `curr'.
16350 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16351
16352 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16353
16354 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16355
16356 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16357
16358 * isearch.el (minibuffer-history-symbol): Declare.
16359 (isearch-edit-string): Remove unused variable `err'.
16360 (isearch-message-prefix, isearch-message-suffix):
16361 Mark unused parameters.
16362
16363 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16364
16365 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16366
16367 * makesum.el (double-column): Remove unused variable `cnt'.
16368
16369 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16370 (ido-ignore-item-temp-list): Declare.
16371
16372 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16373 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16374 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16375 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16376 `mouse-col-delta'.
16377
16378 * mouse-sel.el (mouse-extend-internal):
16379 Remove unused variable `orig-window-frame'.
16380
16381 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16382 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16383 Move declarations before first use.
16384 (pcomplete-opt): Mark unused parameters; doc fix.
16385
16386 * proced.el (proced-revert): Mark unused parameter.
16387 (proced-send-signal): Remove unused variable `err'.
16388
16389 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16390 Rename parameter PREFIX-ARG to ARG.
16391 (ps-basic-plot-string, ps-basic-plot-whitespace):
16392 Mark unused parameters.
16393
16394 * replace.el (replace-count): Define.
16395 (occur-revert-function): Mark unused parameters.
16396 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16397 (isearch-case-fold-search, isearch-string): Declare.
16398 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16399 bind `case-fold-search'. Remove unused variables `beg' and `end',
16400 and simplify.
16401 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16402 COUNT and bind `replace-count'.
16403 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16404 to COUNT.
16405
16406 * savehist.el (print-readably, print-string-length): Declare.
16407
16408 * shadowfile.el (shadow-expand-cluster-in-file-name):
16409 Remove unused variable `cluster'.
16410 (shadow-copy-file): Remove unused variable `i'.
16411 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16412 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16413 (shadow-define-literal-group, shadow-define-regexp-group)
16414 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16415
16416 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16417 (shell): Use `called-interactively-p'.
16418 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16419
16420 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16421 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16422 (delete-backward-char): Remove unused variable `ocol'.
16423 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16424 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16425 (event-apply-hyper-modifier, event-apply-shift-modifier)
16426 (event-apply-control-modifier, event-apply-meta-modifier):
16427 Mark unused parameters.
16428 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16429 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16430
16431 * speedbar.el (speedbar-ignored-directory-expressions)
16432 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16433 (speedbar-find-file, speedbar-dir-follow)
16434 (speedbar-directory-buttons-follow, speedbar-tag-find)
16435 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16436 (speedbar-buffers-line-directory, speedbar-buffer-click):
16437 Mark unused parameters.
16438 (speedbar-tag-file): Remove unused variable `mode'.
16439 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16440
16441 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16442
16443 * talk.el (talk): Remove unused variable `display'.
16444
16445 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16446 (tar-write-region-annotate): Mark unused parameter.
16447
16448 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16449 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16450 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16451 warning by another.
16452
16453 * time-stamp.el (time-stamp-string-preprocess):
16454 Remove unused variable `require-padding'.
16455
16456 * tree-widget.el (widget-glyph-enable): Declare.
16457 (tree-widget-action): Mark unused parameter.
16458
16459 * w32-fns.el (x-get-selection): Mark unused parameter.
16460 (autoload-make-program, generated-autoload-file): Declare.
16461
16462 * wdired.el (wdired-revert): Mark unused parameters.
16463 (wdired-xcase-word): Remove unused variable `err'.
16464
16465 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16466 (whitespace-help-scroll): Remove unused variable `data-help'.
16467
16468 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16469 (widget-image-insert, widget-after-change, default)
16470 (widget-default-format-handler, widget-default-notify)
16471 (widget-default-prompt-value, widget-info-link-action)
16472 (widget-url-link-action, widget-function-link-action)
16473 (widget-variable-link-action, widget-file-link-action)
16474 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16475 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16476 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16477 (widget-insert-button-action, widget-delete-button-action, visibility)
16478 (widget-documentation-link-action, widget-documentation-string-action)
16479 (widget-const-prompt-value, widget-regexp-match, symbol)
16480 (widget-coding-system-prompt-value)
16481 (widget-key-sequence-value-to-external, sexp)
16482 (widget-sexp-value-to-internal, character, vector, cons)
16483 (widget-choice-prompt-value, widget-boolean-prompt-value)
16484 (widget-color--choose-action): Mark unused parameters.
16485 (widget-item-match-inline, widget-choice-match-inline)
16486 (widget-checklist-match, widget-checklist-match-inline)
16487 (widget-group-match): Rename parameter VALUES to VALS.
16488 (widget-field-value-set): Remove unused variable `size'.
16489 (widget-color-action): Remove unused variables `value' and `start'.
16490
16491 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16492 variable `dir'. Doc fix.
06b60517
JB
16493 (windmove-find-other-window): Don't pass it.
16494
16495 * window.el (count-windows): Mark unused parameter.
16496 (bw-adjust-window): Remove unused variable `err'.
16497
16498 * woman.el (woman-file-name): Remove unused variable `default'.
16499 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16500 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16501 (global-font-lock-mode): Declare.
16502 (woman-decode-region): Mark unused parameter.
16503 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16504
16505 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16506 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16507 (x-dnd-handle-moz-url): Remove unused variable `title'.
16508 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16509
16510 * xml.el (xml-parse-tag, xml-parse-attlist):
16511 Remove unused variable `pos'.
16512
bc4f7f3d
GM
165132011-04-19 Glenn Morris <rgm@gnu.org>
16514
16515 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16516 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16517 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16518 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16519 * calendar/cal-html.el (cal-html-insert-minical):
16520 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16521 (calendar-mark-date-pattern):
16522 Prefix "unused" locals.
16523
16524 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16525 optional argument `style'.
16526
16527 * calendar/appt.el (appt-make-list):
16528 * calendar/cal-china.el (calendar-chinese-date-string):
16529 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16530 (diary-hebrew-yahrzeit):
16531 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16532 * calendar/calendar.el (calendar-generate-window):
16533 * calendar/time-date.el (time-to-days):
16534 Remove unused local variables.
16535
16a43933
CY
165362011-04-18 Chong Yidong <cyd@stupidchicken.com>
16537
16538 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16539 glyphless-char-display table.
16540 (tabulated-list-glyphless-char-display): New var.
16541
7eed1860
SS
165422011-04-18 Sam Steingold <sds@gnu.org>
16543
16544 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16545 to acknowledgments.
16546
4d2d1ccd
GM
165472011-04-17 Glenn Morris <rgm@gnu.org>
16548
16549 * calendar/diary-lib.el (diary-sexp-entry):
16550 * calendar/holidays.el (holiday-sexp):
16551 Set debug-on-error rather than the removed stack-trace-on-error.
16552
239da61d
GM
165532011-04-16 Glenn Morris <rgm@gnu.org>
16554
16555 * progmodes/f90.el: Use lexical-binding.
16556 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16557
8b05752a
SM
165582011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16559
daca8ba5
SM
16560 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16561 (mail-mode): Setup mailalias completion here instead.
16562 * mail/mailalias.el: Use lexical-binding.
16563 (pattern, mailalias-done): Declare dynamic.
16564 (mail-completion-at-point-function): New function, from mail-complete.
16565 (mail-complete): Use it.
16566 (mail-completion-expand): New function.
16567 (mail-get-names): Use it.
16568 (mail-directory, mail-directory-process, mail-directory-stream):
16569 Don't use `pattern' for lexically bound arg.
16570
6f542485
SM
16571 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16572
037e7c3f
SM
16573 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16574 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16575 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16576
8b05752a
SM
16577 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16578 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16579 (byte-interactive-p): Define them again, for use when inlining
16580 old code.
16581
49093f60
JB
165822011-04-15 Juanma Barranquero <lekktu@gmail.com>
16583
16584 * loadup.el: Use `string-to-number', not `string-to-int'.
16585
b5b8e7de
SM
165862011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16587
16588 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16589 gud-gdb-complete-command.
16590 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16591 (gud-gdb-completion-at-point): New function.
16592 (gud-gdb-completions): Remove.
16593
f42efeb5
MA
165942011-04-14 Michael Albinus <michael.albinus@gmx.de>
16595
49093f60
JB
16596 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16597 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16598 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16599 whether `executable-find' is bound.
f42efeb5
MA
16600
16601 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16602
e240cc21
SM
166032011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16604
16605 * minibuffer.el (completion-in-region-mode-predicate)
16606 (completion-in-region-mode--predicate): New vars.
16607 (completion-in-region, completion-in-region--postch)
16608 (completion-in-region-mode): Use them.
16609 (completion--capf-wrapper): Also return the hook function.
16610 (completion-at-point, completion-help-at-point):
16611 Adjust and provide a predicate.
c2bd2ab0
SM
16612
16613 Preserve arg names for advice of subr and lexical functions (bug#8457).
16614 * help-fns.el (help-function-arglist): Consolidate the subr and
16615 new-byte-code cases. Add argument `preserve-names' to extract names
16616 from the docstring when needed.
16617 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16618 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16619 (ad-arglist): Use help-function-arglist's new arg.
16620 (ad-definition-type): Use cond.
16621
c183f693
JB
166222011-04-13 Juanma Barranquero <lekktu@gmail.com>
16623
06641a47
JB
16624 * autorevert.el (auto-revert-handler):
16625 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16626 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16627 Don't quote lambda.
16628
c183f693
JB
16629 * image-mode.el (image-transform-set-scale):
16630 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16631
1e3b6001
G
166322011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16633
16634 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16635 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16636 Upgrades via gnutls-cli are too slow to be done opportunistically.
16637
2d6af8dd
JB
166382011-04-12 Juanma Barranquero <lekktu@gmail.com>
16639
16640 * dframe.el (dframe-current-frame): Remove spurious quote.
16641
c0749a51
GM
166422011-04-12 Glenn Morris <rgm@gnu.org>
16643
088d0d61
GM
16644 * calendar/cal-tex.el (cal-tex-end-document):
16645 Try to automatically use latin1 input if needed.
16646
c0749a51
GM
16647 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16648 Don't try to cons a mark onto an empty element.
16649
5c90fde0
LL
166502011-04-11 Leo Liu <sdl.web@gmail.com>
16651
16652 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16653 buffers.
16654 (ido-kill-buffer-at-head): Support killing virtual buffers.
16655
369e974d
CY
166562011-04-10 Chong Yidong <cyd@stupidchicken.com>
16657
16658 * minibuffer.el (completion-show-inline-help): New var.
16659 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16660 (minibuffer-force-complete, minibuffer-complete-word):
16661 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16662
16663 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16664 to avoid interference from inline help (Bug#5849).
16665
37f1c930
LL
166662011-04-10 Leo Liu <sdl.web@gmail.com>
16667
099c39a4
JB
16668 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16669 Fix typo.
37f1c930 16670
a32d4040
CY
166712011-04-09 Chong Yidong <cyd@stupidchicken.com>
16672
16673 * image-mode.el (image-toggle-display-image): Signal an error if
16674 not in Image mode.
16675 (image-transform-mode, image-transform-resize)
16676 (image-transform-set-rotation): Doc fix.
daca8ba5 16677 (image-transform-set-resize): Delete.
a32d4040
CY
16678 (image-transform-set-scale, image-transform-fit-to-height)
16679 (image-transform-fit-to-width): Handle image-toggle-display-image
16680 and image-transform-resize directly.
16681
099c39a4 166822011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16683
16684 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16685 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16686 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16687 (doc-view-mode-map): Add bindings for the new functions.
16688
099c39a4 166892011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16690
4d61f28d 16691 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16692 Fix typo in docstring.
16693
3726838a
EZ
166942011-04-08 Eli Zaretskii <eliz@gnu.org>
16695
04f33f1e
EZ
16696 * files.el (file-size-human-readable): Produce one digit after
16697 decimal, like "ls -lh" does.
16698
16699 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16700 the file size representation.
16701
3726838a
EZ
16702 * simple.el (list-processes): If async subprocesses are not
16703 available, error out with a clear error message.
16704
cbb59342
CY
167052011-04-08 Chong Yidong <cyd@stupidchicken.com>
16706
16707 * help.el (help-form-show): New function, to be called from C.
16708 Put help-form output in a buffer named differently than *Help*.
16709
e3971c44
EZ
167102011-04-08 Eli Zaretskii <eliz@gnu.org>
16711
16712 * files.el (file-size-human-readable): New function.
16713
16714 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16715 computing the representation inline. Don't require `cl'.
16716
12544bbe
GM
167172011-04-08 Glenn Morris <rgm@gnu.org>
16718
a1de6c6a
GM
16719 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16720
3c4671f4
GM
16721 * net/browse-url.el (browse-url-firefox):
16722 Test system-type, not system-configuration.
16723
b605679c
GM
16724 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16725 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16726 Use log-edit-empty-buffer-p. (Bug#7598)
16727
56442f0c
GM
16728 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16729 (rlogin-mode-map): Initialize in the defvar.
16730 (rlogin): Use ignore-errors.
16731
12544bbe
GM
16732 * replace.el (occur-mode-map): Some fixes for menu items.
16733
eb237b0f
AH
167342011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16735
16736 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16737
7d668f2c
CY
167382011-04-06 Chong Yidong <cyd@stupidchicken.com>
16739
e67a13ab
CY
16740 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16741 issuing unused warnings.
16742
16743 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16744 macro directly.
16745
7d668f2c
CY
16746 * simple.el: Lisp reimplement of list-processes. Based on an
16747 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16748 (process-menu-mode): New major mode.
16749 (list-processes--refresh, list-processes):
16750 (process-menu-visit-buffer): New functions.
16751
16752 * files.el (save-buffers-kill-emacs): Don't assume any return
16753 value of list-processes, which is undocumented anyway.
16754
a83ec3c9
CY
167552011-04-06 Chong Yidong <cyd@stupidchicken.com>
16756
16757 * emacs-lisp/tabulated-list.el: New file.
16758
e91a96fe
CY
16759 * emacs-lisp/package.el: Use Tabulated List mode.
16760 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16761 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16762 table format using Tabulated List mode variables.
16763 (package--push): New macro, replacing package-list-maybe-add.
16764 (package-menu--generate): Use package--push. Renamed from
16765 package--generate-package-list.
16766 (package-menu-refresh, list-packages): Use it.
daca8ba5 16767 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16768 Return insertion data instead of inserting it directly.
099c39a4
JB
16769 (package-menu-describe-package, package-menu-execute):
16770 Use tabulated-list-get-id.
e91a96fe
CY
16771 (package-menu-mark-delete, package-menu-mark-install)
16772 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16773 (package-menu-mark-obsolete-for-deletion):
16774 Use tabulated-list-put-tag.
e91a96fe
CY
16775 (package--list-packages, package-menu-revert)
16776 (package-menu-get-package, package-menu-get-version)
16777 (package-menu-sort-by-column): Functions deleted.
16778 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16779 (package-menu--status-predicate, package-menu--version-predicate)
16780 (package-menu--name-predicate)
16781 (package-menu--description-predicate): Handle arguments in the
16782 Tabulated List format.
16783 (package-list-packages-no-fetch): Call list-packages.
16784
3e214b50
JB
167852011-04-06 Juanma Barranquero <lekktu@gmail.com>
16786
16787 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16788 (after-find-file): Don't bind it.
3e214b50
JB
16789 (revert-buffer-in-progress-p): New variable.
16790 (revert-buffer): Bind it.
16791 Pass nil for `after-find-file-from-revert-buffer'.
16792
16793 * saveplace.el (save-place-find-file-hook): Use new variable
16794 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16795
3f0f1700
GM
167962011-04-06 Glenn Morris <rgm@gnu.org>
16797
c0274801
GM
16798 * Makefile.in (AUTOGEN_VCS): New variable.
16799 (autoloads): Use $AUTOGEN_VCS.
16800
3f0f1700
GM
16801 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16802 * calendar/calendar.el (calendar-mode-map):
16803 Check for toolkit scroll bars. (Bug#8305)
16804
41ea9e48
CY
168052011-04-05 Chong Yidong <cyd@stupidchicken.com>
16806
16807 * minibuffer.el (completion-in-region--postch)
16808 (completion-in-region-mode): Remove unnecessary messages.
16809
6194c800
JB
168102011-04-05 Juanma Barranquero <lekktu@gmail.com>
16811
33256f14
JB
16812 * font-lock.el (font-lock-refresh-defaults):
16813 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16814 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16815
6194c800
JB
16816 * info.el (Info-directory-list, Info-read-node-name-2)
16817 (Info-split-parameter-string): Doc fixes.
16818 (Info-virtual-nodes): Reflow docstring.
16819 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16820 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16821 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16822 Fix typos in docstrings.
16823 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16824 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16825 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16826 (Info-restore-desktop-buffer): Mark unused parameters.
16827 (Info-directory-find-file, Info-directory-find-node)
16828 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16829 (Info-virtual-index-find-node, Info-apropos-find-file)
16830 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16831 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16832 (Info-virtual-index): Remove unused local variable `nodename'.
16833
b87a8200 168342011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16835
b87a8200
DD
16836 * net/rcirc.el: Update my e-mail address.
16837 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16838
3b2ff876
CY
168392011-04-05 Chong Yidong <cyd@stupidchicken.com>
16840
16841 * startup.el (command-line): Save the cursor's theme-face
16842 directly, instead of using face-override-spec.
16843
16844 * custom.el (load-theme): Minor optimization in assigning faces.
16845
8d17e7ca
JB
168462011-04-04 Juanma Barranquero <lekktu@gmail.com>
16847
16848 * help-fns.el (describe-variable): Complete all variables having
16849 documentation, including keywords.
16850 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16851
2fbc1934
JB
168522011-04-04 Juanma Barranquero <lekktu@gmail.com>
16853
16854 Convert to lexical-binding.
16855
16856 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16857 (bs--get-marked-string, bs--get-modified-string)
16858 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16859 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16860 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16861
16862 * ehelp.el (electric-help-execute-extended)
16863 (electric-help-ctrl-x-prefix):
16864 * hexl.el (hexl-revert-buffer-function):
16865 * linum.el (linum-after-change, linum-after-scroll):
16866 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16867
16868 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16869
74f50695
DU
168702011-04-04 Daiki Ueno <ueno@unixuser.org>
16871
16872 * epa-dired.el:
16873 * epa-mail.el:
16874 * epa-hook.el:
16875 * epa-file.el:
16876 * epa.el:
16877 * epg.el: Use lexical binding.
16878
c11325f7
CY
168792011-04-03 Chong Yidong <cyd@stupidchicken.com>
16880
0d9e9a12
CY
16881 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16882
c11325f7 16883 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16884 dictionary case for flyspell-mark-duplications-exceptions.
16885 Use regexp matching for languages.
c11325f7
CY
16886 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16887 default dictionary (Bug#7926).
16888
da91b5f2
CY
168892011-04-02 Chong Yidong <cyd@stupidchicken.com>
16890
099c39a4
JB
16891 * emacs-lisp/package.el (package--with-work-buffer):
16892 Recognize https URLs.
da91b5f2 16893
099c39a4
JB
16894 * net/network-stream.el: Move from gnus/proto-stream.el.
16895 Change prefix to network-stream throughout.
da91b5f2
CY
16896 (open-protocol-stream): Merge into open-network-stream, leaving
16897 open-protocol-stream as an alias. Handle nil BUFFER args.
16898
16899 * subr.el (open-network-stream): Move to net/network-stream.el.
16900
afa8e9f6
GM
169012011-04-02 Glenn Morris <rgm@gnu.org>
16902
1d2e369d
GM
16903 * find-dired.el (find-exec-terminator): New option.
16904 (find-ls-option): Test for -ls support.
16905 (find-ls-subdir-switches): Test for -b in find-ls-option.
16906 (find-dired, find-grep-dired): Doc fixes.
16907 (find-dired): Use find-exec-terminator.
16908
8abb7da8 16909 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16910 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16911 (find-name-arg): Remove purecopy.
8abb7da8 16912
f3ca7378
GM
16913 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16914 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16915 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16916 accordingly. Don't add the null-device if not needed.
16917
afa8e9f6
GM
16918 * files.el (save-some-buffers): Doc fix.
16919
35eae264
EZ
169202011-04-02 Eli Zaretskii <eliz@gnu.org>
16921
16922 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16923
26b51db5
JB
169242011-04-01 Juanma Barranquero <lekktu@gmail.com>
16925
16926 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16927 Use `dolist' rather than `mapcar'.
16928
7200d79c
SM
169292011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16930
03408648 16931 Add lexical binding.
7200d79c 16932
03408648
SM
16933 * subr.el (apply-partially): Use new closures rather than CL.
16934 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16935 (dolist, dotimes): Use slightly different expansion for lexical code.
16936 (functionp): Move to C.
16937 (letrec): New macro.
16938 (with-wrapper-hook): Use it and apply-partially instead of CL.
16939 (eval-after-load): Preserve lexical-binding.
16940 (save-window-excursion, with-output-to-temp-buffer): Turn them
16941 into macros.
7200d79c 16942
03408648
SM
16943 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16944
16945 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16946 than the arglist.
16947 (help-add-fundoc-usage): Don't add `Not documented'.
16948 (help-function-arglist): Handle closures, subroutines, and new
16949 byte-code-functions.
16950 (help-make-usage): Remove leading underscores.
16951 (describe-function-1): Handle closures.
16952 (describe-variable): Use special-variable-p for completion.
16953
16954 * files.el (lexical-binding): Declare safe.
f488fb65 16955
03408648
SM
16956 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16957 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16958 (pcase): Add `let' pattern.
16959 Change memoization so it actually works.
16960 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16961 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16962 <let>: New case.
f488fb65 16963
03408648
SM
16964 * emacs-lisp/macroexp.el: Use lexical binding.
16965 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16966 Don't convert ' to #' without checking that it's indeed quoting
16967 a lambda.
16968
16969 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16970 Use eval-sexp-add-defvars.
03408648
SM
16971 (eval-sexp-add-defvars): New fun.
16972
16973 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16974
16975 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16976 Don't autoload.
16977 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16978 than the internal `byte-compile-lambda'.
16979 (defmethod): Don't hide code under quotes.
16980 (eieio-defmethod): New `code' argument.
16981
16982 * emacs-lisp/eieio-comp.el: Remove.
16983
16984 * emacs-lisp/edebug.el (edebug-eval-defun)
16985 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16986 (edebug-toggle): Avoid `eval'.
16987
16988 * emacs-lisp/disass.el (disassemble-internal): Handle new
16989 `closure' objects.
16990 (disassemble-1): Handle new byte codes.
16991
16992 * emacs-lisp/cl.el (pushnew): Silence warning.
16993
16994 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16995 (cl-byte-compile-throw): Remove.
16996 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16997
16998 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16999 closures.
17000
17001 * emacs-lisp/cconv.el: New file.
17002
17003 * emacs-lisp/bytecomp.el: Use lexical binding instead of
17004 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
17005 (byte-compile-initial-macro-environment):
17006 Handle declare-function here.
17007 (byte-compile--lexical-environment): New var.
17008 (byte-stack-ref, byte-stack-set, byte-discardN)
17009 (byte-discardN-preserve-tos): New lap codes.
17010 (byte-interactive-p): Don't use any more.
17011 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17012 New macros.
17013 (byte-compile-lapcode): Use them and handle new lap codes.
17014 (byte-compile-obsolete): Remove.
17015 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17016 (byte-compile-arglist-warn): Check late def of inlinable funs.
17017 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17018 since they should have been expanded by now.
17019 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17020 (byte-compile-from-buffer): Remove unused second arg.
17021 (byte-compile-preprocess): New function.
17022 (byte-compile-toplevel-file-form): New function to distinguish
17023 file-form calls from outside from file-form calls from hunk-handlers.
17024 (byte-compile-file-form): Simplify.
17025 (byte-compile-file-form-defsubst): Remove.
17026 (byte-compile-file-form-defmumble): Simplify now that
17027 byte-compile-lambda always returns a byte-code-function.
17028 (byte-compile): Preprocess.
17029 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17030 Remove, not used any more.
17031 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17032 (byte-compile-make-args-desc): New funs.
17033 (byte-compile-lambda): Handle lexical functions. Always return
17034 a byte-code-function.
17035 (byte-compile-reserved-constants): New var, to make up room for
17036 closed-over variables.
17037 (byte-compile-constants-vector): Obey it.
17038 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17039 (byte-compile-macroexpand-declare-function): New function.
17040 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17041 byte-code-functions.
17042 (byte-compile-form): Check obsolescence here.
17043 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17044 (byte-compile-variable-ref): Remove.
17045 (byte-compile-dynamic-variable-op): New fun.
17046 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17047 (byte-compile-variable-set): New funs.
17048 (byte-compile-discard): Add 2 args.
17049 (byte-compile-stack-ref, byte-compile-stack-set)
17050 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17051 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17052 macroexpand-all instead.
17053 (byte-compile-quote-form): Remove.
17054 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17055 (byte-compile-bind, byte-compile-unbind): New funs.
17056 (byte-compile-let): Handle let* and lexical binding.
17057 (byte-compile-let*): Remove.
17058 (byte-compile-catch, byte-compile-unwind-protect)
17059 (byte-compile-track-mouse, byte-compile-condition-case):
17060 Handle a new :fun-body form, used for lexical scoping.
17061 (byte-compile-save-window-excursion)
17062 (byte-compile-with-output-to-temp-buffer): Remove.
17063 (byte-compile-defun): Simplify.
17064 (byte-compile-stack-adjustment): New fun.
17065 (byte-compile-out): Use it.
17066 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17067
17068 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17069 handler any more.
17070
17071 * emacs-lisp/byte-opt.el: Use lexical binding.
17072 (byte-inline-lapcode): Remove (to bytecomp).
17073 (byte-compile-inline-expand): Pay attention to inlining to/from
17074 lexically bound code.
17075 (byte-compile-unfold-lambda): Don't handle byte-code-functions
17076 any more.
17077 (byte-optimize-form-code-walker): Don't handle save-window-excursion
17078 any more and don't call compiler-macros.
17079 (byte-compile-splice-in-already-compiled-code): Remove.
17080 (byte-code): Don't inline any more.
17081 (disassemble-offset): Receive `bytes' as argument rather than via
17082 dynamic scoping.
17083 (byte-compile-tag-number): Declare before first use.
17084 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17085 `return' even if make-spliceable.
17086 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17087 obsolete interactive-p.
17088 (byte-optimize-lapcode): Optimize new lap-codes.
17089 Don't trip up on new form of `byte-constant' lap code.
17090
17091 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17092
17093 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17094
17095 * custom.el (custom-initialize-default, custom-declare-variable):
17096 Use `defvar'.
17097
17098 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17099 New variables.
17100 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17101 (COMPILE_FIRST): Add macroexp and cconv.
17102 * makefile.w32-in: Mirror changes in Makefile.in.
17103
17104 * vc/cvs-status.el:
17105 * vc/diff-mode.el:
17106 * vc/log-edit.el:
17107 * vc/log-view.el:
17108 * vc/smerge-mode.el:
17109 * textmodes/bibtex-style.el:
090bd7cb 17110 * textmodes/css-mode.el:
03408648
SM
17111 * startup.el:
17112 * uniquify.el:
da91b5f2
CY
17113 * minibuffer.el:
17114 * newcomment.el:
17115 * reveal.el:
17116 * server.el:
17117 * mpc.el:
17118 * emacs-lisp/smie.el:
17119 * doc-view.el:
17120 * dired.el:
03408648
SM
17121 * abbrev.el: Use lexical binding.
17122
0f0c1f27
EZ
171232011-04-01 Eli Zaretskii <eliz@gnu.org>
17124
17125 * info.el (info-display-manual): New function.
17126
c82b2579
SM
171272011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17128
17129 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17130
221ddf68
TH
171312011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17132
17133 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 17134 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 17135
cba6e77e
GM
171362011-03-31 Glenn Morris <rgm@gnu.org>
17137
e040639f
GM
17138 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17139
cba6e77e
GM
17140 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17141
6d0f1c9e
CS
171422011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17143
17144 * progmodes/python.el (python-default-interpreter)
17145 (python-python-command-args, python-jython-command-args)
17146 (python-which-shell, python-which-args, python-which-bufname)
17147 (python-file-queue, python-comint-output-filter-function)
17148 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17149 variables and functions.
17150
3e2d70fd
SM
171512011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17152
17153 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17154 (completion-in-region-mode): New minor mode.
17155 (completion-in-region): Use it.
17156 (completion-in-region--data, completion-in-region-mode-map): New vars.
17157 (completion-in-region--postch): New function.
17158 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17159 New vars.
17160 (completion--capf-wrapper): New function.
17161 (completion-at-point): Use it to track well-behavedness of
17162 hook functions.
17163 (completion-help-at-point): New command.
17164
f3e4086c
JM
171652011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17166
17167 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17168 syntax class to search for whitespace on a single line
17169 (Message-ID: <4D938140.4030905@redhat.com>).
17170
eb7ffc14
LL
171712011-03-30 Leo Liu <sdl.web@gmail.com>
17172
17173 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17174 New commands.
17175 (edit-abbrevs-map): Bind them here.
17176 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17177
d806ab68
KM
171782011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17179
17180 * allout.el (allout-hide-by-annotation, allout-flag-region):
17181 Reduce possibility of overlay leakage by making them volatile.
17182
17183 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17184 hash is not shared between buffers. Mode initialization is
17185 responsible for giving it a useful starting value.
17186 (allout-item-span): Reduce possibility of overlay leakage by
17187 making them volatile.
17188 (allout-widgets-count-buttons-in-region): Add diagnostic function
17189 for tracking down button overlay leaks.
17190
ea622834
LL
171912011-03-29 Leo Liu <sdl.web@gmail.com>
17192
17193 * ido.el (ido-read-internal): Use the default history var
17194 minibuffer-history if no HISTORY is specified.
17195
b62f8267
G
171962011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17197
03408648
SM
17198 * net/imap.el (imap-shell-open, imap-process-connection-type):
17199 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
17200 Kerberos, SSL, other subprocesses.
17201
947b6566
LL
172022011-03-28 Leo Liu <sdl.web@gmail.com>
17203
17204 * abbrev.el (abbrev-table-empty-p): New function.
17205 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17206 nonempty ones. (Bug#5937)
17207
5ffb62aa
JD
172082011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17209
17210 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17211
7a097943
LL
172122011-03-27 Leo Liu <sdl.web@gmail.com>
17213
17214 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17215 for foreground and background colors.
17216 (ansi-color-make-color-map): Adapt.
17217
c5b40130
LL
172182011-03-25 Leo Liu <sdl.web@gmail.com>
17219
1f48f7d2
LL
17220 * midnight.el (midnight-time-float): Remove. Note it calculates
17221 the microsecond component incorrectly and seconds-to-time does the
17222 same job.
625897ec 17223 Remove redundant (require 'timer).
1f48f7d2 17224
c5b40130
LL
17225 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17226 (ido-completions): Remove unused arguments. (Bug#8329)
17227
d86d2721
SM
172282011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17229
17230 * minibuffer.el (completion--flush-all-sorted-completions):
17231 Remove itself from hook.
17232 (completion-at-point): Let the functions perform the completion
17233 immediately and return nil or t.
17234 * comint.el (comint-dynamic-complete-functions): Now identical to
17235 completion-at-point-functions.
17236 (comint-dynamic-list-input-ring): Remove unused var `index'.
17237 (comint--match-partial-filename, comint--unquote&expand-filename):
17238 New funs, split from comint-match-partial-filename.
17239 (comint-dynamic-complete): Use completion-at-point.
17240 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17241
e8974c48
DA
172422011-03-24 Drew Adams <drew.adams@oracle.com>
17243
17244 * thingatpt.el: Support `defun'.
17245
def71b5e
LL
172462011-03-23 Leo Liu <sdl.web@gmail.com>
17247
cb5af48e
LL
17248 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17249
def71b5e
LL
17250 * help-mode.el (help-mode-finish): Tweak regexp.
17251
927c53e7
GM
172522011-03-23 Glenn Morris <rgm@gnu.org>
17253
18d05bed
GM
17254 * eshell/esh-opt.el (eshell-eval-using-options):
17255 Do not bind unused local variable `eshell-option-stub'.
17256
927c53e7
GM
17257 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17258
9d0da923
JB
172592011-03-22 Juanma Barranquero <lekktu@gmail.com>
17260
17261 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17262 keymap variable in `with-no-warnings' to avoid a warning when the
17263 keymap has been already `defconst'ed.
17264
4b978a67
LL
172652011-03-22 Leo Liu <sdl.web@gmail.com>
17266
17267 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17268 encode all chars in abbrevs; otherwise use emacs-mule or
17269 utf-8-emacs. (Bug#8308)
17270
5fd62452
JB
172712011-03-22 Juanma Barranquero <lekktu@gmail.com>
17272
0b1596c6
JB
17273 * simple.el (backward-delete-char-untabify):
17274 Avoid warning about using `delete-backward-char'.
17275
5fd62452
JB
17276 * image.el (image-type-file-name-regexps): Make it variable.
17277 `imagemagick-register-types' modifies it, and the user may want
17278 to add new extensions for known image types.
17279 (imagemagick-register-types): Throw error if not using ImageMagick.
17280
0b4e93f1
LL
172812011-03-22 Leo Liu <sdl.web@gmail.com>
17282
17283 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17284 located before rcirc-prompt-end-marker.
17285 (rcirc-complete): Error if point is not after rcirc prompt.
17286 Handle the case when table is nil.
9882e214 17287 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17288
fccee4ab
CY
172892011-03-22 Chong Yidong <cyd@stupidchicken.com>
17290
17291 * custom.el (custom--inhibit-theme-enable): Make it affect only
17292 custom-theme-set-variables and custom-theme-set-faces.
17293 (provide-theme): Ignore custom--inhibit-theme-enable.
17294 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17295 (custom-enabling-themes): Delete variable.
d86d2721
SM
17296 (enable-theme): Accept only loaded themes as arguments.
17297 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17298 (custom-enabled-themes): Forbid themes from setting this.
17299 Eliminate use of custom-enabling-themes.
17300 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17301
af896da6
LL
173022011-03-21 Leo Liu <sdl.web@gmail.com>
17303
17304 * ido.el (ido-read-internal): Add ido-selected to history instead
17305 of user input.
17306
78f64af0
SM
173072011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17308
17309 * subr.el (deferred-action-list, deferred-action-function):
17310 Mark obsolete.
17311
b16ac1ec
LL
173122011-03-21 Leo Liu <sdl.web@gmail.com>
17313
810f7698
LL
17314 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17315 change on 2011-02-13 (bug#8309).
17316
b16ac1ec
LL
17317 * minibuffer.el (read-file-name-function): Change default value.
17318 (read-file-name--defaults): Rename from read-file-name-defaults.
17319 (read-file-name-default): Rename from read-file-name.
17320 (read-file-name): Call read-file-name-function.
17321
4e05e67e
GM
173222011-03-21 Glenn Morris <rgm@gnu.org>
17323
17324 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17325 Doc fixes.
17326
4359915b
CY
173272011-03-21 Chong Yidong <cyd@stupidchicken.com>
17328
17329 * cus-theme.el: Add missing provide statement.
17330 (customize-create-theme): Extract theme value correctly.
17331 (custom-theme-visit-theme): Autoload.
17332 (customize-create-theme): Prompt before inserting default faces.
17333
1fe275ee
JB
173342011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17335
17336 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17337 units and musical notes.
17338
cd394be1 173392011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17340
17341 * ido.el (ido-read-internal): Use completing-read-default.
17342 (ido-completing-read): Fix compatibility with completing-read.
17343
7d476bde
CO
173442011-03-20 Christian Ohler <ohler@gnu.org>
17345
17346 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17347 (ert-delete-all-tests): Use `called-interactively-p' rather than
17348 `interactive-p'.
17349 (ert--make-xrefs-region): Respect END.
17350
fe0fb33e
CY
173512011-03-19 Chong Yidong <cyd@stupidchicken.com>
17352
ff854b0b
CY
17353 * dired-aux.el (dired-create-directory): Signal an error if the
17354 directory already exists (Bug#8246).
17355
fe0fb33e
CY
17356 * facemenu.el (list-colors-display): Call list-faces-display
17357 inside with-help-window.
17358 (list-colors-print): Use display property to align the final
17359 column, instead of checking window-width.
17360
576bce32
EZ
173612011-03-19 Eli Zaretskii <eliz@gnu.org>
17362
4d61f28d 17363 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17364 windows-nt systems.
17365 (emerge-protect-metachars): Quote correctly for ms-dos and
17366 windows-nt systems.
17367
89c41d68 173682011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17369
17370 * info.el (info-initialize): Replace all uses of `:' with
17371 path-separator for compatibility with non-Unix systems.
17372 Cache quoting of path-separator. (Bug#8258)
17373
b14e3e21 173742011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17375
17376 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17377 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17378 (mouse-avoidance-mode): Fix typos in docstrings.
17379
4525ce3e
CY
173802011-03-19 Chong Yidong <cyd@stupidchicken.com>
17381
17382 * startup.el (package-subdirectory-regexp): Move from package.el.
17383 Omit \\` and \\', and let callers add them.
17384
17385 * emacs-lisp/package.el (package-strip-version)
17386 (package-load-all-descriptors): Add \\` and \\' to
17387 package-subdirectory-regexp before using it.
17388 (package-untar-buffer): New arg DIR; ensure that file untars only
17389 into this expected directory. Remove superfluous delete-region.
17390 (package-unpack): Caller changed.
17391 (package-tar-file-info): Use package-subdirectory-regexp.
17392
a904a09a 173932011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17394
a904a09a
SM
17395 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17396 diff-mode-shared-map (bug#8284).
17397 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17398
173992011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17400
17401 * calendar/time-date.el (format-seconds): Use assoc instead of
17402 assoc-string, since assoc-string doesn't exist in XEmacs.
17403
171fc304
JB
174042011-03-17 Juanma Barranquero <lekktu@gmail.com>
17405
17406 * custom.el (custom-known-themes): Reflow docstring.
17407 (custom-theme-load-path): Fix typo in docstring.
17408 (load-theme): Fix typo in error message.
17409 (custom-available-themes, custom-variable-theme-value):
17410 Use `let', not `let*'.
17411
d71990a1
JB
174122011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17413
17414 * calc/README: Mention inclusion of musical notes.
17415
17416 * calc/calc-units.el (calc-lu-quant): Rename from
17417 `calc-logunits-quantity'.
17418 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17419 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17420 (calc-db): Rename from `calc-dblevel'.
17421 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17422 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17423 (calc-np): Rename from `calc-nplevel'.
17424 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17425 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17426 (calc-lu-plus): Rename from `calc-logunits-add'.
17427 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17428 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17429 (calc-lu-minus): Rename from `calc-logunits-sub'.
17430 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17431 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17432 (calc-lu-times): Rename from `calc-logunits-mul'.
17433 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17434 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17435 (calc-lu-divide): Rename from `calc-logunits-div'.
17436 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17437 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17438
17439 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17440 functions being autoloaded.
17441
17442 * calc/calc.el (calc-lu-power-reference): Rename from
17443 `calc-logunits-power-reference'.
17444 (calc-lu-field-reference): Rename from
17445 `calc-logunits-field-reference'.
17446
7a71b18d
GM
17447 * calc/calc-help.el (calc-l-prefix-help):
17448 Mention musical note functions.
d71990a1 17449
40c2934b
SM
174502011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17451
17452 * minibuffer.el (completion-all-sorted-completions):
17453 Use :completion-cycle-penalty text property if present.
17454
b0911414
KM
174552011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17456
17457 * allout.el (allout-yank-processing): Adjust for new rebulleting
17458 regime so bullet being yanked is used without prompting the user
17459 for a choice.
17460
8a05b668
JB
174612011-03-16 Juanma Barranquero <lekktu@gmail.com>
17462
17463 * startup.el (command-line): Warn the user that _emacs is deprecated.
17464
5ba5fb81
JB
174652011-03-16 Juanma Barranquero <lekktu@gmail.com>
17466
17467 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17468 (delphi-verbose, delphi-comment-face, delphi-string-face)
17469 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17470 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17471 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17472 (delphi-new-comment-line, delphi-font-lock-defaults)
17473 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17474 Fix typos in docstrings.
17475
2dab465b
KM
174762011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17477
5ba5fb81 17478 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17479 Invert the roles of character and string values for INSTEAD, so a
17480 string is used for the more common case of a defaulting prompt.
17481
0adf5618
SM
174822011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17483
17484 * progmodes/ruby-mode.el (ruby-backward-sexp):
17485 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17486 * play/gamegrid.el (gamegrid-make-face):
17487 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17488 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17489 * notifications.el (notifications-notify):
17490 * net/xesam.el (xesam-search-engines):
17491 * net/quickurl.el (quickurl-list-insert):
17492 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17493
d72700e5
CY
174942011-03-15 Chong Yidong <cyd@stupidchicken.com>
17495
17496 * startup.el (command-line): Update package subdirectory regexp.
17497
49c5410a
SM
174982011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17499
c6eee9aa
SM
17500 * allout.el (allout-abbreviate-flattened-numbering)
17501 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17502
49c5410a
SM
17503 * subr.el (read-char-choice): Only show the cursor after the prompt,
17504 not after the answer.
17505
047b2bb9
KR
175062011-03-15 Kevin Ryde <user42@zip.com.au>
17507
17508 * help-fns.el (variable-at-point): Skip leading quotes, if any
17509 (bug#8253).
17510
0a57d256
SM
175112011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17512
17513 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17514 warning message.
17515
77c992bc
MA
175162011-03-14 Michael Albinus <michael.albinus@gmx.de>
17517
17518 * shell.el (shell): When called interactively, offer to change the
17519 shell file name on remote hosts.
17520
eebc475d
TZ
175212011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17522
17523 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17524 integration for LDAP parameters. The host, base, user or binddn,
17525 and secret tokens can be specified in a netrc file, for instance.
17526 This is optional because an `auth-source' parameter must be
17527 specified in the search attributes.
17528
9d05d1ba
JB
175292011-03-13 Juanma Barranquero <lekktu@gmail.com>
17530
17531 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17532
09d9db2c
GM
175332011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17534
17535 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17536 into declaration. Remove redundant and harmful binding.
17537
175382011-03-12 Eli Zaretskii <eliz@gnu.org>
17539
17540 * files.el (file-ownership-preserved-p): Pass `integer' as an
17541 explicit 2nd argument to `file-attributes'. If the file's owner
17542 is the Administrators group on Windows, and the current user is
17543 Administrator, consider that a match.
17544
17545 * server.el (server-ensure-safe-dir): Consider server directory
17546 safe on MS-Windows if its owner is the Administrators group while
17547 the current Emacs user is Administrator. Use `=' to compare
17548 numerical UIDs, since they could be integers or floats.
17549
219bd536
JB
175502011-03-12 Juanma Barranquero <lekktu@gmail.com>
17551
17552 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17553
f3afd36b
MA
175542011-03-12 Michael Albinus <michael.albinus@gmx.de>
17555
17556 Sync with Tramp 2.2.1.
17557
17558 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17559
17560 * net/trampver.el: Update release number.
17561
3aaaa6f1
SM
175622011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17563
94642599
SM
17564 * progmodes/compile.el (compilation--previous-directory): Fix up
17565 various nil/dead-marker mismatches (bug#8014).
17566 (compilation-directory-properties, compilation-error-properties):
17567 Don't call it at a position past the one we're about to change.
17568
3aaaa6f1
SM
17569 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17570 Disable obsolescence warnings in the file that declares it.
17571
14239447
KM
175722011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17573
099c39a4
JB
17574 * allout-widgets.el (allout-widgets-tally):
17575 Initialize allout-widgets-tally as a hash table rather than nil to
17576 prevent mode-line redisplay warnings. Also, clarify the module
17577 description and fix a comment typo.
14239447 17578
135e287c
JB
175792011-03-11 Juanma Barranquero <lekktu@gmail.com>
17580
17581 * help-fns.el (describe-variable): Don't complete keywords.
17582 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17583
ffbf300e
CY
175842011-03-10 Chong Yidong <cyd@stupidchicken.com>
17585
ba08b241
CY
17586 * emacs-lisp/package.el (package-version-join): Impose a standard
17587 string representation for pre/alpha/beta version lists.
17588 (package-unpack-single): Standardize the directory name by passing
17589 it through package-version-join.
17590 (package-strip-rcs-id): Accept any version string that does not
17591 signal an error in version-to-list.
ffbf300e 17592
f346fd6b
MA
175932011-03-10 Michael Albinus <michael.albinus@gmx.de>
17594
17595 * simple.el (delete-trailing-whitespace): Return nil for the
17596 benefit of `write-file-functions'.
17597
ccb55d27
GM
175982011-03-10 Glenn Morris <rgm@gnu.org>
17599
5ceaac0c
GM
17600 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17601
02da65ff
GM
17602 * vc/vc-git.el (vc-git-program): New option.
17603 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17604 (vc-git--call): Use it.
17605
b2f603cc
GM
17606 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17607
5772caab
GM
17608 * cus-edit.el (Custom-newline): If no button at point, look
17609 for a subgroup button at start-of-line. (Bug#2298)
17610
ccb55d27
GM
17611 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17612
ec6ecaed
JD
176132011-03-10 Julien Danjou <julien@danjou.info>
17614
17615 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17616 `cursor-type' is nil.
17617
9d5aa01d
JB
176182011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17619
17620 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17621
b6a5875b
KM
176222011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17623
7a71b18d 17624 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17625 preserves the existing header prefix, rebulleting it if necessary,
17626 rather than replacing it. This is necessary for proper operation
17627 of cooperative addons like allout-widgets.
1154d12e
JB
17628 (allout-make-topic-prefix, allout-rebullet-heading):
17629 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17630 value as alternate bullet to be used, instead of prompting the user
17631 for a bullet character.
b6a5875b 17632
ee545c35
MA
176332011-03-09 Michael Albinus <michael.albinus@gmx.de>
17634
d86d2721
SM
17635 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17636 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17637 `tramp-default-port'.
17638
c47971d7
DD
176392011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17640
17641 * net/rcirc.el (rcirc-handler-001): Remove useless
17642 with-rcirc-process-buffer.
17643 (rcirc-check-auth-status): Swap arguments to string-match.
17644
13522cb4
GM
176452011-03-09 Glenn Morris <rgm@gnu.org>
17646
0be6f4f1
GM
17647 * shell.el (shell-mode):
17648 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17649
13522cb4
GM
17650 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17651 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17652
515de2e3
CY
176532011-03-08 Chong Yidong <cyd@stupidchicken.com>
17654
17655 * emacs-lisp/package.el (package-refresh-contents)
17656 (package-menu-execute): Use condition-case-no-debug.
17657
b511b994
MA
176582011-03-08 Michael Albinus <michael.albinus@gmx.de>
17659
17660 * simple.el (shell-command-to-string): Use `process-file'.
17661
17662 * emacs-lisp/package.el (package-tar-file-info): Handle also
17663 remote files.
17664
d86d2721
SM
17665 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17666 Use `equal' for upload base check.
b511b994 17667
25bbfb31
AM
176682011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17669
17670 * textmodes/texinfo.el (texinfo-environments):
17671 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17672
be996521
GM
176732011-03-08 Glenn Morris <rgm@gnu.org>
17674
e9c8529f
GM
17675 * cus-start.el (cursor-in-non-selected-windows):
17676 Fix :set quoting oddness. (Bug#8192)
17677
be996521
GM
17678 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17679 in some setf expressions. (Bug#2159)
17680
2bb5649e
CY
176812011-03-08 Chong Yidong <cyd@stupidchicken.com>
17682
17683 * custom.el (custom-available-themes): Return themes in
17684 alphabetical order.
17685
33383987 17686See ChangeLog.15 for earlier changes.
e3d51b27
MR
17687
17688;; Local Variables:
17689;; coding: utf-8
e3d51b27
MR
17690;; End:
17691
acaf905b 17692 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17693
17694 This file is part of GNU Emacs.
17695
17696 GNU Emacs is free software: you can redistribute it and/or modify
17697 it under the terms of the GNU General Public License as published by
17698 the Free Software Foundation, either version 3 of the License, or
17699 (at your option) any later version.
17700
17701 GNU Emacs is distributed in the hope that it will be useful,
17702 but WITHOUT ANY WARRANTY; without even the implied warranty of
17703 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17704 GNU General Public License for more details.
17705
17706 You should have received a copy of the GNU General Public License
17707 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.