* lisp/thingatpt.el (thing-at-point): Accept optional second argument
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
72d3cfca
SS
12013-05-08 Sam Steingold <sds@gnu.org>
2
3 * thingatpt.el (thing-at-point): Accept optional second argument
4 NO-PROPERTIES to strip the text properties from the return value.
5 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
6 to `thing-at-point' instead of stripping the properties ourselves.
7 Also, when `thing-at-point' fails to find a url, prepend "http://"
8 to the filename at point on the assumption that the user is
9 pointing at something like gnu.org/gnu.
10
5cb15713
JB
112013-05-08 Juanma Barranquero <lekktu@gmail.com>
12
13 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14 * faces.el (crm-separator):
15 Silence byte-compiler.
16
17 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
18 (tool-bar-map): Remove unneeded defvars.
19
ea78b95b
LL
202013-05-08 Leo Liu <sdl.web@gmail.com>
21
22 Re-work a fix for bug#10994 based on Le Wang's patch.
23 * ido.el (ido-remove-consecutive-dups): New helper.
24 (ido-completing-read): Use it.
25 (ido-chop): Revert fix for bug#10994.
26
dc7466df
AS
272013-05-08 Adam Spiers <emacs@adamspiers.org>
28
29 * cus-edit.el (custom-save-variables):
30 Pretty-print long values. (Bug#14187)
31
9ecf672a
GM
322013-05-08 Glenn Morris <rgm@gnu.org>
33
34 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
35 (m4-mode-syntax-table): Init in the defvar.
36 (m4-mode-abbrev-table): Let define-derived-mode define it.
37
3f555be8
TT
382013-05-08 Tom Tromey <tromey@redhat.com>
39
40 * progmodes/m4-mode.el (m4-mode-syntax-table):
41 Do not treat "_" as word constituent. (Bug#14167)
42
7cc8ae06
GM
432013-05-07 Glenn Morris <rgm@gnu.org>
44
4f58bc06
GM
45 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
46 Remove explicit eshell-isearch-cancel-map.
47
7cc8ae06
GM
48 * progmodes/f90.el (f90-smart-end-names): New option.
49 (f90-smart-end): Doc fix.
50 (f90-end-block-optional-name): New constant.
51 (f90-block-match): Respect f90-smart-end-names.
52
ceb57e59
SM
532013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * progmodes/octave.el (octave-smie-forward-token): Be more careful
56 about implicit semi-colons (bug#14218).
57
4e3f9230
YM
582013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
59
60 * frame.el (display-monitor-attributes-list)
61 (frame-monitor-attributes): New functions.
62
203a5572
LL
632013-05-06 Leo Liu <sdl.web@gmail.com>
64
65 * progmodes/octave.el (octave-syntax-propertize-function): Change
66 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
67 (octave-font-lock-keywords): Use octave-operator-regexp.
68 (octave-completion-at-point): Renamed from
69 octave-completion-at-point-function.
70 (inferior-octave-directory-tracker): Robustify.
71 (octave-text-functions): Remove and fix its uses. No such things
72 any more.
73
ee6cff99
SM
742013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 * emacs-lisp/trace.el (trace--display-buffer): New function.
77 (trace-make-advice): Use it.
78
32985194
JL
792013-05-06 Juri Linkov <juri@jurta.org>
80
81 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
82 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
83 Doc fix.
84 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
85 in the help string. (Bug#12985)
86
a1c700de
KD
872013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
88
89 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
90
c67c0839
SM
912013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
92
323885fd
SM
93 * progmodes/perl-mode.el: Add support for here documents.
94 (perl-syntax-propertize-function): Match here-doc markers.
95 (perl-syntax-propertize-special-constructs): Find their end.
96 (perl-imenu-generic-expression): Use [:alnum:].
97
c67c0839
SM
98 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
99 (advice--add-function): Refresh the advice if already present
100 (bug#14317).
101
d491e7a8
IA
1022013-05-06 Ivan Andrus <darthandrus@gmail.com>
103
104 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
105
ddf9925e
GM
1062013-05-06 Glenn Morris <rgm@gnu.org>
107
7cc3af27
GM
108 * w32-fns.el (w32-charset-info-alist): Declare.
109
16e343d6
GM
110 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
111 of its defcustom properties.
112 (eshell-cmpl-initialize): No need to load pcomplete.
113
7d889a47
GM
114 * generic-x.el: No need to require comint when compiling.
115
ddf9925e
GM
116 * net/eudc-export.el: Make it loadable without bbdb.
117 (top-level): Use require rather than load-library.
118 (eudc-create-bbdb-record, eudc-bbdbify-phone)
119 (eudc-batch-export-records-to-bbdb)
120 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
121 Require bbdb.
122
1e2c18df
SM
1232013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
124
125 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
126 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
127 some tweaks, instead.
128
02502a5f
LL
1292013-05-05 Leo Liu <sdl.web@gmail.com>
130
131 * progmodes/octave.el (octave-font-lock-keywords)
132 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
133 (inferior-octave-send-list-and-digest): Improve error message.
134 (octave-mode, inferior-octave-mode): Use setq-local.
135 (octave-help): Set info-lookup-mode.
136
0dc04f42
RS
1372013-05-05 Richard Stallman <rms@gnu.org>
138
6c54491c
RS
139 * vc/compare-w.el (compare-windows-whitespace):
140 Treat no-break space as whitespace.
141
0dc04f42
RS
142 * mail/rmailsum.el (rmail-summary-rmail-update):
143 Detect empty summary and don't change selected message.
144 (rmail-summary-goto-msg): Likewise.
145
df8f35df
RS
146 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
147 Doc fixes, rename args.
148
5356e1a3
AM
1492013-05-05 Alan Mackenzie <acm@muc.de>
150
151 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
152
d44014cb
JL
1532013-05-05 Juri Linkov <juri@jurta.org>
154
155 * info.el (Info-read-subfile): Use (point-min) instead of (point)
156 to not add the length of the summary segment to the return value.
157 (Bug#14125)
158
c129b51f
LL
1592013-05-05 Leo Liu <sdl.web@gmail.com>
160
161 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
162 (inferior-octave-output-filter): Remove.
163 (octave-send-region, inferior-octave-startup): Fix callers.
164 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
165 (octave-binary-file-extensions): New user variable.
166 (octave-find-definition): Confirm if opening binary files.
167 (octave-help-file): Use octave-find-definition to get the binary
168 confirmation.
169 (octave-help): Adjust for octave-help-file change.
170
aa7dab97
SM
1712013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
172
173 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
174 Merge the two entries that handle function definitions.
175 (pascal--syntax-propertize): New const.
176 (pascal-mode): Use it. Use setq-local.
177
fd3a9a6b
GM
1782013-05-04 Glenn Morris <rgm@gnu.org>
179
180 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
181 (diary-from-outlook): Respect diary-from-outlook-function.
182
30c7e542
SM
1832013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
186 Move the declaration from C.
187 (read-minibuffer, eval-minibuffer): Move from C.
188 (completion-setup-function): Avoid minibuffer-completion-contents.
189
b54f978b
LL
1902013-05-03 Leo Liu <sdl.web@gmail.com>
191
192 * progmodes/octave.el (octave-font-lock-keywords): Do not
193 dehighlight 'end' in comments or strings.
30c7e542
SM
194 (octave-completing-read, octave-goto-function-definition):
195 New helpers.
d4d0f9b3
LL
196 (octave-help-buffer): New user variable.
197 (octave-help-file, octave-help-function): New button types.
198 (octave-help): New command and bind it to C-h ;.
199 (octave-find-definition): New command and bind it to M-.
d74a1581 200 (user-error): Alias to error if not defined.
b54f978b 201
27135018
LL
2022013-05-02 Leo Liu <sdl.web@gmail.com>
203
204 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
205 for \. (bug#14332)
206 (octave-font-lock-keywords): Include [ and {.
207
0d634d3a
LL
2082013-05-02 Leo Liu <sdl.web@gmail.com>
209
210 * progmodes/octave.el (inferior-octave-startup-file): Change default.
211 (inferior-octave): Remove calling comint-mode and return the buffer.
212 (inferior-octave-startup): Cosmetic changes.
213
b4c8295e
LL
2142013-05-02 Leo Liu <sdl.web@gmail.com>
215
30c7e542
SM
216 * progmodes/octave.el (octave-syntax-propertize-function):
217 Include the case when ' is at line beginning. (Bug#14336)
b4c8295e 218
f12ad6ec
GM
2192013-05-02 Glenn Morris <rgm@gnu.org>
220
221 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
222 * desktop.el (vc-dir-mode): Just autoload it here.
223
30cac1e0
AM
2242013-05-02 Alan Mackenzie <acm@muc.de>
225
226 Eliminate variable c-standard-font-lock-fontify-region-function.
227 * progmodes/cc-mode.el
228 (c-standard-font-lock-fontify-region-function): Remove.
229 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
230
d8ef28b1
LL
2312013-05-01 Leo Liu <sdl.web@gmail.com>
232
2640d52e 233 * progmodes/octave.el: Compatible with older emacs-24 releases.
27135018 234 (inferior-octave-has-built-in-variables): Remove. Built-in
2640d52e 235 variables were removed from Octave in 2007.
d8ef28b1
LL
236 (inferior-octave-startup): Fix uses.
237 (comint-line-beginning-position): Remove compatibility code for
238 emacs 21.
239
ac63ec89
JL
2402013-05-01 Juri Linkov <juri@jurta.org>
241
242 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
243
9e9be37c
JL
2442013-05-01 Juri Linkov <juri@jurta.org>
245
246 * comint.el (comint-previous-matching-input): Don't print message
247 "History item: %d" when `isearch-mode' is active.
248 (comint-history-isearch-message): Print message "History item: %d"
249 when `comint-input-ring-index' is not empty and this function is
250 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
251
9b92c13b
LL
2522013-05-01 Leo Liu <sdl.web@gmail.com>
253
254 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
255 definitions. Use completion-at-point to insert keywords.
256 (octave-abbrev-start): Remove.
257 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
258
b12d33d7
LL
2592013-04-30 Leo Liu <sdl.web@gmail.com>
260
261 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
262 change.
263
3d1c39fa
AM
2642013-04-30 Alan Mackenzie <acm@muc.de>
265
266 Handle arbitrarily long C++ member initialisation lists.
30c7e542
SM
267 * progmodes/cc-engine.el (c-back-over-member-initializers):
268 new function.
3d1c39fa
AM
269 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
270 (most) member init lists.
271
5147fc17
RS
2722013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
273
274 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
275 variable.
276
5b78d7fc
LL
2772013-04-30 Leo Liu <sdl.web@gmail.com>
278
279 * progmodes/octave.el (octave-variables): Remove. No builtin
280 variables any more. All converted to functions.
281 (octave-font-lock-keywords, octave-completion-at-point-function):
282 Fix uses.
283 (octave-font-lock-texinfo-comment): New user variable.
284 (octave-texinfo-font-lock-keywords): New variable for texinfo
285 comment block.
286 (octave-function-comment-block): New face.
287 (octave-font-lock-texinfo-comment): New function.
288 (octave-mode): Font lock texinfo comment block.
289
38d8527b
LL
2902013-04-29 Leo Liu <sdl.web@gmail.com>
291
292 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
293 indexing expression.
294 (octave-continuation-string): Do not use \.
295 (inferior-octave-complete-impossible): Remove.
296 (inferior-octave-completion-table)
297 (inferior-octave-completion-at-point): Remove its uses.
298 (inferior-octave-startup): completion_matches was introduced to
299 Octave in 1996 so safe to assume it.
300 (octave-function-file-comment): Improve to follow how Octave does it.
301 (octave-update-function-file-comment): Tweak.
302
2ec12cb0
LL
3032013-04-29 Leo Liu <sdl.web@gmail.com>
304
305 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
306 (inferior-octave-startup): Remove inferior-octave-startup-hook.
307 (octave-function-file-comment): Fix typo.
308 (octave-sync-function-file-names): Use read-char-choice.
309
6eaed048
JB
3102013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
311
312 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
313 to t for the less important warnings.
314
3ffa2d4f
DH
3152013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
316
317 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
318
685c9501
GM
3192013-04-27 Glenn Morris <rgm@gnu.org>
320
321 * vc/log-view.el (log-view-current-entry):
322 Treat "---" separator lines as part of the following rev. (Bug#14169)
323
0208ede7
JL
3242013-04-27 Juri Linkov <juri@jurta.org>
325
326 * subr.el (read-number): Doc fix about using it by interactive
327 code letter `n'. (Bug#14254)
328
5db9dace
JL
3292013-04-27 Juri Linkov <juri@jurta.org>
330
331 * desktop.el (desktop-auto-save-timeout): New option.
332 (desktop-file-checksum): New variable.
333 (desktop-save): Add optional arg `auto-save' and don't auto-save
334 if nothing changed.
335 (desktop-auto-save-timer): New variable.
336 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
337 (after-init-hook): Call `desktop-auto-save-set-timer'.
338 Suggested by Reuben Thomas <rrt@sc3d.org> in
339 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
340
b7260dd4
LL
3412013-04-27 Leo Liu <sdl.web@gmail.com>
342
343 * progmodes/octave.el (octave-function-file-p)
344 (octave-skip-comment-forward, octave-function-file-comment)
345 (octave-update-function-file-comment): New functions.
346 (octave-mode-map): Bind C-c ; to
347 octave-update-function-file-comment.
348 (octave-mode-menu): Add octave-update-function-file-comment.
349 (octave-mode, inferior-octave-mode): Fix doc-string.
350 (octave-insert-defun): Conform to Octave's coding convention.
351 (Bug#14285)
352
353 * files.el (basic-save-buffer): Don't let errors in
354 before-save-hook prevent saving buffer.
355
c46da669
RW
3562013-04-20 Roland Winkler <winkler@gnu.org>
357
358 * faces.el (read-face-name): Use completing-read if arg multiple
359 is nil.
360
a81ee1eb
IL
3612013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
362
363 * ls-lisp.el (ls-lisp-insert-directory): If no files are
30c7e542
SM
364 displayed, move point to after the totals line.
365 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
a81ee1eb
IL
366 for the details.
367
4fac34ce
SM
3682013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
369
370 * emacs-lisp/package.el (package-autoload-ensure-default-file):
371 Add current dir to the load-path.
372 (package-generate-autoloads): Don't rely on
373 autoload-ensure-default-file.
374
f6bfc063
RT
3752013-04-26 Reuben Thomas <rrt@sc3d.org>
376
d40ab5cf
BG
377 * textmodes/remember.el (remember-store-in-files): Document that
378 the file name format is passed to `format-time-string'.
f6bfc063 379
e55d3b04
LL
3802013-04-26 Leo Liu <sdl.web@gmail.com>
381
382 * progmodes/octave.el (octave-sync-function-file-names): New function.
383 (octave-mode): Use it in before-save-hook.
384
e53052d3
SM
3852013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
386
140ef50c
SM
387 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
388 (bug#14274).
389
e53052d3
SM
390 * progmodes/octave.el (octave-smie-forward-token): Properly skip
391 \n and comment, even if it's not an implicit ; (bug#14218).
392
af80458d 3932013-04-26 Glenn Morris <rgm@gnu.org>
e5271cf2
GM
394
395 * subr.el (read-number): Once more use `read' rather than
396 `string-to-number', to trap non-numeric input. (Bug#14254)
397
af80458d 3982013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
70203c2e
EC
399
400 * emacs-lisp/syntax.el (syntax-propertize-multiline):
401 Use `syntax-multiline' text property consistently instead of
402 `font-lock-multiline'. (bug#14237).
403
e6ea1f6c
GM
4042013-04-26 Glenn Morris <rgm@gnu.org>
405
406 * emacs-lisp/shadow.el (list-load-path-shadows):
407 No longer necessary to check for duplicate simple.el, since
408 2012-07-07 change to init_lread to not include installation lisp
409 directories in load-path when running uninstalled. (Bug#14270)
410
070ccca4
LL
4112013-04-26 Leo Liu <sdl.web@gmail.com>
412
413 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
414 (octave-mode, inferior-octave-mode): Use setq-local.
e53052d3 415 (octave-not-in-string-or-comment-p): Rename to
070ccca4
LL
416 octave-in-string-or-comment-p.
417 (octave-in-comment-p, octave-in-string-p)
418 (octave-in-string-or-comment-p): Replace defsubst with defun.
419
9d1c5fb6
PE
4202013-04-25 Paul Eggert <eggert@cs.ucla.edu>
421
422 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
423
c034abda
BG
4242013-04-25 Bastien Guerry <bzg@gnu.org>
425
426 * textmodes/remember.el (remember-data-directory)
427 (remember-directory-file-name-format): Fix custom types.
428
584ea277
LL
4292013-04-25 Leo Liu <sdl.web@gmail.com>
430
e53052d3
SM
431 * progmodes/octave.el (octave-completion-at-point-function):
432 Make use of inferior octave process.
584ea277
LL
433 (octave-initialize-completions): Remove.
434 (inferior-octave-completion-table): New function.
435 (inferior-octave-completion-at-point): Use it.
436 (octave-completion-alist): Remove.
437
1693b06a
SM
4382013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
439
440 * progmodes/opascal.el: Use font-lock and syntax-propertize.
441 (opascal-mode-syntax-table): New var.
442 (opascal-literal-kind, opascal-is-literal-end)
443 (opascal-literal-token-at): Rewrite.
444 (opascal--literal-start-re, opascal-font-lock-keywords)
445 (opascal--syntax-propertize): New constants.
446 (opascal-font-lock-defaults): Adjust.
447 (opascal-mode): Use them. Set comment-<foo> variables as well.
448 (delphi-comment-face, opascal-comment-face, delphi-string-face)
449 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
450 (delphi-other-face, opascal-other-face): Remove face variables.
451 (opascal-save-state): Remove macro.
452 (opascal-fontifying-progress-step): Remove constant.
453 (opascal--ignore-changes): Remove var.
454 (opascal-set-token-property, opascal-parse-next-literal)
455 (opascal-is-stable-literal, opascal-complete-literal)
456 (opascal-is-literal-start, opascal-face-of)
457 (opascal-parse-region, opascal-parse-region-until-stable)
458 (opascal-fontify-region, opascal-after-change)
459 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
460 (opascal-debug-parse-region, opascal-debug-parse-window)
461 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
462 (opascal-debug-fontify-buffer): Remove.
463 (opascal-debug-mode-map): Adjust accordingly.
464
be64c05d
LL
4652013-04-25 Leo Liu <sdl.web@gmail.com>
466
467 Merge octave-mod.el and octave-inf.el into octave.el with some
468 cleanups.
469 * progmodes/octave.el: New file renamed from octave-mod.el.
470 * progmodes/octave-inf.el: Merged into octave.el.
471 * progmodes/octave-mod.el: Renamed to octave.el.
472
d79d37bd
TH
4732013-04-25 Tassilo Horn <tsdh@gnu.org>
474
475 * textmodes/reftex-vars.el
476 (reftex-label-ignored-macros-and-environments): New defcustom.
477
478 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
479
ced3fc5d
SM
4802013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
483 (smie-indent-keyword): Improve the check to ensure that the next
484 comment is really on the same line.
485 (smie-indent-comment): Don't align with a subsequent closer (or eob).
486
487 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
488 semi-colons if the line is not otherwise empty (bug#14218).
489
1c141dad
GM
4902013-04-25 Glenn Morris <rgm@gnu.org>
491
492 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
493
5058062a
SM
4942013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
495
496 * progmodes/opascal.el (opascal-set-token-property): Rename from
497 opascal-set-text-properties and only set `token' (bug#14134).
498 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
499 (opascal-literal-text-properties): Remove.
500 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
501 Adjust callers.
502
5db9dace 5032013-04-24 Reuben Thomas <rrt@sc3d.org>
1ffefcf9
BG
504
505 * textmodes/remember.el (remember-handler-functions): Add an
506 option for a new handler `remember-store-in-files'.
507 (remember-data-directory, remember-directory-file-name-format):
508 New options.
509 (remember-store-in-files): New function to store remember notes
510 as separate files within a directory.
511
4391916c
MH
5122013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
513
514 * progmodes/compile.el (compilation-next-error-function):
515 Pass "formats" to compilation-find-file (bug#11777).
516
bb7cdf58
GM
5172013-04-24 Glenn Morris <rgm@gnu.org>
518
3b8fe752 519 * vc/vc-bzr.el (vc-bzr-print-log):
90b4237a
GM
520 * vc/vc-hg.el (vc-hg-print-log):
521 * vc/vc-svn.el (vc-svn-print-log):
522 Fix START-REVISION with LIMIT != 1. (Bug#14168)
523
bb7cdf58
GM
524 * vc/vc-bzr.el (vc-bzr-print-log):
525 * vc/vc-cvs.el (vc-cvs-print-log):
526 * vc/vc-git.el (vc-git-print-log):
527 * vc/vc-hg.el (vc-hg-print-log):
528 * vc/vc-mtn.el (vc-mtn-print-log):
529 * vc/vc-rcs.el (vc-rcs-print-log):
530 * vc/vc-sccs.el (vc-sccs-print-log):
531 * vc/vc-svn.el (vc-svn-print-log):
532 * vc/vc.el (vc-print-log-internal): Doc fixes.
533
b46a056e
GM
5342013-04-23 Glenn Morris <rgm@gnu.org>
535
536 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
537 Remove venerable code attempting to avoid substitute-command-keys.
538
0aecf718
TH
5392013-04-23 Tassilo Horn <tsdh@gnu.org>
540
4391916c
MH
541 * textmodes/reftex-vars.el (reftex-label-regexps):
542 Call `reftex-compile-variables' after changes to this variable.
0aecf718 543
117f94cf
SM
5442013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
545
4391916c 546 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
117f94cf
SM
547 Use lexical-binding.
548 (jit-lock-force-redisplay): Use markers, check buffer's continued
549 existence and beware narrowed buffers.
550 (jit-lock-fontify-now): Adjust call accordingly.
551
1d829c64
SM
5522013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
553
554 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
555 to avoid misleading the user.
556
72d548a9
LL
5572013-04-22 Leo Liu <sdl.web@gmail.com>
558
559 * info-look.el: Prefer latex2e.info. (Bug#14240)
560
d0853629
MA
5612013-04-22 Michael Albinus <michael.albinus@gmx.de>
562
563 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
564
565 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
566 * net/tramp.el (tramp-call-process): ... here
567 (tramp-set-completion-function, tramp-parse-putty):
568 * net/tramp-adb.el (tramp-adb-execute-adb-command):
569 * net/tramp-gvfs.el (tramp-gvfs-send-command):
570 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
571 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
572 (tramp-call-local-coding-command): Use `tramp-call-process'
573 instead of `tramp-compat-call-process'.
574
575 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
576 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
577 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
578 (tramp-find-inline-compress):Improve traces.
579 (tramp-maybe-send-script): Check for Perl binary.
580 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
581
38cc0210
DU
5822013-04-22 Daiki Ueno <ueno@gnu.org>
583
584 * epg.el (epg-context-pinentry-mode): New function.
585 (epg-context-set-pinentry-mode): New function.
586 (epg--start): Pass --pinentry-mode option to gpg command.
587
cc641ee1
XF
5882013-04-21 Xue Fuqiao <xfq.free@gmail.com>
589
5d4e5c31
XF
590 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
591 `comint-dynamic-complete' is obsolete since 24.1, replaced by
592 `completion-at-point'. (Bug#13774)
593
cc641ee1
XF
594 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
595 default key binding for `describe-distribution' has been moved to
596 `C-h C-o'. (Bug#13970)
597
1b42ee43
GM
5982013-04-21 Glenn Morris <rgm@gnu.org>
599
600 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
601 Add doc strings.
602 (vc-print-log): Clarify interactive prompt.
603
a6d63d97
GM
6042013-04-20 Glenn Morris <rgm@gnu.org>
605
606 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
607 No longer include timestamp etc information.
608
d7f5c16f
RW
6092013-04-20 Roland Winkler <winkler@gnu.org>
610
611 * faces.el (read-face-name): Bug fix, return just one face if arg
612 multiple is nil. (Bug#14209)
613
bcd7a0a4
SM
6142013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
615
616 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
617 (remove-function): Autoload.
618
619 * comint.el (comint-redirect-original-filter-function): Remove.
620 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
621 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
622 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
623 * progmodes/prolog.el (prolog-consult-compile):
624 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
625 Use add/remove-function instead.
626 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
627 (gud-tooltip-process-output, gud-tooltip-tips):
628 Use add/remove-function instead.
629 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
630 (scheme-interaction-mode, exit-scheme-interaction-mode):
631 Use add/remove-function instead.
632
633 * vc/vc-dispatcher.el: Use lexical-binding.
634 (vc--process-sentinel): Rename from vc-process-sentinel.
635 Change last arg to be the code to run. Don't use vc-previous-sentinel
636 and vc-sentinel-commands any more.
637 (vc-exec-after): Allow code to be a function. Use add/remove-function.
638 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
639
4d3268ba
MY
6402013-04-19 Masatake YAMATO <yamato@redhat.com>
641
bcd7a0a4 642 * progmodes/sh-script.el (sh-imenu-generic-expression):
2ebed929 643 Handle function names with a single character. (Bug#14111)
4d3268ba 644
863beb27
DK
6452013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
646
647 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
648 for subroutines defined in an eval (bug#14182).
649
7d688336
TV
6502013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
651
652 * bookmark.el (bookmark-completing-read): Improve handling of empty
653 string (bug#14176).
654
31dcede0
SM
6552013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
656
657 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
658
adc31213
FEG
6592013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
660
661 New faster Imenu implementation (bug#14058).
662 * progmodes/python.el:
663 (python-imenu-prev-index-position):
664 (python-imenu-format-item-label-function)
665 (python-imenu-format-parent-item-label-function)
666 (python-imenu-format-parent-item-jump-label-function):
667 New vars.
668 (python-imenu-format-item-label)
669 (python-imenu-format-parent-item-label)
670 (python-imenu-format-parent-item-jump-label)
671 (python-imenu--put-parent, python-imenu--build-tree)
672 (python-imenu-create-index, python-imenu-create-flat-index)
673 (python-util-popn): New functions.
674 (python-mode): Set imenu-create-index-function to
675 python-imenu-create-index.
676
cdca8255
SM
6772013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
678
679 * winner.el (winner-active-region): Use region-active-p, activate-mark
680 and deactivate-mark (bug#14225).
681
682 * simple.el (deactivate-mark): Don't inline it.
683
beb42340
MA
6842013-04-18 Michael Albinus <michael.albinus@gmx.de>
685
686 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
687
fc7f4d7e
TH
6882013-04-18 Tassilo Horn <tsdh@gnu.org>
689
690 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
691 file extensions from the archive-mode entry in order to prefer
692 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
693
29f47822
LL
6942013-04-18 Leo Liu <sdl.web@gmail.com>
695
696 * bindings.el (help-event-list): Add ?\?.
697
d36ed1c8
SM
6982013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
699
700 * subr.el (with-wrapper-hook): Declare obsolete.
701 * simple.el (filter-buffer-substring-function): New hook.
702 (filter-buffer-substring): Use it.
703 (filter-buffer-substring-functions): Mark obsolete.
704 * minibuffer.el (completion-in-region-function): New hook.
705 (completion-in-region): Use it.
706 (completion-in-region-functions): Mark obsolete.
707 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
708 * abbrev.el (abbrev-expand-function): New hook.
709 (expand-abbrev): Use it.
710 (abbrev-expand-functions): Mark obsolete.
711 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
712 and :filter-return.
713
04754d36
FEG
7142013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
715
716 * progmodes/python.el (python-nav--syntactically): Fix cornercases
717 and do not care about match data.
718
dd8791e9
SM
7192013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
720
721 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
722 completion tables when completing error conditions and
723 `declare' arguments.
724 (lisp-complete-symbol, field-complete): Mark as obsolete.
725 (check-parens): Unmatched parens are user errors.
726 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
727
ffe54a13
AM
7282013-04-17 Michal Nazarewicz <mina86@mina86.com>
729
dd8791e9
SM
730 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
731 command changed buffer (ie. `flyspell-pre-buffer' is not current
732 buffer), which prevents making decisions based on invalid value of
733 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
734 cause an error when `flyspell-pre-point' was nil after switching
735 buffers.
736 (flyspell-post-command-hook): No longer needs to change buffers when
737 checking pre-word. While at it remove unnecessary progn.
ffe54a13 738
ec7e39f2
AM
7392013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
740
741 * textmodes/ispell.el (ispell-add-per-file-word-list):
742 Fix `flyspell-correct-word-before-point' error when accepting
743 words and `coment-padding' is an integer by using
744 `comment-normalize-vars' (Bug #14214).
745
083850a6
FEG
7462013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
747
748 New defun movement commands.
749 * progmodes/python.el (python-nav--syntactically)
750 (python-nav--forward-defun, python-nav-backward-defun)
751 (python-nav-forward-defun): New functions.
752
619ed6e1
FEG
7532013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
754
755 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
756 (python-syntax-context): Use named compiler-macro for backwards
757 compatibility with Emacs 24.x.
758
7a1beb6c
LL
7592013-04-17 Leo Liu <sdl.web@gmail.com>
760
761 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
762 octave-hide-process-buffer.
763
2d3fa3e5
SM
7642013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
765
766 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
767 (bug#14216).
768
7ce5be54
JPG
7692013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
770
771 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
772 Fix adjustment of offset when receiving incomplete responses from GDB
773 (bug#14129).
774
351edece
SM
7752013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
776
777 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
778 python-mode-abbrev-table.
779 (python-skeleton-define): Adjust accordingly.
780 (python-mode-abbrev-table): New table that inherits from it so that
781 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
782
783 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
784 (abbrev-symbol): Use it.
785 (abbrev--before-point): Use it since we already handle inheritance.
786
613f9481
LL
7872013-04-16 Leo Liu <sdl.web@gmail.com>
788
789 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
790 binding to info-lookup-symbol.
791
51646b62
JB
7922013-04-16 Juanma Barranquero <lekktu@gmail.com>
793
794 * minibuffer.el (completion--twq-all):
795 * term/ns-win.el (ns-initialize-window-system):
796 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
797
efb3f01d
SM
7982013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
799
36c0a301
SM
800 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
801 global bindings.
802
efb3f01d
SM
803 * doc-view.el (doc-view-start-process): Handle url-handler directories.
804
fb549d64
DG
8052013-04-15 Dmitry Gutov <dgutov@yandex.ru>
806
807 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
808 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
809 to nil.
810 (ruby-end-of-defun): Remove the unused arg, change the docstring
811 to reflect that this function is only used as the value of
812 `end-of-defun-function'.
813 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
814 to reflect an earlier change that beginning/end-of-defun functions
815 jump between methods in a class definition, as well as top-level
816 functions.
817
21e8fe2f
SM
8182013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
819
820 * minibuffer.el (minibuffer-complete): Don't just scroll
821 a *Completions* that's been iconified.
822 (minibuffer-force-complete): Make sure repetitions do cycle when going
823 through completion-in-region -> minibuffer-complete.
824
20e527d0
AM
8252013-04-15 Alan Mackenzie <acm@muc.de>
826
827 Correct the placement of c-cpp-delimiters when there're #s not at
828 col 0.
829
830 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
831 place a submatch around the #.
21e8fe2f
SM
832 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
833 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
20e527d0
AM
834 on the #, not BOL.
835
dabefae5
SM
8362013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
837
838 * emacs-lisp/nadvice.el: Properly test names when adding advice.
839 (advice--member-p): New arg `name'.
840 (advice--add-function, advice-member-p): Use it (bug#14202).
841
85c9ab64
AM
8422013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
843
844 Reformulate java imenu-generic-expression.
845 The old expression contained ill formed regexps.
846
847 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
848 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
849 (cc-imenu-java-method-arg-regexp): New defconsts.
850 (cc-imenu-java-build-type-args-regex): New defun.
dabefae5 851 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
85c9ab64
AM
852 handling of spaces in the regexp.
853
0f821d99
AM
8542013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
855
856 * textmodes/ispell.el (ispell-command-loop): Remove
857 flyspell highlight of a word when ispell accepts it (bug #14178).
858
eb922adf
MA
8592013-04-15 Michael Albinus <michael.albinus@gmx.de>
860
861 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
862 uses code from the previous `ange-ftp-run-real-handler'.
863 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
864 only in case that function exist. This is needed for proper
865 unloading of Tramp.
866
4d9a0979
TH
8672013-04-15 Tassilo Horn <tsdh@gnu.org>
868
869 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
870
871 * textmodes/reftex.el (reftex-compile-variables): Use it.
872
a829b0dc
SM
8732013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
874
91e8293c
SM
875 * files.el (normal-mode): Only use default major-mode if no other mode
876 was specified.
877
830aed4d
SM
878 * emacs-lisp/trace.el (trace-values): New function.
879
a829b0dc
SM
880 * files.el: Allow : in local variables (bug#14089).
881 (hack-local-variable-regexp): New var.
882 (hack-local-variables-prop-line, hack-local-variables): Use it.
883
7ae9f0fb
RW
8842013-04-13 Roland Winkler <winkler@gnu.org>
885
886 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
887 data before it gets modified by bibtex-beginning-of-entry.
888
6646e848
RW
8892013-04-13 Roland Winkler <winkler@gnu.org>
890
891 * textmodes/bibtex.el (bibtex-url): Doc fix.
892
8932013-04-13 Roland Winkler <winkler@gnu.org>
23a0e159
RW
894
895 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
896 does not visit a BibTeX file, exclude it from the list of buffers
897 returned by bibtex-initialize.
898
0aa3616e
SB
8992013-04-13 Stephen Berman <stephen.berman@gmx.net>
900
901 * window.el (split-window): Remove interactive form, since as a
902 command this function is a special case of split-window-below.
903 Correct doc string.
904
011cddd6
RW
9052013-04-12 Roland Winkler <winkler@gnu.org>
906
907 * faces.el (read-face-name): Do not override value of arg default.
908 Allow single faces and strings as default values. Remove those
909 elements from return value that are not faces.
910 (describe-face): Simplify.
911 (face-at-point): New optional args thing and multiple so that this
912 function can provide the same functionality previously provided by
913 read-face-name.
914 (make-face-bold, make-face-unbold, make-face-italic)
915 (make-face-unitalic, make-face-bold-italic, invert-face)
916 (modify-face, read-face-and-attribute): Use face-at-point.
917
918 * cus-edit.el (customize-face, customize-face-other-window)
919 * cus-theme.el (custom-theme-add-face)
920 * face-remap.el (buffer-face-set)
921 * facemenu.el (facemenu-set-face): Use face-at-point.
922
f24e0036
MA
9232013-04-12 Michael Albinus <michael.albinus@gmx.de>
924
925 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
926
da3cda2d
TH
9272013-04-10 Tassilo Horn <tsdh@gnu.org>
928
929 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
930 off leading { and trailing } from field values.
931
15e54145
SM
9322013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
933
78ce603d
SM
934 * emacs-lisp/timer.el (timer--check): New function.
935 (timer--time, timer-set-function, timer-event-handler): Use it.
936 (timer-set-idle-time): Simplify.
937 (timer--activate): CSE.
938 (timer-event-handler): Give more info in error message.
939 (internal-timer-start-idle): New function, moved from C.
940
15e54145
SM
941 * mpc.el (mpc-proc): Add `restart' argument.
942 (mpc-proc-cmd): Use it.
943 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
944 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
945 less often.
946
7144c627
MY
9472013-04-10 Masatake YAMATO <yamato@redhat.com>
948
949 * progmodes/sh-script.el: Implement `sh-mode' own
950 `add-log-current-defun-function' (bug#14112).
951 (sh-current-defun-name): New function.
952 (sh-mode): Use the function.
953
b39792eb
BG
9542013-04-09 Bastien Guerry <bzg@gnu.org>
955
956 * simple.el (choose-completion-string): Fix docstring (bug#14163).
957
8acdeb71
SM
9582013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
959
6fcdab68
SM
960 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
961
8acdeb71
SM
962 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
963 timer (bug#14156).
964
e3e7b504
NF
9652013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
966
967 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
968 declaration.
969
201bb296
LL
9702013-04-07 Leo Liu <sdl.web@gmail.com>
971
972 * pcmpl-x.el: New file.
973
ebb19708
DA
9742013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
975
976 Do not set x-display-name until X connection is established.
977 This is needed to prevent from weird situation described at
978 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
979 * frame.el (make-frame): Set x-display-name after call to
980 window system initialization function, not before.
981 * term/x-win.el (x-initialize-window-system): Add optional
982 display argument and use it.
983 * term/w32-win.el (w32-initialize-window-system):
984 * term/ns-win.el (ns-initialize-window-system):
985 * term/pc-win.el (msdos-initialize-window-system):
986 Add compatible optional display argument.
987
33bb237a
EZ
9882013-04-06 Eli Zaretskii <eliz@gnu.org>
989
990 * files.el (normal-backup-enable-predicate): On MS-Windows and
991 MS-DOS compare truenames of temporary-file-directory and of the
992 file, so that 8+3 aliases (usually found in $TEMP on Windows)
993 don't fail comparison by compare-strings. Also, compare file
994 names case-insensitively on MS-Windows and MS-DOS.
995
134abf1f
SM
9962013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
997
998 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
999 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1000
d695cb94
DG
10012013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1002
e3e7b504
NF
1003 * whitespace.el (whitespace-color-on, whitespace-color-off):
1004 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
d695cb94 1005
f4ad7ea1 10062013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
7e268e90
AM
1007
1008 * ispell.el (ispell-set-spellchecker-params):
1009 Really set `ispell-args' for all equivs.
1010
632556e4
SM
10112013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1012
1013 * ido.el (ido-completions): Use extra elements of ido-decorations
1014 (bug#14143).
1015 (ido-decorations): Update docstring.
1016
2a417372
MA
10172013-04-05 Michael Albinus <michael.albinus@gmx.de>
1018
1019 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1020 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1021 nil during initialization, in order not to miss changes since the
1022 file was opened. (Bug#14140)
1023
fc164b0c
LL
10242013-04-05 Leo Liu <sdl.web@gmail.com>
1025
1026 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1027
0ccecc08
JB
10282013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1029
1030 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1031
51af1aa2
GM
10322013-04-04 Glenn Morris <rgm@gnu.org>
1033
1034 * electric.el (electric-pair-inhibit-predicate): Add :version.
1035
b208ebc6
SM
10362013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1037
1038 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1039 when a package is required several times (bug#14082).
1040
f3d3eaf0
RW
10412013-04-04 Roland Winkler <winkler@gnu.org>
1042
1043 * faces.el (read-face-name): Behave as promised by the docstring.
1044 Assume that arg default is a list of faces.
1045 (describe-face): Call read-face-name with list of default faces.
1046
2575da50
TV
10472013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1048
1049 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1050 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1051 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1052 the header.
1053 (bookmark-exit-hook-internal): Save even if list is empty.
1054
397703b4
YH
10552013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1056
1057 * emacs-lisp/package.el (package-pinned-packages): New var.
1058 (package--add-to-archive-contents): Obey it (bug#14118).
1059
691e26ae
AM
10602013-04-03 Alan Mackenzie <acm@muc.de>
1061
1062 Handle `parse-partial-sexp' landing inside a comment opener
1063 (Bug#13244). Also adapt to the new values of element 7 of a parse
1064 state.
1065
1066 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1067 parameter `not-in-delimiter'. Handle being inside comment opener.
1068 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1069 character in case we're typing a '*' after a '/'.
1070 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1071 instead by passing the parameter to c-state-pp-to-literal.
1072
1073 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1074 for elt. 7 of a parse state.
1075
4b725a70
PE
10762013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1077
1078 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1079 * international/latin1-disp.el, international/mule-util.el:
1080 * language/cyril-util.el, language/european.el, language/ind-util.el:
1081 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1082 * language/tibetan.el, language/viet-util.el:
1083 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1084
15c579f0
SM
10852013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1086
1087 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1088 (electric-pair-post-self-insert-function): Use it.
1089 (electric-pair-default-inhibit): New function, extracted from
1090 electric-pair-post-self-insert-function.
1091
a77e2924
RW
10922013-03-31 Roland Winkler <winkler@gnu.org>
1093
1094 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1095
2bd8a4a8
SM
10962013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1097
1098 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1099
8d3655be 11002013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
c9886b39
FEG
1101
1102 Un-indent after "pass" and "return" statements (Bug#13888)
1103 * progmodes/python.el (python-indent-block-enders): New var.
1104 (python-indent-calculate-indentation): Use it.
1105
8d3655be 11062013-03-30 Michael Albinus <michael.albinus@gmx.de>
4430bd53
MA
1107
1108 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1109 defun. Defining it as defalias could introduce too eager
1110 byte-compiler optimization. (Bug#14030)
1111
8d3655be 11122013-03-30 Chong Yidong <cyd@gnu.org>
89468837
CY
1113
1114 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1115
0b1619da
LL
11162013-03-30 Leo Liu <sdl.web@gmail.com>
1117
1118 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1119 (kmacro-execute-from-register): Pass the keyboard macro to
1120 kmacro-call-macro or repeating won't work correctly.
1121
0b938190
TZ
11222013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1123
1124 * progmodes/subword.el: Back to using `forward-symbol'.
1125
1126 * subr.el (forward-whitespace, forward-symbol)
1127 (forward-same-syntax): Move from thingatpt.el.
1128
35710234
LL
11292013-03-29 Leo Liu <sdl.web@gmail.com>
1130
1131 * kmacro.el (kmacro-to-register): New command.
1132 (kmacro-execute-from-register): New function.
1133 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1134
efc0bb73
SM
11352013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1136
1137 * mpc.el: Use defvar-local and setq-local.
1138 (mpc--proc-connect): Connection failures are not bugs.
1139 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1140 (mpc-volume-map): Bind to the up-events.
1141
75a2f981
TZ
11422013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1143
1144 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1145 instead of `forward-symbol'.
1146
17c781d1
SM
11472013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1148
1149 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1150 (edebug--recursive-edit): Use it.
1151 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1152 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1153
f67bfbcf
LL
11542013-03-28 Leo Liu <sdl.web@gmail.com>
1155
1156 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1157
b59f639d
EZ
11582013-03-27 Eli Zaretskii <eliz@gnu.org>
1159
1160 * facemenu.el (list-colors-callback): New defvar.
1161 (list-colors-redisplay): New function.
1162 (list-colors-display): Install list-colors-redisplay as the
1163 revert-buffer-function. (Bug#14063)
1164
f557c1b1
SM
11652013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1166
b1da2957
SM
1167 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1168 and suffixes don't overlap (bug#14061).
1169
f557c1b1
SM
1170 * case-table.el: Use lexical-binding.
1171 (case-table-get-table): New function.
1172 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1173
002668e1
TZ
11742013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1175
1176 * progmodes/subword.el: Add `superword-mode' to do word motion
1177 over symbol_words (parallels and leverages `subword-mode' which
1178 does word motion inside MixedCaseWords).
1179
73572c72
AG
11802013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1181
78b8f320 1182 * eshell/em-unix.el: Move su and sudo to...
f4ad7ea1 1183 * eshell/em-tramp.el: ...Eshell tramp module.
73572c72 1184
69b2c07e
SM
11852013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1186
1187 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
1188 Change return value to be a sexp. Delay `get-buffer' to after
1189 restoring the desktop (bug#13951).
1190
08bb5ee2
LL
11912013-03-26 Leo Liu <sdl.web@gmail.com>
1192
1193 * register.el: Move semantic tag handling back to
1194 cedet/semantic/senator.el. (Bug#14052)
1195
8d4c974e
SM
11962013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1197
1198 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
1199 into the prompt either (bug#13963).
1200
b234d92c
SM
12012013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
1202
1203 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
1204 part of "(error-foo)".
1205
ddfa3cb4
JL
12062013-03-24 Juri Linkov <juri@jurta.org>
1207
1208 * replace.el (list-matching-lines-prefix-face): New defcustom.
1209 (occur-1): Pass `list-matching-lines-prefix-face' to the function
1210 `occur-engine' if `face-differs-from-default-p' returns t.
1211 (occur-engine): Add `,' inside backquote construct to evaluate
1212 `prefix-face'. Propertize the prefix with the `prefix-face' face.
1213 Pass `prefix-face' to the functions `occur-context-lines' and
1214 `occur-engine-add-prefix'.
1215 (occur-engine-add-prefix, occur-context-lines): Add optional arg
1216 `prefix-face' and propertize the prefix with `prefix-face'.
1217 (Bug#14017)
1218
7b0e2f85
LL
12192013-03-24 Leo Liu <sdl.web@gmail.com>
1220
1221 * nxml/rng-valid.el (rng-validate-while-idle)
1222 (rng-validate-quick-while-idle): Guard against deleted buffer.
1223 (Bug#13999)
1224
1225 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
1226 is the last entry in kill-buffer-hook.
1227
1228 * files.el (kill-buffer-hook): Doc fix.
1229
b3082f49
DG
12302013-03-23 Dmitry Gutov <dgutov@yandex.ru>
1231
b234d92c
SM
1232 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
1233 Make it safe-local.
bde73d27 1234
b3082f49
DG
1235 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
1236
a320a2db
LL
12372013-03-23 Leo Liu <sdl.web@gmail.com>
1238
7e74b0fb
LL
1239 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
1240 Remove.
1241
1242 * nxml/rng-valid.el (rng-validate-mode)
1243 (rng-after-change-function, rng-do-some-validation):
1244 * nxml/rng-maint.el (rng-validate-buffer):
1245 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
1246 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
1247 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
1248 (nxml-extend-after-change-region): Use with-silent-modifications.
1249
a320a2db
LL
1250 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
1251 timer-idle-list.
1252
1253 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
1254 (rng-next-error-1, rng-previous-error-1): Do not let-bind
1255 timer-idle-list. (Bug#13999)
1256
e38e6780
JL
12572013-03-23 Juri Linkov <juri@jurta.org>
1258
1259 * info.el (info-index-match): New face.
1260 (Info-index, Info-apropos-matches): Add a nested subgroup to the
1261 main pattern and add text properties with the new face to matches
1262 in index entries relative to the beginning of the index entry.
1263 (Bug#14015)
1264
e8cc7880
DE
12652013-03-21 Eric Ludlam <zappo@gnu.org>
1266
1267 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
1268 Inhibit read only while inserting objects.
1269
9bb0d822
TZ
12702013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
1271
1272 * progmodes/cfengine.el: Update docs to mention
1273 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
1274 symbol motion. Remove "_" from the word syntax.
1275
aa703640
TZ
12762013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
1277
1278 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
1279 syntax for both `cfengine2-mode' and `cfengine3-mode'.
1280
afff09d0
JL
12812013-03-20 Juri Linkov <juri@jurta.org>
1282
1283 * info.el (Info-next-reference-or-link)
1284 (Info-prev-reference-or-link): New functions.
1285 (Info-next-reference, Info-prev-reference): Use them.
1286 (Info-try-follow-nearest-node): Handle footnote navigation.
1287 (Info-fontify-node): Fontify footnotes. (Bug#13989)
1288
9a1ff164
SM
12892013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1290
1291 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
1292 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
1293
2667d15d
PE
12942013-03-20 Paul Eggert <eggert@cs.ucla.edu>
1295
1296 Suppress unnecessary non-ASCII chatter during build process.
1297 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
1298 (batch-skkdic-convert): Suppress most of the chatter.
1299 It's not needed so much now that machines are faster,
1300 and its non-ASCII component was confusing; see Dmitry Gutov in
1301 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
1302
438b0579
LL
13032013-03-20 Leo Liu <sdl.web@gmail.com>
1304
1305 * ido.el (ido-chop): Fix bug#10994.
1306
c128ab07
DG
13072013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1308
1309 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
1310 Remove vars.
9a1ff164
SM
1311 (whitespace-color-on, whitespace-color-off):
1312 Use `font-lock-fontify-buffer' (Bug#13817).
c128ab07 1313
0e6008c5
SM
13142013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
1315
1316 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
1317 remapping in mode-line.
1318 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
1319
627b52b0
DG
13202013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1321
1322 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
1323 value for `whitespace-line' face (Bug#13875).
7ec31b02
DG
1324 (whitespace-font-lock-keywords): Change description.
1325 (whitespace-color-on): Don't save `font-lock-keywords' value, save
1326 the constructed keywords instead.
1327 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
627b52b0 1328
50c3a20b
LL
13292013-03-19 Leo Liu <sdl.web@gmail.com>
1330
1331 * progmodes/compile.el (compilation-display-error): New command.
1332 (compilation-mode-map, compilation-minor-mode-map): Bind it to
1333 C-o. (Bug#13992)
1334
2aa2157b
PE
13352013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1336
1337 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
1338
e477dbfa
JD
13392013-03-18 Jan Djärv <jan.h.d@swipnet.se>
1340
1341 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
1342
64ab82d1
MA
13432013-03-18 Michael Albinus <michael.albinus@gmx.de>
1344
1345 * net/tramp-compat.el (tramp-compat-user-error): New defun.
1346
1347 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1348 * net/tramp-gvfs.el (top):
1349 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
1350 (tramp-handle-shell-command): Use it.
1351 (tramp-dissect-file-name): Raise an error when hostname is a
1352 method name, and neither method nor user is specified.
1353
1354 * net/trampver.el: Update release number.
1355
33cef733
LL
13562013-03-18 Leo Liu <sdl.web@gmail.com>
1357
1358 Make sure eldoc can be turned off properly.
1359 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
1360 eldoc-mode.
1361 (eldoc-display-message-p): Revert last change.
1362 (eldoc-display-message-no-interference-p)
1363 (eldoc-print-current-symbol-info): Tweak.
1364
2167b7b2
TH
13652013-03-18 Tassilo Horn <tsdh@gnu.org>
1366
1367 * doc-view.el (doc-view-new-window-function): Check the new window
1368 overlay's display property instead the char property of the
1369 buffer's first char. Use `with-selected-window' instead of
1370 `save-window-excursion' with `select-window'.
1371 (doc-view-document->bitmap): Check the current doc-view overlay's
9a1ff164 1372 display property instead the char property of the buffer's first char.
2167b7b2 1373
982efbcd
PE
13742013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1375
1376 Automate the build of ja-dic.el (Bug#13984).
1377 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
1378 from the input, rather than assume that it's been done for us by the
1379 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
1380 the current date into a ja-dic.el comment, as that complicates
1381 regression testing.
1382
2fcc7665
SM
13832013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * whitespace.el: Fix double evaluation.
1386 (whitespace-space, whitespace-hspace, whitespace-tab)
1387 (whitespace-newline, whitespace-trailing, whitespace-line)
1388 (whitespace-space-before-tab, whitespace-indentation)
1389 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
1390 obsolete defvars.
1391 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
1392 (whitespace-color-on): Use a single font-lock-add-keywords call.
1393 Fix double-evaluation of face variables.
1394
67c0a6e6
MA
13952013-03-17 Michael Albinus <michael.albinus@gmx.de>
1396
2fcc7665
SM
1397 * net/tramp-adb.el (tramp-adb-parse-device-names):
1398 Use `start-process' instead of `call-process'. Otherwise, the
8194a705 1399 function might be blocked under MS Windows. (Bug#13299)
67c0a6e6 1400
69489f1d
LL
14012013-03-17 Leo Liu <sdl.web@gmail.com>
1402
1403 Extend eldoc to display info in the mode-line. (Bug#13978)
1404 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
1405 (eldoc-mode-line-string): New variable.
1406 (eldoc-minibuffer-message): New function.
1407 (eldoc-message-function): New variable.
1408 (eldoc-message): Use it.
1409 (eldoc-display-message-p)
2fcc7665
SM
1410 (eldoc-display-message-no-interference-p):
1411 Support eldoc-post-insert-mode.
69489f1d
LL
1412
1413 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
1414 (eval-expression): Run it.
1415
9c44569e
RW
14162013-03-17 Roland Winkler <winkler@gnu.org>
1417
1418 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
1419 strings in the list of return values.
1420
327f1f6f
JB
14212013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1422
1423 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1424 radix before checking for HMS forms.
1425
67ed8fcd
LL
14262013-03-16 Leo Liu <sdl.web@gmail.com>
1427
1428 * progmodes/scheme.el: Add indentation and font-locking for λ.
1429 (Bug#13975)
1430
78be8b64 14312013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
efe8bf5d
SM
1432
1433 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1434 token before point (bug#13942).
1435
78be8b64 14362013-03-16 Leo Liu <sdl.web@gmail.com>
00094c26 1437
95b43468 1438 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
00094c26 1439
98e775e6
EZ
14402013-03-16 Eli Zaretskii <eliz@gnu.org>
1441
1442 * startup.el (command-line-normalize-file-name): Fix handling of
1443 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
1444 <xfq.free@gmail.com> in
1445 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1446
2edd6029
MA
14472013-03-15 Michael Albinus <michael.albinus@gmx.de>
1448
1449 Sync with Tramp 2.2.7.
1450
1451 * net/trampver.el: Update release number.
1452
d35f5864
TH
14532013-03-14 Tassilo Horn <tsdh@gnu.org>
1454
f35ffe5e
TH
1455 * doc-view.el Fix bug#13887.
1456 (doc-view-insert-image): Don't modify overlay associated to
1457 non-live windows, and implement horizontal centering of image in
1458 case it's smaller than the window.
1459 (doc-view-new-window-function): Force redisplay of new windows on
1460 doc-view buffers.
d35f5864 1461
1c4a85ed
KF
14622013-03-13 Karl Fogel <kfogel@red-bean.com>
1463
1464 * saveplace.el (save-place-alist-to-file): Don't sort
1465 `save-place-alist', just pretty-print it (bug#13882).
1466
85b66a21
MA
14672013-03-13 Michael Albinus <michael.albinus@gmx.de>
1468
1469 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1470 whether `default-file-name-coding-system' is bound. It isn't in
1471 XEmacs.
1472
175600da
SM
14732013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
1474
e7f7cb1a
SM
1475 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1476 backquotes for `obsolete' (bug#13929).
1477
175600da
SM
1478 * international/mule.el (find-auto-coding): Include file name in
1479 obsolescence warning (bug#13922).
1480
ca68a22e
TZ
14812013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1482
1483 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1484 for CFEngine 3-specific indentation.
1485 (cfengine3-indent-line): Use it. Fix up category regex.
1486 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1487
940e5099
SM
14882013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1489
1490 * type-break.el (type-break-file-name):
1491 * textmodes/remember.el (remember-data-file):
1492 * strokes.el (strokes-file):
1493 * shadowfile.el (shadow-initialize):
1494 * saveplace.el (save-place-file):
1495 * ps-bdf.el (bdf-cache-file):
1496 * progmodes/idlwave.el (idlwave-config-directory):
1497 * net/quickurl.el (quickurl-url-file):
1498 * international/kkc.el (kkc-init-file-name):
1499 * ido.el (ido-save-directory-list-file):
1500 * emulation/viper.el (viper-custom-file-name):
1501 * emulation/vip.el (vip-startup-file):
1502 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1503 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1504
cc725808
PE
15052013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1506
1507 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1508 * language/thai-word.el: Switch to UTF-8.
1509
e56221d5
SM
15102013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1511
1512 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1513
c6bdd110
TV
15142013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1515
1516 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1517 Use with-current-buffer and don't move point.
1518 (net-utils-run-simple): Remove useless code.
1519 (net-utils-remove-ctl-m): Remove unused custom.
1520
bd3921f0
PS
15212013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1522
1523 * international/characters.el (glyphless-set-char-table-range): New fun.
1524 (update-glyphless-char-display): Use it (bug#13744).
1525
ccc4f9f1
TZ
15262013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1527
1528 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1529 namespaces in the syntax, indent closer for hanging brace
1530 correctly, allow single-quote delimited 'strings', and make
1531 `cfengine3-mode' the default.
1532
6ff2c8f1
JPG
15332013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1534
1535 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1536 Use lexical-binding. Fix up docstring according to conventions.
1537 (gdbmi-debug-mode): New var.
1538 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1539 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1540 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1541 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1542 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1543 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1544 (gdbmi-bnf-incomplete-record-result): New functions.
1545 (gdb-car<): Remove function.
1546 (gdbmi-record-list): Remove variable.
1547 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1548 (gdbmi-bnf-result-state-configs): New const.
1549 (gud-gdbmi-marker-filter): Rewrite.
1550 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1551 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1552 Add `token' argument.
1553 (gdb-done, gdb-error): New functions.
1554 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1555
9b593980
SM
15562013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1557
2523c845
SM
1558 * term/xterm.el (xterm--report-background-handler): Don't burp
1559 upon timeout.
1560 (xterm--version-handler): Extract from terminal-init-xterm.
1561 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1562 Allow multiple handlers.
1563 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1564
9b593980
SM
1565 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1566 (xterm--report-background-handler, xterm--query): New functions.
1567 (terminal-init-xterm): Use them.
1568
e18e61cf
MM
15692013-03-11 Michael R. Mauger <michael@mauger.com>
1570
1571 * progmodes/sql.el Version 3.2
1572 Please note that my address changed to <michael@mauger.com>;
1573 the <mmaug@yahoo.com> address remains active.
1574 (sql-connection-alist): Updates documentation to fix bug#13715.
1575 (sql-connect): Handle missing `sql-connection-alist' correctly.
1576 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1577 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1578 property.
1579 (sql-default-value): New function.
1580 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1581 values were not used.
1582 (sql-rename-buffer): Make sure alternate buffer name has no text
1583 properties.
1584 (sql-input-sender, sql-execute-feature): Fetch variable with
1585 `buffer-local-value' rather than `with-current-buffer'.
1586 (sql-*): Use #' function syntax consistently.
1587 (sql-*): Use message/error/user-error consistently.
1588
25c09217
SM
15892013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1590
1591 * xt-mouse.el (xterm-mouse-event-read): Remove.
1592 (xterm-mouse--read-event-sequence-1000)
1593 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1594
d0ebc826
SM
15952013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1596
d3e9f3a8
SM
1597 * term/xterm.el (xterm-function-map): Support format used with
1598 formatOtherKeys=1 (bug#13839).
1599
17f32327
SM
1600 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1601 (with-no-warnings): Use `declare'.
1602
33f5bc1c
SM
1603 * whitespace.el (whitespace-enable-predicate): New variable.
1604 (whitespace-enable-predicate): Use it.
1605
d0ebc826
SM
1606 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1607 (comint-output-filter, comint-update-fence):
1608 Use with-silent-modifications.
1609
45ba025e
J
16102013-03-10 Jambunathan K <kjambunathan@gmail.com>
1611
1612 * replace.el (occur-read-regexp-defaults-function): New var.
1613 (occur-read-regexp-defaults): New defun.
1614 (occur-read-primary-args): Propagate above change (bug#13892).
1615
74dd4abc
SM
16162013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1617
1618 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1619
3675b169
MA
16202013-03-09 Michael Albinus <michael.albinus@gmx.de>
1621
1622 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1623
1624 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1625 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1626 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1627 New defconst.
74dd4abc
SM
1628 (tramp-gvfs-file-name-handler-alist) [directory-files]
1629 [directory-files-and-attributes, file-exists-p, file-modes]:
1630 Use Tramp default handler.
3675b169
MA
1631 [file-acl, file-selinux-context, process-file, set-file-acl]:
1632 [set-file-modes, set-file-selinux-context, shell-command]:
d0ebc826 1633 [start-file-process]: Remove handler.
3675b169
MA
1634 [verify-visited-file-modtime]: New handler.
1635 (tramp-gvfs-dbus-string-to-byte-array)
1636 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1637 calls of `dbus-string-to-byte-array' and
1638 `tramp-gvfs-dbus-byte-array-to-string'.
1639 (tramp-gvfs-handle-copy-file)
1640 (tramp-gvfs-handle-delete-directory)
1641 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1642 (tramp-gvfs-handle-file-directory-p)
1643 (tramp-gvfs-handle-file-executable-p)
1644 (tramp-gvfs-handle-file-name-all-completions)
1645 (tramp-gvfs-handle-file-readable-p)
1646 (tramp-gvfs-handle-file-writable-p)
1647 (tramp-gvfs-handle-insert-directory)
1648 (tramp-gvfs-handle-insert-file-contents)
1649 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1650 (tramp-gvfs-handle-set-visited-file-modtime)
1651 (tramp-gvfs-handle-write-region): Rewrite.
1652 (tramp-gvfs-handle-file-acl)
1653 (tramp-gvfs-handle-file-selinux-context)
1654 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1655 (tramp-gvfs-handle-set-file-modes)
1656 (tramp-gvfs-handle-set-file-selinux-context)
1657 (tramp-gvfs-handle-shell-command)
1658 (tramp-gvfs-handle-start-file-process)
1659 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1660 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1661 over the symlinks. Fix user handling.
1662 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1663 of the D-Bus signals.
1664 (tramp-gvfs-connection-mounted-p): Handle different names of the
1665 D-Bus methods.
1666 (tramp-gvfs-mount-spec-entry): New defun.
1667 (tramp-gvfs-mount-spec): Use it.
1668 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1669 there is a share name. Handle different names of the D-Bus
85b66a21
MA
1670 signals and methods. Set connection properties needed for
1671 `tramp-check-cached-permissions'.
3675b169
MA
1672 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1673 Return t or nil.
1674
1675 * net/tramp.el (tramp-backtrace): Move up.
85b66a21 1676 (tramp-error): Dump a backtrace into the debug buffer when
3675b169
MA
1677 `tramp-verbose > 9.
1678 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1679 (tramp-file-mode-permissions, tramp-get-local-uid)
1680 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1681 tramp-sh.el.
1682
1683 * net/tramp-sh.el (tramp-file-mode-type-map)
1684 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1685 (tramp-file-mode-permissions, tramp-get-local-uid)
1686 (tramp-get-local-gid): Move to tramp.el.
1687
27a98a62
SM
16882013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1689
1690 Separate mouse-1-click-follows-link from mouse-drag-region.
1691 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1692 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1693 (mouse-drag-line, mouse-drag-track):
1694 Remove mouse-1-click-follows-link code.
1695 (mouse--remap-link-click-p): Remove.
1696
eb1a6e15
J
16972013-03-08 Jambunathan K <kjambunathan@gmail.com>
1698
1699 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1700 (hi-lock-read-regexp-defaults): New defun.
1701 (hi-lock-line-face-buffer, hi-lock-face-buffer)
27a98a62
SM
1702 (hi-lock-face-phrase-buffer): Propagate above change.
1703 Update docstring (bug#13892).
eb1a6e15
J
1704
1705 * subr.el (find-tag-default-as-regexp): New defun.
1706 * replace.el (read-regexp): Propagate above change.
1707
6d7ebb72
JB
17082013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1709
1710 * calc/calc-units.el (calc-convert-units): Fix the way that default
1711 new units are stored.
1712
c34ae9da 17132013-03-07 Matthias Meulien <orontee@gmail.com>
c095b770
KF
1714
1715 * bookmark.el: Define a face to highlight bookmark names in
1716 bookmark menu buffers, where the default is a bold face similarly
c34ae9da 1717 to buffer names in buffer menu buffers.
c095b770
KF
1718 (bookmark-menu-bookmark): New face to highlight bookmark names.
1719 (bookmark-insert-location): Remove duplicated text property to
1720 conform to buffer list (see `list-buffers').
1721 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1722 `bookmark-menu-bookmark' to bookmark names.
1723
c34ae9da
GM
17242013-03-07 Matthias Meulien <orontee@gmail.com>
1725 Karl Fogel <kfogel@red-bean.com>
7a78e19f
KF
1726
1727 * bookmark.el: Display the bookmark list header similarly to the
1728 buffer list header (see `list-buffers'), where the default is now
c34ae9da 1729 an immovable/immutable header line.
7a78e19f
KF
1730 (bookmark-bmenu-use-header-line): New variable.
1731 (bookmark-bmenu-inline-header-height): New name for
1732 `bookmark-bmenu-header-height', to avoid confusion with the code
1733 for the new immovable header. All references changed.
1734 (bookmark-bmenu-set-header): New function.
1735 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1736 Conditionalize header construction accordingly.
1737 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1738 the inline header height.
1739 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1740 Conditionalize the skipping of the inline header height.
1741
94e48c7d
DG
17422013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1743
27a98a62
SM
1744 * progmodes/js.el (js--multi-line-declaration-indentation):
1745 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
94e48c7d 1746
ab89e9f9
DG
17472013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1748
27a98a62
SM
1749 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1750 Only propertize regexp when not inside a string (Bug#13885).
ab89e9f9 1751
33d1e2f5
AM
17522013-03-06 Alan Mackenzie <acm@muc.de>
1753
1754 Correct the position of point in some line-up functions.
1755 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1756 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1757 point at column 0 rather than at a random place in the line.
1758
11f4d68f
MA
17592013-03-05 Michael Albinus <michael.albinus@gmx.de>
1760
27a98a62
SM
1761 * net/tramp-compat.el (tramp-compat-delete-directory):
1762 Implement TRASH argument.
11f4d68f 1763
c7a409b6
DG
17642013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1765
1766 Keep pre-existing highlighting in completion candidates (Bug#13250).
1767 * minibuffer.el (completions-first-difference): State that the
1768 face is "added" in the docstring.
1769 (completions-common-part): Same. And don't inherit from default.
1770 (completion-hilit-commonality): Prepend 'completions-common-part
1771 and 'completion-first-difference faces to the 'face property,
1772 instead of replacing the value(s).
1773 (completion--insert-strings): Same with 'completions-annotations face.
1774 (completion-hilit-commonality): Use 'face instead of
1775 'font-lock-face, because it gets priority if the completion
1776 strings already have 'face set.
1777
e0bc0f33
AM
17782013-03-04 Alan Mackenzie <acm@muc.de>
1779
1780 Replace `last-command-event' by `last-command-char' in XEmacs.
1781 * progmodes/cc-defs.el (c-last-command-char): New macro.
1782 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1783 (c-semi&comma-no-newlines-before-nonblanks)
1784 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1785 in place of `last-command-event'.
1786 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1787 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1788 (c-electric-paren, c-electric-continued-statement): Use the new
1789 macro in place of `last-command-event'.
1790
cb05411f
GM
17912013-03-04 Glenn Morris <rgm@gnu.org>
1792
1793 * files.el (inhibit-local-variables-regexps):
1794 Add .diff and .patch. (Bug#13862)
1795
9a0f9ec3
MA
17962013-03-03 Michael Albinus <michael.albinus@gmx.de>
1797
1798 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1799 whether the "su" command is available on the device.
1800
7d11fc27
MA
18012013-03-01 Michael Albinus <michael.albinus@gmx.de>
1802
1803 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1804 (tramp-adb-handle-process-file): Remove superfluous setting.
1805 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1806 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1807 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1808
b5a5723d
SM
18092013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1810
1811 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1812 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1813 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1814 Use dict-key rather than dict-name for the error message.
1815
7944eaa3
TV
18162013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1817
1818 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1819 when reverting (bug#13831).
1820
325b66a6
AM
18212013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1822
7944eaa3 1823 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
325b66a6
AM
1824 Always expand affix-file before storing to protect against changed
1825 `default-directory'.
1826 (ispell-print-if-debug): Make sure message is printed at the end
1827 of the debug buffer.
1828
36a8b68b
MA
18292013-03-01 Michael Albinus <michael.albinus@gmx.de>
1830
1831 * net/tramp.el (tramp-obsolete-methods): New defconst.
1832 (tramp-warned-obsolete-methods): New defvar.
1833 (tramp-find-method): Check for obsolete methods. Map them to a
1834 replacement method if appropriate.
1835
1836 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1837 Remove methods.
1838 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1839 "ssh2" and "plink1".
1840
4a83d19e
DS
18412013-02-28 Dale Sedivec <dale@codefu.org>
1842
1843 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1844 Return valid syntax-table property value when converting
1845 quotes within text from string syntax to punctuation syntax (bug#13844).
1846
9d232fc4
JL
18472013-02-28 Juri Linkov <juri@jurta.org>
1848
1849 * dired-aux.el (dired-diff): If file at point is a backup file,
1850 use its original as the default value, and reverse the order
1851 of arguments to the `diff' call. Doc fix. (Bug#13772)
1852
779451da
MA
18532013-02-28 Michael Albinus <michael.albinus@gmx.de>
1854
1855 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1856 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1857
ef3761e3
AM
18582013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1859
1860 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1861
1862 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1863 Ask hunspell about available and default dictionaries.
1864 (ispell-parse-hunspell-affix-file): Extract relevant info from
1865 hunspell affix file.
1866 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1867 `ispell-dictionary-alist' entry for given dictionary after info
1868 provided by `ispell-parse-hunspell-affix-file'.
1869 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1870 of parsed hunspell dicts and associated affix files.
1871 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1872 of parsed hunspell dicts and associated parameters.
1873 (ispell-set-spellchecker-params):
1874 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1875 previously done.
1876 (ispell-start-process):
1877 Call `ispell-hunspell-fill-dictionary-entry' for current
1878 dictionary if it is not initialized.
1879
930de676
SM
18802013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1881
1882 * imenu.el: Comment nitpicks.
1883
3602cceb
SS
18842013-02-28 Sam Steingold <sds@gnu.org>
1885
1886 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1887 See <http://stackoverflow.com/questions/14720205>.
1888
bd0dd755
TV
18892013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1890
1891 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1892 (net-utils-mode): Use it.
1893 (net-utils--revert-cmd): New var.
1894 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1895 (traceroute): Use net-utils-run-simple.
1896
929aeac6 18972013-02-28 Glenn Morris <rgm@gnu.org>
f0e19dc1
GM
1898
1899 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1900
e7a1c32d
SM
19012013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1902
1903 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1904 (doc-view-fallback-mode): Remove overlays here.
1905 (doc-view-toggle-display): Instead of here. Don't throw away
1906 image-mode-winprops-alist.
1907 (doc-view-goto-page): Don't mess with hscroll.
1908
f2c88400
TV
19092013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1910
1911 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1912 &optional (bug#13819).
1913
fa550654
MA
19142013-02-27 Michael Albinus <michael.albinus@gmx.de>
1915
1916 * net/tramp-adb.el (tramp-adb-parse-device-names)
1917 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1918
58bd4aa2
MA
19192013-02-26 Michael Albinus <michael.albinus@gmx.de>
1920
f2c88400
TV
1921 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1922 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
58bd4aa2
MA
1923 defined. POSIX environments fall back to the "C" locale then and
1924 emit a warning, which shall be suppressed.
1925
9f70f91e
SM
19262013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1927
1928 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1929 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1930
4c514b0f
SM
19312013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1932
1933 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1934
cd27a76d
JL
19352013-02-25 Juri Linkov <juri@jurta.org>
1936
1937 * replace.el (read-regexp): Let-bind `default' to the first
1938 element of `defaults' if it's a list, otherwise it should be
1939 a string or nil. Let-bind `suggestions' to `defaults' if it's
1940 a list, otherwise make a list with the string value. Doc fix.
1941 (Bug#13805)
1942
343a2aef
EZ
19432013-02-25 Eli Zaretskii <eliz@gnu.org>
1944
1945 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1946 that match "\`\.#", to avoid compiling lock files, even if they
1947 are readable (as they are on MS-Windows).
1948
944c37ef
SM
19492013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1950
1951 * files.el (basic-save-buffer): Remove redundant directory-creation.
1952
7a91562f
JB
19532013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1954
1955 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1956 Add option to force `pi' to remain symbolic.
1957 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1958 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1959 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1960 derivatives, when necessary.
1961
2ae3d736
PK
19622013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1963
1964 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1965 (ps-mode-octal-region): Use string-make-unibyte.
1966
fd743628
GM
19672013-02-23 Glenn Morris <rgm@gnu.org>
1968
e8ba2352
GM
1969 * emulation/viper-cmd.el (viper-submit-report):
1970 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1971 * progmodes/vera-mode.el (vera-mode-help-address):
1972 * textmodes/artist.el (artist-maintainer-address):
1973 * textmodes/reftex.el (reftex-report-bug):
1974 * vc/ediff-util.el (ediff-submit-report):
1975 Add bug-gnu-emacs to bug report address.
1976
3296c443
GM
1977 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1978 Remove bug report entries.
1979 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1980
fd743628
GM
1981 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1982 (byte-compile-file, byte-compile-from-buffer):
1983 Use separate input/output buffers for each level of recursive
1984 byte-compile-file calls. (Bug#13787)
1985
c57a0aff
MA
19862013-02-23 Michael Albinus <michael.albinus@gmx.de>
1987
1988 * net/tramp.el (tramp-methods): Fix docstring.
1989 (tramp-ssh-controlmaster-options): Rename it from
1990 `tramp-ssh-controlmaster-template'. Return a string.
1991 (tramp-default-method): Adapt check for
1992 `tramp-ssh-controlmaster-options'.
1993
4c514b0f
SM
1994 * net/tramp-sh.el (tramp-methods):
1995 Replace `tramp-ssh-controlmaster-template' by "%c".
c57a0aff
MA
1996 (tramp-do-copy-or-rename-file-out-of-band)
1997 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1998 that it is applied for the first hop only.
1999
bba90ab2 20002013-02-22 Juri Linkov <juri@jurta.org>
54d9de11
JL
2001
2002 * isearch.el (isearch-lazy-highlight-new-loop):
2003 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2004 to `isearch-other-end' if it is not nil. (Bug#13402)
2005
2006 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2007 to `match-beg'.
2008
2009 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2010 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2011 and `isearch-error' to nil.
2012
78be8b64
SM
20132013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
2014
2015 * progmodes/python.el (python-info-current-defun):
2016 Enhance match-data cluttering prevention.
2017
29bb19dc
MA
20182013-02-22 Michael Albinus <michael.albinus@gmx.de>
2019
2020 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2021
4c514b0f
SM
2022 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2023 Handle multibyte file names.
29bb19dc 2024
153dd4d0
GM
20252013-02-22 Glenn Morris <rgm@gnu.org>
2026
5c11fc55
GM
2027 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2028 (sgml-transformation-function): Give it a :set function.
2029 (sgml-tag): Doc fix.
2030
f4146d98
GM
2031 * cmuscheme.el (scheme-buffer):
2032 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2033 * progmodes/tcl.el (inferior-tcl-buffer):
2034 * textmodes/tex-mode.el (tex-command): Doc fixes.
2035
5db881d0
GM
2036 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2037
153dd4d0
GM
2038 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2039
e224eb41
BG
20402013-02-21 Bastien Guerry <bzg@gnu.org>
2041
2042 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2043
cfbf790d 20442013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
c132ab79 2045
4c514b0f
SM
2046 * progmodes/python.el (python-info-current-defun):
2047 Enhance match-data cluttering prevention.
c132ab79 2048
cfbf790d 20492013-02-21 Glenn Morris <rgm@gnu.org>
e233e100
GM
2050
2051 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2052 loaded while outline-regexp is let bound. (Bug#9584)
2053
cfbf790d 20542013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
33c0cb25
FEG
2055
2056 * progmodes/python.el (python-info-current-defun): Fix failed
2057 defun name retrieval because of unwanted match-data cluttering.
2058
886bae77
MA
20592013-02-21 Michael Albinus <michael.albinus@gmx.de>
2060
d20e6e90
MA
2061 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2062 defconst. Apply independent check for ControlPersist.
2063
886bae77
MA
2064 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2065 temporarily, via "env".
2066
bed1791a
GM
20672013-02-21 Glenn Morris <rgm@gnu.org>
2068
5313bbc7
GM
2069 * info.el (Info-enable-edit): Remove.
2070 (Info-edit): Disable it rather than using Info-enable.
2071 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2072 (Info-cease-edit): Make editing of Info files obsolete.
2073
bed1791a
GM
2074 * informat.el (Info-tagify):
2075 Handle buffers not visiting files. (Bug#13763)
2076
c1bf363a
JB
20772013-02-21 Juanma Barranquero <lekktu@gmail.com>
2078
2079 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2080
b367ec7b
GM
20812013-02-21 Glenn Morris <rgm@gnu.org>
2082
2083 * files.el (basic-save-buffer): Move check for existing parent
2084 directory after hooks. (Bug#13773)
2085
b6c2bfff
SM
20862013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * simple.el (command-execute): Move from C. Add obsolete check.
2089 (extended-command-history): Move from C.
2090
3bf1099f
UM
20912013-02-20 Ulrich Müller <ulm@gentoo.org>
2092
2093 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2094 (jka-compr-mode-alist-additions): Handle .txz suffix for
2095 XZ-compressed tar archives (bug#13770).
2096
d8d2d18a
BG
20972013-02-20 Bastien Guerry <bzg@gnu.org>
2098
3bf1099f
UM
2099 * outline.el (outline-regexp, outline-heading-end-regexp):
2100 Make variables, not options (bug#13731).
d8d2d18a 2101
1dfcc79e
GM
21022013-02-20 Glenn Morris <rgm@gnu.org>
2103
dc504515
GM
2104 * image.el (image-current-frame): Change from variable to function.
2105 (image-show-frame): Rename from image-nth-frame. Update callers.
2106 * image-mode.el (image-multi-frame): New variable.
2107 (image-mode-map, image-mode, image-goto-frame):
2108 Use image-multi-frame rather than image-current-frame.
2109 (image-mode, image-goto-frame): Use image-current-frame as
2110 function rather than as variable.
2111
1dfcc79e
GM
2112 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2113 * emacs-lisp/cl-macs.el (cl--make-type-test)
2114 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2115
81ed22e4
MA
21162013-02-19 Michael Albinus <michael.albinus@gmx.de>
2117
2118 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2119 (tramp-get-file-property, tramp-set-file-property)
2120 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2121 (tramp-flush-file-property, tramp-flush-directory-property):
2122 Rename argument to KEY.
2123 (tramp-flush-connection-property): Simplify a little bit.
2124 (tramp-connection-property-p): New defun.
2125 (top): Reapply saved values only if there isn't a corresponding
2126 entry in `tramp-connection-properties'.
2127
2af3b9c1
FEG
21282013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
2129
872faefb
GM
2130 * progmodes/python.el (python-indent-context):
2131 Fix python-info-line-ends-backslash-p call.
2af3b9c1 2132 (python-info-line-ends-backslash-p)
872faefb
GM
2133 (python-info-beginning-of-backslash): Respect line-number argument.
2134 (python-info-current-line-comment-p):
2135 Fix behavior when not at beginning-of-line.
2af3b9c1
FEG
2136 (python-util-position): Remove function.
2137 (python-util-goto-line): New function.
2138
872faefb 21392013-02-19 Michael Albinus <michael.albinus@gmx.de>
c9bcc580
MA
2140
2141 * eshell/em-unix.el (eshell/su): Require tramp.
2142 (eshell/sudo): Require tramp. Remove now unnecessary check.
2143
2144 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2145 `tramp-current-connection' in order to avoid an error when several
2146 commands are invoked in a short time in eshell and friends.
2147
8ca4f1e0
SM
21482013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2149
2150 Cleanup some of EIEIO's namespace.
2151 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2152 Use it to define all the class-* and object-* field accessors (renamed
2153 to eieio--class-* and eieio--object-*). Update all uses.
2154 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2155 class-num-slots and object-num-slots.
2156 (eieio--check-type): New macro.
2157 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2158 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2159 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2160 (object-assoc-list-safe): Use it.
2161 (eieio-defclass): Tighten regexp.
2162 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2163 Remove unreachable code.
2164 (object-class-fast): Declare obsolete.
2165 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2166 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2167 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2168 Rename from class-name, object-name, object-set-name-string,
2169 object-class, object-class-name, class-parents, class-children,
2170 class-precedence-list, class-parent; with obsolete alias.
2171 (class-of, class-direct-superclasses, class-direct-subclasses):
2172 Declare obsolete.
2173 (eieio-defmethod): Use `memq'; remove unreachable code.
2174 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2175 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2176 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2177
73572c72
AG
21782013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2179
78b8f320
AG
2180 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2181 commentary.
73572c72 2182
587feed4
MH
21832013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2184
2185 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2186 Use font-lock-keyword-face for macros and special forms (bug#8345).
2187
a51e9ff7 21882013-02-17 Didier Verna <didier@didierverna.net>
e5b246e9
DV
2189
2190 * net/network-stream.el (network-stream-open-starttls):
2191 Check that response to the starttls-command is non-nil. (Bug#13706)
2192
913274cb
SM
21932013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2194
2195 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
2196 Don't assume all identifier chars have syntax word.
2197 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2198 Remove bar-not-symbol. Adjust callers.
2199 (lisp-mode-variables): Don't set a font-lock-syntax-table.
2200
53db1d8b
LL
22012013-02-17 Leo Liu <sdl.web@gmail.com>
2202
2203 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
2204
e630f18a
GM
22052013-02-17 Glenn Morris <rgm@gnu.org>
2206
1bb1e038
GM
2207 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
2208
f05e2ff2
GM
2209 * image-mode.el (image-mode-map): Add image-dired menu entry.
2210
e630f18a
GM
2211 * image-dired.el (tumme): Make this alias obsolete.
2212
783b7b75
GM
22132013-02-16 Glenn Morris <rgm@gnu.org>
2214
ed8d7fca
GM
2215 * image.el (image-animated-types): Remove.
2216 (image-multi-frame-p): Rename from image-animated-p, and generalize.
2217 (image-animated-p): Make obsolete alias.
2218 (image-animate, image-nth-frame, image-animate-timeout):
2219 Use image-multi-frame-p.
2220 (image-animate-timeout): If no delay, use image-default-frame-delay.
2221 * image-mode.el (image-mode, image-toggle-animation):
2222 Use image-multi-frame-p. (Bug#763, bug#10739)
2223 (image-mode): Adjust startup message for a multi-frame image.
2224
783b7b75
GM
2225 * image-mode.el (image-mode-map): Give it a menu.
2226
61addbc2
MA
22272013-02-16 Michael Albinus <michael.albinus@gmx.de>
2228
2229 * net/tramp-cache.el (tramp-connection-properties): New customer
2230 option.
2231 (tramp-get-connection-property): Use it.
2232
2233 * net/tramp-compat.el (top): Require 'trampver.
2234
913274cb
SM
2235 * net/tramp-sh.el (tramp-remote-process-environment):
2236 Set tramp-autoload cookie.
61addbc2 2237
a9bc03e2
KR
22382013-02-16 Kevin Ryde <user42@zip.com.au>
2239
2240 * info-look.el (info-lookup-select-mode): If major-mode has no
2241 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
2242
2b0afdd9
J
22432013-02-16 Jambunathan K <kjambunathan@gmail.com>
2244
2245 * replace.el (read-regexp): Tighten the regexp that matches tag.
2246 When tag is retrieved with `find-tag-default', use regexp that
2247 matches tag at point. Also update docstring (Bug#13687).
2248
a7a84eea
EZ
22492013-02-16 Eli Zaretskii <eliz@gnu.org>
2250
2251 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
2252 add watch for the file, not its parent directory, since w32notify
2253 sets up the watch for the directory internally. (Bug#13725)
2254
c0211c4e
GM
22552013-02-16 Glenn Morris <rgm@gnu.org>
2256
99e619b6
GM
2257 * image.el (image-default-frame-delay): New variable.
2258 (image-animated-p): Use image-default-frame-delay.
2259 (image-minimum-frame-delay): New constant.
2260 (image-animate-timeout): Use image-minimum-frame-delay.
2261
c0211c4e
GM
2262 * image.el (image-nth-frame): New, split from image-animate-timeout.
2263 (image-animate-timeout): Use image-nth-frame.
2264 * image-mode.el (image-goto-frame, image-next-frame)
2265 (image-previous-frame): New commands.
2266 (image-mode-map): Add new frame commands.
2267
6b6d804b
JB
22682013-02-16 Jonas Bernoulli <jonas@bernoul.li>
2269
2270 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
2271 If col-desc already has help-echo, use it. (Bug#13563)
2272
ef5ae980
GM
22732013-02-16 Glenn Morris <rgm@gnu.org>
2274
bb9dfee1
GM
2275 * image.el (image-current-frame): New variable.
2276 (image-animate-timeout): Set image-current-frame.
2277 * image-mode.el (image-mode): For animated images,
2278 display a frame counter via mode-line-process.
2279
ef5ae980
GM
2280 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
2281
6c8f113e
SM
22822013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2283
2284 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
2285
f852f6d8
AM
22862013-02-15 Alan Mackenzie <acm@muc.de>
2287
2288 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
2289 global minor mode has been enabled, call the minor mode function
2290 for a new buffer once only, after the major mode hook, whilst
2291 allowing that hook explicitly to disable the minor mode.
6c8f113e
SM
2292 (MODE-disable-in-buffer): New (generated) function.
2293 (disable-MODE): New (generated) buffer local variable.
f852f6d8 2294
d7e76a89
J
22952013-02-15 Jambunathan K <kjambunathan@gmail.com>
2296
2297 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
2298 `iswitchb-next-match' and `iswitchb-prev-match' resply.
d7e76a89
J
2299 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
2300 `ido-next-match' and `ido-prev-match' resply.
d7e76a89
J
2301 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
2302 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
2303 `icomplete-backward-completions' (Bug#13708).
2304
ef5ae980 23052013-02-15 Glenn Morris <rgm@gnu.org>
9e16c3b4
GM
2306
2307 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2308
648e5523 23092013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
213ac168
SM
2310
2311 * net/goto-addr.el (goto-address-fontify): Add start and end args.
2312 (goto-address-fontify-region): Use them instead of narrowing, so
2313 syntax-ppss has access to the whole buffer.
2314
648e5523 23152013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
ea5f4192
FEG
2316
2317 * progmodes/python.el: Explain how to restore "cc-mode"-like
2318 forward-sexp movement in header documentation (Bug#13642).
2319 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
2320 comments and strings (GH bug 114).
2321
648e5523 23222013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
5cd3d1e5
FEG
2323
2324 * progmodes/python.el (python-info-current-defun): Fix current
2325 defun detection (Bug#13618).
2326
648e5523 23272013-02-15 Chong Yidong <cyd@gnu.org>
a1d23eb5
CY
2328
2329 * xml.el (xml-parse-string): Fix typo in handling of bad character
2330 references.
2331
dec2a322
GM
23322013-02-15 Glenn Morris <rgm@gnu.org>
2333
2334 * play/fortune.el (fortune-compile): Simplify and fix previous change.
2335
5267e6d3
MA
23362013-02-14 Michael Albinus <michael.albinus@gmx.de>
2337
6c8f113e
SM
2338 * net/tramp.el (tramp-debug-message):
2339 Add `tramp-condition-case-unless-debug'.
5267e6d3
MA
2340 (tramp-debug-on-error): New defvar.
2341 (tramp-condition-case-unless-debug): New defun.
2342 (tramp-file-name-handler): Use it.
2343
f6b6e113
JL
23442013-02-14 Juri Linkov <juri@jurta.org>
2345
2346 * info.el (Info-isearch-filter): Treat non-nil values of
2347 `search-invisible' including its default value `open'
2348 like the value `t' to match hidden text. (Bug#13402)
2349
6a378d89
GM
23502013-02-14 Glenn Morris <rgm@gnu.org>
2351
2352 * help-fns.el (find-lisp-object-file-name): Give special treatment
2353 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
2354
3ca2c015
DB
23552013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
2356
2357 * net/quickurl.el (quickurl-save-urls):
2358 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
2359
53ca88c4
DG
23602013-02-14 Dmitry Gutov <dgutov@yandex.ru>
2361
2362 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
2363 depth for unfinished percent literal. Not using it in the caller.
2364 (ruby-move-to-block): Jump over multiline literals of all types,
2365 ignoring code-looking contents inside them.
71a048c1
DG
2366 (ruby-add-log-current-method): Improve performance at the expense
2367 of accuracy. `ruby-block-contains-point' is relatively slow, so
2368 only use it for method and singleton class blocks.
53ca88c4 2369
d7291032
MA
23702013-02-13 Michael Albinus <michael.albinus@gmx.de>
2371
2372 Use ControlMaster where applicable. (Bug#13677)
2373
2374 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
2375 replacing `tramp-detect-ssh-controlmaster'.
2376 (tramp-default-method): Use it.
2377
2378 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
2379 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
2380 arguments.
2381 [scpc, rsyncc]: Remove methods.
2382 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
2383 and "ssh2_old".
f4ad7ea1 2384 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
d7291032
MA
2385 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
2386
1ead7dbd
SM
23872013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2388
2389 * emacs-lisp/package.el (package--initialized): Move before first use.
2390
5cbfe5b9
J
23912013-02-13 Jambunathan K <kjambunathan@gmail.com>
2392
f4ad7ea1 2393 * icomplete.el (icomplete-hide-common-prefix): New user option.
5cbfe5b9
J
2394 (icomplete-first-match): New face.
2395 (icomplete-completions): Correct handling of "complete but not
2396 unique" (Bug#12638).
2397
67f3e54a
YQ
23982013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
2399
2400 * descr-text.el (describe-char): Display the script (bug#13698).
2401
4d0463b9
SM
24022013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2403
2404 * tmm.el: Use lexical-binding and current-active-maps.
2405 (tmm-menubar): Use map-keymap and pcase.
2406 (tmm--completion-table): New function.
2407 (tmm-prompt): Use it to fix the menu order.
2408 (tmm-get-keybind): Use current-active-maps.
2409
a2a538b1
CS
24102013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
2411
2412 Add dired-hide-details-mode. (Bug#6799)
2413
2414 * locate.el (locate-mode): Set parent mode property to dired-mode.
2415
2416 * find-dired.el (find-dired): Call dired-insert-set-properties on
2417 initial information line. Set process mark on end of buffer.
2418 (find-dired-sentinel):
2419 Call dired-insert-set-properties on summary.
2420
2421 * dired.el (dired-hide-details-hide-symlink-targets)
2422 (dired-hide-details-hide-information-lines): New options.
2423 (dired-insert-directory):
2424 Set properties after final treatment of output.
2425 (dired-insert-set-properties):
2426 Set dired-hide-details-* properties.
2427 (dired-mode-map): Bind dired-hide-details-mode.
2428 (dired-mode): Set buffer-invisibility-spec to a list.
2429 (dired-next-line): Skip hidden lines.
2430 (dired-previous-line): Use dired-next-line.
2431 (dired-hide-details-mode): New minor mode.
2432 (dired-hide-details-update-invisibility-spec): New function.
2433
4e16ddf4
GM
24342013-02-13 Glenn Morris <rgm@gnu.org>
2435
2436 * play/yow.el: Move to obsolete/. (Bug#9384)
2437
ef79c6ed
JL
24382013-02-13 Juri Linkov <juri@jurta.org>
2439
2440 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2441 to select `ediff-control-frame' and set input focus correctly on Xfce.
2442 (Bug#12218)
2443
9cec74cf
JL
24442013-02-13 Juri Linkov <juri@jurta.org>
2445
2446 * image-mode.el (image-mode-map):
2447 * doc-view.el (doc-view-mode-map):
2448 * vc/ediff-util.el (ediff-setup-keymap):
2449 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2450
7132e457
DG
24512013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2452
2453 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2454 performance. Instead of recalculating indentation fully for each
2455 line, sum up indentation depth based only on visited lines.
2456 (ruby-parse-partial): Increase the depth after "do" even when END
2457 is right after it.
2458 (ruby-parse-partial): When END is in the middle of a percent
2459 literal, increase the depth if the delimiter chars belong to the
2460 paren syntax class.
2461
3c4a4b23
KK
24622013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2463
2464 * play/fortune.el (fortune-compile): Also make the compiled file
2465 if it does not exist at all, not just if it is old. (Bug#5338)
2466
eeb468da
GM
24672013-02-13 Glenn Morris <rgm@gnu.org>
2468
2469 * emacs-lisp/package.el (package-menu-execute): Doc fix.
2470
24712013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
a7da0114
YB
2472
2473 * lisp/emacs-lisp/package.el (package-menu-execute):
2474 Add optional noquery argument. (Bug#13625)
2475
01fcc3a5 24762013-02-13 Michael Albinus <michael.albinus@gmx.de>
e08e7d91
MA
2477
2478 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2479 if DIR exists and PARENTS is non-nil.
2480
d6596b94
JB
24812013-02-13 Juanma Barranquero <lekktu@gmail.com>
2482
2483 * progmodes/js.el (js--multi-line-declaration-indentation):
2484 Silence byte-compiler warning.
2485
f1f05871
MA
24862013-02-12 Michael Albinus <michael.albinus@gmx.de>
2487
2488 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2489
2490 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2491 only if it doesn't exist.
2492
6c8f113e
SM
2493 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2494 Set process marker.
f1f05871 2495
62c0e847
TH
24962013-02-12 Tassilo Horn <tsdh@gnu.org>
2497
2498 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2499 UserInstallation when calling soffice to work around LibreOffice
2500 bug 37531.
2501
958614cf
GM
25022013-02-12 Glenn Morris <rgm@gnu.org>
2503
0b244335
GM
2504 * files.el (basic-save-buffer):
2505 Offer to create a non-existing directory. (Bug#3016)
2506
958614cf
GM
2507 * calc/calc-graph.el (calc-graph-show-dumb):
2508 * calendar/calendar.el (calendar-mode-map):
2509 * cus-edit.el (custom-mode-map):
2510 * ehelp.el (electric-help-map):
2511 * emulation/vip.el (vip-mode-map):
2512 * epa.el (epa-key-list-mode-map):
2513 * info.el (Info-mode-map):
2514 * mail/rmail.el (rmail-mode-map):
2515 * mail/rmailsum.el (rmail-summary-mode-map):
2516 * man.el (Man-mode-map):
2517 * net/newst-plainview.el (newsticker-mode-map):
2518 * progmodes/cpp.el (cpp-edit-mode-map):
2519 * progmodes/grep.el (grep-mode-map):
2520 * progmodes/idlw-help.el (idlwave-help-mode-map):
2521 * simple.el (special-mode-map):
2522 * startup.el (splash-screen-keymap):
2523 * view.el (view-mode-map):
2524 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2525
4fa60c54
EP
25262013-02-11 Elias Pipping <pipping@lavabit.com>
2527
2528 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
7e561c10 2529 (bug#13679).
4fa60c54 2530
99d0d6dc
SM
25312013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2532
2533 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2534
31db8c31
GM
25352013-02-11 Glenn Morris <rgm@gnu.org>
2536
5109429f
GM
2537 * vc/diff.el (diff-use-labels): New variable.
2538 (diff-no-select): Use --label rather than -L, and first
2539 check that it is supported. (Bug#11067)
2540
97a1cd9d
GM
2541 * files.el (enable-dir-local-variables): New variable.
2542 (hack-dir-local-variables): Respect enable-dir-local-variables.
2543 * tutorial.el (help-with-tutorial):
2544 Ignore directory-local variables. (Bug#11127)
2545
31db8c31
GM
2546 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2547 (vc-svn-global-switches): ... to here. (Bug#13513)
2548
2f108463
CS
25492013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2550
99d0d6dc
SM
2551 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2552 Handle "foo (bar, default: xxx): " prompts.
2f108463 2553
490a9458 25542013-02-10 Chong Yidong <cyd@gnu.org>
e78e7e48 2555
0ccdf61e
CY
2556 * files.el (basic-save-buffer-1): Do not set
2557 buffer-file-coding-system-explicit (Bug#4533).
2558
e78e7e48
CY
2559 * mail/emacsbug.el (report-emacs-bug): Change binding of
2560 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2561
5d9c6f17
JB
25622013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2563
2564 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2565 * calc/calc-units.el (calc-convert-units): Use new variable.
2566
8549f9e8
EZ
25672013-02-09 Eli Zaretskii <eliz@gnu.org>
2568
2d050423
EZ
2569 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2570
8549f9e8
EZ
2571 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2572 buffer-file-type.
2573
2574 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2575 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2576 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2577 coding-system-for-write instead.
2578
2579 * jka-compr.el (jka-compr-write-region): Don't bind
2580 buffer-file-type.
2581
2582 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2583 buffer-file-type.
2584
2585 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2586 (insert-file-contents-literally): Remove reference to
2587 file-name-buffer-file-type-alist.
2588
2589 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2590 make-obsolete.
2591 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2592 (find-buffer-file-type-coding-system): Remove references to
2593 find-buffer-file-type-match, find-buffer-file-type, and
2594 buffer-file-type.
2595 Don't put find-buffer-file-type-coding-system into
2596 file-coding-system-alist.
2597 (find-file-binary, find-file-text): Bind coding-system-for-read
2598 instead of file-name-buffer-file-type-alist.
2599
9cbab8d6 26002013-02-09 Jambunathan K <kjambunathan@gmail.com>
f63f9398
TH
2601
2602 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
9cbab8d6
GM
2603 converter (Bug#13622).
2604 (doc-view-unoconv-program): Make obsolete alias.
f63f9398
TH
2605 (doc-view-odf->pdf-converter-program): New variable.
2606 (doc-view-odf->pdf-converter-function): New variable.
2607 (doc-view-mode-p): Use it.
9cbab8d6
GM
2608 (doc-view-odf->pdf-converter-unoconv):
2609 Rename from `doc-view-odf->pdf-converter-unoconv'.
f63f9398 2610 (doc-view-odf->pdf-converter-soffice): New function.
9cbab8d6
GM
2611 (doc-view-convert-current-doc):
2612 Use `doc-view-odf->pdf-converter-function'.
f63f9398 2613
044a9eac
CY
26142013-02-09 Chong Yidong <cyd@gnu.org>
2615
123ecb68
CY
2616 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2617 view-echo-area-messages (Bug#13340).
2618
2619 * help.el (view-echo-area-messages): Use display-buffer.
2620
044a9eac
CY
2621 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2622 (Bug#13561).
2623
1a601680
SM
26242013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2625
7f526211
SM
2626 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2627 Eval body right away, now that we do eager macroexpansion (bug#13605).
2628
c9586acc
SM
2629 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2630 (fundamental-mode): Use run-mode-hooks.
2631
1a601680
SM
2632 * eshell/esh-proc.el (eshell/kill): Fix last change.
2633 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2634
276a61a6
AG
26352013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2636
2637 * eshell/esh-proc.el (eshell/kill): Rewrite.
2638
2639 * eshell/em-ls.el (show-almost-all): Declare.
2640 (eshell-do-ls): Add support for -A argument.
2641
6130b96a
J
26422013-02-08 Jambunathan K <kjambunathan@gmail.com>
2643
2644 * icomplete.el (icomplete-forward-completions)
2645 (icomplete-backward-completions): Handle corner case (bug#13602).
2646
fed00072
MA
26472013-02-07 Michael Albinus <michael.albinus@gmx.de>
2648
2649 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2650 be nil. Handle this. (Bug#13636)
2651
469c5a60
RS
26522013-02-07 Richard Stallman <rms@gnu.org>
2653
2654 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2655 `save-buffer-coding-system'.
2656
8c4b24b2 26572013-02-07 Alan Mackenzie <acm@muc.de>
d23b0804 2658
8c4b24b2 2659 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
d23b0804
AM
2660 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2661 (c-parse-state-get-strategy): Don't return 'BOD any more.
8c4b24b2
GM
2662 (c-append-lower-brace-pair-to-state-cache):
2663 Extra parameter HERE instead of narrowing.
2664 Widen to top of buffer before searching backwards for a brace pair.
2665 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2666 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2667 Narrow to parameter HERE, in place of being called narrowed.
d23b0804
AM
2668 (c-remove-stale-state-cache): Extra parameter HERE in place of
2669 narrowing. Check there's an open brace in the cache before
2670 searching for its match.
2671 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2672 (c-parse-state-1): Don't narrow here for 'forward strategy,
8c4b24b2
GM
2673 instead passing extra parameter HERE to several functions.
2674 Remove 'BOD strategy.
d23b0804 2675
f4ad7ea1 26762013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
55b056ba
NR
2677
2678 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2679 used to install the package.
2680
e86762ec
GM
26812013-02-06 Glenn Morris <rgm@gnu.org>
2682
5fd03926
GM
2683 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2684 if we can't get user input. (Bug#6567)
2685
e86762ec
GM
2686 * startup.el (command-line): If simple.el is missing,
2687 test and warn about for some possible causes.
2688
6871e574
JD
26892013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2690
2691 * cus-start.el (all): Add ns-use-native-fullscreen.
2692
3505fa02
GM
26932013-02-05 Glenn Morris <rgm@gnu.org>
2694
ed746aa7
GM
2695 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2696
3505fa02
GM
2697 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2698 Fix directory creation in fallback case.
2699
50fdf399
TV
27002013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2701
2702 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2703 (vc-update-change-log): Use dolist.
2704
6e5c1569
CY
27052013-02-04 Chong Yidong <cyd@gnu.org>
2706
2707 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2708 code from ffap.el.
2709 (thing-at-point-beginning-of-url-regexp): New var.
2710 (thing-at-point-uri-schemes): Update list of URI schemes.
2711 (thing-at-point-url-regexp): Variable deleted.
2712 (thing-at-point-markedup-url-regexp): Disallow newlines.
2713 (thing-at-point-newsgroup-regexp)
2714 (thing-at-point-newsgroup-heads)
2715 (thing-at-point-default-mail-uri-scheme): New variables.
2716 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
50fdf399
TV
2717 method to find the possible bounds of the URI at point.
2718 New optional argument to find ill-formed URIs.
6e5c1569
CY
2719 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2720 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2721 the scheme-adding heuristics from ffap-url-at-point.
50fdf399
TV
2722 (thing-at-point--bounds-of-well-formed-url): New function.
2723 Do parens matching to decide whether to include parens in the URI
6e5c1569
CY
2724 (Bug#9153).
2725
2726 * ffap.el: Require thingatpt.
2727 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2728 All URI-valid characters are now recognized (Bug#5673).
2729 (ffap-string-at-point): Use use-region-p.
2730 (ffap-url-regexp): Extra character is handled by thing-at-point.
2731 (ffap-string-at-point-mode-alist): Allow parentheses.
2732 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2733 Convert to aliases; code moved to thingatpt.el.
2734 (ffap-gnus-hook): Use setq-local.
2735
84a06b50
GM
27362013-02-04 Glenn Morris <rgm@gnu.org>
2737
2738 * emacs-lisp/ert.el (ert--explain-format-atom):
2739 Don't try to print non-characters as characters. (Bug#13543)
2740
5870b2b1
MA
27412013-02-03 Michael Albinus <michael.albinus@gmx.de>
2742
2743 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2744 (tramp-backtrace): New defun.
2745 (tramp-handle-insert-file-contents): Use `visit' when inserting
2746 the local copy.
2747
50fdf399
TV
2748 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2749 Use `remote-file-name-inhibit-cache'.
5870b2b1 2750
659a9010
SM
27512013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2752
4813c453
SM
2753 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2754 (bug#13614).
2755
659a9010
SM
2756 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2757 current-load-list (bug#13366).
2758
35114711
CS
27592013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2760
2761 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2762 Identify g++ template instantiation trace. (Bug#12287)
85a83ea0
CS
2763 (compilation-mode-hook, compilation-start-hook)
2764 (compilation-window-height): Simplify docstrings. (Bug#13379)
35114711 2765
94fbc901 27662013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
13841bfc
SM
2767
2768 * mouse.el (mouse-drag-track): Always deactivate the mark before
2769 running the final event's command since that command is in charge of
2770 activating the mark if needed (bug#13523).
2771
94fbc901 27722013-02-02 Juri Linkov <juri@jurta.org>
dc2bc295
JL
2773
2774 * replace.el (perform-replace): Move let-bindings of isearch-*
2775 variables deeper to the loop that searches for the next match.
2776 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2777 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2778 (Bug#13579)
2779
2780 * isearch.el (isearch-search-fun-default): Check for null
2781 first element of isearch-cmds as a precaution when it's used
2782 with inactive isearch.
2783
94fbc901 27842013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
f864e0ea
AN
2785
2786 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2787 error when buffer in question is narrowed so position 1 is out of
2788 visible part.
2789
94fbc901 27902013-02-02 Glenn Morris <rgm@gnu.org>
fb77fe0f
GM
2791
2792 * textmodes/remember.el (remember-clipboard): Doc fix.
2793
94fbc901 27942013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
c517ec69
SM
2795
2796 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2797 properties (bug#13179).
2798
98da8c0f
JL
27992013-02-02 Juri Linkov <juri@jurta.org>
2800
2801 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2802 instead of hard-coded default face `match'. (Bug#9438)
2803
7b6d5ecf
CS
28042012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2805
af314ba0
CS
2806 * vc/vc-arch.el (vc-arch-registered):
2807 * vc/vc-bzr.el (vc-bzr-registered):
2808 * vc/vc-cvs.el (vc-cvs-registered):
2809 * vc/vc-git.el (vc-git-registered):
2810 * vc/vc-hg.el (vc-hg-registered):
2811 * vc/vc-mtn.el (vc-mtn-registered):
2812 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2813 (Bug#13139)
2814
7b6d5ecf
CS
2815 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2816 prefix argument. (Bug#11656)
2817
686d9fb6
SM
28182013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2819
2820 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2821
48c828b9
GM
28222013-02-01 Glenn Morris <rgm@gnu.org>
2823
1f4f0f46
GM
2824 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2825 if the backend is known not to support it.
2826
48c828b9
GM
2827 * imenu.el (imenu-default-create-index-function):
2828 Tweak infinite loop test to check for forward motion as well as none.
2829
cd87ae10
AH
28302013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2831
2832 * net/soap-client.el (soap-invoke): Encode the string for
686d9fb6
SM
2833 `url-request-data' as UTF-8.
2834 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
cd87ae10 2835
86e100a6
GM
28362013-02-01 Glenn Morris <rgm@gnu.org>
2837
2838 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2839
0eb61895
GM
2840 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2841
61642d9a
MA
28422013-01-31 Michael Albinus <michael.albinus@gmx.de>
2843
2844 * net/tramp.el (tramp-tramp-file-p): Comment check for
2845 `string-as-unibyte'. The function does not exist on XEmacs, and
2846 likely we need another approach.
2847
2848 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2849 `tramp-gw-*' variables are bound.
2850
9dbda100
GM
28512013-01-31 Glenn Morris <rgm@gnu.org>
2852
2853 * files.el (basic-save-buffer-2): Choose coding system for
2854 writing the file before backing it up, to reduce delay between
2855 backing up and writing the new version. (Bug#13522)
2856
ad4de702
MN
28572013-01-31 Michal Nazarewicz <mina86@mina86.com>
2858
2859 * simple.el (cycle-spacing): New command.
2860 (just-one-space): Use it.
2861
9ca243c6
SM
28622013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2863
c4f268a1
SM
2864 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2865 (opascal-newline-always-indents): Remove custom.
2866 (opascal-tab, opascal-newline): Remove commands.
2867 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2868 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2869 (opascal-save-match-data): Remove, use save-match-data instead.
2870 (opascal-save-state): Use with-silent-modifications.
2871
9ca243c6
SM
2872 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2873 (bug#13585).
2874
64ced394
JL
28752013-01-30 Juri Linkov <juri@jurta.org>
2876
2877 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2878 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2879 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2880
c56d2269
SM
28812013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2882
2883 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2884 column if we're just deleting the backslashes.
2885 (makefile-fill-paragraph): Use eolp.
2886
382936d1
MA
28872013-01-30 Michael Albinus <michael.albinus@gmx.de>
2888
2889 * autorevert.el (auto-revert-use-notify): Fix docstring.
2890
dd331297
LL
28912013-01-30 Leo Liu <sdl.web@gmail.com>
2892
686d9fb6 2893 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
dd331297 2894
c491dd70
GM
28952013-01-30 Glenn Morris <rgm@gnu.org>
2896
2897 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2898 unread-command-events twice in some cases. This tries to implement
2899 the 2012-07-26 changes in a different way. (Bug#13560)
2900
6ff930c3
FEG
29012013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2902
2903 * progmodes/python.el
2904 (python-pdbtrack-comint-output-filter-function): Enhancements on
2905 stacktrace detection. (thanks @gnovak)
2906
1d4e7225
SM
29072013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2908
2909 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2910 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2911 Use defvar-local.
2912 (jit-lock-register): Use setq-local.
2913
7c3fb76f
JB
29142013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2915
2916 * calc-units.el (math-default-units-table): Remove initial value.
2917 (calc-convert-units): Treat expressions where all the units cancel as
2918 if they didn't have units.
2919
8bc8712e
MA
29202013-01-30 Michael Albinus <michael.albinus@gmx.de>
2921
2922 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2923 (tramp-completion-reread-directory-timeout): Fix type.
2924 (tramp-connection-min-time-diff): New defcustom.
2925
2926 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2927
1886a16d
GM
29282013-01-30 Glenn Morris <rgm@gnu.org>
2929
2930 * imenu.el (imenu-default-create-index-function):
2931 Put back a version of the infinite loop test removed 2013-01-23.
2932
3f82a88a 29332013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
e4497086 2934
1d4e7225
SM
2935 * progmodes/python.el (python-shell-parse-command):
2936 Find python-shell-interpreter with modified environment.
e4497086 2937
3f82a88a 29382013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
beb6d07d
SM
2939
2940 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2941
953e5b8c
AM
29422013-01-29 Alan Mackenzie <acm@muc.de>
2943
2944 Amend to fontify /regexp/s in actions correctly.
2945 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
1d4e7225 2946 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
953e5b8c
AM
2947 are no longer included.
2948 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2949 What used to be these variables without "-line" in the name.
686d9fb6 2950 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
953e5b8c
AM
2951 (c-awk-non-arith-op-bra-re): Now also matches {.
2952 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2953 "return", and "case".
2954 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2955 by /.
2956 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
686d9fb6 2957 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
953e5b8c 2958
1b69262a
MA
29592013-01-29 Michael Albinus <michael.albinus@gmx.de>
2960
1d4e7225
SM
2961 * autorevert.el (auto-revert-use-notify):
2962 Use `custom-initialize-default' for initialization. (Bug#13583)
2f52b560 2963
1b69262a
MA
2964 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2965
1d4e7225
SM
2966 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2967 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
1b69262a 2968 in `tramp-file-name-handler'.
ea55064c
MA
2969 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2970 compatibility.
2971 (tramp-compute-multi-hops): Check, whether
2972 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1b69262a 2973
b2dc4f52
SM
29742013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2975
2976 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2977 (bug#13297).
2978
499572e4
DG
29792013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2980
2981 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2982 checks made superfluous by the \_< operator.
a324b8c7
DG
2983 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2984 temporarily) broken indentation.
b2dc4f52
SM
2985 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2986 Highlight nested constants, too. \_< broke that.
499572e4
DG
2987
29882013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2989
2990 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2991 instead of "\\b".
2992
629cb6ec
MA
29932013-01-27 Michael Albinus <michael.albinus@gmx.de>
2994
2995 * autorevert.el (auto-revert-handler): Notifications which result
2996 from a saved file shall not be taken into account. (Bug#13557)
2997
cc17363f
AS
29982013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2999
3000 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3001 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3002 (lisp-mode): Pass t for it. (Bug#13556)
3003
b7aea0ff
AM
30042013-01-25 Alan Mackenzie <acm@muc.de>
3005
3006 AWK Mode: Fix indentation bug at top level. Bug #12274.
3007
3008 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3009 just before CASE 5D.
3010
1314a64c
DA
30112013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3012
3013 * net/socks.el (socks-nslookup-host): Use string-to-number.
3014
ef3544f6
MA
30152013-01-25 Michael Albinus <michael.albinus@gmx.de>
3016
3017 * autorevert.el (auto-revert-remote-files)
3018 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3019 (auto-revert-notify-enabled, auto-revert-use-notify)
3020 (auto-revert-notify-watch-descriptor-hash-list)
3021 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3022 (auto-revert-notify-event-descriptor)
3023 (auto-revert-notify-event-action)
3024 (auto-revert-notify-event-file-name): Doc fix.
3025 (global-auto-revert-mode): Reorder checks.
3026 (auto-revert-notify-rm-watch): Respect changed values of
3027 `auto-revert-notify-watch-descriptor-hash-list'.
3028 (auto-revert-notify-add-watch): Check for
3029 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3030 `inotify-add-watch'. Watch `default-directory' instead of
3031 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3032 has a changed meaning now. (Bug#13540)
3033 (auto-revert-notify-handler): Change implementation wrt events
3034 returning from a directory.
3035 (auto-revert-handler): Reorder implementation for checks of remote
3036 files.
3037 (auto-revert-buffers): Fix parentheses error.
3038
830e46e6 30392013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
345f866e
FEG
3040
3041 * progmodes/python.el: Enhancements to header documentation about
3042 skeletons. (Bug#5716)
3043
ddc62155
FEG
3044 * imenu.el (imenu-default-create-index-function): Remove useless
3045 infinite loop check. (Bug#13438)
3046
830e46e6 30472013-01-25 Alan Mackenzie <acm@muc.de>
267eacb5
AM
3048
3049 Fix a bug in the state cache mechanism. Refactor this a bit.
3050
3051 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3052 `cache-pos' element from the return value.
3053 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3054 buffer to enable proper searching from beyond HERE. Amend the
3055 test for detecting the sought brace pair. Amend the value written
3056 to the "brace desert cache" when the brace isn't found.
3057 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3058 and several other variables analogously.
3059 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3060 parameter to a locally calculated variable.
3061 (c-parse-state-1): Change the calling conventions to the two
3062 defuns involving `cache-pos'.
3063
830e46e6 30642013-01-25 Chong Yidong <cyd@gnu.org>
4d4ddaa7
CY
3065
3066 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3067
f4ad7ea1 30682013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3d4147ba
BG
3069
3070 * paren.el (show-paren-function): Make sure to set 'priority and
3071 'face only if the overlay does exist.
3072
e1ffa412
MA
30732013-01-24 Michael Albinus <michael.albinus@gmx.de>
3074
3075 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3076
3077 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3078 basic attributes.
3079 (tramp-sh-handle-set-file-acl): Improve error checking.
3080
5ad86e34
DA
30812013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3082
3083 * doc-view.el (doc-view-display): Force mode line update until all
3084 document is converted. Suggested by Stefan Monnier (Bug#13164).
3085
d6f9c03f
BG
30862013-01-23 Bastien Guerry <bzg@gnu.org>
3087
3088 * paren.el (show-paren-function): Make sure an overlay exists
3089 before trying to delete it. Also use `pos' as a position only
3090 when it is an integer.
3091
3544e11a
DA
30922013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3093
3094 * play/gametree.el (gametree-break-line-here): Use point-marker.
3095
19b50424
MA
30962013-01-22 Michael Albinus <michael.albinus@gmx.de>
3097
b2dc4f52
SM
3098 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3099 Mark descriptive parts with `display' property.
19b50424 3100
7fd5a843
AM
31012013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3102
3103 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3104 New variable to map standard dict names to hunspell ones.
3105 (ispell-set-spellchecker-params): Make sure specific dict names
3106 are used for standard dicts with hunspell.
3107
e6aff855
TH
31082013-01-21 Tassilo Horn <tsdh@gnu.org>
3109
3110 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3111 chars for note (%N) and url (%U).
3112 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3113
c84b0881
JL
31142013-01-21 Juri Linkov <juri@jurta.org>
3115
3116 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3117 in addition to existing separate binding `meta f10' in `global-map'.
3118 (Bug#13484)
3119
a36e2d26
MA
31202013-01-21 Michael Albinus <michael.albinus@gmx.de>
3121
3122 Improve XEmacs compatibility.
3123
3124 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3125
3126 * net/tramp-adb.el (top): Require `time-date'.
3127 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
b2dc4f52
SM
3128 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3129 Use `tramp-file-name-handler'.
3130 (tramp-adb-maybe-open-connection):
3131 Use `tramp-compat-set-process-query-on-exit-flag'.
a36e2d26 3132
b2dc4f52
SM
3133 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3134 Use `tramp-compat-funcall'.
a36e2d26
MA
3135
3136 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3137 `tramp-compat-funcall'.
3138
88c7dfa3
JH
31392013-01-21 Jürgen Hötzel <juergen@archlinux.org>
3140
3141 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3142 reimplementation using "adb shell command ..." instead of running
3143 remote shell interactively.
3144
15df6fa4
GM
31452013-01-20 Glenn Morris <rgm@gnu.org>
3146
a576cc76
GM
3147 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3148 Add native profiler menu entries.
3149
15df6fa4
GM
3150 * profiler.el (profiler-running-p): New function.
3151 (profiler-cpu-profile): Use profiler-running-p.
3152 (profiler-report-mode-map): Add some more menu entries.
3153
c4d1e0c3
GM
31542013-01-19 Glenn Morris <rgm@gnu.org>
3155
3156 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3157 fixes 2012-12-07 change. (Bug#13499)
3158
795e7a5b 31592013-01-19 Leo Liu <sdl.web@gmail.com>
2fc71e3c
LL
3160
3161 * dired.el (dired-get-marked-files): Prune erroneous values due to
3162 last change. (Bug#13152)
3163
795e7a5b 31642013-01-19 Glenn Morris <rgm@gnu.org>
19503d5a
GM
3165
3166 * progmodes/etags.el (tags-table-check-computed-list):
3167 Preserve point in tags buffer. (Bug#13412)
3168
f8a42ad6
GM
3169 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3170
20de6ab6
CW
31712013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3172 Chong Yidong <cyd@gnu.org>
3173
b2dc4f52
SM
3174 * image-mode.el (image-next-file, image-previous-file):
3175 New commands (Bug#8453).
20de6ab6
CW
3176 (image-mode-map): Bind them to n and p.
3177 (image-mode--images-in-directory): New helper function.
3178
2a43515a
CY
31792013-01-19 Chong Yidong <cyd@gnu.org>
3180
3181 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3182 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3183 save and restore the old window configuration.
3184
b1170947
LL
31852013-01-18 Leo Liu <sdl.web@gmail.com>
3186
3187 * progmodes/js.el: Tweak autoload cookie for alias.
3188
0eb87688
MA
31892013-01-17 Michael Albinus <michael.albinus@gmx.de>
3190
3191 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
3192 buffer local, again. This was lost with the fix on 2013-01-12.
3193
99d36ea8
JH
31942013-01-17 Jürgen Hötzel <juergen@archlinux.org>
3195
3196 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
3197 order to support several eshell buffers in parallel.
3198
68a08a32
MA
31992013-01-17 Michael Albinus <michael.albinus@gmx.de>
3200
3201 * autorevert.el (auto-revert-use-notify): In the :set function, do
3202 not modify `kill-buffer-hook'.
b2dc4f52
SM
3203 (auto-revert-notify-rm-watch):
3204 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
68a08a32
MA
3205 (auto-revert-notify-add-watch): Do not call
3206 `auto-revert-notify-rm-watch', but add it to a buffer local
3207 `kill-buffer-hook'.
3208
e59eee43
SM
32092013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3210
3211 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
3212 call to `eval' rather than a backquoted lambda.
3213
6e8cd0ae
SM
32142013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3215
cb9c0a53
SM
3216 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
3217 to return an explicit nil.
3218 (advice--remove-function): Change accordingly.
3219
3220 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
3221 the use of nadvice.el.
3222
6e8cd0ae
SM
3223 * progmodes/which-func.el (which-function): Silence imenu errors
3224 (bug#13433).
3225
4586ce8a
MM
32262013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3227
f4ad7ea1 3228 * progmodes/sql.el (sql-imenu-generic-expression):
4586ce8a
MM
3229 (sql-mode-font-lock-object-name): Match schema qualified names.
3230 (sql-connect): Use string keys.
3231 (sql-product-interactive): Wait for interpreter prompt.
3232 (sql-comint-oracle): Set process coding based on NLS_LANG.
3233
9d55215c
MM
32342013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3235
3236 * progmodes/sql.el (sql-output-to-send): Remove, unused.
6e8cd0ae
SM
3237 (sql-interactive-remove-continuation-prompt):
3238 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
9d55215c 3239
57dd9e68
LL
32402013-01-14 Leo Liu <sdl.web@gmail.com>
3241
3242 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
3243 (Bug#13420)
3244
51e73492
GM
32452013-01-14 Glenn Morris <rgm@gnu.org>
3246
3247 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3248 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
3249
c0511b57 32502013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
50620051 3251
6e8cd0ae
SM
3252 * progmodes/python.el (python-nav-end-of-statement):
3253 Fix cornercase when handling multiline strings.
50620051 3254
4c0a6d4a
RS
32552013-01-13 Richard Stallman <rms@gnu.org>
3256
9f7e86ef
RS
3257 * mail/sendmail.el (mail-position-on-field): Add doc string.
3258
6e8cd0ae
SM
3259 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3260 Get current message boundaries and pass them to
4c0a6d4a
RS
3261 message-forward-make-body-mime. Minor style changes.
3262
ad33a799
EZ
32632013-01-13 Eli Zaretskii <eliz@gnu.org>
3264
3265 * cus-start.el (all): Avoid warnings about
6e8cd0ae 3266 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
ad33a799 3267
616763d5
JD
32682013-01-11 Jan Djärv <jan.h.d@swipnet.se>
3269
3270 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
3271
e5b5a34d
SM
32722013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3273
3274 * jit-lock.el (jit-lock-debug-mode): New minor mode.
3275 (jit-lock--debug-fontifying): New var.
3276 (jit-lock--debug-fontify): New function.
3277 * subr.el (condition-case-unless-debug): Don't prevent catching the
3278 error, just let the debbugger run.
3279 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
3280 timer code and don't drop errors silently.
3281
2daddd9e
MA
32822013-01-12 Michael Albinus <michael.albinus@gmx.de>
3283
3284 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
3285 `permanent-local' property.
71c661e4 3286 (auto-revert-notify-handler): Use `file-equal-p'.
2daddd9e 3287
86fbb162
EZ
32882013-01-12 Eli Zaretskii <eliz@gnu.org>
3289
3290 * autorevert.el (auto-revert-notify-handler): Fix filtering of
3291 file notification by ACTION. For filtering by file name, compare
3292 only the non-directory part of the file name.
3293
a0784609
SM
32942013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3295
96c421bb
SM
3296 * autorevert.el: Use cl-lib instead of cl.
3297
a0784609
SM
3298 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
3299 (vc-bzr-checkin): Use it.
3300 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
3301 will preserve match-data.
3302
f90ff906 33032013-01-11 Felix H. Dahlke <fhd@ubercode.de>
9fc9a531 3304
f90ff906
FD
3305 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
3306 (js--declaration-keyword-re): New var.
3307 (js--multi-line-declaration-indentation): New function.
3308 (js--proper-indentation): Use it.
9fc9a531 3309
f90ff906 33102013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
9fc9a531 3311
f90ff906
FD
3312 * calc/calc.el (calc-highlight-selections-with-faces)
3313 (calc-dispatch):
3314 * comint.el (comint-history-isearch-message):
3315 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
9fc9a531
AH
3316 * ffap.el (ffap-string-at-point-region, ffap-next)
3317 (ffap-string-at-point, ffap-string-around)
3318 (ffap-copy-string-as-kill, ffap-highlight-overlay)
f90ff906 3319 (ffap-literally):
9fc9a531 3320 * font-lock.el (font-lock-keywords-alist)
f90ff906
FD
3321 (font-lock-removed-keywords-alist):
3322 * help-mode.el (help-xref-symbol-regexp):
3323 * info.el (Info-find-emacs-command-nodes):
3324 * international/mule.el (add-to-coding-system-list):
3325 * isearch.el (isearch-message-function, isearch-fail-pos):
3326 * misearch.el (multi-isearch-next-buffer-function):
3327 * newcomment.el (comment-box):
9fc9a531 3328 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
f90ff906 3329 (pr-setting-database):
9fc9a531
AH
3330 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
3331 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
3332 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
f90ff906
FD
3333 (pike-font-lock-keywords-3):
3334 * progmodes/compile.el (compile):
9fc9a531 3335 * progmodes/etags.el (tags-table-files)
f90ff906 3336 (tags-table-files-function, tags-included-tables-function):
9fc9a531 3337 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
f90ff906 3338 (gdb-restore-windows):
9fc9a531 3339 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
f90ff906
FD
3340 (ps-n-up-filling-database):
3341 * server.el (server-buffer, server-log):
9fc9a531
AH
3342 * simple.el (newline, delete-backward-char, delete-forward-char)
3343 (minibuffer-history-isearch-message, kill-line, track-eol)
f90ff906 3344 (temporary-goal-column):
9fc9a531 3345 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
f90ff906
FD
3346 (flyspell-default-deplacement-commands):
3347 * textmodes/ispell.el (ispell-accept-output):
3348 * textmodes/sgml-mode.el (html-tag-help):
9fc9a531 3349 * vc/compare-w.el (compare-ignore-whitespace)
f90ff906
FD
3350 (compare-ignore-case, compare-windows-dehighlight):
3351 * vc/diff.el (diff):
9fc9a531
AH
3352 * whitespace.el (whitespace-point)
3353 (whitespace-font-lock-refontify, whitespace-bob-marker)
f90ff906 3354 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
9fc9a531 3355
65adfa20
MA
33562013-01-11 Michael Albinus <michael.albinus@gmx.de>
3357
3358 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
3359 (auto-revert-notify-rm-watch): Ignore errors.
3360 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
f90ff906
FD
3361 inotify, and '(size last-write-time) for w32notify.
3362 Set buffer-local `auto-revert-use-notify' to nil when adding a file
65adfa20
MA
3363 watch fails - this is a fallback to the file modification check.
3364 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
3365 (auto-revert-notify-event-action)
3366 (auto-revert-notify-event-file-name): New defuns.
3367 (auto-revert-notify-handler): Use them. Implement first
3368 plausibility checks.
3369 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
3370
43b2e2e7
JD
33712013-01-11 Julien Danjou <julien@danjou.info>
3372
3373 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
3374 max are almost equal. Also return the correct value for V which is
3375 already between 0 and 1.
3376
30818a23
DA
33772013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
3378
3379 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
3380
10e714d5
EZ
33812013-01-11 Eli Zaretskii <eliz@gnu.org>
3382
3383 * autorevert.el (auto-revert-notify-rm-watch)
3384 (auto-revert-notify-add-watch): Fix typos in w32notify function
3385 names.
3386
a778dd57
MA
33872013-01-10 Michael Albinus <michael.albinus@gmx.de>
3388
3389 * autorevert.el (auto-revert-notify-enabled): Move up.
3390 (auto-revert-use-notify): New defcustom.
3391 (auto-revert-mode, global-auto-revert-mode)
3392 (auto-revert-notify-add-watch, auto-revert-handler)
3393 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
3394 `auto-revert-notify-enabled'.
3395
72781fef
EP
33962013-01-10 Elias Pipping <pipping@exherbo.org>
3397
3398 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
3399 * doc-view.el (doc-view-document->bitmap):
3400 Use doc-view-single-page-converter-function instead of
3401 single-page-converter arg; adjust callers.
3402
e6ed8f08
FL
34032013-01-10 Feng Li <fengli@gmail.com> (tiny change)
3404
3405 * progmodes/which-func.el (which-function): Understand Semantic's use
3406 of overlays in imenu--index-alist.
3407
327a6cca
WJ
34082013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
3409
3410 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
3411 (Man-man-k-use-anchor): New var.
3412 (Man-parse-man-k): New function.
3413 (Man-completion-table): Use it.
3414 (man): Flush the completion cache between uses.
3415
ed911257
MA
34162013-01-10 Michael Albinus <michael.albinus@gmx.de>
3417
3418 * autorevert.el: Add file watch support.
3419 (auto-revert-notify-enabled): New defconst.
3420 (auto-revert-notify-watch-descriptor-hash-list)
3421 (auto-revert-notify-watch-descriptor)
3422 (auto-revert-notify-modified-p): New defvars.
3423 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3424 (auto-revert-notify-handler): New defuns.
3425 (auto-revert-mode, global-auto-revert-mode): Remove file watches
3426 when mode is disabled.
3427 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3428 (auto-revert-buffers): Add file watches for active buffers.
3429
58cc0a01
DA
34302013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
3431
3432 * cus-start.el (toplevel): Only allow float values for
3433 scroll-up-aggressively and scroll-down-aggressively.
3434 Allow any number for line-spacing.
3435
bbc7ff25
SM
34362013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3437
3438 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3439 (doc-view-pdf->png-converter-function): Use mupdf if available.
3440 (doc-view-djvu->png-converter-function)
3441 (doc-view-ps->png-converter-function): Remove.
3442 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3443 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3444 (doc-view-already-converted-p): Adjust accordingly.
3445 (doc-view-mode-p): Simplify.
3446 (doc-view-enlarge): Use setq-local.
3447 (doc-view-pdf->png-converter-ghostscript)
3448 (doc-view-djvu->png-converter-ddjvu)
3449 (doc-view-pdf->png-converter-mupdf): Rework to call
3450 doc-view-start-process directly.
3451 (doc-view-pdf/ps->png): Simplify accordingly.
3452 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3453 (doc-view-document->bitmap): Rename from doc-view-document->png.
3454 (doc-view-convert-current-doc): Merge pdf and djvu cases.
3455 (doc-view-set-slice-from-bounding-box): Fix completion table.
3456 (doc-view-mode): Use add-hook for after-revert-hook.
3457
3c855b96
GM
34582013-01-10 Glenn Morris <rgm@gnu.org>
3459
3460 * emacs-lisp/authors.el (authors-ignored-files)
3461 (authors-valid-file-names, authors-renamed-files-alist):
3462 Add some more entries.
3463
3f9549e8 34642013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
08ce64e6
SM
3465
3466 * image-mode.el (image-mode-winprops): Don't throw away the fallback
3467 `t' pseudo-window entry.
3468
3f9549e8 34692013-01-10 Alan Mackenzie <acm@muc.de>
8cff5feb
AM
3470
3471 Fix bugs in the c-parse-state mechanism. Reuse some markers
3472 instead of continually generating new ones.
3473
3474 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3475 (c-state-old-cpp-end-marker): New variables.
3476 (c-append-lower-brace-pair-to-state-cache): Start a backward
3477 search for "}" definitively outside CPP constructs.
3478 (c-remove-stale-state-cache): Inform the caller of a need to
3479 search back for a brace pair in certain circumstances.
3480 (c-state-maybe-marker): New macro.
3481 (c-parse-state): Reuse markers when appropriate.
3482
3f9549e8 34832013-01-10 Glenn Morris <rgm@gnu.org>
89c0dda8
GM
3484
3485 * simple.el (execute-extended-command): Doc fix.
3486 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
3487
3f9549e8 34882013-01-10 Chong Yidong <cyd@gnu.org>
5b64ccd7
CY
3489
3490 * faces.el (read-face-name): Doc fix.
3491
b14abca9
RW
34922013-01-10 Roland Winkler <winkler@gnu.org>
3493
3494 * emacs-lisp/crm.el: Allow any regexp for separators.
3495 (crm-default-separator): All spaces around the default comma separator.
3496 (crm--completion-command): New macro.
3497 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3498 (crm-complete-and-exit): Handle non-single-char separators.
3499
2b541f9a
EP
35002013-01-09 Elias Pipping <pipping@lavabit.com>
3501
3502 * doc-view.el: Add support for DjVu (bug#13164).
3503 (doc-view-djvu->png-converter-function): New config var.
3504 (doc-view-single-page-converter-function, doc-view--image-type)
3505 (doc-view--image-file-extension): New vars.
3506 (doc-view-mode): Initialize them.
3507 (doc-view-goto-page): Use them.
3508 (doc-view-mode-p): Add support for ddjvu.
3509 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3510 (doc-view-set-up-single-converter): New funs.
3511 (doc-view-pdf/ps->png): Extend for djvu.
3512 (doc-view-document->png): Rename from doc-view-pdf->png.
3513 (doc-view-convert-current-doc): Handle djvu.
3514 (doc-view-insert-image, doc-view-display)
3515 (doc-view-already-converted-p): Don't hardcode png.
3516 (doc-view-set-doc-type): Recognize djvu docs.
3517
85f17e35
EP
35182013-01-09 Elias Pipping <pipping@lavabit.com>
3519
3520 * doc-view.el: Add support for mupdf converter (bug#13164).
3521 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3522 (doc-view-ps->png-converter-function): New config vars.
3523 (doc-view-pdf->png-converter-ghostscript)
3524 (doc-view-ps->png-converter-ghostscript)
3525 (doc-view-pdf->png-converter-mupdf): New functions.
3526 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3527
ccd04887
MA
35282013-01-09 Jürgen Hötzel <juergen@archlinux.org>
3529
3530 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3531 first in session cache: When `tramp-own-remote-path' is in
3532 `tramp-remote-path', the remote path is only set in the session
3533 cache.
3534
c5ad92de
GM
35352013-01-09 Glenn Morris <rgm@gnu.org>
3536
fb9f7146
GM
3537 * emacs-lisp/trace.el (trace-function-foreground)
3538 (trace-function-background): Doc fix.
c5ad92de 3539
39a0786e
JL
35402013-01-09 Juri Linkov <juri@jurta.org>
3541
3542 * international/mule-cmds.el (read-char-by-name): Move let-binding
3543 of completion-ignore-case around completing-read to fix regression
3544 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3545 `string-match-p' using the nil value of `case-fold-search' and
3546 `completion-ignore-case' in `completion-pcm--all-completions'.
3547 (Bug#12615).
3548
fb9f7146 35492013-01-09 Glenn Morris <rgm@gnu.org>
06364e64
GM
3550
3551 * progmodes/compile.el (compilation-parse-errors):
3552 Fix typo. (Bug#13369)
3553
fb9f7146 35542013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
236a8f0c
VS
3555
3556 * comint.el (comint-send-input): Check size of buffer before
3557 waiting for process output, in case already accepted. (Bug#13290)
3558
677d5c92
PE
35592013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3560
3561 Spelling fixes.
3562 * net/tramp-adb.el (tramp-adb-get-toolbox):
3563 Fix misspelling of 'unknown'.
3564
073ca75b
JL
35652013-01-08 Juri Linkov <juri@jurta.org>
3566
3567 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3568 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3569 Use underline style wave on terminals that support it. (Bug#13000)
3570
a4648137
SM
35712013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3572
4bdc3526
SM
3573 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3574 the predicate returns nil.
3575
a4648137
SM
3576 * simple.el: Use lexical-binding.
3577 (primitive-undo): Use pcase.
3578 (minibuffer-history-isearch-push-state): Use a closure.
3579
3bace969
AH
35802013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3581
3582 * simple.el (primitive-undo): Move from undo.c.
3583
a731fc1b
SM
35842013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3585
1c851e98
SM
3586 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3587 (cvs-mode-remove-handled): Use it (bug#13380).
3588
a731fc1b
SM
3589 * emacs-lisp/nadvice.el (advice--tweak): New function.
3590 (advice--remove-function, advice--subst-main): Use it.
3591
3592 * emacs-lisp/advice.el: Update commentary.
3593
2a22c83b
MA
35942013-01-08 Michael Albinus <michael.albinus@gmx.de>
3595
a731fc1b
SM
3596 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3597 Remove spurious entry.
2a22c83b 3598
83c1803a
GM
35992013-01-08 Glenn Morris <rgm@gnu.org>
3600
3601 * net/tramp.el (tramp-default-host-alist): Add :version.
3602
8a2e287c
JL
36032013-01-08 Juri Linkov <juri@jurta.org>
3604
3605 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3606 single completion. (Bug#12456)
3607 (info--manual-names): Expand node completions into an explicit list
3608 before appending it to another list. Filter out internal buffers
3609 with the leading space in the buffer name. (Bug#10771)
3610
c6a22ce2
JL
36112013-01-08 Juri Linkov <juri@jurta.org>
3612
3613 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3614 that defaults to the Top node.
3615 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3616 the short format (FILENAME) goes to the Top node.
3617 (Info-build-node-completions): Rename arg `file' to `filename'.
3618 (Bug#13365)
3619
acfe10b7
BG
36202013-01-07 Bastien Guerry <bzg@gnu.org>
3621
a731fc1b
SM
3622 * menu-bar.el (menu-bar-search-documentation-menu):
3623 Use `apropos-user-option' and fix the help message.
acfe10b7
BG
3624
36252013-01-07 Bastien Guerry <bzg@gnu.org>
3626
3627 * apropos.el (apropos-do-all): Update docstring.
3628 (apropos-user-option-button): New face.
3629 (apropos-user-option): Rename from `apropos-variable' and update
3630 docstring.
3631 (apropos-variable): Rewrite, now show all variables by default.
3632 (apropos-print): Mention "User option" instead of "Variable" when
3633 printing doc for user options. (Bug#13276)
3634
62bcf670
JH
36352013-01-07 Jürgen Hötzel <juergen@archlinux.org>
3636
3637 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3638 Handle filename correctly, when parsing "source -> target" symlink
3639 output.
3640 (tramp-adb-handle-set-file-times): New defun.
3641
4986fa21
SM
36422013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3643
3644 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3645 advice list when the interactive-spec of ad-Advice-* changes.
3646
3bee311e
KY
36472013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3648
3649 * wid-edit.el (widget-default-get): Work for inlined elements.
3650 (Bug#12670)
3651
b49eebcc
MA
36522013-01-07 Michael Albinus <michael.albinus@gmx.de>
3653
3654 * net/tramp.el (tramp-default-host-alist): New defcustom.
3655 (tramp-find-host): Use it.
4986fa21 3656 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
b49eebcc
MA
3657 `eshell-directory-change-hook'.
3658
3659 * net/tramp-adb.el (top): Add adb specific entry in
3660 `tramp-default-host-alist'.
3661 (tramp-adb-file-name-host): Remove function.
3662 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3663 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3664
3bee311e 3665 * net/tramp-sh.el: Move eshell integration code to tramp.el.
b49eebcc 3666
84f6744a
JH
36672013-01-06 Jürgen Hötzel <juergen@archlinux.org>
3668
3669 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3670
b6cfbcd0
MA
36712013-01-06 Michael Albinus <michael.albinus@gmx.de>
3672
3673 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
b49eebcc 3674 consist of more than one digit.
4986fa21
SM
3675 (tramp-adb-file-name-handler-alist):
3676 Use `tramp-handle-file-exists-p' consistently.
b6cfbcd0
MA
3677 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3678 (tramp-adb-handle-file-exists-p): Remove function.
3679 (tramp-adb-file-name-host): New defun.
3680 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3681 Use it.
3682 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3683
58ba7b1b
CY
36842013-01-06 Chong Yidong <cyd@gnu.org>
3685
3686 * vc/vc.el (vc-next-action): Detect buffer modifications
3687 conflicting with locking VCS operation (Bug#11490).
3688
3689 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3690
f4566fe9
MA
36912013-01-05 Michael Albinus <michael.albinus@gmx.de>
3692
3693 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3694 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3695
838cf298
MA
36962013-01-05 Jürgen Hötzel <juergen@archlinux.org>
3697
3698 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3699 parsing of ls output using regular expression (handle filenames
3700 with spaces). Use virtual device number.
3701 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3702 cleanup).
3703
1bd71e9f
DU
37042013-01-04 Daiki Ueno <ueno@gnu.org>
3705
3706 * epg.el: Silence byte-compiler warnings.
3707 (epg--start): Use delete-char instead of delete-backward-char.
3708 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3709
00cd4c1c
DU
37102013-01-04 Daiki Ueno <ueno@gnu.org>
3711
3712 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3713 Suggested by Eli Zaretskii <eliz@gnu.org>.
3714
f99ced35
MA
37152013-01-04 Michael Albinus <michael.albinus@gmx.de>
3716
3717 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3718 non-negative integers. Otherwise, the default values are used.
3719 (tramp-convert-file-attributes): Convert uid and gid to integers.
3720
0f668a4d 37212013-01-04 Glenn Morris <rgm@gnu.org>
ad235a8b 3722
d2be4dcc
GM
3723 * term.el (term-handle-colors-array): Ensure face attributes
3724 are fully specified, not nil. (Bug#13337)
3725
5b00b749
GM
3726 * term.el (term-default-fg-color, term-default-bg-color):
3727 Fix custom type.
3728
220740a3
GM
3729 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3730 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3731 rather than 'jka-compr being loaded. (Bug#13338)
3732
bdd9367d
WD
37332013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3734
3735 * icomplete.el (icomplete-completions):
3736 Honor icomplete-prospects-height once more following
3737 2012-11-29 changes. (Bug#13224)
3738
96dd18b1
SM
37392013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3740
c0bd248c
SM
3741 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3742 of called-interactively-p as well (bug#13237).
3743
4a74c818
SM
3744 * view.el (view--enable, view--disable): Rename from view-mode-enable
3745 and view-mode-disable and assume it's called from view-mode.
3746 (view-mode-enable, view-mode-disable): Redefine as obsolete
3747 compatibility layer above view-mode.
3748 (view-mode-enter): Call `view-mode'.
3749
3750 * files.el (after-find-file): Call `view-mode'.
3751
96dd18b1
SM
3752 * doc-view.el (doc-view-scale-internally): New var.
3753 (doc-view-enlarge, doc-view-insert-image): Obey it.
3754
c2cf1829
DU
37552013-01-03 Daiki Ueno <ueno@gnu.org>
3756
3757 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3758 exist. (Bug#13344)
3759
ad235a8b
GM
37602013-01-03 Glenn Morris <rgm@gnu.org>
3761
a8aa6c2d
GM
3762 * mail/rmail.el (rmail-set-header-1): Ignore case.
3763 Handle multi-line headers. (Bug#13330)
3764
a6d6c20b
GM
3765 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3766 Handle paragraph starting at beginning of buffer.
3767
ed5bdeb9
GM
3768 * subr.el (eval-after-load): Don't purecopy the form, so that it
3769 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3770
ad235a8b
GM
3771 * emacs-lisp/byte-run.el (defun): Place cl declarations
3772 after any interactive spec. (Bug#13265)
3773
9539d465 37742013-01-02 Andreas Schwab <schwab@linux-m68k.org>
5cebef2d
AS
3775
3776 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3777 defun. Don't check for DECL if DOCSTRING isn't a string.
3778 (defun): Likewise.
3779
9539d465 37802013-01-02 Glenn Morris <rgm@gnu.org>
4cddca30 3781
5ee1772e
GM
3782 * eshell/em-cmpl.el (eshell-pcomplete):
3783 More thoroughly imitate pcomplete. (Bug#13293)
3784
4cddca30
GM
3785 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3786 Return nil for empty path elements. (Bug#13296)
3787
9539d465 37882013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
6861432e
FEG
3789
3790 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3791 order to improve efficiency (Based on Daniel Colascione's
3792 <dancol@dancol.org> patch). (Bug#13182)
3793
9539d465 37942013-01-02 Glenn Morris <rgm@gnu.org>
b83a2ddd
GM
3795
3796 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3797
9539d465 37982013-01-02 Andreas Schwab <schwab@linux-m68k.org>
bdcad781
AS
3799
3800 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3801 neither DOCSTRING nor DECL was given. (Bug#13316)
3802
aca3d51d
MA
38032013-01-02 Michael Albinus <michael.albinus@gmx.de>
3804
3805 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3806 `error' call.
3807 (tramp-do-copy-or-rename-file): Ignore errors when calling
3808 `set-file-extended-attributes'.
3809
4986fa21
SM
3810 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3811 Add handler for `file-acl'.
aca3d51d
MA
3812 (tramp-smb-handle-file-acl): New defun.
3813
87e65f96
JB
38142013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3815
3816 * calc/README: Mention ISO 8601 week-numbering dates.
3817
0aac98ac
MR
38182013-01-01 Martin Rudalics <rudalics@gmx.at>
3819
3820 * view.el (view-mode-enable): New argument run-view-mode-hook.
3821 Run view-mode-hook only when it's non-nil (Bug#13315).
3822 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3823 argument t.
3824
1a82330c
JH
38252012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3826
3827 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3828 (No device connected, invalid device name). (Bug #13299)
3829
27fcfe31
MR
38302012-12-31 Martin Rudalics <rudalics@gmx.at>
3831
3832 * window.el (window-resizable--p): Rename to window-resizable-p.
3833 (window-resize-no-error): New function.
3834
3835 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3836 broken in fix from 2012-12-28.
3837
96c052a5
SM
38382012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3839
3840 * subr.el (special-form-p): Don't signal errors on undef aliases.
3841
fd1f1603
JB
38422012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3843
3844 * calc/calc-forms.el (math-parse-date): Try using
96c052a5
SM
3845 `math-parse-iso-date' when it looks like it might be needed.
3846 Allow times of 24:00.
f4ad7ea1 3847 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
fd1f1603
JB
3848 of 24:00.
3849
8db39aeb
GM
38502012-12-30 Glenn Morris <rgm@gnu.org>
3851
3852 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3853 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3854 (rmail-summary-displayed, rmail-summary): Declare.
3855 (mairix-rmail-display): Just require rmail.
3856
d5e5e7b4 38572012-12-30 Chong Yidong <cyd@gnu.org>
3c94d7a6
CY
3858
3859 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3860 check for the tarball contents.
3861
d5e5e7b4 38622012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
af39894a
MF
3863
3864 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3865 tarfile content listings (Bug#13136).
3866
d5e5e7b4 38672012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
bb709253 3868
96c052a5
SM
3869 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3870 Insert the undecoded text of the message being forwarded. (Bug#9521)
bb709253 3871
4f752957
MA
38722012-12-30 Michael Albinus <michael.albinus@gmx.de>
3873
3ee24a3b
MA
3874 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3875 integers, if they are real numbers. (Bug#13282)
3876
4f752957
MA
3877 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3878 Return `t' on success.
3879
96c052a5
SM
3880 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3881 Add handler for `set-file-selinux-context'.
4f752957 3882
eff2eb58
MA
38832012-12-29 Michael Albinus <michael.albinus@gmx.de>
3884
3885 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3886 (tramp-sh-handle-set-file-acl): Return `t' on success.
3887
ccad023b
EZ
38882012-12-29 Eli Zaretskii <eliz@gnu.org>
3889
96c052a5
SM
3890 * files.el (backup-buffer-copy, basic-save-buffer-2):
3891 If set-file-extended-attributes fails, fall back on set-file-modes
ccad023b 3892 instead of signaling an error. (Bug#13298)
7e56b103 3893 (basic-save-buffer): Likewise.
ccad023b 3894
ccb1c17e
FEG
38952012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3896
3897 * progmodes/python.el: Support other commands triggering
3898 python-indent-line so indentation cycling continues to work.
3899 (python-indent-trigger-commands): New defcustom.
3900 (python-indent-line): Use it.
3901
16768034
FEG
39022012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3903
3904 * progmodes/python.el (python-shell-send-region): Add blank lines
3905 for non sent code so backtraces remain correct.
3906
66164d2f
FEG
39072012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3908
3909 * progmodes/python.el: Remove cl dependency.
3910 (python-syntax-count-quotes): Replace incf call.
3911 (python-fill-string): Replace setf call.
3912
761231d1
DC
39132012-12-29 Damien Cassou <damien.cassou@gmail.com>
3914
43ebd12b 3915 * info.el (info-other-window): New arg, for consistency with info.
761231d1 3916
7c3e220a
MR
39172012-12-28 Martin Rudalics <rudalics@gmx.at>
3918
96c052a5
SM
3919 * mail/rmail.el (rmail-maybe-display-summary):
3920 Rewrite (Bug#13066).
7c3e220a 3921
361828b5
AS
39222012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3923
3924 * epg.el (epg--start): Modify process-environment locally.
3925
23bd348c
DU
39262012-12-28 Daiki Ueno <ueno@gnu.org>
3927
3928 * epg.el: Support pinentry-curses.
3929 Suggested by Werner Koch in
3930 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3931 (epg-agent-file, epg-agent-mtime): New variable.
3932 (epg--start): Record the modified time of gpg-agent socket file,
3933 to restore Emacs frame after pinentry-curses termination.
3934 (epg-wait-for-completion): Restore Emacs frame here.
3935
313f39aa
JL
39362012-12-27 Juri Linkov <juri@jurta.org>
3937
3938 * info.el (Info-file-completions): New variable.
3939 (Info-read-node-name-1): Complete node names in the Info file
3940 when a file name is given. Call `Info-build-node-completions'
3941 with a file name.
3942 (Info-build-node-completions): Add new arg `file'. When it is
3943 non-nil, visit it in a temporary buffer and cache its completions in
3944 `Info-current-file-completions'. Move most of the function body to
3945 `Info-build-node-completions-1'.
3946 (Info-build-node-completions-1): New function with the body from
3947 `Info-build-node-completions'. (Bug#12456)
3948
a45b7647
JL
39492012-12-27 Juri Linkov <juri@jurta.org>
3950
3951 * frame.el (frame-maximization-style): Remove user option.
3952 (cycle-frame-maximized): Remove function.
3953 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3954 (toggle-frame-fullscreen): New command bound to <f11> instead of
3955 `toggle-frame-maximized'.
3956 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3957
10ffd0be
MA
39582012-12-27 Michael Albinus <michael.albinus@gmx.de>
3959
3960 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3961
3962 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3963 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3964 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3965 for `file-accessible-directory-p'. (Bug#13275)
3966
fd146719
SS
39672012-12-27 Sam Steingold <sds@gnu.org>
3968
3969 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3970 continuations, see <http://stackoverflow.com/questions/3582436>.
3971
82e2a1f0 39722012-12-27 Dmitry Gutov <dgutov@yandex.ru>
db590ef6
DG
3973
3974 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
96c052a5
SM
3975 "module" and "def" to have indentation before them.
3976 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
db590ef6 3977
ea0857a1
DG
3978 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3979
82e2a1f0 39802012-12-27 Alan Mackenzie <acm@muc.de>
3f6b93cd
AM
3981
3982 Speed up fontification where there's large brace blocks.
3983 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3984 to a call of c-beginning-of-decl-1.
3985
c34339f3
VS
39862012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3987
3988 * comint.el (comint-adjust-window-point): New function.
96c052a5
SM
3989 (comint-postoutput-scroll-to-bottom):
3990 Call comint-adjust-window-point (Bug#13248).
c34339f3 3991
78269b95
DG
39922012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3993
3994 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3995 Rakefile regexp.
3996 (auto-mode-alist): Associate .gemspec files with ruby-mode
3997 (https://bugs.ruby-lang.org/issues/5453).
3998
bd8c13f9
JH
39992012-12-26 Jürgen Hötzel <juergen@archlinux.org>
4000
96c052a5
SM
4001 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4002 Suppress coloring, if possible (required for BusyBox based systems like
677d5c92 4003 CyanogenMod).
bd8c13f9
JH
4004 (tramp-adb-handle-file-attributes)
4005 (tramp-adb-handle-insert-directory)
4006 (tramp-adb-handle-file-name-all-completions): Use it.
4007 (tramp-adb-get-toolbox): New defun. Check for remote shell
4008 implementation (BusyBox or Toolbox).
4009
f4ad7ea1 40102012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
dc646358
CK
4011
4012 * startup.el (initial-buffer-choice): Allow function as value
4013 (Bug#13251).
4014 (command-line-1): Handle case where initial-buffer-choice
4015 specifies a function.
4016 * server.el (server-execute): Handle case where
4017 initial-buffer-choice specifies a function.
4018
e7d52a4d
LI
40192012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4020
4021 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4022 its own function.
4023 (smtpmail-try-auth-methods): Forget the user name/password if the
4024 login is unsuccessful (bug#12424).
4025
cdb07539
MA
40262012-12-22 Michael Albinus <michael.albinus@gmx.de>
4027
1ef5f225
MA
4028 * notifications.el (notifications-notify): Protect body with
4029 `with-demoted-errors'.
4030
96c052a5
SM
4031 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4032 Check properties of remote device. Restart connection, if there is a
cdb07539
MA
4033 change.
4034
594f37aa
CY
40352012-12-21 Chong Yidong <cyd@gnu.org>
4036
4037 * sort.el (sort-subr): Doc fix (Bug#13056).
4038
a4b0cca1 40392012-12-21 Bastien Guerry <bzg@gnu.org>
acc650b8 4040
acc650b8
BG
4041 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4042
0e9c7693
MA
40432012-12-21 Michael Albinus <michael.albinus@gmx.de>
4044
4045 * simple.el (process-file): Overwrite stderr file, if exists.
4046
c6609164
DU
40472012-12-21 Daiki Ueno <ueno@gnu.org>
4048
4049 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3eb05092 4050 (epg-error): Set `error-message' property.
c6609164 4051
aa26f345
CY
40522012-12-21 Chong Yidong <cyd@gnu.org>
4053
34b4b7eb
CY
4054 * international/mule-cmds.el (read-char-by-name): Signal an error
4055 if the user does not supply a valid character (Bug#13177).
4056
aa26f345
CY
4057 * simple.el (transpose-subr-1): Preserve marker positions by
4058 changing the insertion sequence (Bug#13122).
4059
05c22d87
KD
40602012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4061
4062 * simple.el (kill-region): Deactivate mark even for empty regions
4063 (Bug#13169).
4064
f5733f87
CY
40652012-12-21 Chong Yidong <cyd@gnu.org>
4066
4067 * help-fns.el (describe-variable): Make sure we get the right
4068 buffer name (Bug#13105). Suggested by Kelly Dean.
4069
fab6916d
MM
40702012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4071
4072 * comint.el (comint-redirect-previous-input-string): New variable.
4073 (comint-redirect-setup, comint-redirect-cleanup)
4074 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4075 (comint-redirect-preoutput-filter): Fix verbose message.
4076
91b982a0
MA
40772012-12-20 Michael Albinus <michael.albinus@gmx.de>
4078
4079 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4080 is too long for Tramp. See discussion in
4081 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4082
4083 * progmodes/compile.el (compilation-start): Remove line escape
4084 template.
4085
87523aed
DA
40862012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4087
4088 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4089 Adjust comment.
4090
ee3c0aec
JB
40912012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4092
4093 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4094 following non-comment text (bug#13207).
4095 (lm-header-multiline): Continuation lines need to be indented more than
4096 the first line.
4097 (lm-homepage): New function.
4098 (lm-with-file): Don't be confused if narrowing is in effect.
f4d79bd0 4099
4a74c818
SM
41002012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4101
f4d79bd0
SM
4102 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4103 very beginning of a hunk (e.g. killing the first line).
4104
3c532af6
MA
41052012-12-19 Michael Albinus <michael.albinus@gmx.de>
4106
4107 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4108 and text properties from returned ACL string.
4109 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4110 for "setfacl" command.
4111
e0d01ef3
MA
41122012-12-18 Michael Albinus <michael.albinus@gmx.de>
4113
4114 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4115 `tramp-cleanup-this-connection', when the process has died.
4116 (Bug#13151)
4117
2387610d
SM
41182012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4119
4120 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4121
19156242
KR
41222012-12-17 Kevin Ryde <user42@zip.com.au>
4123
4124 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4125
53b6a8b1
MA
41262012-12-17 Michael Albinus <michael.albinus@gmx.de>
4127
4128 Add support for preserving ACL entries of files.
4129
4130 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4131 `set-file-acl' handlers.
4132
19156242
KR
4133 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4134 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 4135
19156242
KR
4136 * net/tramp-compat.el (tramp-compat-copy-file):
4137 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 4138
19156242
KR
4139 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4140 Add `file-acl' and `set-file-acl' handlers.
4141 (tramp-gvfs-handle-copy-file):
4142 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4143 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4144 New defuns.
53b6a8b1 4145
19156242
KR
4146 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4147 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
4148 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4149 (tramp-sh-handle-set-file-acl): New defuns.
19156242
KR
4150 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4151 Handle PRESERVE-EXTENDED-ATTRIBUTES.
53b6a8b1 4152
19156242
KR
4153 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4154 Add `file-acl' and `set-file-acl' handlers.
53b6a8b1
MA
4155 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4156
f4ad7ea1 41572012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
6ae57a67
KD
4158
4159 * help-macro.el (make-help-screen): Instead of switch-to-buffer
19156242 4160 use pop-to-buffer with NORECORD argument t. As buffer name, use
6ae57a67
KD
4161 *Metahelp* with a leading space (Bug#13190).
4162
7c3d167f
RF
41632012-12-16 Romain Francoise <romain@orebokech.com>
4164
4165 * files.el (file-extended-attributes)
4166 (set-file-extended-attributes): New functions.
4167 (backup-buffer): Use them to handle both SELinux context and ACL
4168 entries.
4169 (backup-buffer-copy): Work with an alist of extended attributes,
4170 rather than an SELinux context.
4171 (basic-save-buffer-2): Ditto.
4172
19b748ad
TM
41732012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4174
4175 * battery.el (battery-bsd-apm): New function.
4176
70042c64
JB
41772012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4178
4179 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4180 standard date formats.
4181
279f9b06
JL
41822012-12-15 Juri Linkov <juri@jurta.org>
4183
4184 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4185 `isearch-insert-char-by-name'.
4186 (with-isearch-suspended): New defmacro with body mostly from
4187 `isearch-edit-string' except the part that sets
4188 `isearch-new-string' and `isearch-new-message'.
4189 (isearch-edit-string): Use new macro `with-isearch-suspended' with
4190 body that sets `isearch-new-string' and `isearch-new-message'.
4191 (isearch-insert-char-by-name): New command.
4192 * international/mule-cmds.el (read-char-by-name): Let-bind
4193 `enable-recursive-minibuffers' to t.
4194 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
4195
8370def5
JL
41962012-12-15 Juri Linkov <juri@jurta.org>
4197
4198 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4199 (Bug#13175)
4200
178fb95d
CS
42012012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
4202
4203 * dired-x.el (dired-guess-shell-command): Put colon at the end of
4204 the prompt. (Bug#13045)
4205
a5f74442
GM
42062012-12-14 Glenn Morris <rgm@gnu.org>
4207
4208 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
4209 Try to include filename in non-bytecomp warning. (Bug#13132)
4210
97976f9f
PE
42112012-12-14 Paul Eggert <eggert@cs.ucla.edu>
4212
4213 Fix permissions bugs with setgid directories etc. (Bug#13125)
4214 * files.el (backup-buffer): Don't rely on 9th output of
4215 file-attributes, as it's now a placeholder. Instead, use the new
4216 optional arg of file-ownership-preserved-p.
4217 (file-ownership-preserved-p): New optional arg GROUP.
4218 Fix mishandling of setuid directories that would cause this
4219 function to return t when it should have returned nil.
4220 Document what happens if the file does not exist, and when
4221 it's not known whether the ownership will be preserved.
4222 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
4223 Likewise.
4224 (tramp-get-local-gid): Use group-gid for integer, as that's
4225 faster and more reliable.
4226
016b2a42
JD
42272012-12-14 Julien Danjou <julien@danjou.info>
4228
19156242
KR
4229 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
4230 Update keywords list, data type and PL/pgSQL.
016b2a42 4231
665e5e07
DA
42322012-12-14 Dave Abrahams <dave@boostpro.com>
4233
4234 * vc/ediff-util.el (ediff-buffer-type): New function.
4235 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
4236 rather than taking it as as argument.
4237 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
4238
d72e9e92
RC
42392012-12-14 Ryan Crum <ryan.crum@eleostech.com>
4240
4241 * json.el: Add pretty-print option (bug#12634).
4242 (json-encoding-separator, json-encoding-default-indentation)
4243 (json--encoding-current-indentation, json-encoding-pretty-print)
4244 (json-encoding-lisp-style-closings): New vars.
4245 (json--with-indentation): New macro.
4246 (json-encode-hash-table, json-encode-alist, json-encode-plist)
4247 (json-encode-array): Use it to obey json-encoding-pretty-print.
4248 (json-pretty-print-buffer, json-pretty-print): New commands.
4249
dbb530d9
DG
42502012-12-14 Dmitry Gutov <dgutov@yandex.ru>
4251
4252 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4253 Extract `ruby-syntax-propertize-expansions'.
4254 (ruby-syntax-propertize-expansions): Only change syntax on
4255 certain string delimiters, to punctuation. This way the common
4256 functions like forward-word and thing-at-point still work.
4257 (ruby-match-expression-expansion): Improve readability.
bb808526
DG
4258 (ruby-block-contains-point): New function.
4259 (ruby-add-log-current-method): Handle several edge cases.
dbb530d9 4260
ce0440ff
JB
42612012-12-13 Juanma Barranquero <lekktu@gmail.com>
4262
4263 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
4264 unload-feature finishes even when aborting an ongoing edebug session.
4265 Also, do not worry about edebug-mode, unload-feature takes care of it.
4266
f10331bf
AS
42672012-12-13 Andreas Schwab <schwab@suse.de>
4268
4269 * net/tls.el (tls-program): Update customize type.
4270
5f3a3bb1
JB
42712012-12-13 Juanma Barranquero <lekktu@gmail.com>
4272
4273 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
4274 (edebug-setup-hook, cl-read-load-hooks): Use it.
4275 (edebug-unload-function): New function. (Bug#13163)
4276
6ce21463
MA
42772012-12-13 Michael Albinus <michael.albinus@gmx.de>
4278
4279 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
4280 Otherwise, there could be errors in autoloading. (Bug#13151)
4281
d754b364
JH
42822012-12-13 Jürgen Hötzel <juergen@archlinux.org>
4283
4284 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
4285 sequences.
4286
727f9739 42872012-12-13 Alan Mackenzie <acm@muc.de>
14b8c3d9
AM
4288
4289 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
4290 * progmodes/cc-engine.el (c-backward-comments): Add code to work
4291 around `forward-comment' not recognizing ^M as whitespace.
4292
727f9739 42932012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2c43a9ad
FEG
4294
4295 * progmodes/python.el (python-skeleton-class)
4296 (python-skeleton-def): Do not add space after defun name.
4297
eb8006c6
SM
42982012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4299
4300 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
4301 (cl--symbol-function): Remove (now that funbound is like nil).
4302
4c74b1e4
GM
43032012-12-12 Glenn Morris <rgm@gnu.org>
4304
4305 * button.el (button--area-button-p): Fix typo.
4306
37f38bca
SS
43072012-12-12 Sam Steingold <sds@gnu.org>
4308
4309 * frame.el (frame-maximization-style): New user option.
4310 (toggle-frame-maximized): Toggle frame maximization according to
4311 `frame-maximization-style', bound to <f11>.
4312 (cycle-frame-maximized): Cycle between all maximization styles and
4313 non-maximized frame, bound to shift-<f11>.
4314
fd49a218
DC
43152012-12-12 David Cadé <codename68@gmail.com>
4316
4317 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
4318
69e1c203
JB
43192012-12-12 Jonas Bernoulli <jonas@bernoul.li>
4320
4321 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
4322 (eieio-override-prin1): Don't quote kewords and booleans.
4323 (object-write) <eieio-default-superclass>: Don't put closing parens
4324 on new line, avoid needless empty lines, align values that are objects
4325 with the slot keyword (instead of beginning on the same line).
4326 (eieio-list-prin1): Align value with slot keyword; increase
4327 eieio-print-depth before printing members of the list.
4328
4b0df848
SM
43292012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4330
030f4af5
SM
4331 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
4332 a display text-property.
4333 (report-emacs-bug-hook): Don't bother deleting it any more.
4334
6ac1f8ca
SM
4335 * hilit-chg.el (highlight-save-buffer-state): Delete.
4336 Use with-silent-modifications instead.
4337 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
4338
4b0df848
SM
4339 * button.el: Handle buttons in display text-properties.
4340 (button--area-button-p, button--area-button-string):
4341 Use (STRING . STRING-POS) representation instead of just STRING.
4342
d46d2d3a
EZ
43432012-12-11 Eli Zaretskii <eliz@gnu.org>
4344
4345 * makefile.w32-in (compile4-SH): Fix a typo that caused term
4346 subdirectory be skipped.
4347
a0099d31
GM
43482012-12-11 Glenn Morris <rgm@gnu.org>
4349
36327e4f
GM
4350 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
4351
a0099d31
GM
4352 * progmodes/f90.el (f90-line-continued, f90-indent-region):
4353 Treat preprocessor lines embedded in continuations like comments.
4354 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
4355
ff3f6c26
JB
43562012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
4357
f4ad7ea1 4358 * calc/calc.el (calc-standard-date-formats): Add more date
ff3f6c26
JB
4359 formats.
4360 * calc/calc-forms.el (math-parse-iso-date): New function.
4361 (math-parse-date): Use `math-parse-iso-date' when appropriate.
4362 (math-parse-iso-date-validate): Add extra error checking.
4363 (calc-date-notation): Add ability to access new date formats.
4364
ed6f2cd4
SM
43652012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4366
4367 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
4368 font-lock as well as when there's no text-property.
4369
c868b919
J
43702012-12-10 Jambunathan K <kjambunathan@gmail.com>
4371
4372 * hi-lock.el: Refine the choice of default face.
4373 (hi-lock-keyword->face): New function. Use it wherever we used
4374 cadadadr instead.
4375 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
4376 (hi-lock--last-face): Remove var.
4377 (hi-lock--unused-faces): New var to replace it.
4378 (hi-lock-read-face-name): Use/maintain it.
4379 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
4380 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
4381 if it has another face.
4382
2b8c9064
EZ
43832012-12-10 Eli Zaretskii <eliz@gnu.org>
4384
4385 * subr.el (w32notify-handle-event): New function.
4386 (inotify-handle-event): Doc fix.
4387
81606b10
RS
43882012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4389
4390 * subr.el (inotify-event-p, inotify-handle-event): New functions.
4391
f4ad7ea1 43922012-12-10 Dani Moncayo <dmoncayo@gmail.com>
6ce49f24
DM
4393
4394 * simple.el (just-one-space): Doc fix.
4395
265c2fbf 43962012-12-10 Eli Zaretskii <eliz@gnu.org>
8d43bd30 4397
c868b919 4398 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
8d43bd30 4399
265c2fbf 44002012-12-10 Le Wang <l26wang@gmail.com>
3a21537c
LW
4401
4402 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
4403 narrowed buffer (bug#12361).
4404
265c2fbf 44052012-12-10 Juanma Barranquero <lekktu@gmail.com>
bf741d33
JB
4406
4407 * vc/vc-hooks.el (vc-state): Doc fix.
4408
265c2fbf 44092012-12-10 Glenn Morris <rgm@gnu.org>
07026166
GM
4410
4411 * mail/rmail.el (rmail-maybe-display-summary):
4412 Preserve buffer, in case select-window changes it. (Bug#13066)
4413
265c2fbf 44142012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
82e1f390
SM
4415
4416 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
4417 cl-load-hook where they belong.
4418
bad162fd
SM
44192012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4420
4421 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
4422
ca065258
EZ
44232012-12-09 Eli Zaretskii <eliz@gnu.org>
4424
4425 Parallelize byte compilation on MS-Windows.
4426 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
bad162fd 4427 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
ca065258
EZ
4428 (WINS_BASIC): Define as concatenation of the above.
4429 (compile): Subdivide into 4 separate and independent jobs that can
4430 be run in parallel.
4431 (compile0-CMD, compile0-SH): New targets for compiling
4432 COMPILE_FIRST files, which are prerequisites for the rest of the
4433 byte-compilation.
bad162fd
SM
4434 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4435 New targets for parallel compilation with cmd.exe.
ca065258
EZ
4436 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4437 compiling under a Unixy shell.
4438
5dea55d2
CY
44392012-12-09 Chong Yidong <cyd@gnu.org>
4440
4441 * simple.el (set-mark-default-inactive): Delete this
4442 accidentally-introduced option.
4443 (set-mark-command, exchange-point-and-mark): Remove calls.
4444
c6c08d3f
GM
44452012-12-09 Glenn Morris <rgm@gnu.org>
4446
4447 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4448 Respect a defcustom's :set function, if appropriate. (Bug#109)
4449 (eval-defun): Doc fix.
4450
858aab4c
JL
44512012-12-08 Juri Linkov <juri@jurta.org>
4452
4453 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4454 (Info-fontify-node, Info-bookmark-make-record): Remove the
4455 file extension from Info-current-file (Bug#13016).
4456
2e4ad7e5
SM
44572012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4458
4459 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4460 point, still provide some default.
4461 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4462 names, since we don't use it right now. Actually return the list.
4463 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4464
75498db0
CY
44652012-12-07 Chong Yidong <cyd@gnu.org>
4466
ffe7ba8f
CY
4467 * novice.el (disabled-command-function): Remove a spurious help
4468 xref (Bug#13043). Suggested by Kelly Dean.
4469
454eb095
CY
4470 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4471 syntax is specified (Bug#13025).
4472
75498db0
CY
4473 * info.el (Info-set-mode-line): Remove the file extension from
4474 Info-current-file if there is one (Bug#13016).
4475
13a40633
GM
44762012-12-07 Glenn Morris <rgm@gnu.org>
4477
54c8b5ba
GM
4478 * mail/rmail.el (rmail-mime-decoded): New permanent local.
4479 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4480 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4481 and rmail-mime-decoded. (Bug#9841)
4482
13a40633
GM
4483 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
4484 (batch-unrmail, unrmail): Doc fixes.
4485 (unrmail): Respect unrmail-mbox-format.
4486 * mail/rmail.el (rmail-mbox-format): New option.
4487 (rmail-show-message-1): Respect rmail-mbox-format.
4488
4611a3cc
SM
44892012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4490
4491 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4492
1812c724
SM
44932012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4494
338bfefa
SM
4495 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4496 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4497 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4498 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4499 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4500 (cl-progv): Don't rely on dynamic scoping to find the body.
4501 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4502 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4503 (cl-declaim): Use backquotes.
4504 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4505 Use "cl--" prefix for the object's tag.
4506
1812c724
SM
4507 * ses.el: Use advice-add/remove.
4508 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4509 (copy-region-as-kill, yank): Use advice-add.
4510 (ses-unload-function): Use advice-remove.
4511
24fc9480
JB
45122012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4513
4514 * button.el: Make them work in header-lines (bug#12817).
4515 (button-map): Add bindings for header-line and mode-line use.
4516 (button-get, button-put, button-label): `button' may now be a string.
4517 (button-activate): Don't make it a defsubst.
4518 (button--area-button-p, button--area-button-string): New functions.
4519 (make-text-button): Fix the return value when `beg' was a string.
4520 (push-button): Handle the mode-line case.
4521
853c1ffc
SM
45222012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4523
93852cb0
SM
4524 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4525 (sql-signum): Remove. Use `cl-signum' instead.
4526 (sql-read-passwd): Remove; use read-passwd instread.
4527 (sql-get-login-ext): Use read-string.
4528 (sql-get-login): Use dolist and pcase.
4529 (sql--completion-table): Rename from sql-try-completion.
4530 Use complete-with-action.
4531 (sql-mode): Don't change abbrev-all-caps globally.
4532 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4533 (sql-postgres-completion-object): Initialize vars in their `let'.
4534 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4535 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4536 (sql-comint-interbase): Use a single append, without setq.
4537 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4538
853c1ffc
SM
4539 * hi-lock.el: Rework the default face and the serialize regexp code.
4540 (hi-lock--auto-select-face-defaults): Remove.
4541 (hi-lock-string-serialize-serial): Remove.
4542 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4543 make weak.
4544 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4545 equal string.
4546 (hi-lock-set-pattern): Adjust accordingly.
4547 (hi-lock--regexps-at-point): Simplify accordingly.
4548 (hi-lock--auto-select-face-defaults): Remove.
4549 (hi-lock--last-face): New var to replace it.
4550 (hi-lock-read-face-name): Rewrite (bug#11095).
4551 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4552
5504e2c7
MA
45532012-12-06 Michael Albinus <michael.albinus@gmx.de>
4554
853c1ffc
SM
4555 * net/tramp.el (tramp-replace-environment-variables):
4556 Hide compiler warning.
5504e2c7
MA
4557 (tramp-file-name-for-operation): Remove `executable-find',
4558 `start-process', `call-process' and `call-process-region'.
4559
853c1ffc 4560 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5504e2c7
MA
4561
4562 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4563 compatibility.
4564
4565 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4566
e1d51545
CY
45672012-12-06 Chong Yidong <cyd@gnu.org>
4568
4569 * ffap.el (ffap-replace-file-component): Fix typo.
4570
d8ad4d3f 45712012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
ef54d315
SM
4572
4573 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4574 fix open-paren-like token test (bug#12785).
4575
d8ad4d3f 45762012-12-06 Glenn Morris <rgm@gnu.org>
52d129cd
GM
4577
4578 * mail/rmailsum.el (rmail-new-summary): Tweak for
4579 rmail-maybe-display-summary changing buffer. (Bug#13066)
4580
d8ad4d3f 45812012-12-06 Juri Linkov <juri@jurta.org>
68bf4e09
JL
4582
4583 * info.el (Info-fontify-node): Don't hide the last newline.
4584 (Bug#12272)
4585
9ad948e2
KY
45862012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4587
4588 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4589 so as to enable message-read-from-minibuffer to expand mail aliases.
4590
4b5c89ee
SM
45912012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4592
4593 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4594 the `intangible' property.
4595 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4596
5602a53a
DD
45972012-12-05 Deniz Dogan <deniz@dogan.se>
4598
4599 * net/rcirc.el (rcirc-urls): Update documentation.
4600 (rcirc-condition-filter): New function.
4601 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4602 and exclude consecutive duplicate URLs (Bug#6082).
4603
51b890ac
MA
46042012-12-05 Michael Albinus <michael.albinus@gmx.de>
4605
d5f97f62
MA
4606 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4607 Check return code of copy command.
4608
853c1ffc
SM
4609 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4610 Use group `tramp'. Add version.
51b890ac 4611
04b14f2b
CY
46122012-12-05 Chong Yidong <cyd@gnu.org>
4613
a3680194
CY
4614 * ffap.el (ffap-url-regexp): Don't require matching at front of
4615 string (Bug#4952).
4616 (ffap-url-p): If only a substring matches, return that.
4617 (ffap-url-at-point): Use the return value of ffap-url-p.
4618 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4619 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4620 (ffap-guess-file-name-at-point): Likewise.
4621 (ffap-replace-file-component): Fix typo.
4622
04b14f2b
CY
4623 * info.el (info-display-manual): Add existing Info buffers, whose
4624 files may not be in Info-directory-list, to the completion.
4625 (info--manual-names): New helper function.
4626
49596095
GM
46272012-12-05 Glenn Morris <rgm@gnu.org>
4628
4629 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4630 New functions, for detecting and resolving conflicts. (Bug#10709)
4631
b85aec93
J
46322012-12-04 Jambunathan K <kjambunathan@gmail.com>
4633
4634 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4635 (hi-lock-auto-select-face-defaults): New buffer local variable.
4636 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4637 (hi-lock-unface-buffer): Prompt user with useful defaults.
4638 With prefix arg, unhighlight all hi-lock patterns in buffer.
4639
8515507f
SM
46402012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4641
4642 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4643
72cebfb7
MA
46442012-12-04 Michael Albinus <michael.albinus@gmx.de>
4645
4646 * Makefile.in (TRAMP_SRC):
4647 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4648
0ec3f7ea
JH
46492012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4650
4651 * net/tramp-adb.el: New package.
4652
770de7cf
CY
46532012-12-04 Chong Yidong <cyd@gnu.org>
4654
ce3e7725
CY
4655 * terminal.el: Move to obsolete/.
4656
770de7cf
CY
4657 * longlines.el: Move to obsolete/.
4658
4659 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4660 Remove code referring to longlines mode.
4661
c38a186c
JL
46622012-12-03 Juri Linkov <juri@jurta.org>
4663
4664 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4665
329bfd64
AM
46662012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4667
4668 * textmodes/ispell.el (ispell-init-process)
475eea6f
AM
4669 (ispell-start-process, ispell-internal-change-dictionary):
4670 Make sure personal dictionary name is expanded after initial
4671 `default-directory' value. Use expanded strings for
4672 keep/restart checks and for value (Bug#13019).
329bfd64 4673
77a74935
JB
46742012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4675
4676 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4677
c5bc2d1d 46782012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
4679
4680 * files.el (dir-locals-read-from-file): Check file non-empty
4681 before reading. (Bug#13038)
4682
c5bc2d1d 46832012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
4684
4685 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4686 Remove any version extension before checking filename. (Bug#13006)
4687 (jka-compr-compression-info-list): Belated :version bump.
4688
c5bc2d1d 46892012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 4690
8ecba97d
CY
4691 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4692
a5bf43ba
CY
4693 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4694 (buffer-menu): Doc fix (Bug#12294).
4695
c5bc2d1d 46962012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
4697
4698 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4699 of diary-show-all-entries in the diary buffer (Bug#12994).
4700
c5bc2d1d 47012012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
4702
4703 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4704 "<STDIN>". This is binary safe.
4705
682ceaf8
JB
47062012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4707
4708 * calc/calc-forms.el (math-absolute-from-iso-dt)
4709 (math-date-to-iso-dt, math-parse-iso-date-validate)
4710 (math-iso-dt-to-date): New functions.
4711 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4712 (math-fd-isoweekday): New variables.
4713 (calc-date-notation, math-parse-standard-date, math-format-date)
4714 (math-format-date-part): Add support for more formatting codes.
4715
db47d5e9
DG
47162012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4717
4718 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4719 current buffer's file name when called interactively (Bug#12488).
4720
3faf4944
JL
47212012-12-02 Juri Linkov <juri@jurta.org>
4722
4723 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 4724 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 4725
cb5d51dc
YN
47262012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4727
4728 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4729 before using it for comparison (Bug#5297).
4730
f38cd76e
JA
47312012-12-01 Jari Aalto <jari.aalto@cante.net>
4732
4733 * textmodes/css-mode.el (css-current-defun-name): New function.
4734 (css-mode): Use it.
4735
4736 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4737 (html-mode): Use it.
4738
ba03d0d9
CY
47392012-12-01 Chong Yidong <cyd@gnu.org>
4740
4741 Modularize add-log-current-defun (Bug#2224).
4742 Suggested by Jari Aalto.
4743
4744 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4745 (add-log-current-defun): Move mode-specific code to other files.
4746 (add-log-lisp-like-modes, add-log-c-like-modes)
4747 (add-log-tex-like-modes): Variables deleted.
4748
4749 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4750 (lisp-mode-variables): Use it.
4751
4752 * progmodes/cc-mode.el (c-common-init):
4753 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4754 add-log-current-defun-function.
4755
4756 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4757 (m4-mode): Use it.
4758
4759 * progmodes/perl-mode.el (perl-current-defun-name): New.
4760 (perl-mode): Use it.
4761
853c1ffc
SM
4762 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4763 Use lisp-current-defun-name.
ba03d0d9
CY
4764
4765 * textmodes/tex-mode.el (tex-current-defun-name): New.
4766 (tex-common-initialization): Use it.
4767
4768 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4769 (texinfo-mode): Use it.
4770
92eadba5
CY
47712012-12-01 Chong Yidong <cyd@gnu.org>
4772
4773 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4774 * progmodes/autoconf.el (autoconf-mode):
4775 * progmodes/js.el (js-mode):
4776 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4777 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4778 * progmodes/perl-mode.el (perl-mode):
4779 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4780 * textmodes/css-mode.el (css-mode):
4781 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4782 (sgml-tags-invisible, sgml-guess-indent):
4783 * textmodes/tex-mode.el (tex-common-initialization)
4784 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4785 (doctex-mode, plain-tex-mode, latex-mode):
4786 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4787
3ddbf803
KK
47882012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4789
4790 * vc/vc-hg.el (vc-hg-next-revision):
4791 Ensure use of default "tip" output format. (Bug#6968)
4792
f0b6ae63
KS
47932012-12-01 Kim F. Storm <storm@cua.dk>
4794
4795 * startup.el (fancy-startup-tail): Add a clickable link
4796 (Bug#2176).
4797
c01bf73e
CY
47982012-12-01 Chong Yidong <cyd@gnu.org>
4799
4800 * startup.el (fancy-startup-tail): Improve the message about
4801 auto-save files (Bug#2176).
4802
f0b6ae63
KS
4803 * files.el (recover-session): Improve the descriptive message, and
4804 use substitute-command-keys.
4805
a9400458
GM
48062012-12-01 Glenn Morris <rgm@gnu.org>
4807
4808 * ido.el (ido-file-internal):
4809 Handle other-window, other-frame for dired. (Bug#13036)
4810
fb3bf6ce
GM
48112012-11-30 Glenn Morris <rgm@gnu.org>
4812
4813 * icomplete.el (icomplete-separator): Fix :version.
4814
a813fe3f
CY
48152012-11-30 Chong Yidong <cyd@gnu.org>
4816
4817 * shell.el (shell): For C-u M-x shell, use an inactive shell
4818 buffer as the default (Bug#1975).
276479fd
CY
4819 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4820 (shell-mode): Use them to reapply ansi colorization if Shell mode
4821 is re-enabled.
a813fe3f 4822
a8b733a5
CY
48232012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4824
4825 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4826
6fccd6e8
SB
48272012-11-30 Samuel Bronson <naesten@gmail.com>
4828
4829 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4830 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4831
53c9a337
TT
48322012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4833
4834 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4835 by move-to-column (Bug#3234).
4836
ccf520bb
CY
48372012-11-30 Chong Yidong <cyd@gnu.org>
4838
4839 * longlines.el (longlines-wrap-line, longlines-encode-region):
4840 Preserve text properties (Bug#1425).
4841
171b0949
OT
48422012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4843
4844 * vc/vc.el (vc-register): Allow registering a file which is
4845 already registered with a different backend (Bug#10589).
4846
cc37e70f
J
48472012-11-29 Jambunathan K <kjambunathan@gmail.com>
4848 Stefan Monnier <monnier@iro.umontreal.ca>
4849
4850 * icomplete.el: Change separator; add ido-style commands.
4851 (icomplete-show-key-bindings): Remove custom var.
4852 (icomplete-get-keys): Remove function.
4853 (icomplete-forward-completions, icomplete-backward-completions):
4854 New commands.
4855 (icomplete-minibuffer-map): New var.
4856 (icomplete-minibuffer-setup): Use it.
4857 (icomplete-exhibit): Don't delay if the list of completions is known.
4858 (icomplete-separator): New custom.
4859 (icomplete-completions): Use it.
4860 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4861 (minibuffer-force-complete-and-exit): New command.
4862 (minibuffer--complete-and-exit): New function extracted from
4863 minibuffer-complete-and-exit.
4864 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
4865
4866 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4867 error message when the file doesn't exist (bug#12974).
4868
31646597
KD
48692012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4870
4871 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4872
e9df8f87
GM
48732012-11-29 Glenn Morris <rgm@gnu.org>
4874
824eefe4
GM
4875 * files.el (hack-dir-local-variables): Warn if try to set
4876 coding via dir-locals, since it doesn't work. (Bug#7169)
4877
4ad900d9
GM
4878 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4879 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4880 Set buffer-local value of desktop-save-buffer.
4881 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4882 New functions.
4883 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4884 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4885
e9df8f87
GM
4886 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4887 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4888 Doc fix.
4889 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4890 Doc fixes.
4891
e7c8fcc4
JB
48922012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4893
4894 * calc/calc-forms.el (calc-date-notation): Fix regexp
4895 used to find time codes. Fix symbol for seconds.
4896
48d6d9c0
GM
48972012-11-27 Glenn Morris <rgm@gnu.org>
4898
4899 * emacs-lisp/derived.el (derived-mode-make-docstring):
4900 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4901
369f945d
SM
49022012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4903
4904 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4905 lexically scoped variables (bug#13005).
4906
5c9cf0a3 49072012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 4908
999e745e
GM
4909 * vc/vc-hooks.el (vc-mistrust-permissions):
4910 Default to t, to avoid data-loss. (Bug#11490)
98f99594 4911
5c9cf0a3 49122012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 4913
999e745e
GM
4914 * progmodes/python.el (python-indent-guess-indent-offset):
4915 If indentation is guessed make python-indent-offset buffer-local.
4916
207cb73c 4917 Fix Imenu regression.
999e745e
GM
4918 * progmodes/python.el (python-nav-beginning-of-defun):
4919 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
4920 (python-imenu-prev-index-position): New function.
4921
5c9cf0a3 49222012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
4923
4924 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4925
4926 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 4927 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 4928
5c9cf0a3 49292012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
4930
4931 * hippie-exp.el (hippie-expand-try-functions-list):
4932 Re-autoload it. (Bug#12982)
4933
5c9cf0a3 49342012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 4935
369f945d
SM
4936 * descr-text.el (describe-char-padded-string):
4937 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 4938
5c9cf0a3 49392012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
4940
4941 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4942 and obsoletion message.
4943
5c9cf0a3 49442012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
4945
4946 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4947 the constructs to keep outside of the `cl-block' (bug#12977).
4948
5c9cf0a3 49492012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
4950
4951 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4952 keep reading until we get the up-event anyway, in order to process
4953 the up-event for mouse-1-click-follows-link (Bug#12971).
4954
848a2dd1
SM
49552012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4956
4957 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4958 base function is not yet defined (bug#12965).
4959 (ad-activate-advised-definition): Use ad-compile-function.
4960 (ad-activate): Use cond.
4961
9ad79506
LL
49622012-11-25 Leo Liu <sdl.web@gmail.com>
4963
4964 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4965 (Bug#12979)
4966
e2cb57f5
VB
49672012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4968
4969 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4970 reftex-section-info-function in order to be compatible with
4971 Texinfo integration.
4972
4973 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
4974 (reftex-section-post-regexp, reftex-section-info-function):
4975 New variable.
4976 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4977 reftex-section-post-regexp, and reftex-section-info-function in order
4978 to be compatible with Texinfo integration.
4979
4980 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4981 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
4982 Texinfo integration.
4983
1c4f115d
CY
49842012-11-25 Chong Yidong <cyd@gnu.org>
4985
4986 * faces.el: Make face-spec-set more analogous to setq.
4987 (face-spec-set): Change the third arg to specify whether this
4988 function is being called via defface, customize, or a third party.
4989 Set the appropriate symbol properties. Clear the override spec if
4990 setting via Custom. Initialize face if necessary. (Bug#4988)
4991 (face-spec-recalc): Allow theme faces to completely replace the
4992 defface spec, in the same way as custom faces (Bug#8454).
4993
4994 * cus-face.el (custom-declare-face): Move face initialization to
4995 face-spec-set.
4996 (custom-theme-set-faces): Don't initialize the face name here, as
4997 that is now done in face-spec-set.
4998
4999 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5000 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5001 Simplify by using the new arg to face-spec-set.
5002
5003 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5004 reset face-override-spec too, and use custom-declare-face.
5005
c2350548
JD
50062012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5007
5008 * term/ns-win.el (ns-initialize-window-system): Move creation of
5009 fontsets here (Bug#11964).
5010
ecfc364c
VB
50112012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5012
5013 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5014 cell renaming.
5015
0917cc54
CY
50162012-11-24 Chong Yidong <cyd@gnu.org>
5017
433212bf
CY
5018 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5019 obsolete.
5020
0917cc54
CY
5021 * custom.el (custom-theme-set-variables): Use a topological sort
5022 for ordering by custom dependencies (Bug#12952).
5023 (custom--sort-vars, custom--sort-vars-1): New functions.
5024
d125ca15 50252012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
5026
5027 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5028 lexical-binding (bug#12938).
5029
d125ca15 50302012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
5031
5032 * image-mode.el (image-transform-check-size): Use assertions only
5033 for images of type imagemagick.
5034
5035 Otherwise no error, image-transform-fit-to-{width,height} is
5036 silently ignored, as before. Doc fix.
5037
d125ca15 50382012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
5039
5040 * faces.el (color-defined-p): Doc fix (Bug#12853).
5041
d125ca15 50422012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
5043
5044 * dired.el (dired-mark): Add optional arg `interactive'.
5045 Check for `use-region-p' if `interactive' is non-nil.
5046 (dired-unmark, dired-flag-file-deletion): Add optional arg
5047 `interactive'. Call `dired-mark' with the arg `interactive'.
5048 (Bug#10624)
5049
cc4c01bd
JL
5050 * wdired.el: Revert 2012-10-17 change partly and replace it with
5051 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5052 (wdired-finish-edit): Add marks for new file names to
5053 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5054 after `revert-buffer'.
5055 (wdired-do-renames): Remove calls to `dired-remove-file',
5056 `dired-add-file', `dired-add-entry'. (Bug#11795)
5057
d125ca15 50582012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 5059
dc310ed0
AM
5060 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5061
b03aabda
AM
5062 Fix bugs in the state cache. Enhance a debugging mechanism.
5063 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5064 "brace at column zero" strategy for C++.
5065 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5066 (c-parse-state-point): New variable.
5067 (c-record-parse-state-state): Record old parse state with
5068 `copy-tree'. Record previous value of point.
5069 (c-debug-parse-state-double-cons): New debugging function.
5070 (c-debug-parse-state): Call the above new function.
5071 (c-toggle-parse-state-debug): Output a confirmatory message.
5072
002c019c
SM
5073 * progmodes/cc-mode.el (c-before-change, c-after-change):
5074 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
5075 `c-after-change'.
5076
930a6273
CY
50772012-11-23 Chong Yidong <cyd@gnu.org>
5078
5079 * find-cmd.el (find-constituents): Add executable, ipath,
5080 readable, samefile, writable, daystart, regextype (Bug#12856).
5081
15c9d04e
SM
50822012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5083
5084 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5085
2ecb2679
PE
50862012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5087
5088 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5089 definition. This fixes a bootstrap failure.
a14a5a40
PE
5090 (calc-gregorian-switch): In menu, put dates before regions.
5091 This is easier to follow, lines up better in the menu, and lets us
5092 coalesce regions that switch at the same time. Give country
15c9d04e
SM
5093 names, not "Vatican", as that's better for non-expert users.
5094 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
5095 Bohemia and Moravia (which existed then and now) and not
5096 Czechoslovakia (which didn't exist then and doesn't exist now).
5097 What is now the U.S. mostly did not switch at the same time as
5098 Britain, so omit the U.S. Correct spelling of "Britain".
5099 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 5100
723da6aa
JB
51012012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5102
5103 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5104 after the variable is changed.
5105
21fa2482
DC
51062012-11-21 Daniel Colascione <dancol@dancol.org>
5107
5108 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
5109 in SQL declarations for font-lock.
5110 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 5111
3ca2f1bf
GM
51122012-11-21 Glenn Morris <rgm@gnu.org>
5113
1bf335cf
GM
5114 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5115 (face-italic-p): Add optional argument "inherit".
5116
3ca2f1bf
GM
5117 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5118 Remove -p suffix from names, for consistency with other set-face-*.
5119 (set-face-inverse-video): Fix interactive spec.
5120 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5121 * textmodes/table.el (table--update-cell-face):
5122 Use set-face-inverse-video rather than now obsolete alias.
5123
6ef2e5ef 51242012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
5125
5126 * simple.el (line-move): Don't call line-move-partial if
5127 scroll-conservatively is in effect. (Bug#12927)
5128
6ef2e5ef 51292012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 5130
93b05041
SM
5131 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5132 Fallback on completion-at-point rather than
5133 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5134 (eshell-cmpl-initialize): Setup completion-at-point.
5135
5136 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5137
bc715d67
SM
5138 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5139
6ef2e5ef 51402012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
5141
5142 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5143 are remote, check out-of-band property for both.
5144
6ef2e5ef 51452012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
5146
5147 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5148 code rewrite.
5149
6ef2e5ef 51502012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 5151
535efd4a
PE
5152 More minor time fixes.
5153 * calendar/time-date.el: Commentary fix.
5154 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5155 too much other code depends on (0 0) time stamps.
5156 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5157 Add a couple of FIXME comments.
5158
0c93aa38
PE
5159 Minor cleanup for times as lists of four integers.
5160 * files.el (dir-locals-directory-cache):
5161 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5162 Doc fixes.
5163 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5164 * ps-bdf.el (bdf-file-newer-than-time):
5165 Process four-integers time stamps, not two. Doc fixes.
5166
23ba2705
SM
51672012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5168
2e31777b
SM
5169 * uniquify.el (uniquify-managed): Use defvar-local.
5170 (rename-buffer, create-file-buffer): Advise with advice-add.
5171 (uniquify-unload-function): Unadvise accordingly.
5172
8b62d742
SM
5173 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5174 (trace-buffer): Don't purecopy.
5175 (trace-entry-message, trace-exit-message): Add `context' arg.
5176 (trace--timer): New var.
5177 (trace-make-advice): Adjust for use in nadvice.
5178 Add `context' argument. Delay `display-buffer' via a timer.
5179 (trace-function-internal): Use advice-add.
5180 (trace--read-args): New function.
5181 (trace-function-foreground, trace-function-background): Use it.
5182 (trace-function): Rename to trace-function-foreground and redefine as
5183 an alias to that new name.
5184 (untrace-function, untrace-all): Adjust to the use of nadvice.
5185
5d0ccd95
SM
5186 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5187
3837d988
SM
5188 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
5189
23ba2705
SM
5190 * subr.el (called-interactively-p-functions): New var.
5191 (internal--called-interactively-p--get-frame): New macro.
5192 (called-interactively-p, interactive-p): Rewrite in Lisp.
5193 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
5194 (called-interactively-p-functions): Use it.
5195 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
5196 (called-interactively-p-functions): Use it.
5197 * allout.el (allout-called-interactively-p): Don't assume
5198 called-interactively-p is a subr.
5199
b0636be7
GM
52002012-11-20 Glenn Morris <rgm@gnu.org>
5201
5202 * profiler.el (profiler-report-mode-map): Add a menu.
5203 No need to bind `q' because we derive from special-mode.
5204 (profiler-report-find-entry): Handle calls from the menu-bar.
5205
855b17af
SM
52062012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5207
14146222
SM
5208 * emacs-lisp/byte-run.el (defun-declarations-alist):
5209 Allow a compiler-macro to be a lambda expression.
5210
5211 * progmodes/python.el: Use cl-lib. Move var declarations outside of
5212 eval-when-compile.
5213 (python-syntax-context): Add compiler-macro.
5214 (python-font-lock-keywords): Simplify with De Morgan.
5215
1000d895
SM
5216 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
5217
ac5392dc
SM
5218 * files.el (load-file): Require match in minibuffer selection, as was
5219 the case in Emacs-20 before we changed the spec to allow .elc files
5220 (bug#12935).
5221
19dc7206
SM
5222 * json.el: Don't require cl since we don't use it.
5223 * color.el: Don't require cl.
5224 (color-complement): `caddr' -> `nth 2'.
5225
855b17af
SM
5226 * calendar/time-date.el (time-to-seconds): De-obsolete.
5227
e8909bdc
JB
52282012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
5229
f4ad7ea1 5230 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
e8909bdc
JB
5231 year numbers.
5232 (math-date-to-julian-dt): Adjust the initial approximation for the
5233 year to deal with the new definition of the DATE.
5234
6e9f7997
DC
52352012-11-19 Daniel Colascione <dancol@dancol.org>
5236
855b17af
SM
5237 * term/w32-win.el (cygwin-convert-path-from-windows):
5238 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 5239
6a3dd257
CY
52402012-11-18 Chong Yidong <cyd@gnu.org>
5241
5242 * filecache.el (file-cache--read-list): New function.
5243 (file-cache-add-directory-list, file-cache-add-file-list)
5244 (file-cache-delete-file-list, file-cache-delete-directory-list):
5245 Use it to read a list of files or directories (Bug#12846).
5246 (file-cache-add-file, file-cache-add-directory)
5247 (file-cache-delete-file-list, file-cache-delete-file-regexp)
5248 (file-cache-delete-directory): Print an message.
5249
eef97f35
JB
52502012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
5251
5252 * calc/calc-forms.el (math-date-to-dt): Use integer date when
5253 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
5254
913c8291
GM
52552012-11-18 Glenn Morris <rgm@gnu.org>
5256
5257 * image.el (insert-image, insert-sliced-image): Doc fix.
5258
2ac9538d 52592012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
5260
5261 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
5262 (Bug#12810).
5263
2ac9538d 52642012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
5265
5266 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
5267 response when the target file is in a subdirectory (Bug#12757).
5268
2ac9538d 52692012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
5270
5271 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
5272
2ac9538d 52732012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 5274
9a5e2ee3
GM
5275 * emacs-lisp/cl-lib.el (face-underline-p):
5276 Use set-face-underline rather than the alias set-face-underline-p.
5277
65463c40 5278 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
5279 * subr.el (with-output-to-temp-buffer):
5280 Add doc xref to with-temp-buffer-window.
65463c40 5281
c9ed8e3d
JB
52822012-11-18 Juanma Barranquero <lekktu@gmail.com>
5283
5284 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
5285 * calc/calc.el (math-format-date-cache): Declare.
5286
310e60d9
PE
52872012-11-17 Paul Eggert <eggert@cs.ucla.edu>
5288
6f6b82d6
PE
5289 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
5290 It also uses January 1, 1 AD as its day number 1.
310e60d9 5291 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 5292 (math-julian-date-beginning-int): Implement this.
310e60d9 5293
d7fe6352
JB
52942012-11-17 Juanma Barranquero <lekktu@gmail.com>
5295
5296 * descr-text.el (quail-find-key):
5297 * dired.el (desktop-file-name):
5298 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
5299 * generic-x.el (comint-mode, comint-exec):
5300 * image-dired.el (widget-forward):
5301 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
5302 (speedbar-change-expand-button-char)
5303 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
5304 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
5305 * printing.el (easy-menu-add-item, easy-menu-remove-item)
5306 (widget-field-action, widget-value-set):
5307 * speedbar.el (imenu--make-index-alist):
5308 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
5309 (ring-length, ring-insert):
5310 * vcursor.el (compare-windows-skip-whitespace):
5311 * woman.el (dired-get-filename):
5312 Declare functions.
5313
5314 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
5315
c9f618db
JB
53162012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5317
5318 * calc/calc.el (calc-gregorian-switch): New variable.
5319
5320 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
5321 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
5322 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
5323 (math-leap-year-p): Add option to distinguish between Julian
5324 and Gregorian calendars.
5325 (math-day-number): Use `math-day-in-year' to do the computations.
5326 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
5327 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
5328 to do the computations.
5329 (math-date-to-dt): Use `math-date-to-julian-dt' and
5330 `math-date-to-gregorian-dt' to do the computations.
5331 (calcFunc-weekday, math-format-date-part): Use the new version of
5332 the DATE to determine the weekday.
5333 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
5334 when necessary.
5335
3804f7bc
EZ
53362012-11-17 Eli Zaretskii <eliz@gnu.org>
5337
5338 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
5339 Cygwin; otherwise use 'file:'. (Bug#12914)
5340 (cygwin-convert-path-from-windows): Declare, to avoid
5341 byte-compiler warnings.
5342
de959d4d
AP
53432012-11-17 Andreas Politz <politza@fh-trier.de>
5344
5345 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
5346 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
5347 prefix and negative numeric prefix args (Bug#12795).
5348
e45deaef
SB
53492012-11-17 Stephen Berman <stephen.berman@gmx.net>
5350
5351 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
5352 Don't signal an error with a score that is too low to add to the
5353 list of top scores. (Bug#12779)
5354
ec15e0ff
CY
53552012-11-17 Chong Yidong <cyd@gnu.org>
5356
8e7696a1
CY
5357 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
5358
ec15e0ff
CY
5359 * filecache.el (file-cache-add-file): Handle relative file name in
5360 the argument (Bug#12694).
5361
60c4ee66
JH
53622012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
5363
5364 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
5365
cdc5d88c
SM
53662012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5367
dd0c5bbb
SM
5368 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
5369
cdc5d88c
SM
5370 * emacs-lisp/cl-lib.el: Set more meaningful version number.
5371
0ff7851c
MR
53722012-11-16 Martin Rudalics <rudalics@gmx.at>
5373
5374 * window.el (enlarge-window, shrink-window): Don't mention return
5375 value in doc-string (Bug#12896).
5376 (window--display-buffer): Don't resize frames - it won't work
5377 with all window managers and defeat pop-up-frame-alist.
5378 (display-buffer-alist): In doc-string explain that CONDITION can
5379 be a function and which arguments are passed to it (Bug#12854).
5380 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
5381 expressions (Bug#12854).
5382 (display-buffer): Pass ACTION argument to
5383 display-buffer-assq-regexp.
5384
dedd1884
GM
53852012-11-16 Glenn Morris <rgm@gnu.org>
5386
7c82753d
GM
5387 * window.el (fit-frame-to-buffer-bottom-margin)
5388 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
5389
dedd1884
GM
5390 * faces.el (face-underline-p): Use face-attribute-specified-or.
5391
96e05507 53922012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
5393
5394 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
5395
96e05507 53962012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
5397
5398 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
5399
96e05507 54002012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 5401
17c083ac
GM
5402 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
5403 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
5404
bde3c6c0
GM
5405 * faces.el (face-underline-p): Doc fix. Handle :underline being
5406 things other than `t' (a string, a list).
5407 (face-inverse-video-p): Doc fix.
5408 (set-face-underline): Rename it back from set-face-underline-p.
5409 Doc fix. Allow interactive input of values other than t.
5410 (read-face-attribute): Apply formatting to :underline,
5411 since like :box and :stipple it can take list values.
5412
e2e13f18
GM
5413 * term.el (ansi-term): Don't let C-x escape-char binding
5414 clobber the more standard C-c binding. (Bug#12842)
5415
e0ea8060
GM
5416 * subr.el (set-temporary-overlay-map): Doc fix.
5417
96e05507 54182012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
5419
5420 * window.el (record-window-buffer)
5421 (display-buffer-record-window): When copying the markers to
5422 window-point preserve window-point-insertion-type. (Bug#12588)
5423
96e05507 54242012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
5425
5426 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5427 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5428 Use new names for hooks rather than obsolete aliases.
5429
faeafc01
DC
54302012-11-15 Daniel Colascione <dancol@dancol.org>
5431
5432 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
5433 prefix instead of "file:" so that when FILE-NAME begins with "//",
5434 as it does when the target file is on a network share, url-handler
5435 isn't confused.
5436
1232d6c2
SM
54372012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5438
5439 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5440 a preactivated advice from an old advice.el; they're not compatible!
5441
47f01a8a
KY
54422012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
5443
5444 * emacs-lisp/nadvice.el (advice--make-interactive-form):
5445 Fix string-spec case.
5446
5447 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5448
a61428c4
SM
54492012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5450
5451 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5452 (advice--buffer-local-function-sample): New var.
5453 (advice--set-buffer-local, advice--buffer-local): New functions.
5454 (add-function, remove-function): Use them.
5455
875ce3a7
DA
54562012-11-15 Drew Adams <drew.adams@oracle.com>
5457
5458 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5459
589fc479
SM
54602012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5461
5462 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5463 potential binding of print-gensym to t, and prettify (back)quotes in
5464 case they appear in args's default values (bug#12884).
5465
1668ea90
SM
54662012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5467
5468 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5469 (advice-eval-interactive-spec): New function.
5470 (advice--make-interactive-form): Support around advice (bug#12844).
5471
8619323f
DG
54722012-11-14 Dmitry Gutov <dgutov@yandex.ru>
5473
5474 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5475 more strict. Add docstring.
c62792e7
DG
5476 (ruby-expression-expansion-re): Extract from
5477 `ruby-match-expression-expansion'.
5478 (ruby-syntax-propertize-function): After everything else, search
5479 for expansions in string literals, mark their insides as
5480 whitespace syntax and save match data for font-lock.
5481 (ruby-font-lock-keywords): Use the 2nd group from expression
5482 expansion matches.
5483 (ruby-match-expression-expansion): Use the match data saved to the
5484 text property in ruby-syntax-propertize-function.
8619323f 5485
9c3912d3
SM
54862012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5487
5488 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5489 (bug#12879).
5490
5e9419e8
DG
54912012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5492
5493 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5494 start/end keyword a bit harder. Works with different values of N.
5495 Add more comments.
5496 (ruby-end-of-block): Update accordingly.
5497
3c442f8b
SM
54982012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5499
fa470af0
SM
5500 * woman.el (woman-file-name): Don't mess with unread-command-events
5501 (bug#12861).
5502
3c442f8b
SM
5503 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5504 Remove out of date self-require hack.
5505 (ad-do-advised-functions): Use simple `dolist'.
5506 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5507 (ad-advice-definition): Redefine as functions.
5508 (ad-advice-classes): Move before first use.
5509 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 5510 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 5511 (ad--defalias-fset): Remove functions.
fa470af0 5512 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
5513 (ad-get-orig-definition): Rewrite.
5514 (ad-make-advised-definition-docstring): Change base docstring.
5515 (ad-real-orig-definition): Rewrite.
5516 (ad-map-arglists): Change name of called function.
5517 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5518 (ad-make-advised-definition): Simplify.
5519 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 5520 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
5521 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5522 function and call ad-activate if needed.
5523 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5524 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5525 (ad-compile-function): Compile ad-Advice-*.
5526 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5527 (ad-start-advice, ad-stop-advice): Remove.
5528
5745cae6
DG
55292012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5530
5531 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5532 period before class method names, not after. Remove handling of
5533 one impossible case. Add comments.
5534
413d4689
SM
55352012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5536
7db1bda8
SM
5537 * emacs-lisp/advice.el: Remove support for freezing.
5538 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5539 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5540 Remove support for `freeze'.
5541
413d4689
SM
5542 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5543 override the default.
5544 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5545 cl--dotimes/dolist.
5546 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5547 `cl' is loaded.
5548
5549 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5550 from add-advice.
5551 (advice--strip-macro): New function.
5552 (advice--defalias-fset): Use them to handle macros.
5553 (advice-add): Use them.
5554 (advice-member-p): Correctly handle macros.
5555
f178c32d
DG
55562012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5557
7db1bda8
SM
5558 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5559 Never font-lock the beginning of singleton class as heredoc.
f178c32d 5560
f78ee6af 55612012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
5562
5563 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5564
f78ee6af 55652012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
5566
5567 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
5568 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5569 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 5570
f78ee6af 55712012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
5572
5573 Fix end-of-defun misbehavior.
5574 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5575 python-beginning-of-defun-function. Handle nested defuns
5576 correctly.
5577 (python-nav-end-of-defun): Rename from
5578 python-end-of-defun-function. Ensure forward movement.
f8705f6e 5579 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
5580 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5581 parent defuns as soon as possible.
5582
f78ee6af 55832012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
5584
5585 * progmodes/flymake.el (flymake-error-bitmap)
5586 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5587 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5588
f78ee6af 55892012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
5590
5591 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5592 backward, always stop at indentation. Reverts the change from
5593 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5594
f78ee6af 55952012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 5596
a1d3e07e
GM
5597 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5598 Add ibuffer-filter-by-derived-mode.
5599
84acf328
GM
5600 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5601 the same name shadowing each other.
5602
38785e75
GM
5603 * window.el (with-temp-buffer-window): Doc tweak.
5604
57fc0fee
GM
5605 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5606
6ba6a3e5
GM
5607 * help.el (temp-buffer-max-height):
5608 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
5609 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5610
231d8498
SM
56112012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5612
5613 * emacs-lisp/nadvice.el: New package.
5614 * subr.el (special-form-p): New function.
5615 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5616 (elp-all-instrumented-list): Remove var.
5617 (elp-not-profilable): Remove elp-wrapper.
5618 (elp-profilable-p): Use autoloadp and special-form-p.
5619 (elp--advice-name): New const.
5620 (elp-instrument-function): Use advice-add.
5621 (elp--instrumented-p): New predicate.
5622 (elp-restore-function): Use advice-remove.
5623 (elp-restore-all, elp-reset-all): Use mapatoms.
5624 (elp-set-master): Use elp--instrumented-p.
5625 (elp--make-wrapper): Rename from elp-wrapper, return a function
5626 suitable for advice-add. Use cl-inf.
5627 (elp-results): Use mapatoms+elp--instrumented-p.
5628 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5629 (debug-function-list): Remove var.
5630 (debug): Rename arg, and then let-bind it explicitly inside.
5631 (debugger-setup-buffer): Rename arg.
5632 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5633 (debugger-frame-number): Adjust to new debug-on-entry setup.
5634 (debug--implement-debug-on-entry): Rename from
5635 implement-debug-on-entry, add argument.
5636 (debugger-special-form-p): Remove, use special-form-p instead.
5637 (debug-on-entry): Use advice-add.
5638 (debug--function-list): New function.
5639 (cancel-debug-on-entry): Use it, along with advice-remove.
5640 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5641 (debugger-list-functions): Use debug--function-list instead of
5642 debug-function-list.
5643 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5644 (ad-special-form-p): Remove, use special-form-p instead.
5645 (ad-set-advice-info): Use add-function and remove-function.
5646 (ad--defalias-fset): Adjust accordingly.
5647
19e09879
GM
56482012-11-10 Glenn Morris <rgm@gnu.org>
5649
714cebd1
GM
5650 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5651 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5652 (report-emacs-bug-create-existing-bugs-buffer)
5653 (report-emacs-bug-parse-query-results)
5654 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5655
bf67dafa
GM
5656 * term.el (term-default-fg-color, term-default-bg-color):
5657 Make obsolete, rather than just saying "deprecated" in the doc.
5658
19e09879
GM
5659 * term.el (term): Rename from `term-face'.
5660 (term-current-face, ansi-term-color-vector)
5661 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5662 Update all users.
5663
6baf66d5 56642012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
5665
5666 * server.el (server-create-window-system-frame): Handle Nextstep
5667 specially (Bug#12780).
5668
6baf66d5 56692012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
5670
5671 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5672 Unautoload, and make obsolete. (Bug#7449)
5673
6baf66d5 56742012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
5675
5676 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5677 rename from diff-remove-trailing-whitespace (Bug#12831).
5678
6baf66d5 56792012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
5680
5681 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5682 miscompilation of trace.el.
5683
6baf66d5 56842012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
5685
5686 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5687
6baf66d5 56882012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
5689
5690 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5691 (bug#12812).
5692
6baf66d5 56932012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
5694
5695 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5696 a defcustom with an appropriate :set function.
5697 (minibuffer-default--in-prompt-regexps): New function.
5698
6baf66d5 56992012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 5700
031b2ea7
GM
5701 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5702 (define-modify-macro): Doc fixes.
5703
2ee1d59f
GM
5704 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5705 (gv-define-simple-setter): Update doc of `fix-return'.
5706
6baf66d5 57072012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 5708
b715ed44
SM
5709 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5710 twice when `fix-return' is set (bug#12813).
5711
d57c286e
SM
5712 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5713 gv-define-simple-setter (bug#12812).
5714
c9cac599
SM
5715 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5716 (bug#12756).
5717
6baf66d5 57182012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
5719
5720 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5721
5593ed90
GM
5722 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5723 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5724 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5725 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5726
5727 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5728
05a859c1
LL
57292012-11-10 Leo Liu <sdl.web@gmail.com>
5730
5731 * ido.el (ido-set-matches-1): Improve flex matching performance by
5732 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5733
32e5c58c
SM
57342012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5735
5736 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5737 (ad--defalias-fset): New function.
5738 (ad-safe-fset): Remove.
5739 (ad-make-freeze-definition): Use cl-letf*.
5740
f5925cd9
SM
57412012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5742
da03ef8a
SM
5743 * subr.el (dolist): Don't bind VAR in RESULT.
5744
6858633a
SM
5745 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5746 (fset, documentation): Don't save real def since we don't advise.
5747 (ad-do-advised-functions): Remove problematic `result-form'.
5748 (ad-safe-fset): `ad-real-fset' => `fset'.
5749 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5750 uses CL's dolist internally.
5751 (ad-arglist): Remove unused arg `name'.
5752 (ad-docstring, ad-make-advised-docstring):
5753 `ad-real-documentation' => `documentation'.
5754 (warning-suppress-types): Declare.
5755 (ad-set-arguments): Simple CSE.
5756 (ad-recover-normality): Sanity check.
5757
f5925cd9
SM
5758 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5759 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5760
93a66b3a
VB
57612012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5762
5763 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
5764 `ses-cell'. This means that the same mapping is done for all SES
5765 sheets. That is good enough for cells with standard A1 names, but
5766 not for named cell. So a hash map is added for the latter.
5767 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
5768 (ses-sym-rowcol): Use hashmap for named cell.
5769 (ses-is-cell-sym-p): New defun.
5770 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
5771 (ses-create-cell-variable): Add cell to hashmap when name is not
5772 A1-like.
93a66b3a
VB
5773 (ses-rename-cell): Check that cell new name is not already in
5774 spreadsheet with the use of ses-is-cell-sym-p
5775 (ses-rename-cell): Use hash map for named cells, but accept also
5776 renaming back to A1-like.
5777
67dd8ad1
SM
57782012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5779
57618ecf
SM
5780 * emacs-lisp/advice.el: Use new dynamic docstrings.
5781 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5782 Use dynamic-docstring-function instead of ad-advice-info.
5783 (ad--make-advised-docstring): New function extracted from
5784 ad-make-advised-docstring.
5785 (ad-make-advised-docstring): Use it.
5786 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5787 from sql-help.
5788 (sql-help): Use it with dynamic-docstring-function.
5789
67dd8ad1
SM
5790 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5791
be883b34
SM
57922012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5793
d41706aa
SM
5794 * files.el (hack-one-local-variable--obsolete): New function.
5795 (hack-one-local-variable): Use it for obsolete settings.
5796
85e55412
SM
5797 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5798 the new name.
5799
be883b34
SM
5800 * progmodes/js.el (js--filling-paragraph): New var.
5801 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5802 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5803 less sneaky.
5804
cabc040a
JD
58052012-11-08 Julien Danjou <julien@danjou.info>
5806
5807 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5808 `auto-mode-alist' (Bug#12835).
5809
d14bb752
SM
58102012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5811
79b3e376
SM
5812 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5813 (perl--prettify-symbols-alist): New const.
5814 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5815 New functions.
5816 (perl-font-lock-keywords-2): Use them.
5817 (perl-electric-noindent-p): New function.
5818 (perl-mode): Use it to set up electric-indent-mode.
5819 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5820 (perl-mode-map): Remove bindings for them.
5821 (perl-imenu-generic-expression, perl-outline-level):
5822 Match functions&packages in column>0.
5823
3b11e6ac
SM
5824 * env.el (env--substitute-vars-regexp): New const.
5825 (substitute-env-vars): Use it. Add `only-defined' arg.
5826 * net/tramp.el (tramp-replace-environment-variables): Use it.
5827
784c1a7b
SM
5828 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5829 Byte-compile *before* eval in eval-and-compile.
5830 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5831 (byte-compile-file-form-autoload): Don't hide actual definition.
5832 (byte-compile-maybe-guarded): Accept `functionp' as well.
5833
d14bb752
SM
5834 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5835
499a0f7a
MA
58362012-11-07 Michael Albinus <michael.albinus@gmx.de>
5837
5838 * notifications.el (notifications-get-server-information-method):
5839 New defconst.
5840 (notifications-get-capabilities): Fix docstring.
5841 (notifications-get-server-information): New defun.
5842
f0704a9a
AM
58432012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5844
5845 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5846 readability.
5847
b159a1fd
AM
5848 * textmodes/ispell.el: Experimental support for support debugging.
5849 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5850 buffer for ispell.
5851 (ispell-print-if-debug): New function to print stuff to
5852 `ispell-debug-buffer' if debugging is enabled.
5853 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5854 show some debugging info.
5855 (ispell-buffer-with-debug): New function that creates a debugging
5856 buffer and calls `ispell-buffer' with debugging enabled.
5857
056cb3a1
AM
5858 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5859 comment in autoconf mode. (Bug#12768)
5860
8e6a67b7
DA
58612012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5862
5863 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5864 frame-first-window, frame-root-window, frame-selected-window,
5865 minibuffer-selected-window, minibuffer-window,
5866 window-absolute-pixel-edges, window-at, window-body-height,
5867 window-body-width, window-display-table, window-combination-limit,
5868 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5869 window-inside-edges, window-inside-pixel-edges, window-left-child,
5870 window-left-column, window-margins, window-next-buffers,
5871 window-next-sibling, window-new-normal, window-new-total,
5872 window-normal-size, window-parameter, window-parameters, window-parent,
5873 window-pixel-edges, window-point, window-prev-buffers,
5874 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5875 window-start, window-text-height, window-top-child, window-top-line,
5876 window-total-height, window-total-width and window-use-time to the list
5877 of functions without side-effects.
5878 (toplevel): Add window-valid-p to the list of error-free functions
5879 without side-effects.
5880
53fc914f
AM
58812012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5882
f5925cd9
SM
5883 * textmodes/ispell.el (ispell-program-name):
5884 Update spellchecker parameters when customized.
53fc914f 5885
9749e2b0
GM
58862012-11-04 Glenn Morris <rgm@gnu.org>
5887
5888 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5889
2cbafa56
CY
58902012-11-04 Chong Yidong <cyd@gnu.org>
5891
5892 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5893 same-window-* variables.
5894
85178ca1
JL
58952012-11-04 Juri Linkov <juri@jurta.org>
5896
5897 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5898 (isearch-describe-key, isearch-describe-mode): Use a display
5899 action instead of binding same-window-* variables (Bug#10040).
5900
5c677d44
GM
59012012-11-03 Glenn Morris <rgm@gnu.org>
5902
49138400
GM
5903 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5904 Rename handler properties back from cl-- to cl-. (Bug#12788)
5905
5c677d44
GM
5906 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5907
1d4341f9
EZ
59082012-11-03 Eli Zaretskii <eliz@gnu.org>
5909
5910 * term/pc-win.el: Don't load term/internal from here.
5911
5912 * loadup.el: Load term/internal from here.
5913
12fd5ee1
FEG
59142012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5915
5916 * progmodes/python.el (inferior-python-mode): Fix hang in
5917 jit-lock (Bug#12645).
5918
43bcfda6
MR
59192012-11-03 Martin Rudalics <rudalics@gmx.at>
5920
5921 * window.el (switch-to-visible-buffer)
5922 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5923
376a8e83
GM
59242012-11-03 Glenn Morris <rgm@gnu.org>
5925
5926 * emacs-lisp/cl-lib.el (cl--random-time):
5927 Rename from cl-random-time. (Bug#12773)
5928 (cl--gensym-counter, cl--random-state): Update callers.
5929 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5930
0f7b074f
CY
59312012-11-03 Chong Yidong <cyd@gnu.org>
5932
5933 * cus-start.el: Make cursor-type customizable (Bug#11633).
5934
3a6851d9
GM
59352012-11-02 Glenn Morris <rgm@gnu.org>
5936
00a3b041
GM
5937 * filecache.el: No need to load find-lisp when compiling.
5938 (find-lisp-find-files): Autoload it.
5939 (file-cache-add-directory-recursively): Don't require find-lisp.
5940
11fef14a
GM
5941 * image.el (image-type-from-file-name): Trivial simplification.
5942
3a6851d9
GM
5943 * emacs-lisp/bytecomp.el (byte-compile-eval):
5944 Decouple "noruntime" and "cl-functions" warnings.
5945
b4b096e4
SB
59462012-11-01 Stephen Berman <stephen.berman@gmx.net>
5947
5948 * play/gomoku.el (gomoku-display-statistics): Update mode line
5949 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5950
218e997a
MR
59512012-10-31 Martin Rudalics <rudalics@gmx.at>
5952
5953 * window.el (quit-restore-window): If the window has been
5954 created on an existing frame and ended up as the sole window on
5955 that frame, do not delete it (Bug#12764).
5956
b08b6da7
SM
59572012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5958
3618df45
SM
5959 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5960 Rename from sh--inside-arithmetic-expression, handle more cases
5961 (bug#11263).
5962
b08b6da7
SM
5963 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5964 (sh-font-lock-open-heredoc): Use it (bug#12770).
5965
4ddedf94
GM
59662012-10-30 Glenn Morris <rgm@gnu.org>
5967
f43a5263
GM
5968 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5969
4ddedf94
GM
5970 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5971
748b0d84
CY
59722012-10-29 Chong Yidong <cyd@gnu.org>
5973
b5dd9a77
CY
5974 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5975 function key is stored in a keyboard macro (Bug#4894).
5976
748b0d84
CY
5977 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5978
e07fcbdc
SM
59792012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5980
d7f9cc85
SM
5981 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5982 header comments".
5983 (diff-unified->context, diff-context->unified)
5984 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5985
c606253c
SM
5986 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5987
e07fcbdc
SM
5988 * files.el (find-alternate-file): Only ask one question (bug#12487).
5989
894b9dd9
CY
59902012-10-29 Chong Yidong <cyd@gnu.org>
5991
1dc2755a
CY
5992 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5993 Suggested by Dan Nicolaescu (Bug#6326).
5994
329c48d8
CY
5995 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5996
2230fa5b 5997 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 5998
e84cad57
CY
5999 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6000
1913c5f5
CY
6001 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6002
894b9dd9
CY
6003 * face-remap.el (face-remap-add-relative): Handle the case where a
6004 face-remapping-alist entry is a cons cell (Bug#12762).
6005
329c48d8
CY
60062012-10-29 Kevin Ryde <user42@zip.com.au>
6007
6008 * woman.el (woman-parse-numeric-value): Handle picas correctly
6009 (Bug#12639).
6010
a0ccbcbd
GM
60112012-10-29 Glenn Morris <rgm@gnu.org>
6012
6013 * emacs-lisp/cl.el (defsetf): Doc fix.
6014
b3871e59
SM
60152012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6016
6017 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6018 syntax to the matching opener, if any (bug#12547).
6019 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6020 matching open as a "case-(".
6021 (sh-smie-rc-grammar): Add a corresponding rule for it.
6022
cd44022c
DH
60232012-10-28 Daniel Hackney <dan@haxney.org>
6024
6025 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6026 "PKGNAME-autoloads.el" in case we created it.
6027
70edffb1
SM
60282012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6029
86957a0c
SM
6030 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6031 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 6032 (completion--twq-all): Disable too-strict assertions.
86957a0c 6033
70edffb1
SM
6034 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6035
d069271c
EZ
60362012-10-27 Eli Zaretskii <eliz@gnu.org>
6037
6038 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6039 text to match the real keybindings.
6040
e2f022a3
JL
60412012-10-27 Juri Linkov <juri@jurta.org>
6042
6043 * wdired.el (wdired-keep-marker-rename): New defcustom.
6044 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6045 (Bug#11795)
6046
6047 * dired.el (dired-keep-marker-rename): Add reference to
6048 `wdired-keep-marker-rename' in the docstring.
6049 Add default character value ?R to display initially in
6050 Customization UI instead of ?@.
6051
df171c23
MR
60522012-10-27 Martin Rudalics <rudalics@gmx.at>
6053
6054 * window.el (display-buffer): In doc-string describe
6055 window-height and window-width alist entries.
6056
6057 * time.el (display-time-world): Restore fit-window-to-buffer
6058 behavior.
6059
05b621a6
CY
60602012-10-27 Chong Yidong <cyd@gnu.org>
6061
6062 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6063
55f197b2
J
60642012-10-26 Jambunathan K <kjambunathan@gmail.com>
6065
6066 * minibuffer.el (completion-category-overrides): New completion
6067 category `bookmark' (bug#11131).
6068
372212df
SM
60692012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6070
150f809c
SM
6071 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6072 Silence bogus compiler warnings for ad-do-it.
6073
372212df
SM
6074 * bookmark.el (bookmark-completing-read): Set the completion category
6075 to `bookmark' (bug#11131).
6076
c5772569
B
60772012-10-26 Bastien <bzg@altern.org>
6078 Stefan Monnier <monnier@iro.umontreal.ca>
6079
6080 * face-remap.el: Use lexical-binding.
6081 (text-scale-adjust): Improve docstring. Use itself for the temporary
6082 overlay-map bindings, so as to repeat the "Use..." message each time.
6083
a2be0357
SM
60842012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6085
63314e57
SM
6086 * emacs-lisp/macroexp.el (macroexp--expand-all):
6087 Obey byte-compile-warning-enabled-p (bug#12486).
6088
a2be0357
SM
6089 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6090 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6091
8c7727c3
MR
60922012-10-26 Martin Rudalics <rudalics@gmx.at>
6093
6094 * mouse.el (mouse-drag-line): Move last form into preceding when
6095 clause (Bug#12731).
6096
6097 * help.el (resize-temp-buffer-window): Fix doc-string.
6098
3f2a848d
DE
60992012-10-25 David Engster <deng@randomsample.de>
6100
6101 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 6102 Remove. This feature is already integrated in imenu.
3f2a848d
DE
6103
6104 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6105 always loaded. Require `speedbar' unconditionally.
6106
a7723be6
SM
61072012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6108
aaabfc8b
SM
6109 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6110
414a8595
SM
6111 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6112
fb5b9475
SM
6113 * net/ldap.el (ldap-search-internal): The official ldif format starts
6114 with a "version: 1" header (bug#12724).
6115
a7723be6
SM
6116 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6117 (bug#12721).
6118
a05cb6e3
GM
61192012-10-25 Glenn Morris <rgm@gnu.org>
6120
6121 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6122
3c92de70
SM
61232012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6124
6125 * minibuffer.el (minibuffer-force-complete): Use one more marker
6126 for the temporary-overlay-map command (bug#12619).
6127
a4b6d7c6
CY
61282012-10-24 Chong Yidong <cyd@gnu.org>
6129
6130 * time.el (display-time-world-mode): Derive from special-mode.
6131 (display-time-world): Use display-buffer (Bug#12708).
6132 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
6133 (display-time-world-display): Wrap the final delete-char inside
6134 inhibit-read-only.
a4b6d7c6 6135
75e8f9d2
CY
61362012-10-24 Chong Yidong <cyd@gnu.org>
6137
cd996018
CY
6138 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6139 Doc fix.
6140
75e8f9d2
CY
6141 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6142
d92df117
SM
61432012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6144
6145 * minibuffer.el (completion--all-sorted-completions-location): New var.
6146 (completion--cache-all-sorted-completions)
6147 (completion--flush-all-sorted-completions): Use it.
6148 (completion-in-region, completion-in-region--postch)
6149 (completion-at-point, completion-help-at-point): Use markers in
6150 completion-in-region--data (bug#12619).
6151
9c3e39f3
SM
61522012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6153
c79825bd
SM
6154 * progmodes/compile.el (compilation-start): Try to handle common
6155 quoting of `cd' argument (bug#12640).
6156
9c3e39f3
SM
6157 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6158 (bug#12671).
6159
a6709bc7
GM
61602012-10-23 Glenn Morris <rgm@gnu.org>
6161
6162 * progmodes/gud.el (gud-menu-map):
6163 Check gdb-active-process is bound. (Bug#12358)
6164
d1069532
SM
61652012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6166
d20d69c0
SM
6167 * repeat.el (repeat): Set real-this-command (bug#12232).
6168
d1069532
SM
6169 * htmlfontify.el (hfy-post-html-hook):
6170 * filesets.el (filesets-cache-fill-content-hook):
6171 * arc-mode.el (archive-extract-hook):
6172 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6173 * net/rcirc.el (rcirc-sentinel-functions)
6174 (rcirc-receive-message-functions, rcirc-activity-functions)
6175 (rcirc-print-functions):
6176 * net/dbus.el (dbus-event-error-functions):
6177 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6178 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6179 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6180 * term/sun.el (sun-raw-prefix-hooks):
6181 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6182
f7eac6d8
MA
61832012-10-23 Michael Albinus <michael.albinus@gmx.de>
6184
d1069532
SM
6185 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6186 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
6187 (tramp-smb-wait-for-output): Add timeout to
6188 `tramp-accept-process-output' calls.
6189
608d9d7c
CY
61902012-10-23 Chong Yidong <cyd@gnu.org>
6191
49238e7f
CY
6192 * faces.el (font-list-limit): Define as an obsolete variable.
6193
6194 * startup.el (command-line):
6195 * cus-start.el: Don't refer to font-list-limit.
6196
608d9d7c
CY
6197 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
6198
4ff5b1b2
SM
61992012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6200
6201 * subr.el (internal-temp-output-buffer-show): Rename from
6202 temp-output-buffer-show, since previously compiled files expect this name.
6203
ea1d4aac
GM
62042012-10-23 Glenn Morris <rgm@gnu.org>
6205
6206 * image.el (image-type-from-file-name): If multiple types match,
6207 return the first one that is supported. (Bug#9045)
6208
eda82a31
GM
62092012-10-22 Glenn Morris <rgm@gnu.org>
6210
6211 * image.el (imagemagick-enabled-types): Doc fix.
6212
4f020bec
TA
62132012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
6214
6215 * progmodes/which-func.el (which-func-current): The hash-table may have
6216 an explicit nil (bug#12338).
6217
c77d37e2
SM
62182012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6219
6220 * electric.el (electric-pair-delete-selection-self-insert-function):
6221 Rename to electric-pair-will-use-region, return a boolean.
6222 (electric-pair-mode): Adjust accordingly. Don't require delsel.
6223
6224 * delsel.el (delete-selection-helper): Use a function instead of a hook.
6225 (delete-selection-pre-hook): Use use-region-p.
6226 (delete-selection-self-insert-function): Remove.
6227 (self-insert-command): Obey self-insert-uses-region-functions.
6228 (self-insert-iso): Revert to previous setting, since we don't actually
6229 know what that command does.
6230 (delete-selection-self-insert-hooks): Remove.
6231
b1d39ccc
SL
62322012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
6233
6234 * delsel.el (delete-selection-helper): New function, extracted from
6235 delete-selection-pre-hook.
6236 (delete-selection-pre-hook): Use it.
6237 (delete-selection-self-insert-function): New function.
6238 (delete-selection-self-insert-hooks): New hook.
6239 (self-insert-command, self-insert-iso): Use it.
6240 * electric.el (electric-pair-syntax): New function, extracted from
6241 electric-pair-post-self-insert-function.
6242 (electric-pair-post-self-insert-function): Use it.
6243 (electric-pair-delete-selection-self-insert-function): New function.
6244 (electric-pair-mode): Require delsel and setup
6245 delete-selection-self-insert-hooks (bug#11520).
6246
045ef729
CY
62472012-10-20 Chong Yidong <cyd@gnu.org>
6248
4c5d08a8
CY
6249 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
6250 no changes to show (Bug#12586).
6251
045ef729
CY
6252 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
6253 list explicitly (Bug#12571).
6254
3503c798 62552012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 6256
b1d39ccc
SL
6257 * progmodes/flymake.el (flymake-create-temp-inplace):
6258 Use file-truename.
79e1997a 6259
2068905b
EZ
62602012-10-20 Eli Zaretskii <eliz@gnu.org>
6261
6262 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
6263
4c9e9550
JB
62642012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
6265
6266 * calc/calc-units.el (math-extract-units): Properly extract powers
6267 of units.
6268
1a6e7e38
DC
62692012-10-20 Daniel Colascione <dancol@dancol.org>
6270
6271 * frame.el (make-frame): Set x-display-name as we used to in order
6272 to unbreak creating an X11 frame from an Emacs daemon started
6273 without a display.
6274
8e808318
SM
62752012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6276
6277 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 6278 the same completion-field (bug#12221).
8e808318 6279
fb0104da
MR
62802012-10-19 Martin Rudalics <rudalics@gmx.at>
6281
6282 * emacs-lisp/debug.el (debug): Record height of debugger window
6283 also when debugger will be back (Bug#8789).
6284
8c27235e
CY
62852012-10-18 Chong Yidong <cyd@gnu.org>
6286
6287 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6288 Convert to defcustom.
6289 (gdb-get-source-file): Don't bind pop-up-windows.
6290
6291 * progmodes/gud.el (gud-display-line): Don't specially re-use
6292 other frames for the gdb-mi case (Bug#12648).
6293
90eacf99
SM
62942012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6295
aaf0c300
SM
6296 * emacs-lisp/advice.el: Clean up commentary a bit.
6297 (ad-do-advised-functions, ad-with-originals): Use `declare'.
6298 (byte-code-function-p): Never redefine.
6299
90eacf99
SM
6300 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
6301
281c9d2b
GM
63022012-10-18 Glenn Morris <rgm@gnu.org>
6303
40714e3d
GM
6304 * dired.el (dired-sort-toggle): Some ls implementations only allow
6305 a single option string. (Bug#12666)
6306
281c9d2b
GM
6307 * minibuffer.el (completion-cycle-threshold): Doc fix.
6308
b278604e
KH
63092012-10-17 Kenichi Handa <handa@gnu.org>
6310
90eacf99
SM
6311 * international/mule.el (set-keyboard-coding-system):
6312 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
6313 Supply TERMINAL arg to set-input-meta-mode.
6314
f4ad7ea1 63152012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
6316
6317 * wdired.el (wdired-old-marks): New variable.
6318 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
6319 (wdired-do-renames): Move point with renamed file and don't lose
6320 mark status (Bug#11795).
6321
e5a94ec4
JL
63222012-10-16 Juri Linkov <juri@jurta.org>
6323
6324 * replace.el (query-replace-help): Mention multi-buffer replacement
6325 keys in the Help message. (Bug#12655)
6326
d18a0d24
CY
63272012-10-15 Chong Yidong <cyd@gnu.org>
6328
6329 * emacs-lisp/byte-run.el (defsubst): Doc fix.
6330
8111f5e6
EZ
63312012-10-14 Eli Zaretskii <eliz@gnu.org>
6332
7b9abf24
EZ
6333 * window.el (display-buffer): Doc fix.
6334
8111f5e6
EZ
6335 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6336 Adjust the msft regexp to the output of Studio 2010, and move msft
6337 before edg-1. See the discussion on emacs-devel,
6338 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
6339 for the details.
6340
5046ef67
SM
63412012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6342
9760c73c
SM
6343 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
6344 (oset): Move uses of object-class-fast macro after its definition.
6345
5046ef67
SM
6346 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
6347
0d11ff1c
CY
63482012-10-13 Chong Yidong <cyd@gnu.org>
6349
6350 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
6351 enabled, re-enable it (Bug#11963).
6352
88ded8ac
MR
63532012-10-13 Martin Rudalics <rudalics@gmx.at>
6354
6355 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
6356 non-nil, restore window configuration (Bug#12623).
6357
bd0ffffd
SM
63582012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6359
06485aa8
SM
6360 * help-fns.el (describe-variable, describe-function-1):
6361 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
6362
bd0ffffd
SM
6363 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
6364
3a989246
GM
63652012-10-12 Glenn Morris <rgm@gnu.org>
6366
6367 * mail/rmailsum.el (rmail-header-summary):
6368 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
6369
55cd00c8
FEG
63702012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
6371
bd0ffffd
SM
6372 * progmodes/python.el (python-mode-map):
6373 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
6374 (python-nav--up-list): Fix behavior for blocks on the same level.
6375
ac9fc2c7
SM
63762012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6377
d8cc4c00 6378 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 6379
5253a5fd
SM
6380 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
6381 changes to the format of load-history.
6382
ac9fc2c7
SM
6383 * international/mule-cmds.el (read-char-by-name): Move let-binding of
6384 completion-ignore-case in case that var is buffer-local (bug#12615).
6385
cde44a77
KH
63862012-10-11 Kenichi Handa <handa@gnu.org>
6387
6388 * international/eucjp-ms.el: Re-generated.
6389
4ef4a10d
KH
63902012-10-10 Kenichi Handa <handa@gnu.org>
6391
6392 * select.el (xselect--encode-string): If a coding is specified for
6393 selection, and that is compatible with COMPOUND_TEXT, use it.
6394
9d7f027b
MR
63952012-10-10 Martin Rudalics <rudalics@gmx.at>
6396
6397 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
6398 (switch-to-buffer):
6399 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 6400
238f3a58
SM
64012012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6402
6403 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
6404 Don't document nil as a useful value (bug#12583).
6405
1d51f99c
MA
64062012-10-09 Michael Albinus <michael.albinus@gmx.de>
6407
238f3a58
SM
6408 * net/tramp.el (tramp-debug-message):
6409 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
6410 (with-tramp-progress-reporter): Rename from
6411 `tramp-with-progress-reporter'.
238f3a58
SM
6412 (with-tramp-file-property, with-tramp-connection-property):
6413 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
6414 `with-connection-property', respectively.
6415
6416 * net/tramp-cache.el: Remove `with-file-property' and
6417 `with-connection-property'.
6418
6419 * net/tramp.el:
6420 * net/tramp-gvfs.el:
6421 * net/tramp-sh.el:
6422 * net/tramp-smb.el: Adapt callees.
6423
6424 * net/trampver.el: Update release number.
6425
26b77251
GM
64262012-10-09 Glenn Morris <rgm@gnu.org>
6427
9a5f296f
GM
6428 * w32-fns.el (set-message-beep):
6429 * term/w32-win.el (set-message-beep): Update declarations.
6430
94c66ce5
SM
64312012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6432
10766e9e
SM
6433 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6434 (mode-line-widen, mode-line-input-method-map)
6435 (mode-line-coding-system-map, mode-line-remote)
6436 (mode-line-unbury-buffer, mode-line-bury-buffer)
6437 (mode-line-next-buffer, mode-line-previous-buffer):
6438 Replace save-selected-window+select-window => with-selected-window.
6439
f754db08
SM
6440 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6441 * progmodes/cc-vars.el (bq-process): Remove, unused.
6442
94c66ce5
SM
6443 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6444
a4ff7fe1
FEG
64452012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
6446
6447 Implemented `backward-up-list'-like navigation.
6448 * progmodes/python.el (python-nav-up-list)
6449 (python-nav-backward-up-list): New functions.
6450 (python-mode-map): Define substitute key for backward-up-list to
6451 python-nav-backward-up-list.
6452
24517d82
FEG
64532012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6454
6455 * progmodes/python.el (python-fill-paragraph): Rename from
6456 python-fill-paragraph-function. Fixed fill-paragraph for
6457 decorators (Bug#12605).
6458
51867ae2
FEG
64592012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6460
6461 * progmodes/python.el (python-shell-output-filter): Handle extra
6462 carriage return in OSX (Bug#12409).
6463
a5b773c4
FEG
64642012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6465
6466 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 6467 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
6468 (python-syntax-propertize-function): Use it.
6469 (python-shell-output-syntax-table): New var.
6470 (inferior-python-mode): Prevent unbalanced parens/quotes from
6471 previous output mess with current input context.
6472
13373538
JB
64732012-10-08 Juanma Barranquero <lekktu@gmail.com>
6474
6475 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6476 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6477
775a132d
MA
64782012-10-08 Michael Albinus <michael.albinus@gmx.de>
6479
6480 * ffap.el (ffap-replace-file-component): Support Tramp file name
6481 syntax, not only ange-ftp's one.
6482
3ab44929
GM
64832012-10-08 Glenn Morris <rgm@gnu.org>
6484
57f1dee4
GM
6485 * cus-start.el (message-log-max): Set :version.
6486
3ab44929
GM
6487 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6488
6a088630
MR
64892012-10-08 Martin Rudalics <rudalics@gmx.at>
6490
6491 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6492 the minibuffer window (Bug#10851).
6493
8dbce54c
FEG
64942012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6495
6496 Enhancements on forward-sexp movement.
6497 * progmodes/python.el (python-nav-beginning-of-statement)
6498 (python-nav-end-of-statement): Return point-marker.
6499 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6500 (python-info-current-symbol)
6501 (python-info-statement-starts-block-p): Rename from
6502 python-info-beginning-of-block-p.
6503 (python-info-statement-ends-block-p): Rename from
6504 python-info-end-of-block-p.
6505 (python-info-beginning-of-statement-p)
6506 (python-info-end-of-statement-p)
6507 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6508 New functions.
6509
5acd2b3e
SM
65102012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6511
6512 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6513 frame-selected-windows.
6514
e08348a0
DC
65152012-10-08 Daniel Colascione <dancol@dancol.org>
6516
6517 * battery.el (battery-status-function): Check for
6518 w32-battery-status itself, not system-time windows-nt.
6519
6520 * frame.el: Require cl-lib.
6521 (display-format-alist): New variable mapping frame types to
6522 functions that initialize them.
6523 (window-system-for-display): New function: interprets
6524 display-format-alist.
6525 (make-frame-on-display): Remove existing display-selection logic
6526 and just forward to make-frame, which will now DTRT.
6527 (make-frame): Restructure to use window-system-for-display to
6528 figure out how to create a frame on a given display.
6529 (display-mouse-p): Look for frame-type w32, not a particular
6530 system-type.
6531
6532 * loadup.el: Load w32 lisp code when we have the w32 feature.
6533
6534 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6535 system-type windows-nt.
6536
6537 * server.el (server-create-window-system-frame): Look for window
6538 type.
6539 (server-proces-filter): Only force a window system when windows-nt
6540 _and_ w32. Explain why.
6541
6542 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6543 of window systems we configure for the mode.
6544
6545 * startup.el (command-line): Mark window system is initialized
6546 after we've done it.
6547
6548 * common-win.el (x-select-text): Look for w32, not windows-nt.
6549
6550 * ns-win.el: Require cl-lib. Add ourselves to
6551 display-format-alist.
6552 (ns-initialize-window-system): Assert we're not initialized twice.
6553
6554 * w32-win.el: Enable lexical binding; require cl-lib; add
6555 ourselves to display-format-alist.
6556 (w32-handle-dropped-file): Convert incoming dropped files from
6557 Windows paths to Cygwin ones before passing them on to the rest of
6558 Emacs.
6559 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6560 (w32-initialize-window-system): Assert we're not initialized twice.
6561
6562 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6563 (x-initialize-window-system): Assert we're not initialized twice.
6564
6565 * w32-common-fns.el: New File.
6566 (w32-version, w32-using-nt, w32-get-clipboard-data)
6567 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6568 (w32-charset-info-alist, x-last-selected, text)
6569 (x-get-selection-value, x-selection-value): Move here.
6570
6571 * w32-fns.el: Require w32-common-fns.
6572 (w32-version, w32-using-nt, w32-get-clipboard-data)
6573 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6574 (w32-charset-info-alist, x-last-selected, text)
6575 (x-get-selection-value, x-selection-value): Move to
6576 w32-common-fns.
6577
6578 * w32-vars.el:
6579 (w32-allow-system-shell, w32-system-shells): Define only in
6580 non-cygwin case.
6581
795b1482
SM
65822012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6583
6584 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6585 (read-passwd): Remove a few more potential sources of leaks.
6586
f27c99dc
FEG
65872012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6588
6589 * progmodes/python.el (inferior-python-mode)
795b1482 6590 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
6591 variables copied from parent buffer.
6592
fcacb558
JD
65932012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6594
6595 * term/ns-win.el (ns-read-file-name): Update declaration to match
6596 nsfns.m.
b9edfa5c 6597 (ns-respond-to-change-font): Change fontsize separately so we are sure
fcacb558
JD
6598 it is set when font is acted upon.
6599
be0d5bae
FEG
66002012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6601
6602 Enhancements to indentation.
6603 * progmodes/python.el (python-indent-context): Give priority to
6604 inside-string context. Make comments indentation markers.
6605 (python-indent-region): Do not mess with strings, unless it's the
6606 enclosing set of quotes.
6607
13af0d10
SM
66082012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6609
662a9d0e
SM
6610 * window.el (internal--before-save-selected-window)
6611 (internal--after-save-selected-window): New functions extracted from
6612 save-selected-window. Make sure we return the `alist' we construct.
6613 (save-selected-window): Use them.
6614
6615 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6616 Use with-selected-window.
6617
13af0d10
SM
6618 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6619 forms that define macros (bug#12593).
6620
6aa75fb6
KH
66212012-10-07 Kenichi Handa <handa@gnu.org>
6622
13af0d10
SM
6623 * international/mule-conf.el (compound-text-with-extensions):
6624 Add :mime-charset property as x-ctext.
6aa75fb6 6625
78d876b9
SM
66262012-10-07 Stefan Merten <smerten@oekonux.de>
6627
6628 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6629 (rst-indent-literal-normal, rst-indent-literal-minimized)
6630 (rst-indent-comment): Correct :version tag.
557337e9 6631 (rst-official-cvs-rev): Correct version string.
78d876b9 6632
99a1e701
GM
66332012-10-07 Glenn Morris <rgm@gnu.org>
6634
6635 * mail/rmailmm.el (rmail-mime-process-multipart):
6636 Do not confuse a multipart message with an epilogue
6637 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6638
08f18c3d
FEG
66392012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6640
6641 Fix shell output retrieval and comint-prompt-regexp init.
6642 * progmodes/python.el (inferior-python-mode):
6643 (python-shell-make-comint): Fix initialization of
6644 comint-prompt-regexp from copied file local variables.
6645 (python-shell-fetched-lines): Remove var.
6646 (python-shell-output-filter-in-progress): Rename from
6647 python-shell-fetch-lines-in-progress.
6648 (python-shell-output-filter-buffer): Rename from
6649 python-shell-fetch-lines-string.
6650 (python-shell-fetch-lines-filter): Delete function.
6651 (python-shell-output-filter): New function.
6652 (python-shell-send-string-no-output): Use them.
6653
82ed3ab4
GM
66542012-10-07 Glenn Morris <rgm@gnu.org>
6655
1595ecfa
GM
6656 * hi-lock.el (hi-lock-process-phrase):
6657 Try to make it less fragile. (Bug#7161)
6658
82ed3ab4
GM
6659 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6660
f1f4dba0
GM
66612012-10-06 Glenn Morris <rgm@gnu.org>
6662
addc11ed 6663 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
6664 non-existent mode `help'.
6665 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 6666
460042b8
GM
6667 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6668 (reftex-create-bibtex-footer): Fix custom types.
6669
67667c70
GM
6670 * progmodes/sh-script.el (sh-indent-after-continuation):
6671 Add explicit :group.
6672
18dec750
GM
6673 * textmodes/rst.el (rst-preferred-decorations)
6674 (rst-shift-basic-offset): Clarify obsolescence versions.
6675
d1a1c7e6
GM
6676 * profiler.el (profiler): Add missing group :version tag.
6677 * avoid.el (mouse-avoidance-banish-position):
6678 * proced.el (proced-renice-command):
6679 * calc/calc.el (calc-ensure-consistent-units):
6680 * calendar/icalendar.el (icalendar-import-format-uid):
6681 * net/tramp.el (tramp-save-ad-hoc-proxies):
6682 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6683 * progmodes/flymake.el (flymake-error-bitmap)
6684 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6685 * progmodes/sh-script.el (sh-indent-after-continuation):
6686 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6687 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6688 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6689 (vhdl-array-index-record-field-in-sensitivity-list)
6690 (vhdl-indent-comment-like-next-code-line):
6691 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6692 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6693 (reftex-cite-key-separator, reftex-create-bibtex-header)
6694 (reftex-create-bibtex-footer):
6695 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6696 (rst-indent-literal-normal, rst-indent-literal-minimized)
6697 (rst-indent-comment): Add missing custom :version tags.
6698
ef35abb4
GM
6699 * calendar/timeclock.el (timeclock-modeline-display):
6700 Add missing obsolete alias for renamed user option.
6701
d1aae614
GM
6702 * strokes.el (strokes-modeline-string):
6703 * emulation/crisp.el (crisp-mode-modeline-string):
6704 * eshell/esh-mode.el (eshell-status-in-modeline):
6705 Aliases to defcustoms must come before the defcustom.
6706
f1f4dba0
GM
6707 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6708 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6709 (cal-tex-cursor-week-monday): Doc fixes.
6710 (cal-tex-cursor-week2-summary): Doc fix.
6711 Rename from cal-tex-cursor-week-at-a-glance.
6712
6713 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6714 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6715
6716 * calendar/calendar.el (calendar-mode-map):
6717 Add cal-tex-cursor-week2-summary.
6718
d39109c3
SM
67192012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6720
685f87b0
SM
6721 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6722
d39109c3
SM
6723 * subr.el (read-passwd-map): New var.
6724 (read-passwd): Use `read-string' again.
6725 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6726
5694896d
J
67272012-10-06 Jambunathan K <kjambunathan@gmail.com>
6728
6729 * register.el (append-to-register, prepend-to-register):
6730 Deactivate mark, as does `copy-to-register' (bug#12389).
6731
9414dd8d
CY
67322012-10-06 Chong Yidong <cyd@gnu.org>
6733
6734 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6735
2b89bca4
KH
67362012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6737
6738 * international/characters.el: Fix simple mistake ((car chars) ->
6739 elt), delete duplicated code.
6740
d5acb99a
GM
67412012-10-06 Glenn Morris <rgm@gnu.org>
6742
6743 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6744
123ec157
JS
67452012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6746
6747 * color.el (color-hsl-to-rgb): Fix incorrect results for
6748 small and large hue values. (Bug#12559)
6749
7fa36ccb
FEG
67502012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6751
6752 Enhancements to docstring formatting when filling paragraphs.
6753 * progmodes/python.el (python-fill-docstring-style): Rename from
6754 python-fill-string-style. Added new style.
6755 (python-fill-string): Use new style. Better checks for
6756 docstrings.
6757
d8788e1e
GM
67582012-10-05 Glenn Morris <rgm@gnu.org>
6759
204f3953
GM
6760 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6761
d8788e1e
GM
6762 * color.el (color-name-to-rgb, color-rgb-to-hex)
6763 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6764 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6765 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6766 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6767
8d956cef
GM
6768 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6769
e8757f09 67702012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
6771
6772 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6773 to get the correct size across symlinks.
6774
e8757f09
GM
6775 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6776
0e2ae83d
JL
67772012-10-04 Juri Linkov <juri@jurta.org>
6778
6779 * replace.el (query-replace-interactive): Declare obsolete.
6780 (query-replace-read-from): Add the last incremental search string
6781 to the list of default values accessible via M-n.
6782 (map-query-replace-regexp): Use `read-regexp'.
6783 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6784 (map-query-replace-regexp, replace-string, replace-regexp):
6785 Fix docstrings to replace mentions of `query-replace-interactive'
6786 with alternatives. (Bug#12526)
6787
93cacb6d
JL
67882012-10-04 Juri Linkov <juri@jurta.org>
6789
6790 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6791 (dired-pop-to-buffer): Declare obsolete.
6792 (dired-mark-pop-up): Doc fix.
6793
fc345011
FEG
67942012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6795
6796 Allow user to set docstring style for fill-paragraph.
6797 * progmodes/python.el
6798 (python-fill-comment-function, python-fill-string-function)
6799 (python-fill-decorator-function, python-fill-paren-function):
6800 Remove :safe for defcustoms.
6801 (python-fill-string-style): New defcustom
5694896d 6802 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
6803 (python-fill-string): Honor python-fill-string-style settings.
6804
6bab5d8b
MR
68052012-10-04 Martin Rudalics <rudalics@gmx.at>
6806
6807 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6808 after setting its buffer (Bug#10805).
6809
a1a9f411
FEG
68102012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6811
6812 Fix cornercase for string syntax.
6813 * progmodes/python.el (python-syntax-propertize-function):
6814 Simplify and enhance the regexp for unescaped quotes. Now it also
6815 matches quotes in weird situations like the single quote in
6816 "something\"'".
6817 (python-syntax-stringify): Simplify num-quotes detecting code.
6818
05e153a6
GM
68192012-10-03 Glenn Morris <rgm@gnu.org>
6820
6821 * help-macro.el (three-step-help):
6822 Revert 2012-09-29 change. (Bug#12567)
6823
2e566ecb
MR
68242012-10-03 Martin Rudalics <rudalics@gmx.at>
6825
96ef9ccd
MR
6826 * menu-bar.el (kill-this-buffer): Don't do anything when
6827 `menu-frame' is not alive or visible (Bug#8184).
6828
2e566ecb
MR
6829 * emacs-lisp/debug.el (debug): When quitting the debugger window
6830 restore current buffer (Bug#12502).
6831
a96e1cb7
CY
68322012-10-02 Chong Yidong <cyd@gnu.org>
6833
5694896d
J
6834 * progmodes/hideif.el (hif-lookup, hif-defined):
6835 Handle semantic-c-takeover-hideif.
a96e1cb7 6836
b3ecad33
PE
68372012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6838
6839 Change sampling interval units from ms to ns.
6840 * profiler.el (profiler-sampling-interval): Change units
6841 from ms to ns, multiplying the default by 1000000 so that
6842 it remains 1 ms.
6843 (profiler-report-cpu-line-format): Give enough room for
6844 the maximum counters on 64-bit hosts.
6845 (profiler-report-render-calltree-1): Call them "CPU samples",
6846 not "Time (ms)", since they are not milliseconds now (and
6847 never really were).
6848
8cb51b66 68492012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 6850
5694896d
J
6851 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6852 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 6853
fd795bf4
CY
68542012-10-02 Chong Yidong <cyd@gnu.org>
6855
6856 * emacs-lisp/eieio.el: Restore Version header.
6857
fe0a74f9
SM
68582012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6859
6be9197e
SM
6860 * vc/diff-mode.el (diff--auto-refine-data): New var.
6861 (diff-hunk): Use it to delay refinement.
6862 (diff-mode): Remove overlays when we turn off font-lock.
6863
18486139
SM
6864 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6865 (table-initialize-table-fixed-width-mode)
6866 (table-set-table-fixed-width-mode): Remove functions.
6867 (table-command-list): Move initialization into declaration.
6868 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6869 (table-with-cache-buffer): Use `declare'.
6870 (table-span-cell): Simplify via CSE.
6871 (table-fixed-width-mode): Use define-minor-mode.
6872 (table-call-interactively, table-funcall, table-apply): Remove.
6873 (table-function): New function, to replace them.
6874
d83ef976
SM
6875 * bookmark.el (bookmark-search-pattern): Remove var.
6876 (bookmark-read-search-input): Remove function.
6877 (bookmark-bmenu-search): Reimplement using a minibuffer.
6878
cd386662
SM
6879 * faces.el (modeline): Remove obsolete face name.
6880
fe0a74f9
SM
6881 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6882 and give a non-nil default value.
6883 (add-change-log-entry): Simplify accordingly.
6884
9f7b98f8
DG
68852012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6886
6887 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6888 (vc-git-log-edit-toggle-amend): New function.
6889 (vc-git-log-edit-toggle-signoff): New function.
6890 (vc-git-log-edit-mode): New major mode.
6891 (vc-git-log-edit-mode-map): Keymap for it.
6892 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6893
6894 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6895 header names.
6896 (log-edit-toggle-header): New function.
6897 (log-edit-extract-headers): Accept function values in HEADERS alist.
6898
62a81506
CY
68992012-10-01 David Engster <deng@randomsample.de>
6900
6901 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6902 from symbol property and change message to be more consistent with
6903 Emacs proper.
6904 (eieio-describe-generic): Add filename for each implementation.
6905 Fix indices for generic and normal methods.
6906 (eieio-method-def, eieio-class-def): New buttons.
6907 (eieio-help-find-method-definition)
6908 (eieio-help-find-class-definition): New functions.
6909 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6910 class, constructor and method definitions.
6911
6912 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6913 information in symbol property.
6914 (scoped-class): Remove.
6915 (eieio-slot-name-index, call-next-method): Check if it is bound.
6916
69172012-10-01 Leo P. White <lpw25@cam.ac.uk>
6918
6919 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6920 (eieio-custom-mode): New major mode.
6921 (eieio-customize-object): Use it.
6922
69232012-10-01 Eric Ludlam <zappo@gnu.org>
6924
6925 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6926 specifying the expected class, and whether subclassing is allowed.
6927 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
6928 (eieio-persistent-validate/fix-slot-value)
6929 (eieio-persistent-slot-type-is-class-p): New functions.
6930 (eieio-named::slot-missing): Doc fix.
62a81506
CY
6931
6932 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6933 Stop using unused publd variable.
6934
6935 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6936 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6937 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6938 (eieio-speedbar-handle-click): Do not specify a class for the
6939 method. Fixes method invocation order problems with EDE.
6940
375e49d4
SM
69412012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6942
6943 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6944 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6945
16ce6ccd
KF
69462012-10-01 Karl Fogel <kfogel@red-bean.com>
6947
6948 * bookmark.el (bookmark-version-control): Give tags in the
6949 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
6950 (bookmark-write-file): Bind `print-circle' to `t' to allow
6951 circular custom bookmark types. (Bug#12503)
16ce6ccd 6952
19e54a4d
PE
69532012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6954
86ec63ba
PE
6955 Revert the FOLLOW-SYMLINKS change for file-attributes.
6956 * files.el (remote-file-name-inhibit-cache, after-find-file):
6957 * time.el (display-time-file-nonempty-p): Undo last change.
6958
19e54a4d
PE
6959 * profiler.el (profiler-sampling-interval): Change default back to 1.
6960 See Stefan Monnier in
6961 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6962
0478776b
FEG
69632012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6964
6965 Shell output catching a la gud-gdb.
6966 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
6967 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6968 New Vars.
0478776b
FEG
6969 (python-shell-fetch-lines-filter): New function.
6970 (python-shell-send-string-no-output): Use them.
6971
c22bac2c
TM
69722012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6973
6974 * profiler.el (profiler-sampling-interval): Rename from
6975 profiler-sample-interval.
6976 (profiler-sampling-interval): Default to 10.
6977 (profiler-find-profile): New command (was profiler-find-log).
6978 (profiler-find-profile-other-window): New command.
6979 (profiler-find-profile-other-frame): New command.
6980 (profiler-profile): Introduce API-level data structure.
6981
e7a2937b
PE
69822012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6983
6984 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6985 * files.el (remote-file-name-inhibit-cache):
6986 * time.el (display-time-file-nonempty-p): Use it.
6987 * files.el (after-find-file): Don't chase links before calling
6988 file-exists-p, as file-exists-p already does the right thing.
6989
4f595e15
RA
69902012-09-30 Ralf Angeli <angeli@caeruleus.net>
6991
6992 Merge from standalone RefTeX repository.
6993
6994 The following ChangeLog entries are shortened versions of the
6995 original ones with file paths adapted. A not so strongly edited
6996 version of the original ChangeLog can be found in the commit log.
6997
6998 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
6999 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7000 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
7001
7002 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
7003 that entries with whitespace at various places are found.
7004 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
7005 Include @String definitions in the resulting bib file. Add header
7006 and footer defined in `reftex-create-bibtex-header' and
7007 `reftex-create-bibtex-footer'.
7008 (reftex-do-citation): Make it possible again to insert
7009 non-existent entries. Save match data when asking for optional
7010 arguments. Return all keys, not just the first one.
7011 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7012 all citations in the same line.
7013 (reftex-parse-bibtex-entry): Accept additional optional argument
7014 `raw' and keep quotes or braces if it is non-nil. Match fields
7015 containing hyphens besides word constituents.
7016 (reftex-get-string-refs): New function.
7017 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7018 and ask if it should be reread in case it did.
7019 (reftex-pop-to-bibtex-entry)
7020 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7021 entries with spaces or tabs in front of arguments.
7022 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
7023 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7024 Match entries containing numbers and symbol constituents.
7025 (reftex-do-citation, reftex-figure-out-cite-format):
7026 Use `reftex-cite-key-separator'.
4f595e15
RA
7027
7028 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7029 (reftex-mouse-view-crossref): Explain why point is set.
7030
7031 * textmodes/reftex-global.el: Whitespace changes.
7032
7033 * textmodes/reftex-index.el: Move provide statement to end of
7034 file.
7035 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7036 (reftex-index-visit-phrases-buffer): Set marker when visiting
7037 buffer. This allows for returning from the phrases file to the
7038 file one was just editing instead of the file where the last
7039 phrases was added from.
7040 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7041 punctuation syntax as it usually is not used as string quote in
7042 TeX-related modes and may occur unmatched. The change also
7043 prevents fontification of quoted content.
7044 (reftex-index-phrases-mode): Use it.
7045
375e49d4
SM
7046 * textmodes/reftex-parse.el (reftex-parse-from-file):
7047 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
7048 (reftex-parse-from-file): Use beginning of match instead of end as
7049 bound.
7050
7051 * textmodes/reftex-ref.el: Adapt creation of
7052 `reftex-<package>-<macro>' functions to new structure of
7053 `reftex-ref-style-alist'.
375e49d4
SM
7054 (reftex-reference): Use `reftex-ref-style-list' function.
7055 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
7056 reference macro if `reftex-ref-macro-prompt' is non-nil.
7057 (reftex-reference): Pass refstyle to `reftex-format-special'.
7058 Determine reference macro by looking at
375e49d4
SM
7059 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7060 Use only one special format function.
4f595e15
RA
7061 (reftex-varioref-vref, reftex-fancyref-fref)
7062 (reftex-fancyref-Fref): Remove definitions. The functions are now
7063 generated from `reftex-ref-style-alist'.
7064 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7065 Remove.
7066 (reftex-format-special): New function.
7067
7068 * textmodes/reftex-sel.el
7069 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7070 of `reftex-ref-style-alist'. Remove code for testing macro type.
7071 (reftex-select-toggle-varioref)
7072 (reftex-select-toggle-fancyref): Remove.
7073 (reftex-select-cycle-ref-style-internal)
7074 (reftex-select-cycle-ref-style-forward)
7075 (reftex-select-cycle-ref-style-backward): New functions.
7076 (reftex-select-label-map): Use `v' and `V' for general cycling
7077 through reference styles. Add `p' for switching between number
7078 and page reference types.
7079
375e49d4
SM
7080 * textmodes/reftex-toc.el (reftex-re-enlarge):
7081 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
7082 the horizontal version throws an error even if the parameter is 0.
7083
7084 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7085 (reftex-plug-into-AUCTeX): Doc fix.
7086 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7087 string. Adapt to new name.
7088 (reftex-ref-style-alist): Change structure so that it is not
7089 possible to use multiple different package names within a style.
375e49d4
SM
7090 Remove the symbols for symbols for macro type distinction.
7091 Add characters for macro selection.
4f595e15
RA
7092 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7093 (reftex-create-bibtex-footer): New variables.
7094 (reftex-format-ref-function): Mention third argument of special
7095 format function.
375e49d4
SM
7096 (reftex-ref-style-alist, reftex-ref-style-default-list):
7097 New variables.
4f595e15
RA
7098 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7099 to new implementation. Mark as obsolete. Add compatibility code
7100 for honoring the variable values in case they are set.
375e49d4
SM
7101 (reftex-cite-format-builtin, reftex-bibliography-commands):
7102 Add support for ConTeXt.
7103 (reftex-format-ref-function, reftex-format-cite-function):
7104 Fix custom type.
4f595e15
RA
7105 (reftex-cite-key-separator): New variable.
7106
7107 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7108 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7109 `reftex-syntax-table' because parens have to retain their paren
7110 syntax in order for parsing of BibTeX entries like @book(...) to
7111 work.
7112 (reftex-in-comment): Do not error out if `comment-start-skip' is
7113 not set. Deal correctly with escaped comment characters.
375e49d4
SM
7114 (reftex-tie-multifile-symbols): Add doc string.
7115 Initialize `reftex-ref-style-list'.
4f595e15
RA
7116 (reftex-untie-multifile-symbols): Add doc string.
7117 (reftex-add-index-macros): Doc fix.
7118 (reftex-ref-style-activate, reftex-ref-style-toggle)
7119 (reftex-ref-style-list): New functions.
7120 (reftex-mode-menu): Use them. Adapt to new structure of
7121 `reftex-ref-style-alist'.
7122 (reftex-select-with-char): Kill the RefTeX Select buffer when
7123 done.
7124 (reftex-remove-if): New function.
7125 (reftex-erase-all-selection-and-index-buffers)
7126 (reftex-mode-menu): Reference styles are now computed from
7127 `reftex-ref-style-alist'. Fix typo.
7128 (reftex-report-bug): New function.
7129 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7130 algorithms with O(n log n). Introduce optional argument SORT (not
7131 yet used).
7132
440ba395
FEG
71332012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
7134
7135 Enhancements for triple-quote string syntax.
375e49d4
SM
7136 * progmodes/python.el (python-syntax-propertize-function):
7137 Match both quote cases in one regexp.
440ba395
FEG
7138 (python-syntax-stringify): Handle matches properly.
7139
4c478e6b
JL
71402012-09-30 Juri Linkov <juri@jurta.org>
7141
7142 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 7143 to nil around the call to `insert' to prevent
4c478e6b
JL
7144 directory time modification by lock_file. (Bug#2295)
7145 * tar-mode.el (tar-summarize-buffer): Idem.
7146
d80d54b2
JL
71472012-09-30 Juri Linkov <juri@jurta.org>
7148
7149 * facemenu.el (list-colors-sort): Add option "Luminance".
7150 (list-colors-sort-key): Implement it.
7151
7152 * vc/diff-mode.el (diff-refine-removed):
7153 * vc/ediff-init.el (ediff-fine-diff-A):
7154 * vc/smerge-mode.el (smerge-refined-removed):
7155 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7156
d7e642cc
JD
71572012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7158
7159 * term/ns-win.el (x-file-dialog): New function.
7160
ee41332b
JB
71612012-09-30 Juanma Barranquero <lekktu@gmail.com>
7162
7163 * ido.el (ido-max-directory-size): Default to nil; the current
7164 default is small for POSIX systems, and impractical on Windows 7
7165 now that lstat returns directory sizes for NTFS.
7166
5938d519
MR
71672012-09-30 Martin Rudalics <rudalics@gmx.at>
7168
7169 In buffer display functions handle window-height/window-width
7170 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
7171 * window.el (window--display-buffer): New argument ALIST.
7172 Obey window-height and window-width alist entries.
7173 (window--try-to-split-window): New argument ALIST.
7174 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
7175 changed and window-combination-limit equals `window-size'.
7176 (display-buffer-in-atom-window)
7177 (display-buffer-in-major-side-window)
7178 (display-buffer-in-side-window, display-buffer-same-window)
7179 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7180 (display-buffer-pop-up-window, display-buffer-below-selected)
7181 (display-buffer-at-bottom, display-buffer-in-previous-window)
7182 (display-buffer-use-some-window): Adjust all callers of
7183 window--display-buffer and window--try-to-split-window.
7184 (fit-frame-to-buffer): New option.
7185 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7186 is non-nil.
7187 (display-buffer-in-major-side-window): Evaluate window-height /
7188 window-width alist entries.
7189
7190 * help.el (temp-buffer-resize-frames)
7191 (temp-buffer-resize-regexps): Remove options.
7192 (temp-buffer-resize-mode): Adjust doc-string.
7193 (resize-temp-buffer-window): Don't consult
7194 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
7195 temp-buffer-resize-frames.
7196
375e49d4
SM
7197 * dired.el (dired-mark-pop-up):
7198 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
7199 entry.
7200
c4c0c2df
CY
72012012-09-30 Chong Yidong <cyd@gnu.org>
7202
48de8b12
CY
7203 * server.el (server-host): Document the security implications.
7204 (server-auth-key): Doc fix.
7205
7206 * startup.el (initial-buffer-choice): Doc fix.
7207
7208 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
7209
a97dc380
CY
7210 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
7211 restriction change.
7212
d39d3c8e
CY
7213 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
7214
c4c0c2df
CY
7215 * help-fns.el (help-fns--obsolete): Fix last change.
7216
98a5e33b
SM
72172012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7218
34cf6f39
SM
7219 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
7220 (minor-mode-map-alist): Remove redundant code.
7221
e01c13fe
SM
7222 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
7223 visited in a buffer.
7224 (cvs-insert-visited-file): New function.
7225 (find-file-hook): Use it.
7226
7227 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
7228
02661b3a
SM
7229 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
7230 chose face.
7231 (log-edit-empty-buffer-p): Don't require a space after a header.
7232
43711d4b
SM
7233 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
7234
38a30d64
SM
7235 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
7236
4ffb41a9
SM
7237 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
7238 a proper minor-mode.
7239
98a5e33b
SM
7240 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
7241
de82e29b
GM
72422012-09-29 Glenn Morris <rgm@gnu.org>
7243
5cc2e639
GM
7244 * winner.el (winner-mode): Remove variable (let define-minor-mode
7245 handle it).
7246 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
7247 Doc fixes.
7248 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
7249 (winner-mode): Use define-minor-mode.
7250
7bd302eb
GM
7251 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
7252 the full definition in loaddefs, rather than duplicating it.
7253
2923922f 7254 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 7255
0e3e4156
GM
7256 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
7257 (inferior-lisp-program, inferior-lisp-load-command)
7258 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 7259 No need to autoload defcustoms.
0e3e4156 7260
de82e29b
GM
7261 * hippie-exp.el (hippie-expand-try-functions-list)
7262 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
7263 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
7264 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 7265 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
7266 * progmodes/vhdl-mode.el (vhdl-line-expand):
7267 Explicitly load hippie-exp, so it does not get autoloaded
7268 while hippie-expand-try-functions-list is let-bound.
7269
e60b51ab
GM
72702012-09-28 Glenn Morris <rgm@gnu.org>
7271
277f0cfa
GM
7272 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
7273
e60b51ab
GM
7274 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
7275 Only "cl.el" counts as cl these days.
7276
53baf48a
JL
72772012-09-28 Juri Linkov <juri@jurta.org>
7278
7279 Display archive errors in the echo area instead of inserting
7280 to the file buffer.
7281
7282 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
7283 to STDERR-TEST that can be a regexp matching a successful output.
7284 Create a temporary file and redirect stderr to it. Search for
7285 STDERR-TEST in the stderr output and display it in the echo area
7286 if no match is found.
7287 (archive-extract-by-file): New function like
7288 `archive-extract-by-stdout' but extracting archives to files
7289 and looking for successful matches in stdout. Function body is
7290 mostly copied from `archive-rar-extract'.
7291 (archive-rar-extract): Use `archive-extract-by-file'.
7292 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
7293
9c1228c3
LL
72942012-09-28 Leo Liu <sdl.web@gmail.com>
7295
375e49d4
SM
7296 * pcomplete.el (pcomplete-show-completions):
7297 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 7298
9c1228c3
LL
7299 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
7300
7f457c06
SM
73012012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7302
3df749b0
SM
7303 * type-break.el: Use lexical-binding.
7304 (type-break-mode): Use define-minor-mode.
7305
7f457c06
SM
7306 * emacs-lisp/pcase.el (pcase--mark-used): New.
7307 (pcase--u1): Use it (bug#12512).
7308
7309 * custom.el (load-theme): Set buffer-file-name so the load is recorded
7310 in load-history with the right file name.
7311
c00ebc98
TH
73122012-09-28 Tassilo Horn <tsdh@gnu.org>
7313
7314 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
7315 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
7316 (doc-view-get-bounding-box): Make bounding box slicing work for
7317 ODF and DVI documents.
7318
96fb7170
GM
73192012-09-28 Glenn Morris <rgm@gnu.org>
7320
7321 * type-break.el (type-break-mode, type-break-interval)
7322 (type-break-good-rest-interval, type-break-keystroke-threshold):
7323 No need to autoload.
7324 (type-break-good-rest-interval, type-break-keystroke-threshold):
7325 Add :set-after.
7326
5bc93c67
CY
73272012-09-28 Chong Yidong <cyd@gnu.org>
7328
7329 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
7330 Add :version tag.
7331
9cad61d6
SM
73322012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7333
e28e67b3 7334 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 7335
daee954c
GM
73362012-09-27 Glenn Morris <rgm@gnu.org>
7337
a88324d4
GM
7338 * faces.el (x-display-name): Declare (for without-x builds).
7339
8e5064e5
GM
7340 * linum.el (linum-format): Don't autoload it. Improve :type.
7341
cc1783c2
GM
7342 * progmodes/tcl.el: Don't require outline when compiling.
7343 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
7344 * textmodes/sgml-mode.el: Don't require outline when compiling.
7345 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
7346
48c339f2
GM
7347 * term.el (term-ansi-reset):
7348 Try setting term-ansi-face-already-done to nil. (Bug#11785)
7349
daee954c
GM
7350 * vc/vc.el (vc-next-action): Only gripe about committing read-only
7351 files for RCS and SCCS. (Bug#9781)
7352
b7f42161
CY
73532012-09-27 Chong Yidong <cyd@gnu.org>
7354
7355 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
7356 change; value should be t.
7357
a2e770db
SM
73582012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7359
83600dc8
SM
7360 * image-mode.el: Use lexical-binding.
7361 (image-mode-winprops): Use t to stand for the window of
7362 a buffer that's not displayed.
7363 * doc-view.el (doc-view-new-window-function): Handle the new
7364 t in winprops.
7365 (doc-view-enlarge): Make it a real nop if the size is not changed.
7366 (doc-view-display): Handle the case where the buffer is not (yet?)
7367 displayed in any window.
7368 (doc-view-saved-settings): New var.
7369 (doc-view-mode): Use it.
7370 (doc-view-fallback-mode): Set it.
7371
a2e770db
SM
7372 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
7373 Set lexical-binding.
7374 (minibuffer-eldef-shorten-default): New var.
7375 (minibuffer-default-in-prompt-regexps): Use it for new default.
7376 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
7377
e3b60857
JB
73782012-09-26 Juanma Barranquero <lekktu@gmail.com>
7379
7380 * international/uni-bidi.el:
7381 * international/uni-category.el:
7382 * international/uni-name.el:
7383 * international/uni-numeric.el: Regenerate.
7384
3a880af4
SM
73852012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
7386 Stefan Monnier <monnier@iro.umontreal.ca>
7387
7388 * profiler.el: New file.
7389
07b1a5fb
SM
73902012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7391
7392 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
7393 (testcover-reinstrument): Simplify with CSE.
7394
42019c2e
JB
73952012-09-26 Juanma Barranquero <lekktu@gmail.com>
7396
7397 * window.el (temp-buffer-window-setup): Fix typo in docstring.
7398
179f044b
WS
73992012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
7400
7401 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
7402 (verilog-auto-input, verilog-auto-insert-lisp)
7403 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
7404 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
7405 (verilog-auto-unused, verilog-auto-wire)
7406 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
7407 newline. Reported by Andrew Jones.
7408 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
7409 Reported by Brad Dobbie.
07b1a5fb
SM
7410 (verilog-batch-delete-trailing-whitespace):
7411 Create verilog-batch-delete-trailing-whitespace.
7412 Reported by Brad Dobbie.
179f044b
WS
7413 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
7414 parameters from another module. Reported by Dan Katz.
7415 (verilog-auto, verilog-auto-assign-modport)
7416 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
7417 AUTOINOUTMODPORT for UVM interface module shell generation.
7418 Reported by Brad Dobbie.
7419 (verilog-auto-inst-interfaced-ports): Make default nil, as more
7420 standard behavior.
7421 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
7422 Reported by Matt Martin.
7423
9c52dd5a
MR
74242012-09-25 Martin Rudalics <rudalics@gmx.at>
7425
7426 * window.el (window--resize-child-windows): When resizing child
7427 windows proportionally, process them in reverse order to
7428 preserve the "when splitting a window the new one gets the odd
7429 line" behavior.
7430 (window--resize-root-window-vertically): When resizing the
7431 minibuffer window try to affect only windows at the bottom of the
7432 frame. (Bug#12419)
7433
863666eb
CY
74342012-09-25 Chong Yidong <cyd@gnu.org>
7435
7436 * subr.el (declare): Doc fix.
7437
7438 * help-fns.el (help-fns--obsolete): Handle macros properly.
7439
59f7af81
CY
74402012-09-25 Chong Yidong <cyd@gnu.org>
7441
7442 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7443 this function obsolete.
7444
7445 * calendar/cal-x.el (calendar-two-frame-setup)
7446 (calendar-only-one-frame-setup, calendar-one-frame-setup):
7447 * calendar/calendar.el (american-calendar, european-calendar)
7448 (calendar-for-loop):
7449 * comint.el (comint-dynamic-simple-complete)
7450 (comint-dynamic-complete-as-filename, comint-unquote-filename):
7451 * desktop.el (desktop-load-default):
7452 * dired-x.el (dired-omit-here-always)
7453 (dired-hack-local-variables, dired-default-directory):
7454 * emacs-lisp/derived.el (derived-mode-class):
7455 * emacs-lisp/timer.el (timer-set-time-with-usecs):
7456 * emacs-lock.el (toggle-emacs-lock):
7457 * epa.el (epa-display-verify-result):
7458 * epg.el (epg-sign-keys, epg-start-sign-keys)
7459 (epg-passphrase-callback-function):
7460 * eshell/esh-util.el (eshell-for):
7461 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7462 (eshell-add-to-window-buffer-names):
7463 * files.el (locate-file-completion):
7464 * imenu.el (imenu-example--create-c-index)
7465 (imenu-example--create-lisp-index)
7466 (imenu-example--lisp-extract-index-name)
7467 (imenu-example--name-and-position):
7468 * international/mule-cmds.el (princ-list):
7469 * international/mule-diag.el (decode-codepage-char):
7470 * international/mule-util.el (detect-coding-with-priority):
7471 * iswitchb.el (iswitchb-read-buffer):
7472 * mail/mailalias.el (mail-complete):
7473 * mail/sendmail.el (mail-sent-via):
7474 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7475 (mouse-major-mode-menu):
7476 * password-cache.el (password-read-and-add):
7477 * pcomplete.el (pcomplete-parse-comint-arguments):
7478 * progmodes/sh-script.el (sh-maybe-here-document):
7479 * replace.el (query-replace-regexp-eval):
7480 * savehist.el (savehist-load):
7481 * simple.el (choose-completion-delete-max-match):
7482 * term.el (term-dynamic-simple-complete):
7483 * vc/ediff-init.el (ediff-check-version):
7484 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7485 * vc/vc.el (vc-diff-switches-list):
7486 * view.el (view-return-to-alist-update): Likewise.
7487
7488 * subr.el (eval-next-after-load, makehash, insert-string)
7489 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7490 mark obsolete.
7491 (mode-line-inverse-video): Variable deleted.
7492
7493 * international/mule-util.el (string-to-sequence): Remove.
7494
7495 * calendar/calendar.el (calendar-version):
7496 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7497 (icalendar-convert-diary-to-ical):
7498 * cus-edit.el (custom-mode):
7499 * ansi-color.el (ansi-color-unfontify-region):
7500 * international/latin1-disp.el (latin1-char-displayable-p):
7501 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
7502 * progmodes/which-func.el (which-func-update-1):
7503 Use define-obsolete-function-alias.
59f7af81
CY
7504
7505 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
7506 * net/newst-treeview.el (newsticker-groups-filename):
7507 Fix incorrect obsolescence declaration.
59f7af81
CY
7508
7509 * allout.el (allout-passphrase-hint-string): Likewise.
7510 (allout-init): Use a declare form to mark obsolete.
7511
7512 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7513 this applies to functions.
7514
7515 * iswitchb.el (iswitchb-read-buffer): Move code of
7516 iswitchb-define-mode-map here, and delete that obsolete function.
7517
7518 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7519 font-lock-reference-face.
7520
cca96c97
GM
75212012-09-25 Glenn Morris <rgm@gnu.org>
7522
b06eeda8
GM
7523 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7524 Doc fixes.
7525
cca96c97
GM
7526 * eshell/em-term.el (eshell-term-name):
7527 Default to term-term-name. (Bug#12485)
7528
dc4f818b
FEG
75292012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7530
cca96c97
GM
7531 * progmodes/python.el (python-shell-send-buffer): Better handling
7532 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 7533
289c24bd
GM
75342012-09-24 Glenn Morris <rgm@gnu.org>
7535
7536 * eshell/esh-cmd.el (eshell-find-alias-function):
7537 Tighten up file-name regexp. (Bug#12499)
7538
8fb8b88f
FEG
75392012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7540
7541 Enhancements for triple-quote string syntax.
7542 * progmodes/python.el (python-quote-syntax): Remove.
7543 (python-syntax-propertize-function): New value.
07b1a5fb
SM
7544 (python-syntax-count-quotes, python-syntax-stringify):
7545 New functions.
8fb8b88f 7546
6c27f0f8
CY
75472012-09-24 Chong Yidong <cyd@gnu.org>
7548
a5f2b6ec
CY
7549 * mail/supercite.el (sc-version): Remove obsolete function.
7550 (sc-describe): Don't mark as obsolete, since it is bound.
7551 (sc-submit-bug-report): Remove.
7552
7553 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7554 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
7555 (log-edit-require-final-newline)
7556 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
7557
7558 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7559 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7560 * vc/vc.el (vc-checkout-carefully): Likewise.
7561
7562 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7563 (emerge-version): Remove.
7564
7565 * progmodes/compile.el (compile-internal): Remove.
7566 (compilation-parse-errors-function): Fix typo.
7567
7568 * international/mule.el (set-char-table-default): Remove.
7569 (set-coding-priority, make-coding-system, generic-char-p)
7570 (charset-list, charset-bytes, charset-id): Use declare to mark
7571 functions as obsolete.
7572
7573 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7574 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7575 * vc/vc-hooks.el (vc-default-registered): Don't use
7576 vc-master-templates.
7577
07b1a5fb
SM
7578 * font-lock.el (font-lock-reference-face):
7579 Use define-obsolete-variable-alias.
6c27f0f8
CY
7580
7581 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7582 * calendar/calendar.el (calendar-font-lock-keywords):
7583 * calendar/diary-lib.el (diary-font-lock-keywords)
7584 (diary-fancy-font-lock-keywords):
7585 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7586 * textmodes/reftex-index.el (reftex-insert-index):
7587 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7588 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7589 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7590 * progmodes/prolog.el (prolog-font-lock-keywords):
7591 * progmodes/idlwave.el (idlwave-idl-keywords):
7592 * progmodes/ada-mode.el (ada-font-lock-keywords):
7593 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7594
bcc0adbf
GM
75952012-09-24 Glenn Morris <rgm@gnu.org>
7596
7597 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7598
095bb823
FEG
75992012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
7600
7601 * progmodes/python.el (python-indent-line): More consistent cursor
7602 movement behavior.
7603
70efc5c9
SM
76042012-09-23 Stefan Merten <smerten@oekonux.de>
7605
7606 * textmodes/rst.el: Fix compiler warning.
7607
2f438239
RW
76082012-09-23 Roland Winkler <winkler@gnu.org>
7609
07b1a5fb
SM
7610 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7611 Transcribe also LaTeX hyphenation.
2f438239
RW
7612 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7613 bibtex-reformat-previous-options.
7614
936ad041
RW
76152012-09-23 Roland Winkler <winkler@gnu.org>
7616
7617 * proced.el (proced-renice-command): New variable.
7618 (proced-marked-processes): New function.
7619 (proced-with-processes-buffer): New macro.
7620 (proced-send-signal): Use them.
7621 (proced-renice): New command bound to r.
7622
6fab0274
RW
76232012-09-23 Roland Winkler <winkler@gnu.org>
7624
7625 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7626 ibuffer-saved-filter-groups has one element, shortcut the call of
7627 completing-read. (Bug#12331)
7628
9a930676
CY
76292012-09-23 Chong Yidong <cyd@gnu.org>
7630
7631 * bindings.el (mode-line-toggle-read-only):
7632 * bs.el (bs-toggle-readonly):
7633 * buff-menu.el (Buffer-menu-toggle-read-only):
7634 * dired.el (dired-toggle-read-only):
7635 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7636
d07ff9db
CY
76372012-09-23 Chong Yidong <cyd@gnu.org>
7638
7639 * image.el (image-type-available-p): Adapt to init-image-library
7640 argument changes.
7641
51c4474e
JL
76422012-09-22 Juri Linkov <juri@jurta.org>
7643
7644 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7645 `dired-toggle-read-only'. (Bug#12462)
7646
43bf5e8e
MR
76472012-09-22 Martin Rudalics <rudalics@gmx.at>
7648
7649 * subr.el (temp-output-buffer-show): New function.
7650 (with-output-to-temp-buffer): Call temp-output-buffer-show
7651 instead of internal-temp-output-buffer-show.
7652
c88b867f
CY
76532012-09-22 Chong Yidong <cyd@gnu.org>
7654
3df47cd5
CY
7655 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7656 (Bug#12462).
7657
c88b867f
CY
7658 * repeat.el (repeat): Doc fix (Bug#12348).
7659
7660 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7661 (Bug#10909).
7662
7663 * simple.el (shell-command-on-region): Doc fix.
3171e303 7664 (read-only-mode): Doc fix.
c88b867f 7665
df9685f3
EZ
76662012-09-22 Eli Zaretskii <eliz@gnu.org>
7667
7668 * emacs-lisp/timer.el (run-with-idle-timer)
7669 (timer-activate-when-idle): Warn against reinvoking an idle timer
7670 from within its own timer action. (Bug#12447)
7671
8e17c9ba
MR
76722012-09-22 Martin Rudalics <rudalics@gmx.at>
7673
7674 * cus-start.el (window-combination-limit): Add new optional
7675 values.
7676 * window.el (temp-buffer-window-show)
7677 (window--try-to-split-window): Handle new values of
7678 window-combination-limit (Bug#1806).
7679 (split-window): Test window-combination-limit for t instead of
7680 non-nil.
7681 (display-buffer-at-bottom): New buffer display action function.
7682 * help.el (temp-buffer-resize-regexps): New option.
7683 (temp-buffer-resize-mode): Rewrite doc-string.
7684 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 7685 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 7686
48a24920
SM
76872012-09-22 Stefan Merten <smerten@oekonux.de>
7688
70efc5c9 7689 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
7690 (rst-official-version)
7691 (rst-package-emacs-version-alist): Sync with official version
7692 V1.4.0.
7693 (rst-faces-defaults, rst-set-level-default)
7694 (rst-level-face-max, rst-level-face-base-color)
7695 (rst-level-face-base-light, rst-level-face-format-light)
7696 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7697 (rst-adornment-faces-alist): Match new setup.
7698 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7699 (rst-level-5, rst-level-6): New faces.
7700
82f8cd94
CY
77012012-09-22 Chong Yidong <cyd@gnu.org>
7702
7703 * simple.el (undo): Handle indirect buffers (Bug#8207).
7704
acfa068f 77052012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
7706
7707 IDO: Disable match re-ordering for buffer switching.
2bc9406c 7708 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
7709 (ido-set-matches-1): Use it. (Bug#2042)
7710
acfa068f 77112012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
7712
7713 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7714 Fix 2011-05-17 change. (Bug#12418)
7715
acfa068f 77162012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
7717
7718 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7719
acfa068f 77202012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
7721
7722 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7723 Be more robust about locating simple.el.
7724
acfa068f 77252012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
7726
7727 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7728
acfa068f
CY
77292012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7730
7731 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7732
41a97e6f
JL
77332012-09-20 Juri Linkov <juri@jurta.org>
7734
eb2deaff
JL
7735 * replace.el (query-replace-read-from): Use `read-regexp' instead
7736 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7737 (occur-read-primary-args): Use `read-regexp' instead of
7738 `read-string'.
7739 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7740 `read-from-minibuffer'.
7741 * isearch.el (isearch-occur): Use `read-regexp' instead of
7742 `read-string'.
7743 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7744 `read-from-minibuffer'.
7745 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7746 of `read-string'. (Bug#7567)
7747
5825610b
JL
7748 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7749 and allow accepting a list of strings prepended to a list of
7750 standard default values. Doc fix. (Bug#12321)
7751
eebbf404
JL
7752 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7753
41a97e6f
JL
7754 * replace.el (read-regexp): Don't add ": " when PROMPT already
7755 ends with a colon and space. (Bug#12321)
7756
c9e452d3
TH
77572012-09-20 Tassilo Horn <tsdh@gnu.org>
7758
7759 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7760 error.
7761
ee97deee
SM
77622012-09-20 Stefan Merten <smerten@oekonux.de>
7763
70efc5c9 7764 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
7765 Fixes feature request bug#11711.
7766 (rst-mode): Create `imenu-create-index-function'.
7767 (rst-get-stripped-line): Delete after refactoring.
7768 (rst-section-tree, rst-section-tree-rec)
7769 (rst-section-tree-point): Refactor and document properly.
7770 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
7771 (rst-imenu-convert-cell, rst-imenu-create-index):
7772 New function.
ee97deee 7773
f490dab9
SM
77742012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7775
95b9712e
SM
7776 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7777 (macroexp--expand-all): Use it.
7778 (macroexp--funcall-and-return): Remove by folding it into its sole
7779 caller (macroexp--warn-and-return).
7780 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7781 Use macroexp--obsolete-warning.
7782
f490dab9
SM
7783 * calc/calc.el: Fix last change by removing the whole chunk, since it
7784 was only needed back when Calc was not bundled.
7785
96e8d411
MR
77862012-09-20 Martin Rudalics <rudalics@gmx.at>
7787
7788 * emacs-lisp/debug.el (debug): Restore assignment to
7789 debugger-old-buffer removed on 2012-09-08.
7790
0876a82d
JL
77912012-09-20 Juri Linkov <juri@jurta.org>
7792
7793 * dired-aux.el (dired-diff): Remove (require 'diff) since
7794 `diff-latest-backup-file' is now autoloaded.
7795
9f7c28f0
CY
77962012-09-20 Chong Yidong <cyd@gnu.org>
7797
7798 * vc/diff.el (diff-latest-backup-file): Autoload.
7799
7a04bee9
SM
78002012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7801
e6f0a80d
SM
7802 * calc/calc.el: Remove redundant autoload shape check.
7803 (sel-mode): Don't defvar.
7804 (calc-get-stack-element): Add `sel-mode' arg instead.
7805 (calc-top, calc-top-list): Pass it this additional argument.
7806 * calc/calc-store.el (calc-store-map):
7807 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7808 (calc-map-equation, calc-outer-product, calc-inner-product):
7809 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7810
7a04bee9
SM
7811 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7812
12734222
JL
78132012-09-19 Juri Linkov <juri@jurta.org>
7814
7815 * dired-aux.el (dired-diff): Add (require 'diff) because
7816 `diff-latest-backup-file' is not autoloaded.
7817 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7818 of `dired-get-filename' to t to not report error when there is
7819 no default file on the current line.
7820
46624b4f
SM
78212012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7822
ce97595b
SM
7823 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7824 macroexp--eval-if-compile.
7825 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7826 (macroexp--expand-all): Use them (bug#12371).
7827
46624b4f
SM
7828 * doc-view.el (doc-view-guess-paper-size)
7829 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7830
db8a5a18
TH
78312012-09-19 Tassilo Horn <tsdh@gnu.org>
7832
7833 New feature: set optimal slice from BoundingBox information.
7834 * doc-view.el (doc-view-mode-map): Add keybinding.
7835 (doc-view-menu): Add menu entry.
7836 (doc-view-set-slice): Adapt docstring.
7837 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7838 (doc-view-scale-bounding-box)
7839 (doc-view-set-slice-from-bounding-box): New functions.
7840 (doc-view-paper-sizes): New defvar.
7841
69f6644c
GM
78422012-09-19 Glenn Morris <rgm@gnu.org>
7843
35f5b19d
GM
7844 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7845 (byte-compile-log-warning): Autoload. (Bug#12371)
7846
69f6644c
GM
7847 * calendar/calendar.el (calendar-american-month-header)
7848 (calendar-european-month-header, calendar-iso-month-header)
7849 (calendar-month-header): New options.
7850 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7851 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7852
e543ae91
JD
78532012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7854
7855 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7856
2fd5e67d
JL
78572012-09-18 Juri Linkov <juri@jurta.org>
7858
7859 * dired-aux.el (dired-diff): Restore original functionality of
7860 getting the default value, but keep new feature of using the
7861 latest existing backup file (`diff-latest-backup-file').
7862
42917e79
JL
78632012-09-18 Juri Linkov <juri@jurta.org>
7864
7865 * dired.el (dired-mark): If the region is active in Transient Mark
7866 mode, mark all files in the active region. Doc fix.
7867 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7868 Doc fix. (Bug#10624)
7869
20f70ede
JL
78702012-09-18 Juri Linkov <juri@jurta.org>
7871
7872 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7873 attributes for M-n are pulled from the file at point.
7874 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7875 Suggested by Drew Adams. (Bug#10624)
7876
32fb8162
DG
78772012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7878
7879 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7880 whitespace after "end".
7881 (ruby-do-end-to-brace): Collapse block to one line if it fits
7882 within fill-column.
7883
37ab5092
MR
78842012-09-18 Martin Rudalics <rudalics@gmx.at>
7885
7886 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7887 value.
7888 (debug): Don't remove debugger window when debugger is expected
7889 to be back.
7890
ed1f0bd3
CY
78912012-09-18 Chong Yidong <cyd@gnu.org>
7892
7893 * custom.el (defface): Doc fix.
7894
7895 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7896
a11035b8
MB
78972012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7898
7899 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7900 to initialize query-on-exit; then test that instead (bug#12288).
7901
64f6a736
SM
79022012-09-17 Stefan Merten <smerten@oekonux.de>
7903
70efc5c9 7904 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
7905 (rst-defcustom-testcover, rst-testcover-add-compose)
7906 (rst-testcover-add-1value): New functions.
7907 (rst-portable-mark-active-p): Replace by `use-region-p'.
7908 (rst-update-section, rst-classify-adornment)
7909 (rst-find-title-line): Mark `1value' forms.
7910 (rst-classify-adornment): Remove superfluous form.
7911 (rst-update-section, rst-get-adornments-around)
7912 (rst-adornment-complete-p, rst-get-next-adornment)
7913 (rst-adjust, rst-promote-region)
7914 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7915 (rst-find-pfx-in-region, rst-section-tree-rec)
7916 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7917 (rst-toc-node, rst-toc, rst-forward-section)
7918 (rst-iterate-leftmost-paragraphs)
7919 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7920 (rst-bullet-list-region)
7921 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7922 (rst-compile-find-conf, rst-compile)
7923 (rst-repeat-last-character): Fix style.
7924
580bd868
CY
79252012-09-17 Chong Yidong <cyd@gnu.org>
7926
7927 * comint.el (comint--complete-file-name-data): Don't add a space
7928 if the status is `sole'; that adds a gratuitous space in the
7929 completion-cycling case (Bug#12092).
7930
7931 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7932
69de3ec6
RS
79332012-09-17 Richard Stallman <rms@gnu.org>
7934
0dee970c
RS
7935 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7936 only in the mime-shown mode, not in raw mode.
7937 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 7938 mime processing. (Bug#12305)
0dee970c 7939
6b250df6
GM
7940 * mail/rmail.el (rmail-retry-failure):
7941 Turn off mime processing first. (Bug#12037)
acb1c47b 7942
69de3ec6
RS
7943 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7944
d079ee5f
CY
79452012-09-17 Chong Yidong <cyd@gnu.org>
7946
7947 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7948 (shell-dynamic-complete-functions): Convert to defcustom.
7949 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7950
865fe16f
CY
7951 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7952 * comint.el (comint-prompt-read-only):
7953 * custom.el (defcustom):
7954 * hi-lock.el (hi-lock-mode):
7955 * ibuffer.el (ibuffer-formats):
7956 * ielm.el (ielm-prompt-read-only):
7957 * novice.el (disable-command):
7958 * saveplace.el (toggle-save-place):
7959 * speedbar.el (speedbar-supported-extension-expressions):
7960 * startup.el (auto-save-list-file-prefix, init-file-user)
7961 (after-init-hook, inhibit-startup-echo-area-message):
7962 * strokes.el (strokes-help):
7963 * time-stamp.el (time-stamp):
7964 * calendar/calendar.el (calendar, diary-file):
7965 * calendar/diary-lib.el (diary-mail-entries, diary)
7966 (diary-list-entries-hook):
7967 * calendar/holidays.el (holidays, calendar-holidays):
7968 * calendar/lunar.el (lunar-phases):
7969 * calendar/solar.el (sunrise-sunset):
7970 * emulation/edt.el (edt-load-keys):
7971 * emulation/viper.el (viper-mode):
7972 * eshell/em-alias.el (eshell-command-aliases-list):
7973 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7974 * international/ogonek.el (ogonek-information):
7975 * net/tramp-cmds.el (tramp-bug):
7976 * net/quickurl.el (quickurl-reread-hook-postfix):
7977 * play/decipher.el (decipher-font-lock-keywords):
7978 * progmodes/cc-styles.el (c-set-style):
7979 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7980 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7981 * progmodes/octave-mod.el (octave-mode):
7982 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7983 * progmodes/verilog-mode.el (verilog-read-defines):
7984 * textmodes/two-column.el (2C-mode): Likewise.
7985
48093eb9
KY
79862012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7987
7988 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7989 that holds many addresses.
7990
c584eaf9
CY
79912012-09-16 Chong Yidong <cyd@gnu.org>
7992
40d70ecb
CY
7993 * align.el (align-areas): Call the indication function with
7994 positions instead of markers for arguments (Bug#12343).
7995
1667e065
CY
7996 * files.el (parse-colon-path): Use split-string (Bug#12351).
7997
fdc2806d 7998 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 7999 (display-buffer-function): Mark as obsolete.
fdc2806d 8000
f1be615c 8001 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
8002 values similar to font-lock-keywords (Bug#12136).
8003 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
8004 (compilation-error-regexp-alist): Doc fix.
8005
f40a9709
GM
80062012-09-15 Glenn Morris <rgm@gnu.org>
8007
72aa16e1
GM
8008 * version.el (emacs-bzr-version-bzr): New function.
8009 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8010
82375160
GM
8011 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8012 checkouts, check the parent dirstate matches the branch.
8013 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8014 empty string.
8015
f40a9709
GM
8016 * version.el (emacs-bzr-version): Doc fix.
8017 (emacs-bzr-version-dirstate): New function.
8018 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8019 is local try and check that it matches the branch. If not, just
8020 use dirstate information. (Bug#12441)
8021
cb26b7f5
JL
80222012-09-14 Juri Linkov <juri@jurta.org>
8023
8024 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8025 (Bug#12399)
8026
2de39f08
SM
80272012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8028
0fb3cb7c
SM
8029 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8030
2de39f08
SM
8031 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8032 Remove obsolete byte-compiler hack that tried to silence some warnings.
8033 (edebug-submit-bug-report): Remove.
8034 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8035 Remove aliases, use the un-prefixed name instead.
8036 (edebug-pop-to-buffer): Consider other frames.
8037 (edebug-original-read):: Make it more obvious that it's always defined.
8038 (edebug--make-form-data-entry, edebug--form-data-name)
8039 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8040 single-dashed name, and implement with cl-defstruct.
8041 (edebug-set-form-data-entry): Use the standard accessors.
8042 (edebug-make-top-form-data-entry): Use push.
8043 (edebug-no-match): Drop useless `funcall'.
8044 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8045 to functions.
8046 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8047 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8048 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8049 (easy-menu-define, with-custom-print): Remove redundant specs.
8050 (edebug-outside-overriding-local-map)
8051 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8052 (edebug--display): Bind unread-command-events directly to nil rather
8053 than binding it to unread-command-events and later setting it to nil.
8054 (edebug--display): Kill edebug-eval-buffer here...
8055 (edebug--recursive-edit): ...rather than here.
8056 Bind standard-output and standard-input.
8057 (edebug-eval): Check cl-macroexpand-all is fboundp.
8058 (edebug-temp-display-freq-count): Fix last change.
8059
8060 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8061 * subr.el (noreturn, 1value): Add `debug' spec.
8062 * emacs-lisp/advice.el: Require cl-lib.
8063 (ad-copy-tree): Remove, use copy-tree instead.
8064 (ad-dolist): Remove use dolist or cl-dolist instead.
8065 (ad-do-return): Remove, use cl-return instead.
8066 (defadvice): Add `debug' spec.
8067
5b68b333
JL
80682012-09-13 Juri Linkov <juri@jurta.org>
8069
8070 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8071 (Bug#12399)
8072
b9800ec4
GM
80732012-09-13 Glenn Morris <rgm@gnu.org>
8074
6a2e6868
GM
8075 * calc/calc.el (math-compose-expr):
8076 * calc/calc-ext.el (math-compose-expr):
8077 * progmodes/cc-defs.el (cl-macroexpand-all):
8078 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8079 (cl-macroexpand-all): Update declarations.
8080
b9800ec4
GM
8081 * vc/vc.el: No need to require ediff.
8082 (ediff-load-version-control): Declare.
8083 (ediff-vc-internal): Fix declaration.
8084 (vc-version-ediff): Require ediff.
8085
c18e885b
PE
80862012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8087
8088 Use a more backwards-compatible timer format (Bug#12430).
8089 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8090 being right after USECS, as that better supports old code that
8091 inadvisedly looked directly at the timer vector.
8092
d607d303
KH
80932012-09-13 Kenichi Handa <handa@gnu.org>
8094
8095 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8096 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8097 `coding-priority' property of these language environment.
8098
72eac303
PE
80992012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8100
8101 Fix glitches caused by addition of psec to timers (Bug#12430).
8102 * image.el (image-animate-timer):
8103 * time.el (display-time-world-timer):
8104 Use timer--function and timer--args rather than raw access to
8105 timer vector.
8106
2168fe4f
GM
81072012-09-13 Glenn Morris <rgm@gnu.org>
8108
8109 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8110 If not compiling a file, try using load-file-name.
8111
bd8d6108
SM
81122012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8113
c0c54fbd
SM
8114 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8115 Fix last change.
8116 (edebug-update-eval-list): Use `push'.
8117
bd8d6108
SM
8118 * emacs-lisp/edebug.el: Use lexical-binding.
8119 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8120 Mark unused args with underscore.
8121 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8122 (edebug-form-data): Use defvar-local.
8123 (edebug-make-before-and-after-form, edebug-make-after-form):
8124 Use backquote.
8125 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8126 Not dynamically scoped any more.
8127 (edebug--enter-trace): Add arguments `function' and `args'.
8128 Rename from edebug-enter-trace.
8129 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8130 (edebug--update-coverage): Add `after-index' and `value' args.
8131 Rename from edebug-update-coverage.
8132 (edebug-slow-after): Call it accordingly.
8133 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8134 edebug-recursive-edit.
8135 (edebug--display): Call it accordingly. Add args `value',
8136 `offset-index', and `arg-mode'. Rename from edebug-display.
8137 (edebug-debugger, edebug): Call it accordingly.
8138 (edebug-eval-display-list): Use dolist.
8139
a9f9d9de
JL
81402012-09-12 Juri Linkov <juri@jurta.org>
8141
8142 * info.el (Info-search): Don't check for isearch-mode and
8143 isearch-regexp before let-binding search-spaces-regexp to
8144 Info-search-whitespace-regexp.
8145 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8146 search-whitespace-regexp if isearch-lax-whitespace or
8147 isearch-regexp-lax-whitespace is non-nil.
8148 (Info-mode): Don't set local variable search-whitespace-regexp.
8149 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8150
bfeae2cf
SM
81512012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8152
8153 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8154 (debugger-env-macro): Remove support for unread-command-char.
8155
8156 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8157 the temporary map re-appearing on emulation-mode-map-alists.
8158
8159 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8160 since 22.1.
8161
8162 * ehelp.el (with-electric-help): Accept functions in
8163 electric-help-form-to-execute.
8164 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8165 And replace unread-command-char -> unread-command-events.
8166
fbbcaf1b
MA
81672012-09-12 Michael Albinus <michael.albinus@gmx.de>
8168
8169 Sync with Tramp 2.2.6.
8170
8171 * net/tramp.el (tramp-accept-process-output): Don't use
8172 JUST-THIS-ONE in the XEmacs case.
8173
8174 * net/trampver.el: Update release number.
8175
4dece104
MR
81762012-09-12 Martin Rudalics <rudalics@gmx.at>
8177
bfeae2cf
SM
8178 * emacs-lisp/debug.el (debugger-previous-window-height):
8179 New variable.
4dece104
MR
8180 (debug): When debugger-jumping-flag is non-nil try to restore
8181 height of debugger window. (Bug#8789)
8182
45b82ad0
SM
81832012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8184
60c49c0f
SM
8185 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8186 overriding-local-map and pre/post-command-hook here.
8187 (edebug-recursive-edit): Do it here instead (bug#12345).
8188 (edebug-outside-unread-command-char): Remove all uses of
8189 unread-command-char.
8190
45b82ad0
SM
8191 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
8192 inhibit-debugger is bound instead.
8193
baa26ea0
BG
81942012-09-11 Bastien Guerry <bzg@gnu.org>
8195
8196 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 8197 (Bug#12346)
baa26ea0 8198
04e8abfa
BG
81992012-09-11 Bastien Guerry <bzg@gnu.org>
8200
96d03571 8201 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 8202 (Bug#12347)
96d03571
BG
8203
82042012-09-11 Bastien Guerry <bzg@gnu.org>
8205
fc0c31f8 8206 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 8207
04e082b0
MM
82082012-09-10 Michael R. Mauger <mmaug@yahoo.com>
8209
8210 * progmodes/sql.el: Version 3.1
8211 (sql-db2-escape-newlines): New variable.
8212 (sql-escape-newlines-filter): Use it.
8213
399a361b
JB
82142012-09-10 Juanma Barranquero <lekktu@gmail.com>
8215
8216 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
8217
0780c517
DN
82182012-09-10 Dan Nicolaescu <dann@gnu.org>
8219
45b82ad0
SM
8220 * vc/diff-mode.el (diff-mode-menu):
8221 Bind diff-remove-trailing-whitespace.
0780c517 8222
9b851e25
SM
82232012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8224
8225 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
8226 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
8227 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
8228 (eval-sexp-add-defvars): Don't skip defvars in column >0.
8229 (eval-defun-2): Remove bogus interactive spec.
8230 (lisp-indent-line): Remove redundant whole-exp code, now done in
8231 indent-according-to-mode.
8232 (save-match-data): Remove redundant indent data.
8233
8234 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
8235 Use `declare'.
8236
3231d532
JL
82372012-09-09 Juri Linkov <juri@jurta.org>
8238
8239 * replace.el (replace-regexp-lax-whitespace): New defcustom.
8240 (replace-lax-whitespace, query-replace-regexp)
8241 (query-replace-regexp-eval, replace-regexp): Doc fix.
8242 (perform-replace, replace-highlight): Let-bind
8243 isearch-lax-whitespace to replace-lax-whitespace and
8244 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
8245
8246 * isearch.el (isearch-query-replace): Let-bind
8247 replace-lax-whitespace to isearch-lax-whitespace and
8248 replace-regexp-lax-whitespace to
8249 isearch-regexp-lax-whitespace. (Bug#10885)
8250
70fe8236
SM
82512012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
8252
8253 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
8254
8ed43f15
AM
82552012-09-09 Alan Mackenzie <acm@muc.de>
8256
70fe8236
SM
8257 * progmodes/cc-engine.el (c-state-cache-init):
8258 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
8259 (c-record-parse-state-state):
8260 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 8261
bfabf70a
AS
82622012-09-09 Andreas Schwab <schwab@linux-m68k.org>
8263
8264 * register.el (register-separator): Rename from
8265 separator-register. All uses changed. Doc fix.
8266 (register): Fix version.
8267
011474aa
CY
82682012-09-09 Chong Yidong <cyd@gnu.org>
8269
8270 * replace.el (query-replace-map): Bind four new symbols for
8271 requesting window scrolling.
8272
8273 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
8274 query-replace-map (Bug#8948).
8275
8276 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
8277
8278 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
8279 since they are now in query-replace-map.
8280
8281 * window.el (scroll-other-window-down): Make the arg optional.
8282
a8b7cd8d
CY
82832012-09-09 Chong Yidong <cyd@gnu.org>
8284
8285 * files.el (hack-local-variables-confirm): Use quit-window to kill
8286 the *Local Variables* buffer.
8287
c3268831
DG
82882012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8289
8290 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
8291 not just expect to be at its beginning. Adjust callees.
8292 Succeed when do-end block has no space before the pipe character.
8293 (ruby-brace-to-do-end): When the original block is one-liner,
8294 convert to multiline. Reindent the result.
8295
0979429b
J
82962012-09-08 Jambunathan K <kjambunathan@gmail.com>
8297
8298 * register.el (register): New group.
27359e99 8299 (separator-register): New user option.
0979429b
J
8300 (increment-register): Route it to `append-to-register', if
8301 register contains text. Implication is that `C-x r +' can now be
8302 used for appending to a text register (bug#12217).
8303 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 8304 `separator-register'.
0979429b 8305
ace2989a
AM
83062012-09-08 Alan Mackenzie <acm@muc.de>
8307
8308 AWK Mode: make auto-newline work when there's "==" in the pattern.
8309 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
8310 correctly.
0979429b
J
8311 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
8312 Test more rigorously for "=" token.
ace2989a 8313
616c6c36
DG
83142012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8315
0979429b
J
8316 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
8317 Only fail when reached LIMIT.
616c6c36 8318
35d98877
CY
83192012-09-08 Chong Yidong <cyd@gnu.org>
8320
8321 * dired.el (dired-mode-map): Don't bind M-=.
8322
8323 * dired-aux.el (dired-diff): Use backup file as default.
8324
1715f2db
DA
83252012-09-08 Drew Adams <drew.adams@oracle.com>
8326
8327 * subr.el (add-to-history): Fix delete usage (Bug#12314).
8328
6dcef6ec
CY
83292012-09-08 Chong Yidong <cyd@gnu.org>
8330
8331 * subr.el (syntax-after, syntax-class): Doc fix.
8332
fa2bcf43
MR
83332012-09-08 Martin Rudalics <rudalics@gmx.at>
8334
8335 * window.el (display-buffer-in-previous-window): New buffer
8336 display action function.
8337
8338 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
8339 (debugger-previous-window): New variable.
8340 (debug): Rewrite using display-buffer-in-previous-window,
8341 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
8342
daac280a
SM
83432012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8344
8345 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
8346
9dd40b00
MM
83472012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
8348
daac280a
SM
8349 * progmodes/python.el (python-shell-send-string):
8350 When default-directory is remote, create temp file on remote
9dd40b00
MM
8351 filesystem.
8352 (python-shell-send-file): When file is remote, pass local view of
8353 file paths to remote Python interpreter. (Bug#12340)
8354
145823ec
CY
83552012-09-07 Chong Yidong <cyd@gnu.org>
8356
cee2e90d
CY
8357 * window.el (switch-to-buffer): Doc fix (Bug#12181).
8358
0d7eb2ea
CY
8359 * files.el (after-find-file): Don't fail on a read-only buffer if
8360 require-final-newline is `visit' or `visit-save' (Bug#11156).
8361
145823ec
CY
8362 * subr.el (read-char-choice): Allow quitting via ESC ESC.
8363
daac280a
SM
8364 * userlock.el (ask-user-about-supersession-threat):
8365 Use read-char-choice (Bug#12093).
145823ec 8366
74c582e6
CY
83672012-09-07 Chong Yidong <cyd@gnu.org>
8368
e5c2edf7
CY
8369 * subr.el (buffer-narrowed-p): New function.
8370
8371 * ses.el (ses-widen):
8372 * simple.el (count-words--buffer-message):
1f9f395d 8373 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
8374
8375 * simple.el (count-words-region): Don't signal an error if there
8376 is a non-nil prefix arg and the mark is not set.
c640e87d 8377
74c582e6
CY
8378 * help.el (describe-key-briefly): Allow the message to be seen
8379 when invoked from the minibuffer (Bug#7014).
8380
d81ceaaf
DG
83812012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8382
8383 * progmodes/ruby-mode.el (ruby-end-of-defun)
8384 (ruby-beginning-of-defun): Simplify, allow indentation before
8385 block beginning and end keywords.
8f06acce
DG
8386 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
8387 (ruby-end-of-defun): Expect that the point is at the beginning of
8388 the defun.
d81ceaaf 8389
d458ef98
SM
83902012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
8393 (bug#12367).
8394 (cl--make-usage-args): Strip _ from argument names.
8395
20367d28
RS
83962012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8397
8398 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
8399 obsolete alias speedbar-key-map.
8400 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
8401 (vhdl-index-menu-init): Don't use obsolete variable
8402 font-lock-maximum-size.
8403
3424a4f6
CY
84042012-09-06 Chong Yidong <cyd@gnu.org>
8405
8406 * frame.el (window-system-version): Mark as obsolete.
8407
fcbfbdea
CY
8408 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
8409 of obsolete variable speedbar-key-map.
8410
826b3235
JL
84112012-09-06 Juri Linkov <juri@jurta.org>
8412
8413 * replace.el (replace-lax-whitespace): New defcustom.
8414 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8415 (replace-string, replace-regexp): Mention it in docstrings.
8416 (perform-replace, replace-highlight): Let-bind
8417 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
8418 to the values of replace-lax-whitespace and regexp-flag.
8419 Don't let-bind search-whitespace-regexp. (Bug#10885)
8420
8421 * isearch.el (isearch-query-replace): Let-bind
8422 replace-lax-whitespace instead of let-binding
8423 replace-search-function and replace-re-search-function.
8424 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8425 and isearch-regexp-lax-whitespace to lazy-highlight variables.
8426 (isearch-toggle-symbol): Set isearch-regexp to nil
8427 in isearch-word mode (like in isearch-toggle-word).
8428
1ec5e41d
JL
84292012-09-06 Juri Linkov <juri@jurta.org>
8430
8431 * replace.el (replace-search-function)
8432 (replace-re-search-function): Set default values to nil.
8433 (perform-replace): Let-bind isearch-related variables based on
8434 replace-related values, call `isearch-search-fun' and let-bind
8435 the result to `search-function'. Remove code that sets
8436 `search-function' and `search-string' separately for
8437 `delimited-flag'.
8438 (replace-highlight): Add new argument `delimited-flag' and
8439 rename other arguments to the names used in `perform-replace'.
8440 Let-bind `isearch-word' to the argument `delimited-flag'.
8441 (Bug#10885, bug#10887)
8442
0ba2d4b6
DG
84432012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8444
8445 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8446 ruby-beginning-of-indent, simplify, allow all keywords to have
8447 indentation before them.
8448 (ruby-beginning-of-indent): Adjust for above. Search until the
8449 found point is not inside a string or comment.
8450 (ruby-font-lock-keywords): Allow symbols to start with "@"
8451 character, give them higher priority than variables.
8452 (ruby-syntax-propertize-function)
8453 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8454 matchers. Expression expansions are not comments when inside a
8455 string, and there comment syntax status is irrelevant.
8456 (ruby-match-expression-expansion): New function. Check that
8457 expression expansion is inside a string, and it's not escaped.
8458 (ruby-font-lock-keywords): Use it.
8459
ef654460
MR
84602012-09-05 Martin Rudalics <rudalics@gmx.at>
8461
8462 * help.el (temp-buffer-max-height): New default value.
8463 (temp-buffer-resize-frames): New option.
8464 (resize-temp-buffer-window): Optionally resize frame.
8465
8466 * window.el (fit-frame-to-buffer-bottom-margin): New option.
8467 (fit-frame-to-buffer): New function.
8468
7e570fbf 84692012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
8470
8471 * emulation/cua-rect.el (cua--init-rectangles):
8472 * textmodes/picture.el (picture-mode-map):
8473 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8474 like forward-char and backward-char. (Bug#12317)
8475
7e570fbf 84762012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
8477
8478 * progmodes/flymake.el (flymake-warning-re): New variable.
8479 (flymake-parse-line): Use it.
8480
7e570fbf 84812012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
8482
8483 * calendar/holidays.el (holiday-christian-holidays):
8484 Rename an entry. (Bug#12289)
8485
7e570fbf 84862012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
8487
8488 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8489 (bug#12222).
8490
972debf2
SM
84912012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8492
8493 * loadup.el: Load macroexp. Remove hack.
8494 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8495 (macroexp--expand-all): Use it to get better warnings.
8496 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8497 (internal-macroexpand-for-load): New functions.
8498 (macroexp--pending-eager-loads): New var.
8499 (emacs-startup-hook): New hack to replace one in loadup.el.
8500 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8501 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8502 (cl-psetf): Simplify.
8503 (cl-defstruct): Add indent rule.
8504
8ce192e3
LI
85052012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8506
8507 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8508 over `user-mail-address' for the SMTP MAIL FROM envelope.
8509 (smtpmail-via-smtp): Ditto.
8510
6578b4d8
DG
85112012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8512
8513 * progmodes/ruby-mode.el: Clean up keybindings.
8514 (ruby-mode-map): Don't bind ruby-electric-brace,
8515 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8516 backward-kill-word, reindent-then-newline-and-indent.
8517 (ruby-mark-defun): Remove.
8518 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8519 (ruby-mode): Set local beginning-of-defun-function and
8520 end-of-defun-function values.
8521
c5e28e39
MR
85222012-09-03 Martin Rudalics <rudalics@gmx.at>
8523
8524 * window.el (temp-buffer-window-setup-hook)
8525 (temp-buffer-window-show-hook): New hooks.
8526 (temp-buffer-window-setup, temp-buffer-window-show)
8527 (with-temp-buffer-window): New functions.
972debf2
SM
8528 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8529 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
8530
8531 * help.el (temp-buffer-resize-mode): Fix doc-string.
8532 (resize-temp-buffer-window): New optional argument WINDOW.
8533
8534 * files.el (recover-file, save-buffers-kill-emacs):
8535 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8536
73406194
MA
85372012-09-02 Michael Albinus <michael.albinus@gmx.de>
8538
8539 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8540 remote definition of `default-directory', ensure we can connect.
8541
63dd1c6f
JL
85422012-09-02 Juri Linkov <juri@jurta.org>
8543
8544 Toggle whitespace matching mode with M-s SPC.
8545 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8546
8547 * isearch.el (search-whitespace-regexp): Doc fix.
8548 Remove cons cell customization.
8549 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8550 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8551 New variables.
8552 (isearch-forward, isearch-forward-regexp): Doc fix.
8553 (isearch-toggle-lax-whitespace): New command.
8554 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8555 (re-search-forward-lax-whitespace)
8556 (re-search-backward-lax-whitespace): New functions.
8557 (isearch-whitespace-regexp): Remove function.
8558 (isearch-query-replace): Let-bind replace-search-function and
8559 replace-re-search-function.
8560 (isearch-occur): Let-bind search-spaces-regexp according to the
8561 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8562 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8563 condition for C-q SPC.
8564 (isearch-search-fun-default): Use new functions mentioned above.
8565 (isearch-search-forward, isearch-search-backward): Remove functions.
8566 (isearch-search): Don't let-bind search-spaces-regexp.
8567 (isearch-lazy-highlight-space-regexp): Remove variable.
8568 (isearch-lazy-highlight-lax-whitespace)
8569 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8570 (isearch-lazy-highlight-new-loop): Use them.
8571 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8572
af7dda05
CY
85732012-09-02 Chong Yidong <cyd@gnu.org>
8574
8575 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8576
d67d3afd
GM
85772012-09-02 Glenn Morris <rgm@gnu.org>
8578
8579 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8580
69678719
GM
85812012-09-01 Glenn Morris <rgm@gnu.org>
8582
8583 * term.el: Tidy up menu definitions.
8584 (term-mode-map): Use easymenu for In/Out, Complete menus.
8585 (term-pager-break-map): Initialize in the defvar.
8586 (term-terminal-menu, term-signals-menu): Define with easymenu.
8587 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8588 (term-pager-menu): New, extracted from term-process-pager.
8589 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8590 (term-update-mode-line): Propertize line/char and page items.
8591 (term-process-pager): Move keymap initialization elsewhere.
8592
78dd6ab1
MR
85932012-09-01 Martin Rudalics <rudalics@gmx.at>
8594
8595 * window.el (switch-to-prev-buffer): Handle additional values of
8596 BURY-OR-KILL argument. Don't switch in minibuffer window.
8597 (switch-to-next-buffer): Don't switch in minibuffer window.
8598 (quit-restore-window): New function based on quit-window.
8599 Handle additional values of former KILL argument.
8600 (quit-window): Call quit-restore-window with appropriate
8601 interpretation of KILL argument.
8602 (display-buffer-below-selected): New buffer display action
8603 function.
8604
3d10e134
SM
86052012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8606
8607 * minibuffer.el (completion-at-point-functions): Complete docstring
8608 (bug#12254).
8609
0e23ef9d
PE
86102012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8611
8612 Better seed support for (random).
8613 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8614 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8615 * play/mpuz.el, play/tetris.el, play/zone.el:
8616 * calc/calc-comb.el (math-init-random-base):
8617 * play/blackbox.el (bb-init-board):
8618 * play/life.el (life):
8619 * server.el (server-use-tcp):
8620 * type-break.el (type-break):
8621 Remove unnecessary call to (random t).
8622 * net/sasl.el (sasl-unique-id-function):
8623 Change (random t) to (random), now that the latter is more random.
8624 * play/life.el (life-initialized): Remove no-longer-needed var.
8625
862382df
MR
86262012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8627
8628 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8629 Consider frame's buffer predicate when choosing the buffer.
8630 (Bug#12081)
8631
262a66e1
RS
86322012-08-30 Richard Stallman <rms@gnu.org>
8633
8634 * simple.el (special-mode-map): Delete binding for `z'.
8635
f17e1d00
AS
86362012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8637
8638 * progmodes/compile.el (compilation-always-kill): Doc fix.
8639
24777832
CY
86402012-08-30 Chong Yidong <cyd@gnu.org>
8641
8642 * window.el (display-buffer-reuse-frames): Make the obsolescence
8643 message more informative.
8644
69ba1f04
GM
86452012-08-30 Glenn Morris <rgm@gnu.org>
8646
8647 * paren.el (show-paren-delay):
8648 Add a :set function. Doc fix. (Bug#12297)
8649
f0019ede
MB
86502012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8651
8652 * progmodes/compile.el (compilation-always-kill): New var.
8653 (compilation-start): Use it.
8654
35e62fc9
SM
86552012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8656
af070a1c
SM
8657 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8658 * files.el (read-only-mode): Move to simple.el.
8659
35e62fc9
SM
8660 * files.el (read-only-mode): New minor mode.
8661 (toggle-read-only): Use it and mark obsolete.
8662 (find-file--read-only):
8663 * vc/vc.el (vc-next-action, vc-checkout):
8664 * vc/vc-cvs.el (vc-cvs-checkout):
8665 * obsolete/vc-mcvs.el (vc-mcvs-update):
8666 * ffap.el (ffap--toggle-read-only): Update callers.
8667
c2c43c23
MA
86682012-08-29 Michael Albinus <michael.albinus@gmx.de>
8669
8670 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
8671 remote shell scripts.
8672 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
8673
8674 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8675 "/usr/local/sbin".
8676
9fba804b
SM
86772012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8680
eada0861 86812012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 8682
806f0cc7
LL
8683 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8684 completion-at-point. (Bug#12220)
8685
3bb213b9
LL
8686 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8687
22ab32ef
LL
8688 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8689
eada0861 86902012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 8691
19c17fc1
CY
8692 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8693 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 8694
eada0861 86952012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
8696
8697 * progmodes/hideif.el (hif-compress-define-list):
8698 Fix typo. (Bug#11951)
8699
eada0861 87002012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
8701
8702 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8703 buffer local setting.
8704
27d6c5a8
LL
8705 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8706 rcirc-encode-coding-system.
8707
eada0861 87082012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
8709
8710 * net/rcirc.el (rcirc-split-message): New function.
8711 (rcirc-send-message): Use it. (Bug#12051)
8712
d44688e4
JL
87132012-08-28 Juri Linkov <juri@jurta.org>
8714
8715 * info.el (Info-fontify-node): Hide empty lines at the end of
8716 the node. (Bug#12272)
8717
34f10d41
MR
87182012-08-27 Drew Adams <drew.adams@oracle.com>
8719
8720 * dired.el (dired-pop-to-buffer): Make window start at beginning
8721 of buffer (Bug#12281).
8722
77f1f99c
CY
87232012-08-26 Chong Yidong <cyd@gnu.org>
8724
8725 * window.el (special-display-regexps, special-display-frame-alist)
8726 (special-display-buffer-names, special-display-function)
8727 (display-buffer-reuse-frames): Mark as obsolete.
8728
8729 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8730
8731 * help.el (help-print-return-message): Don't treat
8732 display-buffer-reuse-frames specially.
8733
d97af5a0
CY
87342012-08-26 Chong Yidong <cyd@gnu.org>
8735
9fba804b
SM
8736 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8737 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
8738 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8739 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8740 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8741 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8742 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8743 the functions directly with gdb-display-buffer-other-frame-action.
8744 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8745 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8746 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8747 (gdb-display-registers-buffer): Define directly.
8748 (def-gdb-display-buffer): Macro deleted.
8749 (gdb-display-buffer): Remove second and third args, callers don't
8750 use them. Defer to the default display-buffer behavior, apart
8751 from making windows dedicated.
8752 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8753
8754 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8755
8756 * window.el (display-buffer-pop-up-frame): Handle a
8757 pop-up-frame-parameters alist entry.
8758 (display-buffer): Document it.
8759
dd7ffad6
CY
87602012-08-26 Chong Yidong <cyd@gnu.org>
8761
8762 * isearch.el (search-whitespace-regexp): Make string and nil
8763 values apply to both ordinary and regexp search. Allow a cons
8764 cell value to distinguish between the two.
8765 (isearch-whitespace-regexp, isearch-search-forward)
8766 (isearch-search-backward): New functions.
8767 (isearch-occur, isearch-search-fun-default, isearch-search)
8768 (isearch-lazy-highlight-new-loop): Use them.
8769 (isearch-forward, isearch-forward-regexp): Doc fix.
8770
4c47bd1e
CY
87712012-08-26 Chong Yidong <cyd@gnu.org>
8772
8773 * faces.el (help-argument-name): Always inherit from italic
8774 (Bug#12213).
8775
9aba119d
MR
87762012-08-25 Martin Rudalics <rudalics@gmx.at>
8777
8778 * window.el (window--even-window-heights): Even heights when
8779 WINDOW and the selected window form a vertical combination.
8780 (display-buffer-use-some-window): Provide that window used gets
8781 sized back by quit-window. (Bug#11880) and (Bug#12091)
8782
ca5256ad
PE
87832012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8784
8785 Fix file time stamp problem with bzr and CVS (Bug#12001).
8786 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8787 in the file's time stamp, since the version control system loses
8788 that information.
8789
d1c0d176
JL
87902012-08-22 Juri Linkov <juri@jurta.org>
8791
8792 * info.el (Info-fontify-node): Hide the suffix of the
8793 Info file name in the header line. (Bug#12187)
8794
141562ff
GM
87952012-08-22 Glenn Morris <rgm@gnu.org>
8796
8797 * calendar/cal-tex.el (cal-tex-weekly-common):
8798 Restore leading blank page.
8799
3a21537c 88002012-08-22 Le Wang <l26wang@gmail.com>
add9ca2d
BG
8801
8802 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
8803 the region under `shift-select-mode'. (Bug#12231)
8804
88052012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
8806
8807 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8808 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8809 gives details on why the space is never needed.
8810
ea95074e
MR
88112012-08-22 Martin Rudalics <rudalics@gmx.at>
8812
9fba804b
SM
8813 * window.el (walk-window-tree, window-with-parameter):
8814 New optional argument MINIBUF to control whether these functions
ea95074e
MR
8815 should run on the minibuffer window.
8816 (window-at-side-list): Don't operate on minibuffer window.
8817 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
8818 (window--size-ignore): Rename to window--size-ignore-p.
8819 Update callers.
caceae25
MR
8820 (display-buffer-in-atom-window, window--major-non-side-window)
8821 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
8822 (delete-side-window, display-buffer-in-side-window):
8823 New functions.
caceae25
MR
8824 (window--side-check, window-deletable-p, delete-window)
8825 (delete-other-windows, split-window): Handle side windows and
8826 atomic windows appropriately.
8827 (window--display-buffer): Call display-buffer-record-window also
8828 when the window buffer did not change.
ea95074e 8829
80a51fa0
CS
88302012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8831
8832 * help-fns.el (help-fns--key-bindings):
8833 Abbreviate non-symbol remap targets. (Bug#12174)
8834
fbb6300b
MR
88352012-08-22 Martin Rudalics <rudalics@gmx.at>
8836
8837 * dired.el (dired-mark-remembered): Don't clobber point.
8838 (Bug#11795)
8839
2b2c0794
GM
88402012-08-22 Glenn Morris <rgm@gnu.org>
8841
8842 * progmodes/bug-reference.el (bug-reference): New custom group.
8843 (bug-reference-bug-regexp): Make it a defcustom.
8844
37219830
DU
88452012-08-22 Daiki Ueno <ueno@unixuser.org>
8846
8847 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8848 (js-paren-indent-offset, js-square-indent-offset)
8849 (js-curly-indent-offset): Add :safe (Bug#12257).
8850
94e0e559
EC
88512012-08-22 Edward O'Connor <hober0@gmail.com>
8852
8853 * json.el (json-key-format): Add error properties.
8854 (json-encode-key): New function.
8855 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8856 Use json-encode-key.
8857
da485f5e
GM
88582012-08-22 Glenn Morris <rgm@gnu.org>
8859
8860 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8861 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8862 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8863 Update for above change.
8864
c6cc78b8
AS
88652012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8866
8867 * cus-face.el (custom-face-attributes): Fix customize type for the
8868 :underline attribute. (Bug#11805)
8869
5481664a
MR
88702012-08-21 Martin Rudalics <rudalics@gmx.at>
8871
8872 * window.el (window-point-1, set-window-point-1): Remove.
8873 (window-in-direction, record-window-buffer)
8874 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
8875 (window--state-get-1, display-buffer-record-window):
8876 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
8877 window-point and set-window-point respectively.
8878
6d74698e
GM
88792012-08-21 Glenn Morris <rgm@gnu.org>
8880
b7fa2691
GM
8881 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8882 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8883 Use it.
8884
52f56d5a
GM
8885 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8886 (cal-tex-shortday): New function.
8887 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8888 (cal-tex-cursor-filofax-daily): Use the above.
8889
9f1ee09e
GM
8890 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8891 New functions.
8892 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8893 (cal-tex-cursor-filofax-week): Use them.
8894
79858159
GM
8895 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8896 New constants.
8897 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8898 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8899
d346b2b4
GM
8900 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8901 (cal-tex-end-document): Don't rely on buffer name.
8902
b2403709
GM
8903 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8904 Use cal-tex-vspace.
8905 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8906 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
8907 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8908 Use cal-tex-arg.
b2403709 8909
1cebb5c0
GM
8910 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8911 (cal-tex-cursor-week, cal-tex-cursor-week2)
8912 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8913 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8914 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8915 (cal-tex-insert-preamble, cal-tex-b-document)
8916 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8917 Improve cal-tex-cmd usage.
8918
c68cd5d4
GM
8919 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8920 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8921 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8922 (cal-tex-weekly-paper): New function.
8923 (cal-tex-cursor-week, cal-tex-cursor-week2)
8924 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8925 (cal-tex-cursor-day): Use it.
8926
9dca4801
GM
8927 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8928 (cal-tex-cursor-filofax-week): Remove leading blank page.
8929
1941e134
GM
8930 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8931 Add autoload cookie. For now at least, don't use color, since
8932 no other cal-tex function does.
8933
6d74698e
GM
8934 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8935 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8936 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8937
64cde199
JL
89382012-08-21 Juri Linkov <juri@jurta.org>
8939
8940 * info.el (Info-file-attributes): New variable.
8941 (info-insert-file-contents): Add file attributes to
8942 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8943 `Info-toc-nodes' when previous modtime of the Info file is less
8944 than new modtime.
8945 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8946 of info.el. (Bug#12230)
8947
32757648
GM
89482012-08-20 Glenn Morris <rgm@gnu.org>
8949
8950 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8951 * calendar/holidays.el (calendar-holiday-list):
8952 Report errors with display-warning rather than beep'n'sleep.
8953
a32fbbcf
MA
89542012-08-20 Michael Albinus <michael.albinus@gmx.de>
8955
8956 * net/tramp.el (tramp-accept-process-output): Accept only output
8957 from PROC. Otherwise, process filters and sentinels might be
8958 confused. (Bug#12145)
8959
a05731a0
CY
89602012-08-20 Chong Yidong <cyd@gnu.org>
8961
8962 * descr-text.el (describe-text-properties-1): Use overlays-in to
8963 report on empty overlays (Bug#3322).
8964
36e8d1eb
GM
89652012-08-20 Glenn Morris <rgm@gnu.org>
8966
3d300447
GM
8967 * mail/rmailout.el (rmail-output-read-file-name):
8968 Trap and report errors in rmail-output-file-alist elements.
8969
36e8d1eb
GM
8970 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8971 since most non-font-lock faces are not also variables).
8972
b96e5814
ER
89732012-08-20 Edward Reingold <reingold@iit.edu>
8974
8975 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8976 New function. (Bug12160)
8977
7cef3569
GM
89782012-08-19 Glenn Morris <rgm@gnu.org>
8979
8980 * mail/rmailout.el (rmail-output-read-file-name):
8981 Fix previous change (when the alist is nil or does not match).
8982
17975d7f
CY
89832012-08-19 Chong Yidong <cyd@gnu.org>
8984
8985 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8986 (Bug#12228).
8987
2170b1bd
CY
89882012-08-18 Chong Yidong <cyd@gnu.org>
8989
8990 * simple.el (yank-handled-properties): New defcustom.
8991 (yank-excluded-properties): Add font-lock-face and category.
8992 (yank): Doc fix.
8993
9fba804b
SM
8994 * subr.el (remove-yank-excluded-properties):
8995 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
8996 and category is now done this way, instead of being hard-coded.
8997 (insert-for-yank-1): Remove font-lock-face handling.
8998 (yank-handle-font-lock-face-property)
8999 (yank-handle-category-property): New function.
9000
ee218151
GM
90012012-08-17 Glenn Morris <rgm@gnu.org>
9002
9003 * mail/rmailout.el (rmail-output-read-file-name):
9004 Check rmail-output-file-alist against the full message body
9005 in the correct rmail buffer. (Bug#12214)
9006
4a6bc3fd
MA
90072012-08-17 Michael Albinus <michael.albinus@gmx.de>
9008
9fba804b
SM
9009 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9010 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 9011
383dcbf9
CY
90122012-08-17 Chong Yidong <cyd@gnu.org>
9013
9014 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9015 font spec, set the font directly (Bug#3228).
9016
998c4a6a
MR
90172012-08-17 Martin Rudalics <rudalics@gmx.at>
9018
9019 * window.el (delete-window): Fix last fix.
9020
52162052
MR
90212012-08-16 Martin Rudalics <rudalics@gmx.at>
9022
9023 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
9024 (window-child, window-child-count, window-last-child)
9025 (window-normalize-window, window-combined-p)
9026 (window-combinations, window-atom-root, window-min-size)
9027 (window-sizable, window-sizable-p, window-size-fixed-p)
9028 (window-min-delta, window-max-delta, window--resizable)
9029 (window--resizable-p, window-resizable, window-total-size)
9030 (window-full-height-p, window-full-width-p, window-body-size)
9031 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9032 (minimize-window, window-deletable-p, delete-window)
9033 (delete-other-windows, set-window-buffer-start-and-point)
9034 (next-buffer, previous-buffer, split-window, balance-windows-2)
9035 (set-window-text-height, window-buffer-height)
9036 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
9037 (truncated-partial-width-window-p): Minor code adjustments.
9038 In doc-strings state whether the argument window has to denote a
85c2386b 9039 live, valid or any window.
52162052 9040
1c308380
PS
90412012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9042
9043 * progmodes/subword.el (subword-forward-function)
9044 (subword-backward-function, subword-forward-regexp)
9045 (subword-backward-regexp): New variables.
9046 (subword-forward, subword-forward-internal, subword-backward-internal):
9047 Use new variables, eg so that different "word" definitions
9048 can be easily used. (Bug#11411)
9049
94c9ece1
SM
90502012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9051
9052 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9053 for composite selectors.
9054 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9055 operation just because we can't find a previous revision.
9056
f2045622
CY
90572012-08-15 Chong Yidong <cyd@gnu.org>
9058
9059 * frame.el (set-frame-font): Accept font objects.
9060
582db660
SM
90612012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9062
9063 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9064
2f29c200
WJ
90652012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9066
456e62c2
WJ
9067 * man.el (Man-overstrike-face, Man-underline-face)
9068 (Man-reverse-face): Remove variables.
9069 (Man-overstrike, Man-underline, Man-reverse): New faces.
9070 (Man-fontify-manpage): Use them instead of the variables.
9071 (Man-cleanup-manpage): Comment change.
9072 (Man-ansi-color-map): New variable.
9073 (Man-fontify-manpage): Use it.
9074 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9075
2f29c200
WJ
9076 Implement ANSI SGR parameters 22-27 (bug#12146).
9077 * ansi-color.el (ansi-colors): Doc fix.
9078 (ansi-color-context, ansi-color-context-region): Doc fix.
9079 (ansi-color--find-face): New function.
9080 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9081 Rename the local variable `face' to `codes' since it is now a list of
9082 ansi codes. Doc fix.
9083 (ansi-color-get-face): Remove.
9084 (ansi-color-parse-sequence): New function, derived from
9085 ansi-color-get-face.
9086 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9087 codes 22-27.
9088
b4f5e9df
SM
90892012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * subr.el (read-passwd): Allow use from a minibuffer.
9092
ba025fbd
EZ
90932012-08-14 Eli Zaretskii <eliz@gnu.org>
9094
9095 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9096 inside comments and strings as identifiers.
9097
9098 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9099 expression to evaluate. This allows to evaluate expressions with
9100 embedded whitespace.
9101 (gud-tooltip-tips): Add a blank before the newline in the
9102 message-box text, for the benefit of message-box emulation on
9103 MS-Windows.
9104
9105 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9106 messages from GDB, pop them up in a tooltip to give feedback to
9107 user.
b4f5e9df
SM
9108 (gdb-tooltip-print-1): Quote the expression to evaluate.
9109 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
9110 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9111 if the TTY name is nil or empty (which happens when communicating
9112 with the inferior via pipes, e.g. on MS-Windows).
9113 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9114 don't send that to the GUD buffer.
9115
c548f821
GM
91162012-08-14 Glenn Morris <rgm@gnu.org>
9117
9118 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9119 Optimize away setq-default with no args, as for setq. (Bug#12195)
9120
55802e4a
CY
91212012-08-14 Chong Yidong <cyd@gnu.org>
9122
4abcdac8
CY
9123 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9124
55802e4a
CY
9125 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9126 (Bug#12085).
9127
3c3cda1a
GM
91282012-08-14 Glenn Morris <rgm@gnu.org>
9129
9130 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9131
e1873bd0
MA
91322012-08-14 Michael Albinus <michael.albinus@gmx.de>
9133
9134 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9135 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9136 Use cached shell name.
9137
925411b4
FEG
91382012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9139
9140 * progmodes/python.el (python-shell-send-string):
3c3cda1a 9141 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 9142
e636fafe
DG
91432012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9144
9145 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9146 (ruby-percent-literal-beg-re): New constant.
9147 (ruby-syntax-general-delimiters-goto-beg): Rename to
9148 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9149 (ruby-syntax-propertize-general-delimiters): Rename to
9150 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9151 popular term. Adjust comments everywhere.
9152 (ruby-syntax-propertize-percent-literal): Only propertize when not
9153 inside a simple string or comment. When the literal is unclosed,
9154 leave the text after it unpropertized.
f063063a
DG
9155 (ruby-syntax-methods-before-regexp): New constant.
9156 (ruby-syntax-propertize-function): Use it to recognize regexps.
9157 Don't look at the text after regexp, just use the whitelist.
e636fafe 9158
e5b19827
AS
91592012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9160
9161 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9162 non-nil always load the compiled file if it exists. (Bug#12197)
9163
a9f6f311
CY
91642012-08-14 Chong Yidong <cyd@gnu.org>
9165
9166 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9167 (hi-lock-set-pattern): When deciding whether to use font lock or
9168 overlays, look at font-lock-mode instead of font-lock-fontified
9169 (Bug#12168).
9170 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9171 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9172
7d806b1e
DU
91732012-08-14 Daiki Ueno <ueno@unixuser.org>
9174
9175 * subr.el (internal--after-with-selected-window): Fix typo
9176 (Bug#12193).
9177
5beed586
FEG
91782012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9179
9180 Use `completion-table-dynamic' for completion functions.
9181 * progmodes/python.el
9182 (python-shell-completion--do-completion-at-point)
e636fafe
DG
9183 (python-shell-completion--get-completions):
9184 Remove functions.
5beed586
FEG
9185 (python-shell-completion-complete-at-point): New function.
9186 (python-completion-complete-at-point): Use it.
9187
92cb3b04
J
91882012-08-13 Jambunathan K <kjambunathan@gmail.com>
9189
9190 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
9191 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
9192
89660017
SM
91932012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9194
3c98c962
SM
9195 * subr.el (function-get): Refine `autoload' arg so it can also
9196 autoload functions for gv.el (bug#12191).
9197 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
9198 autoloads macros.
9199
aa7c6dbe
SM
9200 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
9201 Prefer pcase-let over destructuring-bind.
9202 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
9203 Also, remove whitespace as we go, rather than after accumulating the
9204 various places.
9205
89660017
SM
9206 * subr.el (internal--before-with-selected-window)
9207 (internal--after-with-selected-window): Fix typo seleted->selected.
9208 (with-selected-window): Adjust callers.
9209 Reported by Dmitry Gutov <dgutov@yandex.ru>.
9210
31cd32c9
BG
92112012-08-13 Bastien Guerry <bzg@gnu.org>
9212
0fcd3d9f 9213 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
9214 enhancement. (Bug#12172)
9215
1b15d8ad
AS
92162012-08-13 Andreas Schwab <schwab@linux-m68k.org>
9217
31e54db0
AS
9218 * tar-mode.el (tar-header-data-end): Only ignore size for files of
9219 type 1-6.
9220 (tar-header-block-summarize, tar-get-descriptor): Handle pax
9221 extended headers.
9222
1b15d8ad
AS
9223 * files.el (hack-local-variables-filter): Remove useless eval.
9224
35cb9c06
MR
92252012-08-13 Martin Rudalics <rudalics@gmx.at>
9226
9227 * subr.el (with-selected-window): Fix last change.
9228
1439443b
SM
92292012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9230
9231 * subr.el (internal--before-with-seleted-window)
9232 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
9233 (with-selected-window): Use them, to replace dependency on
9234 tty-top-frame.
1439443b 9235
0d9e2599
NN
92362012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
9237
9238 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
9239 binding for `newline'.
9240 (ruby-move-to-block): When moving backward, stop at block opening,
9241 not indentation.
9242 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
9243 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
9244 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9245 `ruby-toggle-block'.
9246
ba10c48c
SM
92472012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9248
9249 * ibuffer.el (ibuffer-do-toggle-read-only):
9250 * dired.el (dired-toggle-read-only):
9251 * buff-menu.el (Buffer-menu-toggle-read-only):
9252 * bindings.el (mode-line-toggle-read-only):
9253 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
9254
9229c658
AS
92552012-08-12 Andreas Schwab <schwab@linux-m68k.org>
9256
9257 * descr-text.el (describe-char): Put the overlays over the
9258 "displayed as" character.
9259
0fd09128
JB
92602012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
9261
9262 * calc/calc-units.el (math-default-units-table): Give an
9263 initial value.
9264 (math-put-default-units): Add options to put composite units and
9265 unit systems in the default units table.
9266 (calc-convert-units): Send composite units to
9267 `math-put-default-units' when appropriate.
9268
9ff9402d 92692012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 9270
fbb5e336
GM
9271 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
9272
7aacaf15
GM
9273 * tutorial.el (help-with-tutorial):
9274 * emacs-lisp/copyright.el (copyright-update-directory):
9275 * emacs-lisp/autoload.el (autoload-find-generated-file)
9276 (autoload-find-file): Disable local eval: (for insurance).
9277
f40b9f10
GM
9278 * files.el (hack-local-variables-filter): If an eval: form is not
9279 known to be safe, and enable-local-variables is :safe, then ignore
9280 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 9281 This is CVE-2012-3479.
f40b9f10 9282
daa9f1a6
SM
92832012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
9286 (rx-form): Simplify.
9287
9cd80478
DG
92882012-08-09 Dmitry Gutov <dgutov@yandex.ru>
9289
0d9e2599
NN
9290 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
9291 ?, _, and : are symbol constituents, ! is not (but kinda should be).
9292 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
9293 (ruby-syntax-propertize-function): Adjust for changes in
9294 `ruby-syntax-propertize-heredoc'.
9295
92962012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
9297
9cd80478
DG
9298 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
9299 binding (use `M-;' instead).
9cd80478 9300 (ruby-singleton-class-p): New function.
0d9e2599 9301 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 9302
d301b413
SM
93032012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9304
9305 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
9306
1530c98e
CY
93072012-08-10 Chong Yidong <cyd@gnu.org>
9308
9309 * progmodes/python.el (python-shell-get-process-name): Don't mess
9310 with same-window-buffer-names.
9311
9312 * eshell/eshell.el (eshell-add-to-window-buffer-names)
9313 (eshell-remove-from-window-buffer-names): Make obsolete.
9314 (eshell-buffer-name, eshell-unload-hook): Don't use them.
9315 (eshell): Just use pop-to-buffer-same-window instead.
9316
e1293765
CY
93172012-08-10 Chong Yidong <cyd@gnu.org>
9318
9319 * bindings.el: Bind M-= back to count-words-region.
9320
9321 * simple.el (count-words-region): Accept a prefix arg for acting
9322 on the entire buffer.
9323 (count-words--buffer-message): New helper function.
9324
e1894109
SM
93252012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9326
9327 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
9328 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
9329 (event-start, event-end): Use posn-at-point to return a more
9330 informative posn.
9331 (posnp): New function.
9332 * mouse.el (popup-menu-normalize-position): Use it.
9333
c69f56a2
MY
93342012-08-10 Masatake YAMATO <yamato@redhat.com>
9335
9336 * mouse.el (popup-menu-normalize-position): New function.
9337 (popup-menu): Use `popup-menu-normalize-position' to normalize
9338 the form for POSITION argument.
9339
9340 * term/x-win.el (x-menu-bar-open):
9341 Use the value returend from (posn-at-point) as position
9342 passed to `popup-menu'.
9343
31673780
JB
93442012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9345
9346 * calc/calccomp.el (math-compose-expr): Add extra argument
9347 indicating that parentheses should be put around products in
9348 denominators. Give multiplication precedence over division during
9349 composition.
9350
dab7711b
CY
93512012-08-09 Chong Yidong <cyd@gnu.org>
9352
dee4ef93
CY
9353 * man.el (Man-switches, Man-sed-command, Man-awk-command)
9354 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
9355 (Man-untabify-command, manual-program): Convert to defcustom
9356 (Bug#10429).
9357
73e2bbc5
CY
9358 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
9359
3e861c8a
CY
9360 * descr-text.el (describe-char): Don't insert extra newlines
9361 (Bug#10127).
9362
a9f5a649
CY
9363 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
9364 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
9365
dab7711b
CY
9366 * align.el (align-region): Delete temporary markers (Bug#10047).
9367 Plus some code cleanups.
9368
e0cc4efa
FEG
93692012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9370
9371 * progmodes/python.el (python-pdbtrack-tracked-buffer)
9372 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
9373 (python-shell-internal-last-output): Use make-local-variable
9374 instead of make-variable-buffer-local.
9375
489af14f
FEG
93762012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
9377
9378 * progmodes/python.el: Enhancements to forward-sexp.
9379 (python-nav-forward-sexp): Rename from
9380 python-nav-forward-sexp-function.
c69f56a2
MY
9381 (python-nav--forward-sexp, python-nav--backward-sexp):
9382 New functions.
489af14f 9383
0fc50303
JB
93842012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9385
9386 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
9387 modes and simplification modes.
9388
5d65606a
SM
93892012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9390
9391 * delsel.el (delete-selection-pre-hook): Don't propagate the
9392 file-supersession signals (bug#12161).
9393
4250fdf5
SM
93942012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9395
9396 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
9397 (cl-map-extents): Add compatibility aliases (bug#12135).
9398
d9f9b465
MA
93992012-08-08 Michael Albinus <michael.albinus@gmx.de>
9400
9401 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
9402 tests by `ignore-error'.
9403 (tramp-find-shell): Open also a new shell, when cache is already
9404 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
9405
ce0fcefa
JL
94062012-08-08 Juri Linkov <juri@jurta.org>
9407
9408 * bookmark.el: Add `defaults' property to the bookmark record.
9409 (bookmark-current-buffer): Doc fix.
9410 (bookmark-make-record): Add `defaults' property with default values
9411 to the bookmark record.
9412 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
9413 with `bookmark-insert-current-bookmark'.
9414 (bookmark-set): Get `defaults' property from the bookmark record
9415 and use it in `read-from-minibuffer'.
9416 (bookmark-insert-current-bookmark): Remove function.
9417
9418 * info.el (Info-bookmark-make-record): Add `defaults' property
9419 with values of canonical Info node name, the current Info file
9420 name and the current Info node name. (Bug#12107)
9421
53fa8652
JL
94222012-08-08 Juri Linkov <juri@jurta.org>
9423
9424 * files.el (basic-save-buffer): Use `buffer-name' as the default
9425 of `read-file-name' when buffer is not visiting a file (bug#12128).
9426
242c0a95
JL
94272012-08-08 Juri Linkov <juri@jurta.org>
9428
9429 * info.el (Info-isearch-search): Doc fix.
9430 (Info-search): Change search-failed message from "initial node" to
9431 "end of node" (bug#12078).
9432 (Info-isearch-search): Change `isearch-string-state' to
9433 `isearch--state-string'.
9434
32ac3a6b
GM
94352012-08-08 Glenn Morris <rgm@gnu.org>
9436
9437 * language/persian.el: Remove file.
f8c1afd5 9438 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
9439 * loadup.el: Remove language/persian.
9440
2c2d9c9c
OF
94412012-08-08 Óscar Fuentes <ofv@wanadoo.es>
9442
9443 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9444
2d79ec42
FEG
94452012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
9446
3c855b96 9447 * progmodes/python.el: Fix defsubst warning.
2d79ec42
FEG
9448 (python-syntax-context) Rename from python-info-ppss-context.
9449 (python-syntax-context-type): Rename from
9450 python-info-ppss-context-type.
9451 (python-syntax-comment-or-string-p): Rename from
9452 python-info-ppss-comment-or-string-p.
9453
2bd255dd
JB
94542012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9455
9456 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9457
c395097f
AS
94582012-08-07 Andreas Schwab <schwab@linux-m68k.org>
9459
6125983e
AS
9460 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9461 a defcustom that is quoted with backquote.
9462
4250fdf5
SM
9463 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9464 Fix handling of interactive spec when the body uses return.
651eaf36
AS
9465 (math-do-arg-check, math-define-function-body): Use backquote forms.
9466 * calc/calc-ext.el (math-defcache): Likewise.
9467 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9468 * allout.el (allout-new-exposure): Likewise.
9469 * calc/calcalg2.el (math-tracing-integral): Likewise.
9470 * info.el (Info-last-menu-item): Likewise.
9471 * emulation/vip.el (vip-loop): Likewise.
9472 * textmodes/artist.el (artist-funcall): Likewise.
9473 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9474 Construct menu-item directly.
9475
4250fdf5
SM
9476 * progmodes/autoconf.el (font-lock-syntactic-keywords):
9477 Don't declare.
c395097f 9478
5fb50dd3
CY
94792012-08-07 Chong Yidong <cyd@gnu.org>
9480
9481 * simple.el (deactivate-mark): Preserve text properties when
9482 saving the primary selection (Bug#8384).
9483
54eea618
KR
94842012-08-07 Kevin Ryde <user42@zip.com.au>
9485
9486 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9487 (woman-parse-numeric-value): On a bad .IP line, issue a warning
9488 and continue processing (Bug#12110).
9489
638eaeb9
SM
94902012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9491
9492 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9493 syntax-propertize-function (bug#10095).
9494
ea376861
SM
94952012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9496
f91b35be
SM
9497 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9498 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9499 describe-function-1.
9500 (describe-function-1): Use them. Move compiler macro after sig.
9501 (help-fns--compiler-macro): Use function-get. Assume we're already in
9502 standard-output. Adjust layout to new call order.
9503
ea376861
SM
9504 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9505 re-binding a symbol that has a symbol-macro (bug#12119).
9506
d5be7bd0
MB
95072012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9508
9509 * language/persian.el: New file. (Bug#11812)
9510 * loadup.el: Add language/persian.el.
9511
90749b53
CY
95122012-08-06 Chong Yidong <cyd@gnu.org>
9513
9514 * window.el (window--maybe-raise-frame): New function.
9515 (window--display-buffer): Split off from here.
9516 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9517 (display-buffer-pop-up-window, display-buffer-use-some-window):
9518 Obey an inhibit-switch-frame action alist entry.
9519 (display-buffer): Update doc.
9520
9521 * replace.el (occur-after-change-function): Avoid losing focus by
9522 using the inhibit-switch-frame display parameter (Bug#12139).
9523
ba7b0154
FEG
95242012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
9525
9526 Make internal shell process buffer names start with space.
9527 * progmodes/python.el (python-shell-make-comint): Add optional
9528 argument INTERNAL.
9529 (run-python-internal): Use it.
9530 (python-shell-internal-get-or-create-process): Check for new
9531 internal buffer names.
9532
5eaeacb5
GM
95332012-08-06 Glenn Morris <rgm@gnu.org>
9534
e296d94b 9535 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
9536 Do less getting and setting of environment variables.
9537
b7ccbdc2
CY
95382012-08-05 Chong Yidong <cyd@gnu.org>
9539
777fe95e
CY
9540 * proced.el (proced): Add substitution string to docstring to
9541 trigger autoloading of the proced library on C-h f (Bug#1768).
9542
4250fdf5
SM
9543 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9544 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
9545
9546 * imenu.el (imenu-generic-expression): Move documentation here
9547 from imenu--generic-function.
9548 (imenu--generic-function): Refer to imenu-generic-expression.
9549
9e3b7800 95502012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
VØ
9551
9552 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9553 indentation declaration.
9554 (viper-loop): Add indentation declaration (Bug#7025).
9555
e5d9c0d1
CY
95562012-08-05 Chong Yidong <cyd@gnu.org>
9557
f0422feb
CY
9558 * help-fns.el (describe-variable): Add hyperlink for
9559 directory-local variables files. Improve buffer-local and
9560 permanent-local reporting; suggested by MON KEY (Bug#6644).
9561
9562 * help-mode.el (help-dir-local-var-def): New button type.
9563
e5d9c0d1
CY
9564 * files.el (kill-buffer-hook): Provide a defvar.
9565
a4f2deaa
GM
95662012-08-05 Glenn Morris <rgm@gnu.org>
9567
9568 * eshell/esh-ext.el (eshell/addpath):
9569 Also update eshell-path-env. (Bug#12013)
9570
a9dd5754
CY
95712012-08-05 Chong Yidong <cyd@gnu.org>
9572
a4f2deaa 9573 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 9574
d014c740
CY
9575 * fringe.el (fringe-styles): Add docstring.
9576 (fringe--check-mode): New function.
9577 (set-fringe-mode, set-fringe-style): Use it.
9578 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9579
a9dd5754
CY
9580 * files.el (set-auto-mode): Fix invalid setq call.
9581
7c2dc8bd
SM
95822012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9583
9584 * isearch.el: Misc simplification; use defstruct.
9585 (isearch-mode-map): Dense maps now work like sparse ones.
9586 (isearch--state): New defstruct.
9587 (isearch-string-state, isearch-message-state, isearch-point-state)
9588 (isearch-success-state, isearch-forward-state)
9589 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9590 (isearch-wrapped-state, isearch-barrier-state)
9591 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9592 replaced by defstruct's accessors.
9593 (isearch--set-state): Rename from isearch-top-state and change
9594 calling convention.
9595 (isearch-push-state): Use new isearch--get-state.
9596 (isearch-toggle-word): Disable regexp when enabling word.
9597 (isearch-message-prefix): Remove unused arg _c-q-hack.
9598 (isearch-message-suffix): Remove unused arg _ellipsis.
9599
7fcc0070
AS
96002012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9601
9602 * simple.el (list-processes--refresh): For a server use :host or
9603 :local as the address.
97ad0769 9604 (list-processes): Doc fix.
7fcc0070 9605
a11035b8 96062012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
9607
9608 * lisp/mpc.el: Support password in host argument.
9609 (mpc--proc-connect): Parse and use new password element.
9610 Set mpc-proc variable instead of returning process.
9611 (mpc-proc): Adjust accordingly.
9612
6dad7178
EZ
96132012-08-03 Eli Zaretskii <eliz@gnu.org>
9614
18949c2f
EZ
9615 * whitespace.el (whitespace-display-mappings): Use Unicode
9616 codepoints, instead of emacs-mule codepoints. See
9617 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9618 for the details.
9619
6dad7178
EZ
9620 * files.el (file-truename): Don't skip symlink-chasing part on
9621 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
9622 Windows into the loop that recursively chases symlinks.
9623 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
9624 MS-DOS.
9625
385b0198
CY
96262012-08-03 Chong Yidong <cyd@gnu.org>
9627
6200f3c4
CY
9628 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9629
385b0198
CY
9630 * sort.el (sort-regexp-fields): Doc fix.
9631
b9e74744
TH
96322012-08-03 Tassilo Horn <tsdh@gnu.org>
9633
9634 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9635 labels regex position point at the expected place.
9636
41013cb4
MK
96372012-08-03 MON KEY <monkey@sandpframing.com>
9638
9639 * net/imap.el (imap-interactive-login, imap-authenticate)
9640 (imap-mailbox-lsub, imap-mailbox-list)
9641 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9642 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9643 (imap-parse-response): Doc fix.
9644
0ffee616
JT
96452012-08-03 João Távora <joaotavora@gmail.com>
9646
9647 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9648 if sexp scanning does not move point (Bug#5734).
9649
cfcc9cc8
TH
96502012-08-02 Tassilo Horn <tsdh@gnu.org>
9651
9652 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9653 Add listings, minted, and ctable packages.
9654 (reftex-label-alist-builtin): Move listings, minted, and ctable
9655 entries before LaTeX.
a01bbb84 9656 (reftex-label-alist): Docfix.
cfcc9cc8 9657
66ec2442
BG
96582012-08-02 Bastien Guerry <bzg@gnu.org>
9659
9660 * replace.el (occur): Fix docstring (bug#12122).
9661
837b365b
GM
96622012-08-02 Glenn Morris <rgm@gnu.org>
9663
9664 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9665
e098de97
PE
96662012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9667
9668 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9669 * international/mule-cmds.el: Create
9670 inactivate-current-input-method-function as an obsolete alias for
9671 deactivate-current-input-method-function. See Katsumi Yamaoka in
9672 <http://bugs.gnu.org/10150#46>.
9673
a0f95636
JB
96742012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9675
9676 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9677 of nested `if's.
9678
0d26d7c4
GM
96792012-08-01 Glenn Morris <rgm@gnu.org>
9680
9681 * progmodes/autoconf.el (autoconf-definition-regexp):
9682 Add AH_TEMPLATE, adjust submatch numbering.
9683 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9684 (autoconf-current-defun-function): Update for above change.
9685 (autoconf-current-defun-function): First skip to end of current word.
9686
b686ba06
RS
96872012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9688
9689 * calendar/cal-html.el (cal-html-insert-agenda-days):
9690 Fix typo. (Bug#12018)
9691
0d49da68
FEG
96922012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9693
9694 Shell processes: enhancements to startup and CEDET compatibility.
9695 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9696 (python-shell-make-comint): accept-process-output at startup.
9697 (run-python-internal): Set inferior-python-mode-hook to nil.
9698 (python-shell-internal-get-or-create-process): call sit-for.
9699 (python-preoutput-result): Add obsolete alias.
9700 (python-shell-internal-send-string): Use it.
9701 (python-shell-send-setup-code): Remove call to
9702 accept-process-output.
9703
f1a71c6e
AS
97042012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9705
9706 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9707 (Bug#12108)
9708
d2605269
JB
97092012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9710
9711 * calc-mode.el (calc-basic-simplification-mode): Rename from
9712 `calc-limited-simplification-mode'.
9713 (calc-alg-simplification-mode): New function.
fc0c31f8 9714 (calc-set-simplify-mode): Adjust message.
f1a71c6e 9715
d2605269
JB
9716 * calc.el (calc-set-mode-line): Adjust mode line display for
9717 basic simplification mode.
9718
9719 * calc-help.el (calc-m-prefix-help): Update help message.
9720
9721 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9722 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9723
a3827a43
BG
97242012-07-31 Bastien Guerry <bzg@gnu.org>
9725
9726 * man.el (man): Fix comment. (bug#12101)
9727
502e3f89
MR
97282012-07-31 Martin Rudalics <rudalics@gmx.at>
9729
9730 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9731 Don't return a non-nil value when no suitable buffer was found.
9732
d7714961
FEG
97332012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9734
9735 * progmodes/python.el (run-python-internal): Disable font lock for
9736 internal shells.
9737
1f45e27e
SM
97382012-07-30 Stefan Merten <smerten@oekonux.de>
9739
70efc5c9 9740 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
9741 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9742 (rst-official-version, rst-official-cvs-rev)
9743 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9744 (rst-mode-map): New key binding.
9745
0aee6912
PE
97462012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9747
9748 Update .PHONY listings in makefiles.
9749 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9750 autoloads, update-subdirs, updates, bzr-update, update-authors,
9751 compile-onefile, compile-calc, backup-compiled-files,
9752 compile-after-backup, compile-one-process, mh-autoloads,
9753 bootstrap-clean, distclean, maintainer-clean.
9754
9052f9f0
JB
97552012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9756
1823ac5a
JB
9757 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9758 (calc-set-mode-line): Don't display "AlgSimp ".
9759
9760 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9761 (calc-lim-simplify-mode): New function.
9762 (calc-set-simplify-mode): Default to 'alg.
9763 (calc-default-simplify-mode): Make algebraic simplifications
9764 the default.
9765
9766 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9767 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9768
8d7c7eed 9769 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
9770 indicate new simplification modes.
9771
1823ac5a
JB
9772 * calc/README: Mention new default simplification mode.
9773
9052f9f0
JB
9774 * calc/calc.el (math-normalize-error): New variable.
9775 (math-normalize): Set `math-normalize-error' to t
9776 when there's an error.
9777
9778 * calc/calc-alg.el (math-simplify): Don't simplify when
9779 `math-normalize' returns an error.
9780
20ba0cb4
EZ
97812012-07-29 Eli Zaretskii <eliz@gnu.org>
9782
9783 * international/mule-cmds.el (set-locale-environment): Revert last
9784 change, since display-graphic-p returns nil when this function is
9785 called during startup. Instead...
9786
9787 * term/w32console.el (terminal-init-w32console): ...setup the
9788 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9789
a5dcc929
JL
97902012-07-29 Juri Linkov <juri@jurta.org>
9791
9792 * simple.el (goto-line): Don't display default line number in the
9793 prompt because it should be displayed by `read-number' (bug#9952).
9794 Add the current line number to the defaults of `goto-line' to
9795 allow its easier modification by users with `M-n' (bug#9201).
9796
9797 * subr.el (read-number): Support multiple default values like in
9798 other minibuffer reading functions. Replace `read' with
9799 `string-to-number' for consistency with `number-to-string'.
9800
72b255c7
PE
98012012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9802
9803 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9804 * emulation/viper-init.el (viper-deactivate-input-method-action):
9805 Rename from viper-inactivate-input-method-action.
9806 (viper-deactivate-input-method):
9807 Rename from viper-inactivate-input-method.
9808 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9809 * international/mule-cmds.el (deactivate-input-method):
9810 Rename from inactivate-input-method.
9811 Also run input-method-deactivate-hook.
9812 (deactivate-current-input-method-function):
9813 Rename from inactivate-current-input-method-function.
9814 (input-method-deactivate-hook): New hook.
9815 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
9816 (inactivate-input-method): Mark obsolete.
9817
72b255c7
PE
9818 * international/quail.el (quail-activate):
9819 Also run quail-deactivate-hook.
9820 (quail-deactivate): Rename from quail-inactivate.
9821 * international/robin.el (robin-activate):
9822 Also run robin-deactivate-hook.
9823 (robin-deactivate): Rename from robin-inactivate.
9824
2549c068
CY
98252012-07-29 Chong Yidong <cyd@gnu.org>
9826
9827 * simple.el (indicate-copied-region): New function.
9828 (kill-ring-save): Split off from here.
9829
9830 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9831 (kill-rectangle): Set deactivate-mark to t on read-only error.
9832
9833 * register.el (copy-to-register, copy-rectangle-to-register):
9834 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
9835 (append-to-register, prepend-to-register): Call indicate-copied-region.
9836
98372012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
9838
9839 * simple.el (async-shell-command-buffer): New defcustom.
9840 (shell-command): Use it. (Bug#4719)
9841
01bd1b0d
EZ
98422012-07-28 Eli Zaretskii <eliz@gnu.org>
9843
9844 * international/mule-cmds.el (set-locale-environment): In a
9845 console session on MS-Windows, set up keyboard and terminal
9846 encoding from the OEM codepage, not the ANSI codepage.
9847 (Bug#12055)
9848
a55739d3
CY
98492012-07-28 Chong Yidong <cyd@gnu.org>
9850
9851 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9852 gdb-get-location.
9853
0e1a094f 98542012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
9855
9856 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9857 the alist (bug#12029).
9858
20329d73
EZ
98592012-07-28 Eli Zaretskii <eliz@gnu.org>
9860
9861 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9862 (compile-always, compile-first)
9863 ($(lisp)/calendar/cal-loaddefs.el)
9864 ($(lisp)/calendar/diary-loaddefs.el)
9865 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9866 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9867 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9868 instead of on update-subdirs.
9869 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9870
345a2258
CY
98712012-07-28 Chong Yidong <cyd@gnu.org>
9872
1eee6341
CY
9873 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9874 directory if vc-deduce-backend returns nil (Bug#7350).
9875
345a2258
CY
9876 * simple.el (delete-trailing-lines): New option.
9877 (delete-trailing-whitespace): Obey it (Bug#11879).
9878
049a0936
DE
98792012-07-28 David Engster <deng@randomsample.de>
9880
9881 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9882 Explanation of new 'symbol-qnames feature in doc-strings.
9883 (xml-maybe-do-ns): Return expanded names as plain symbols if
9884 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9885 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9886
aa81af71
FEG
98872012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9888
9889 Consistent completion in inferior python with emacs -nw.
9890 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9891 binding in inferior-python-mode-map with "\t".
9892 (python-shell-completion-complete-at-point)
9893 (python-completion-complete-at-point): Remove interactive spec.
9894
e827b1eb
JB
98952012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9896
9897 * calc/calccomp.el (math-compose-expr): Undo previous change.
9898
a90dfb95
FEG
98992012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9900
4250fdf5 9901 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
9902 run-python.
9903 (python-shell-make-comint): Fix pop-to-buffer call.
9904 (run-python): Autoload. New arg SHOW.
9905 (python-shell-get-or-create-process): Do not pop python process
9906 buffer.
9907
32770973 99082012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
9909
9910 * notifications.el (notifications-on-action-signal)
9911 (notifications-on-closed-signal): Use also the bus address for the map.
9912 (notifications-notify, notifications-close-notification)
fc0c31f8 9913 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 9914
86332df2
TH
99152012-07-27 Tassilo Horn <tsdh@gnu.org>
9916
4250fdf5
SM
9917 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9918 Add support for the lstlisting and minted environments, and for the
86332df2
TH
9919 ctable macro.
9920 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9921 labels written in keyvals syntax.
9922
ca1302a4
JB
99232012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9924
9925 * calc/calccomp.el (math-compose-expr): Use parentheses when
9926 there is a product in the denominator of a fraction.
9927
f8b91036
EZ
99282012-07-26 Eli Zaretskii <eliz@gnu.org>
9929
9930 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9931 ($(lisp)/calendar/diary-loaddefs.el)
9932 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
9933 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9934 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
9935 rewritten while the autoload files are built at the same time,
9936 which needs to load subdirs.el.
9937
c8e5a42c
MR
99382012-07-26 Martin Rudalics <rudalics@gmx.at>
9939
9940 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9941 (mouse-drag-line): Don't exit tracking when a switch-frame or
9942 switch-window event occurs (Bug#12006).
9943
670d85ea
SM
99442012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9945
9946 * mouse.el (popup-menu): Fix last change.
9947
7abaf5cc
SM
99482012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9949
9950 Autoload from Lisp with more care. Follow aliases when looking for
9951 function properties.
9952 * subr.el (autoloadp): New function.
9953 (symbol-file): Use it.
9954 (function-get): New function.
9955 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9956 autoload-do-load.
9957 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9958 (lisp-indent-function):
9959 * emacs-lisp/gv.el (gv-get):
9960 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9961 * emacs-lisp/byte-opt.el (byte-optimize-form):
9962 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9963 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9964 Use function-get.
9965 * emacs-lisp/cl.el: Don't propagate function properties any more.
9966
9967 * speedbar.el (speedbar-add-localized-speedbar-support):
9968 * emacs-lisp/disass.el (disassemble-internal):
9969 * desktop.el (desktop-load-file):
9970 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9971 (describe-function-1):
9972 * emacs-lisp/find-func.el (find-function-noselect):
9973 * emacs-lisp/elp.el (elp-instrument-function):
9974 * emacs-lisp/advice.el (ad-has-proper-definition):
9975 * apropos.el (apropos-safe-documentation, apropos-macrop):
9976 * emacs-lisp/debug.el (debug-on-entry):
9977 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9978 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9979 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9980
b1364986
AA
99812012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9982
9983 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9984 function, not an obsolete variable (Bug#12046).
9985
67ada220
AS
99862012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9987
9988 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9989
f08088e3
CS
99902012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9991
9992 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9993 window only if it is still live (Bug#12034).
9994
8137e7b3
MR
99952012-07-25 Martin Rudalics <rudalics@gmx.at>
9996
9997 * subr.el (redirect-frame-focus): Add advertised calling
9998 convention (Bug#12030).
9999
09ae5da1
PE
100002012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10001
10002 Prefer typical American spelling for "acknowledgment".
10003 * vc/add-log.el (change-log-acknowledgment): Rename from
10004 change-log-acknowledgement, with an alias for the old name.
10005
3cc5a3a8
JB
100062012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10007
10008 * calc-alg.el (math-simplify-divide): Don't cross multiply
10009 in an equation when the lhs is a variable.
10010
b7af7f62
JD
100112012-07-24 Julien Danjou <julien@danjou.info>
10012
10013 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10014 Remove, unused.
10015
ec1b09b1
EZ
100162012-07-23 Eli Zaretskii <eliz@gnu.org>
10017
10018 * startup.el (command-line): Don't display an empty user name in
10019 the error message about non-existent home directory, when
10020 init-file-user was set to an empty string. See
10021 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10022 for the details and context.
10023
b525fd8a
VB
100242012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
10025
10026 * ses.el (ses-cell-formula-aset): New macro.
10027 (ses-cell-references-aset): New macro.
10028 (ses-cell-p): New function.
10029 (ses-rename-cell): Do no longer rely on complex operations like
10030 ses-cell-set-formula or ses-set-cell to change the cell and handle
10031 the undo at the same time, but rather use lower level new macros
10032 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 10033 the undo directly. Refresh the mode line.
b525fd8a 10034
2c73e345
LL
100352012-07-21 Leo Liu <sdl.web@gmail.com>
10036
670d85ea
SM
10037 * progmodes/cc-cmds.el (c-defun-name):
10038 Use match-string-no-properties instead for consistency.
2c73e345 10039
542dfbde
LL
100402012-07-20 Leo Liu <sdl.web@gmail.com>
10041
3646bcd6
LL
10042 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10043 (Bug#7879)
10044
542dfbde
LL
10045 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10046
25721031
CY
100472012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10048
10049 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10050 * progmodes/bug-reference.el, misearch.el: Provide themselves
10051 (bug#11915).
10052
10053 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10054 of narrowed buffer (bug#11966).
10055
316e68a7
VB
100562012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
10057
10058 * ses.el (ses-rename-cell): Set new name also in reference list of
10059 cells of which the renamed cell depends.
10060
bbf0e7d9
MY
100612012-07-20 Masatake YAMATO <yamato@redhat.com>
10062
10063 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10064 to check whether menu-bar is shown or not. If not shown,
10065 show the menu-bar as a popup menu instead of using tmm.
10066 * mouse.el (popup-menu): Accept `point' as `position' argument.
10067
c28662a8
DG
100682012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10069
10070 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10071 up inside string symbol literal (bug#11923).
10072
87ab808f
EZ
100732012-07-20 Eli Zaretskii <eliz@gnu.org>
10074
10075 * startup.el (fancy-startup-text): Read the whole tutorial, not
10076 just its first 256 bytes. Prevents gibberish in display of the
10077 tutorial title.
10078
89dea803
DA
100792012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10080
10081 Drop idle buffer compaction due to an absence of the
10082 proved efficiency.
10083 * compact.el: Remove.
10084
8a4e6db8
SS
100852012-07-19 Sam Steingold <sds@gnu.org>
10086
10087 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10088 vc-bzr-pull & vc-bzr-merge-branch.
10089 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10090 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10091 for consistency with compilation-error-regexp-alist.
10092 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10093 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10094 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10095 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10096
5db81e33
SM
100972012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10098
10099 * emacs-lisp/chart.el: Use lexical-binding.
10100 (chart-emacs-storage): Don't hardcode the list of entries.
10101
5b835e1d
DA
101022012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10103
10104 Next round of tweaks caused by Fgarbage_collect changes.
10105 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10106
9cd47b72
DA
101072012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10108
10109 Compact buffers when idle.
10110 * compact.el: New file.
10111
1d6fc0df
SM
101122012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10113
10114 * subr.el (eventp): Presume that if it looks vaguely like an event,
10115 it's an event (bug#10190).
10116
1d29cc7d
FEG
101172012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
10118
10119 Enhancements to ppss related code (thanks Stefan).
10120 * progmodes/python.el (python-indent-context)
10121 (python-indent-calculate-indentation, python-indent-dedent-line)
10122 (python-indent-electric-colon, python-nav-forward-block)
10123 (python-mode-abbrev-table)
1d6fc0df 10124 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
10125 for ppss context.
10126 (python-info-continuation-line-p): Cleanup.
10127 (python-info-ppss-context): Do not catch 'quote.
10128 (python-info-ppss-context-type)
10129 (python-info-ppss-comment-or-string-p): Simplify.
10130
d583cbe6
FEG
101312012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
10132
10133 * progmodes/python.el: Enhancements to eldoc support.
10134 (python-info-current-symbol): New function.
10135 (python-eldoc-at-point): Use python-info-current-symbol.
10136 (python-info-current-defun): Fix cornercase on first defun scan.
10137 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10138 and signal error when no inferior python process is available.
10139
eceb6feb
DG
101402012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10141
10142 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10143 assume it's always t.
10144 (vc-git-registered): Remove caching, the function is only called
10145 once.
10146 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10147
4c8ff0fe
CY
101482012-07-18 Chong Yidong <cyd@gnu.org>
10149
19fb7186
CY
10150 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10151
9587c688
CY
10152 * simple.el (count-words): Report on narrowing (Bug#9959).
10153
0fe776a1
CY
10154 * bindings.el: Bind M-= to count-words.
10155
4c8ff0fe
CY
10156 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10157
7f5331cc
MY
101582012-07-18 Masatake YAMATO <yamato@redhat.com>
10159
10160 * progmodes/sh-script.el (sh-imenu-generic-expression):
10161 Capture a function with `function' keyword and without parentheses
10162 like "function FOO" (bug#11856).
10163
2dc2a609
TH
101642012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10165
10166 * window.el (split-window-sensibly): Make WINDOW argument
10167 optional.
10168
439f7677
CY
101692012-07-18 Chong Yidong <cyd@gnu.org>
10170
9aeb25a6
CY
10171 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10172
439f7677
CY
10173 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10174 and make C-x 8 RET exit isearch (Bug#11439).
10175
10176 * international/iso-transl.el: Move isearch-mode-map key
10177 definitions to isearch.el.
10178
12999ea8
SM
101792012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10180
10181 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10182 (eieio-defclass): Use gv-define-setter when possible.
10183
3ab6e069
DA
101842012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
10185
10186 Reflect recent changes in Fgarbage_collect.
10187 * emacs-lisp/chart.el (chart-emacs-storage): Change to
10188 reflect new format of data returned by Fgarbage_collect.
10189
0a60bc10
FEG
101902012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10191
10192 New utility functions + python-info-ppss-context fix (Bug#11910).
10193 * progmodes/python.el (python-info-beginning-of-block-statement-p)
10194 (python-info-ppss-comment-or-string-p): New functions.
10195 (python-info-ppss-context): Small fix for string check.
10196
6dafa0d5
JL
101972012-07-17 Juri Linkov <juri@jurta.org>
10198
10199 * dired-aux.el (dired-do-async-shell-command): Doc fix.
10200 (dired-do-async-shell-command): Don't add `*' at the end of the
10201 command (Bug#11815).
10202 (dired-do-shell-command): Doc fix.
10203 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
10204 Join the individual commands using either "&" or ";" as the
10205 separator depending on the values of these trailing characters.
10206 At the end re-add the trailing "&". (Bug#10598)
10207
10208 * simple.el (async-shell-command): Sync the interactive spec with
10209 `shell-command'. Doc fix.
10210 (shell-command): Doc fix.
10211
b19dd9d1
JL
102122012-07-17 Juri Linkov <juri@jurta.org>
10213
10214 * descr-text.el (describe-char): Fix format args. (Bug#10129)
10215
bcdc27d7 102162012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 10217
bcdc27d7 10218 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
10219 * progmodes/python.el (python-nav-beginning-of-statement):
10220 Rename from python-nav-statement-start.
bcdc27d7
FEG
10221 (python-nav-end-of-statement): Rename from
10222 python-nav-statement-end.
10223 (python-nav-beginning-of-block): Rename from
10224 python-nav-block-start.
10225 (python-nav-end-of-block): Rename from python-nav-block-end.
10226
191da00e
FEG
102272012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10228
7f5331cc
MY
10229 * progmodes/python.el (python-shell-send-string-no-output):
10230 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
10231 future interactions (Bug#11868).
10232
4dc7c8d5 102332012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 10234
88ecaf8f
SM
10235 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
10236
ef501ef0
SM
10237 * emacs-lisp/elint.el (elint-find-args-in-code):
10238 Use help-function-arglist, so as to handle lexical byte-code.
10239
aa7aaf8f
SM
10240 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
10241 change (bug#11826).
10242
45fd731c
SM
102432012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10244
2143fa32
SM
10245 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
10246 Avoid spuriously marking the buffer as modified because of c-is-sws.
10247
efc26dbe
SM
10248 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
10249 as not-a-comment (bug#11946).
10250
f5695c9a
SM
10251 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
10252 for uninterned vars.
10253
10254 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
10255 Use read-event since we don't really want to read chars but bytes.
10256
45fd731c
SM
10257 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
10258 $$..$$ but also $..$ using regexps (bug#11953).
10259 Use tex-verbatim for \url and \path.
10260 (tex-font-lock-keywords): Define as defconst like the others.
10261 (tex-common-initialization): Don't use font-lock-syntax-table any more.
10262
ddfc8813
RK
102632012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
10264
10265 * international/mule-cmds.el (ucs-insert): Make it an obsolete
10266 alias for insert-char.
10267
758e556a
FEG
102682012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10269
10270 * progmodes/python.el: Simplified imenu implementation.
10271 (python-nav-jump-to-defun): Remove command.
10272 (python-mode-map): Use `imenu' instead.
10273 (python-nav-list-defun-positions-cache)
10274 (python-imenu-include-defun-type, python-imenu-make-tree)
10275 (python-imenu-subtree-root-label, python-imenu-index-alist):
10276 Remove vars.
10277 (python-nav-list-defun-positions, python-nav-read-defun)
10278 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
10279 (python-imenu-make-tree, python-imenu-create-index):
10280 Remove functions.
758e556a
FEG
10281 (python-mode): Update to interact with imenu by setting
10282 `imenu-extract-index-name-function' only.
10283
032d23ab
FEG
102842012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
10285
10286 * progmodes/python.el: Enhancements to navigation commands.
10287 (python-nav-backward-sentence)
10288 (python-nav-forward-sentence): Remove.
10289 (python-nav-backward-statement, python-nav-forward-statement)
10290 (python-nav-statement-start, python-nav-statement-end)
10291 (python-nav-backward-block, python-nav-forward-block)
10292 (python-nav-block-start, python-nav-block-end)
10293 (python-nav-forward-sexp-function)
10294 (python-info-current-line-comment-p)
10295 (python-info-current-line-empty-p): New functions.
10296 (python-indent-context): Use `python-nav-statement-start'.
10297
01795a1b
MA
102982012-07-16 Michael Albinus <michael.albinus@gmx.de>
10299
9328d9aa
MA
10300 * eshell/em-ls.el (eshell/ls): Use `apply'.
10301
10302 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
10303 multi-hops, instead of Tramp internals.
10304
01795a1b
MA
10305 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
10306
10307 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
10308 when F1 and F2 are located on different hosts.
10309
63408057
CY
103102012-07-14 Chong Yidong <cyd@gnu.org>
10311
10312 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
10313 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
10314 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
10315 (xterm-mouse--read-event-sequence-1000)
10316 (xterm-mouse--read-event-sequence-1006): New functions. For old
10317 mouse protocol, handle M-mouse-X events correctly.
10318 (xterm-mouse-event): New arg specifying mouse protocol.
10319 (turn-on-xterm-mouse-tracking-on-terminal)
10320 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
10321 sequence to toggle extended coordinates on newer XTerms.
10322 This appears to be harmless on terminals which do not support this.
63408057 10323
cd276f6e
LL
103242012-07-14 Leo Liu <sdl.web@gmail.com>
10325
28ca98ac
LL
10326 Add fringe bitmap indicators for flymake. (Bug#11253)
10327 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
10328 (flymake-make-overlay): New arg BITMAP.
10329 (flymake-error-bitmap, flymake-warning-bitmap)
10330 (flymake-fringe-indicator-position): New user variables.
10331
cd276f6e
LL
10332 * fringe.el: New bitmap exclamation-mark.
10333
04408072
JD
103342012-07-14 Jan Djärv <jan.h.d@swipnet.se>
10335
10336 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
10337 also (Bug#7879).
10338
b5cf7fc4
CY
103392012-07-14 Chong Yidong <cyd@gnu.org>
10340
10341 * electric.el (electric-pair-post-self-insert-function): Fix pair
10342 insertion in empty-region case (Bug#11520).
10343
be755c79
RT
103442012-07-14 Chong Yidong <cyd@gnu.org>
10345
45fd731c
SM
10346 * bindings.el: Consolidate ctl-x-r-map bindings.
10347 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
10348
10349 * rect.el, register.el: Move bindings to bindings.el.
10350
103512012-07-14 Reuben Thomas <rrt@sc3d.org>
10352
10353 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
10354
7f5b3198
AS
103552012-07-13 Andreas Schwab <schwab@linux-m68k.org>
10356
10357 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
10358
97662200
JB
103592012-07-13 Juanma Barranquero <lekktu@gmail.com>
10360
80185fed
JB
10361 * bindings.el (top): Use `mapc' instead of `mapcar'.
10362
97662200
JB
10363 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
10364
2bb1ae55
MA
103652012-07-13 Michael Albinus <michael.albinus@gmx.de>
10366
10367 * progmodes/sql.el (sql-comint): Suppress the check for program on
10368 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
10369 (Bug#11908)
10370
dea31bd3
CY
103712012-07-13 Chong Yidong <cyd@gnu.org>
10372
10373 * bindings.el: Assign a non-nil permanent-local property to
10374 per-buffer variables which lack a default value (Bug#11930).
10375
10376 * help-fns.el (describe-variable): In the "automatically becomes
10377 local" notice, take note of permanent-local variables.
10378
b68b3337
CY
103792012-07-13 Chong Yidong <cyd@gnu.org>
10380
10381 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
10382 to allow printing the message when called from Lisp.
10383
10384 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10385 Remove toggle-read-only.
10386
10387 * bs.el (bs-toggle-readonly):
45fd731c
SM
10388 * buff-menu.el (Buffer-menu-toggle-read-only):
10389 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
10390
10391 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
10392 Remove with-no-warnings around toggle-read-only.
10393 (ffap-read-only, ffap-read-only-other-window)
10394 (ffap-read-only-other-frame): Callers changed.
10395
10396 * help-mode.el: Don't require view package.
10397 (help-mode-finish): Set buffer-read-only instead of calling
10398 toggle-read-only.
10399
10400 * bindings.el (mode-line-toggle-read-only):
10401 * dired.el (dired-toggle-read-only):
10402 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
10403 with non-nil second arg.
10404
10405 * emacs-lisp/eieio-custom.el (eieio-customize-object):
10406 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
10407 directly.
10408
56bc1586
EZ
104092012-07-12 Eli Zaretskii <eliz@gnu.org>
10410
10411 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
10412 not incf.
10413
a464a6c7
SM
104142012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
10415
10416 More CL cleanups and reduction of use of cl.el.
10417 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
10418 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
10419 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
10420 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
10421 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
10422 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10423 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10424 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10425 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10426 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10427 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10428 * eshell/em-cmpl.el, eshell/em-banner.el:
10429 * calendar/parse-time.el: Use cl-lib.
10430 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10431 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10432 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10433 * term/ns-win.el, term.el, shell.el, ps-samp.el:
10434 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10435 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10436 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10437 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10438 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10439 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10440 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10441 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10442 `lambda' rather than with `quote'.
10443 (eshell-do-opt): Adjust accordingly.
10444 (eshell-process-option): Simplify.
10445 * eshell/esh-var.el:
10446 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10447 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10448 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10449 to `pcase--dontcare'.
10450 * emacs-lisp/cl.el (labels): Mark obsolete.
10451 (cl--letf, letf): Move to cl-lib.
10452 (cl--letf*, letf*): Remove.
10453 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10454 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10455 (cl-progv): Rewrite.
10456 (cl--letf, cl-letf): Move from cl.el.
10457 (cl-letf*): New macro.
10458 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10459
7ad4afe1
MA
104602012-07-11 Michael Albinus <michael.albinus@gmx.de>
10461
10462 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10463
9af57756
CY
104642012-07-11 Chong Yidong <cyd@gnu.org>
10465
10466 * vc/log-edit.el (log-edit-vc-backend): New variable.
10467 (log-edit): Doc fix.
10468
10469 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
10470 argument of log-edit to set up all local variables.
10471 (vc-start-logentry): New optional arg specifying VC backend.
10472
10473 * vc/vc.el (vc-checkin): Use it.
10474 (vc-deduce-fileset): Handle Log Edit buffers.
10475 (vc-diff): Make first argument optional too.
10476
10477 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10478
8477cc7a
MA
104792012-07-10 Michael Albinus <michael.albinus@gmx.de>
10480
10481 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10482 command, just in case. The function is not needed anymore.
10483 (eshell-external-command): Do not call `eshell-remote-command'.
10484
19faa8e8
SM
104852012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
10486
f58e0fd5
SM
10487 Reduce use of (require 'cl).
10488 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10489 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10490 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10491 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10492 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10493 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10494 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10495 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10496 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10497 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10498 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10499 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10500 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10501 (byte-compile-unfold-bcf, byte-compile-check-variable):
10502 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10503 (byte-compile-nilconstp):
10504 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10505 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10506
2519d43a
SM
10507 * emacs-lisp/gv.el (cond): Make it a valid place.
10508 (if): Simplify slightly.
10509
19faa8e8
SM
10510 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10511 (pcase--self-quoting-p): New function.
10512 (pcase--u1): Use it.
10513
c4907a5e
GM
105142012-07-10 Glenn Morris <rgm@gnu.org>
10515
10516 * emacs-lisp/authors.el (authors-fixed-entries):
10517 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10518
c4444d16
PE
105192012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10520
10521 Rename configure.in to configure.ac (Bug#11603).
10522 * emacs-lisp/authors.el (authors-canonical-file-name):
10523 * progmodes/autoconf.el (autoconf-mode):
10524 Prefer configure.ac to configure.in.
10525
d75be97d
CY
105262012-07-08 Chong Yidong <cyd@gnu.org>
10527
01ac65bd
CY
10528 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10529 Implement the mouse-1-click-follows-link handling properly.
10530
10531 * info.el (Info-link-keymap): Use follow-link mechanism for
10532 header-line links (Bug#374).
10533
d75be97d
CY
10534 * simple.el (deactivate-mark): Do not set the primary selection
10535 if another program has acquired it (Bug#11772).
10536
87a92845 105372012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
10538
10539 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10540 (woman-decode-region): Replace escaped-escapes without destroying
10541 bold or underline (Bug#11552).
87a92845 10542 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 10543
621b9d6c
CY
105442012-07-07 Chong Yidong <cyd@gnu.org>
10545
10546 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
10547 (interprogram-cut-function, interprogram-paste-function):
10548 Mention that we typically mean the clipboard.
621b9d6c 10549
133a11fc
GM
105502012-07-06 Glenn Morris <rgm@gnu.org>
10551
0d27a45e
GM
10552 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10553
133a11fc
GM
10554 * files.el (toggle-read-only): Restrict message to interactive use.
10555
07b151f1
MA
105562012-07-06 Michael Albinus <michael.albinus@gmx.de>
10557
10558 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10559
10560 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10561
211b896b
GM
105622012-07-06 Glenn Morris <rgm@gnu.org>
10563
50394322
GM
10564 * Makefile.in (compile-one-process): Rename from "recompile".
10565
211b896b
GM
10566 * Makefile.in (bzr-update): "compile" is the same as "recompile
10567 autoloads", but parallelizable, so use that instead.
10568
4737eec9
DG
105692012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10570
10571 * window.el (quit-window): Always restore window height when
8137e7b3 10572 it's saved in quit-restore parameter (Bug#11810).
4737eec9 10573
226c3633 105742012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
10575
10576 * simple.el (kill-whole-line): Doc tweak.
10577
226c3633 105782012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
10579
10580 * files.el (file-relative-name): Compare file names
10581 case-insensitively if on MS-Windows or MS-DOS, or if
10582 read-file-name-completion-ignore-case is non-nil. Don't use
10583 case-fold-search for this purpose. (Bug#11827)
10584
4dc7c8d5
SM
105852012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10586
10587 * calendar/cal-dst.el (calendar-current-time-zone):
10588 Return calendar-current-time-zone-cache if non-nil.
10589
105902012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 105912012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 10592
19faa8e8
SM
10593 * calendar/cal-dst.el (calendar-current-time-zone):
10594 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 10595
60198fc9
GM
105962012-07-06 Glenn Morris <rgm@gnu.org>
10597
10598 * Makefile.in (cvs-update): Remove old alias.
10599
957b3189
MA
106002012-07-05 Michael Albinus <michael.albinus@gmx.de>
10601
10602 Sync with Tramp 2.2.6-pre.
10603
10604 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10605 compatible declaration.
10606
19faa8e8
SM
10607 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10608 Protect `list-load-path-shadows' call.
957b3189
MA
10609
10610 * net/tramp-compat.el (top): Require packages, which aren't
10611 autoloaded anymore for XEmacs. Protect call of
10612 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10613 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10614 it hurts at least for SXEmacs.
10615 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10616 standard-value for `temporary-file-directory'.
10617
10618 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10619 Redirect stderr to /dev/null.
10620 (tramp-sh-handle-write-region): uid and gid can be floats.
10621 Reported by Russell Sim <russell.sim@gmail.com>.
10622 (tramp-sh-handle-vc-registered): Hide errors.
10623 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10624 and `start-file-process'.
10625 (tramp-maybe-open-connection): Check also whether `non-essential'
10626 is bound.
10627
566df3fc
CY
106282012-07-04 Chong Yidong <cyd@gnu.org>
10629
10630 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10631 (xml-parse-tag): Likewise, and avoid changing entity tables.
10632 (xml-syntax-table): Define from scratch, making sure not to give
10633 x2000 and other Unicode spaces whitespace syntax, since those are
10634 not spaces in XML.
10635 (xml-parse-fragment): Delete unused function.
10636 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10637 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10638 (xml-entity-ref, xml-pe-reference-re)
10639 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10640 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10641 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10642 (xml-entity-value-re): Use syntax references in regexps where
10643 possible; no need to define inside a let-binding.
10644 (xml-parse-dtd): Use xml-pe-reference-re.
10645 (xml-entity-or-char-ref-re): New defconst.
10646 (xml-parse-string, xml-substitute-special): Use it.
10647
30eabd7a
SM
106482012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10649
0781098a
SM
10650 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10651 (find-file--read-only): New function.
10652 (find-file-read-only, find-file-read-only-other-window)
10653 (find-file-read-only-other-frame): Use it.
10654 (insert-file-contents-literally): Don't `fset'.
10655 (get-free-disk-space): Use locate-dominating-file.
10656
b5771c0d
SM
10657 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10658 function is already compiled.
10659
30eabd7a
SM
10660 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10661
b4886f6e
MA
106622012-07-03 Michael Albinus <michael.albinus@gmx.de>
10663
10664 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10665 files on the same host.
10666
b9d82339
AS
106672012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10668
10669 * help-fns.el (describe-function-1): Only call
10670 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10671
a76e6535
CY
106722012-07-03 Chong Yidong <cyd@gnu.org>
10673
10674 * xml.el: Protect parser against XML bombs.
10675 (xml-entity-expansion-limit): New variable.
10676 (xml-parse-string, xml-substitute-special): Use it.
10677 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10678
b544fef2
GM
106792012-07-03 Glenn Morris <rgm@gnu.org>
10680
10681 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10682 Allow linking to specific messages in debbugs reports (eg 123#5).
10683
a7aef6f5
CY
106842012-07-02 Chong Yidong <cyd@gnu.org>
10685
10686 * xml.el: Fix entity and character reference expansion, allowing
10687 them to expand into markup as per XML spec.
10688 (xml-default-ns): New variable.
10689 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
10690 (xml-parse-region): Make first two arguments optional.
10691 Discard text properties.
10692 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10693 All callers changed.
a7aef6f5
CY
10694 (xml-parse-tag): Call xml-parse-tag-1. For backward
10695 compatibility, this function should not modify buffer contents.
10696 (xml-parse-tag-1): Fix opening-tag regexp.
10697 (xml-parse-string): Rewrite, handling entity and character
10698 references properly.
10699 (xml--entity-replacement-text): Signal an error if a parameter
10700 entity is undefined.
10701
3df31c9f
SM
107022012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10703
2b5208f1
SM
10704 * comint.el (comint-output-filter): Filter out repeated prompts.
10705
3df31c9f
SM
10706 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10707 and file-name-absolute-p.
10708 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10709 internal calls.
10710
e3ac1281
PE
107112012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10712
10713 Spelling fixes.
10714 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10715 Rename from byte-compile--refiy-function. All uses changed.
10716
fbf2e7ad
CY
107172012-07-01 Chong Yidong <cyd@gnu.org>
10718
10719 * xml.el (xml--parse-buffer): New function. Move most of
10720 xml-parse-region here.
10721 (xml-parse-region): Copy region into a temporary buffer, since
10722 parameter entity substitution requires changing buffer contents.
10723 Use xml--parse-buffer.
10724 (xml-parse-file): Use xml--parse-buffer.
10725 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 10726 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 10727
9bf0aa15
GM
107282012-06-30 Glenn Morris <rgm@gnu.org>
10729
bbce2853
GM
10730 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10731
9bf0aa15
GM
10732 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10733 Remove outdated and unnecessary dbus declarations.
10734
0d23c240
EZ
107352012-06-30 Eli Zaretskii <eliz@gnu.org>
10736
10737 * emacs-lisp/timer.el (timer-until): Subtract results of
10738 float-time, instead of taking float-time of the result of
10739 time-subtract, since float-time signals an error for negative time
10740 arguments.
10741
b3218de1
CY
107422012-06-30 Chong Yidong <cyd@gnu.org>
10743
10744 * xml.el (xml-*-re): Convert defvars into defconsts, and
10745 eval-and-compile them so eval-and-compile works on derivatives.
10746 (xml--entity-replacement-text): Use eval-and-comple.
10747
a40c87a0
MA
107482012-06-30 Michael Albinus <michael.albinus@gmx.de>
10749
10750 * vc/vc-git.el (vc-git-registered): Use cache property
10751 `git-registered'.
10752 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10753 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 10754 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 10755
ac87de97
DG
107562012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10757
10758 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 10759 removed (likely outside Emacs). (Bug#11757)
ac87de97 10760
ac10fe06
SM
107612012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10762
3df31c9f 10763 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 10764
7f3fbd5d
CY
107652012-06-30 Chong Yidong <cyd@gnu.org>
10766
10767 * xml.el: Implement XML parameter entities.
10768 (xml-parameter-entity-alist): New variable.
10769 (xml-parse-region, xml-parse-fragment): Preserve previous values
10770 of xml-entity-alist and xml-parameter-entity-alist, so that
10771 repeated calls on different documents do not change them.
10772 (xml-parse-tag): Fix doctype regexp.
10773 (xml--entity-replacement-text): New function.
10774 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10775 properly requires url retrieval which is unimplemented.
10776 (xml-escape-string): Doc fix.
10777
3cfbebba
SM
107782012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10779
10780 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10781
2af3565e
DA
107822012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10783
10784 * fringe.el (fringe-mode): Doc fix.
10785
929df0e7
MA
107862012-06-29 Michael Albinus <michael.albinus@gmx.de>
10787
10788 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10789 is non-nil.
10790 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10791 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10792
c8d3a25c 107932012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 10794
c8d3a25c
GM
10795 * calendar/cal-dst.el (calendar-current-time-zone):
10796 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 10797
c8d3a25c 107982012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
10799
10800 * progmodes/which-func.el (which-func-format):
10801 Add mouse-face. (Bug#11698)
10802
c8d3a25c
GM
108032012-06-29 Leo Liu <sdl.web@gmail.com>
10804
10805 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10806
108072012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10808
10809 * minibuffer.el (minibuffer-confirm-exit-commands):
10810 Add completion-at-point (bug#11725).
10811
108122012-06-29 Glenn Morris <rgm@gnu.org>
10813
10814 * progmodes/f90.el (f90-font-lock-keywords-2):
10815 Add some preprocessor elements. (Bug#10499)
10816
108172012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10818
10819 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10820 Use syntax-propertize (bug#11739).
10821
2badeec4
JB
108222012-06-28 Juanma Barranquero <lekktu@gmail.com>
10823
10824 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10825
ae4969c2
JD
108262012-06-28 Julien Danjou <julien@danjou.info>
10827
10828 * term.el (term-handle-colors-array): Use a set of new faces to
10829 color the terminal. Also uses :inverse-video property.
10830 (term-default-fg-color): Set to nil by default, deprecate in favor
10831 of `term-face'.
10832 (term-default-bg-color): Set to nil by default, deprecate in favor
10833 of `term-face'.
10834 (term-current-face): Use `term-face' by default.
10835 (term-bold-attribute): Variable deleted.
10836
1c9bd870
GM
108372012-06-28 Glenn Morris <rgm@gnu.org>
10838
10839 * simple.el (completion-list-mode-finish):
10840 Don't use toggle-read-only. (Since completion-list-mode has
10841 a special mode-class, it wasn't doing anything extra anyway.)
10842
c207708c
SM
108432012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10844
10845 Make inlining of other-mode interpreted functions work (bug#11799).
10846 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10847 (byte-compile): Use it to fix compilation of lexical-binding closures.
10848 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10849 function, if needed.
10850
3fd56834
SM
108512012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10852
04901786
SM
10853 * help-mode.el (help-make-xrefs): Don't just withstand
10854 cyclic-variable-indirection but any error in documentation-property.
10855
1ec4b7b2
SM
10856 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10857 memory use.
10858 * bindings.el (bindings--define-key): New function.
10859 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10860 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10861 * bindings.el: Use it to purecopy define-key bindings.
10862
e309e2a5
SM
10863 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10864
d5c6faf9
SM
10865 * emacs-lisp/cl.el (flet): Mark obsolete.
10866 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10867 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10868 * progmodes/js.el (js-c-fill-paragraph):
10869 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10870 (ebrowse-switch-member-buffer-to-derived-class):
10871 * play/5x5.el (5x5-solver): Use cl-flet.
10872
6e9590e2
SM
10873 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10874 (cl--symbol-function): New macro.
10875 (cl--letf, cl--letf*): Use it.
10876
3fd56834
SM
10877 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10878 Strip "toggle-" if any.
10879
35ff222c
GM
108802012-06-27 Glenn Morris <rgm@gnu.org>
10881
1ba6038a
GM
10882 * info.el (Info-default-directory-list): Move here from paths.el.
10883 * paths.el: Remove file, which is now empty.
10884 * loadup.el: No longer load "paths".
10885
0ea0e51b
GM
10886 * custom.el (custom-initialize-delay): Doc fix.
10887
35ff222c
GM
10888 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10889 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10890 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10891 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10892 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10893 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10894 * eshell/eshell.el (eshell-defgroup): Remove alias.
10895
c89926a5
CY
108962012-06-27 Chong Yidong <cyd@gnu.org>
10897
10898 * help.el (help-enable-auto-load): New variable.
10899
10900 * help-fns.el (help-fns--autoloaded-p): New function.
10901 (describe-function-1): Refer to a function as "autoloaded" if it
10902 was autoloaded at any time in the past. Perform autoloading if
10903 help-enable-auto-load is non-nil.
10904
cc06e7e7
EZ
109052012-06-26 Eli Zaretskii <eliz@gnu.org>
10906
10907 * makefile.w32-in (compile, compile-always): Depend on
10908 update-subdirs, not on subdirs.el. Otherwise, several different
10909 sub-targets of 'bootstrap' running in parallel could
10910 simultaneously write to subdirs.el, producing a garbled file.
10911
d2c32364
SS
109122012-06-26 Sam Steingold <sds@gnu.org>
10913
10914 * files.el (file-name-base): New convenience function.
0d14cc21
GM
10915 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10916 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10917 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10918 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10919 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
10920 * textmodes/tex-mode.el: Use it.
10921 Did not touch cedet and org because they are maintained elsewhere.
10922
5cf983b2
MR
109232012-06-26 Martin Rudalics <rudalics@gmx.at>
10924
10925 * calendar/calendar.el (calendar-exit): Don't try to delete or
10926 iconify last frame. See:
10927 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10928
8c4f2952
JD
109292012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10930
10931 * server.el (server-process-filter): Remember dir in the
10932 process's `server-client-directory' properties.
10933
772b2e2c
CY
109342012-06-24 Chong Yidong <cyd@gnu.org>
10935
10936 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10937 non-tag text.
10938
711b11e1
JB
109392012-06-23 Juanma Barranquero <lekktu@gmail.com>
10940
10941 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10942
dc5d230c
SM
109432012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10944
10945 * help-fns.el (describe-variable): Don't croak when doc is not found.
10946 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10947 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10948 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10949 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10950 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10951 ((lambda ..) ..).
10952 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10953
136e1c1d
CY
109542012-06-23 Chong Yidong <cyd@gnu.org>
10955
e8c1cabf
CY
10956 * info.el (Info-mouse-follow-link): Accept symbol values of
10957 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
10958 (Info-fontify-node): Use Info-link-keymap for all navigation
10959 buttons, with link-args property to perform the desired action.
10960 (Info-link-keymap): Doc fix.
10961 (Info-next-link-keymap, Info-prev-link-keymap)
10962 (Info-up-link-keymap): Delete now-unused keymaps.
10963
0e9e6c6a
CY
109642012-06-23 Chong Yidong <cyd@gnu.org>
10965
05e89fea
CY
10966 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10967
0e9e6c6a
CY
10968 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10969 system abbrevs.
10970
10971 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10972
e33c6771
SM
109732012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10974
b68581e2
SM
10975 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10976 (bug#11719).
10977
e33c6771
SM
10978 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10979 the requote function doesn't work properly (bug#11714).
10980
7117e105
GM
109812012-06-23 Glenn Morris <rgm@gnu.org>
10982
10983 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10984
36cec983
SM
109852012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10986
10987 Further GV/CL cleanups.
10988 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10989 gv-expander.
10990 (gv--defun-declaration): New function.
10991 (defun-declarations-alist): Use it.
10992 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10993 (gv-place): Autoload.
10994 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10995 original definition of dotimes and dolist.
10996 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10997 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10998 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10999 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11000 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11001 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11002 to the function's definition.
11003 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11004 * window.el:
11005 * files.el:
11006 * faces.el:
11007 * env.el: Don't use CL.
11008
d35af63c
PE
110092012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11010
11011 Support higher-resolution time stamps (Bug#9000).
11012
11013 * calendar/time-date.el (with-decoded-time-value): New arg
11014 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11015 (encode-time-value): New optional arg PICO. New type 3.
11016 (time-to-seconds) [!float-time]: Support the new picoseconds
11017 component if it's used.
11018 (seconds-to-time, time-subtract, time-add):
11019 Support ps-resolution time stamps as well.
11020
11021 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11022 (timerp): Timer vectors now have length 9, not 8.
11023 (timer--time): Support new-style (4-part) time stamps.
11024 (timer-next-integral-multiple-of-time): Time stamps now have
11025 picosecond resolution, so take a bit more care about rounding.
11026 (timer-relative-time, timer-inc-time): New optional arg psecs.
11027 (timer-set-time-with-usecs): Set psecs to 0.
11028 (timer--activate): Check psecs component, too.
11029
11030 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11031
ac77b21a
SM
110322012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11033
f143bfe3
SM
11034 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11035 Move the non-essential binding to the post/pre-command-hook where it is
11036 more obviously correct.
11037
ac77b21a
SM
11038 * subr.el (read-passwd): Don't use a history at all.
11039 * savehist.el (savehist-save): Remove password saved accidentally
11040 because of the above bug.
11041
76386c5a
BG
110422012-06-22 Bastien Guerry <bzg@gnu.org>
11043
11044 * files.el (toggle-read-only): Display a message telling whether
11045 the buffer is read-only or not (bug#11726).
11046
2ee3d7f0
SM
110472012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11048
11049 * emacs-lisp/gv.el: New file.
11050 * subr.el (push, pop): Extend to generalized variables.
11051 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11052 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11053 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11054 gv-define-simple-setter, and gv-define-expander.
11055 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11056 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11057 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11058 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11059 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11060 gv-letplace.
11061 (cl-defstruct): Don't define setf-method any more.
11062 * emacs-lisp/cl.el (flet): Don't autoload.
11063 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11064 (define-setf-expander, defsetf, define-modify-macro)
11065 (cl-struct-setf-expander): Move from cl-lib.el.
11066 * emacs-lisp/syntax.el:
11067 * emacs-lisp/ewoc.el:
11068 * emacs-lisp/smie.el:
11069 * emacs-lisp/cconv.el:
11070 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11071 (timer--time): Use gv-define-simple-setter.
11072 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11073 to avoid coding-system problems in subr.el. Adjust all users.
11074 (macroexp--maxsize, macroexp-small-p): New functions.
11075 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11076 * scroll-bar.el (scroll-bar-mode):
11077 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11078 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11079 * winner.el (winner-configuration, winner-make-point-alist)
11080 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11081 * files.el (locate-file-completion-table): Avoid list*.
11082
c5695d1d
CY
110832012-06-22 Chong Yidong <cyd@gnu.org>
11084
11085 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11086 (dired-create-files): Doc fix (Bug#11329).
11087 (dired-do-copy): Doc fix (Bug#11334).
11088 (dired-mark-read-string): Doc fix (Bug#11553).
11089
2ee3d7f0
SM
11090 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11091 Doc fix (Bug#11326).
c5695d1d
CY
11092 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11093 (dired-dwim-target): Doc fix.
11094
11095 * wdired.el (wdired-mode): Doc fix.
11096
89b5595a
GM
110972012-06-22 Glenn Morris <rgm@gnu.org>
11098
575db3f1
GM
11099 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11100 (pcmpl-rpm-cache-stamp-file): New constant.
11101 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11102 (pcmpl-rpm-packages): Optionally cache list of packages.
11103
a4c8dd51
GM
11104 * pcmpl-rpm.el (pcmpl-rpm): New group.
11105 (pcmpl-rpm-query-options): New option.
11106 (pcmpl-rpm-packages): No need to inline it.
11107 Use pcmpl-rpm-query-options.
11108
89b5595a
GM
11109 * calendar/calendar.el (calendar-in-read-only-buffer):
11110 Avoid some needless mode changes.
11111
e76f0800
CY
111122012-06-21 Chong Yidong <cyd@gnu.org>
11113
11114 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11115 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 11116 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 11117
297a8f1d
CY
111182012-06-20 Chong Yidong <cyd@gnu.org>
11119
11120 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11121
d34c18b1
DR
111222012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11123
11124 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11125 (bug#11201).
11126
32f7f28e
CY
111272012-06-20 Chong Yidong <cyd@gnu.org>
11128
11129 * term.el (term-window-width): Handle the case of a missing right
11130 fringe (Bug#8837).
11131 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
11132 (term-mode): Use define-derived-mode. Minor cleanups.
11133 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
11134 (term-move-columns, term-insert-char, term-emulate-terminal)
11135 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 11136
493c6688
MA
111372012-06-20 Michael Albinus <michael.albinus@gmx.de>
11138
d34c18b1
DR
11139 * net/ange-ftp.el (ange-ftp-get-passwd):
11140 Bind `enable-recursive-minibuffers'.
493c6688
MA
11141 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11142
3f06ecf4
DR
111432012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11144
11145 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11146
68f12411
GM
111472012-06-19 Glenn Morris <rgm@gnu.org>
11148
11149 * progmodes/python.el (python-mode): Derive from prog-mode.
11150
b3820318
KG
111512012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11152
11153 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11154 (edt-user-menu-bar-update-buffers): New functions.
11155 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11156
c6bf3022
CY
111572012-06-19 Chong Yidong <cyd@gnu.org>
11158
11159 * subr.el (with-selected-window): Preserve the selected window's
11160 terminal's top-frame (Bug#4702).
11161
11162 * window.el (save-selected-window): Likewise.
11163
25f09295
SM
111642012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11165
11166 * progmodes/python.el (python-rx-constituents): Move backquote.
11167 (python-skeleton-define, python-define-auxiliary-skeleton):
11168 Use `declare'.
11169
6b11952a
MA
111702012-06-18 Michael Albinus <michael.albinus@gmx.de>
11171
11172 * minibuffer.el (read-file-name-default): Revert the patch from
11173 2012-06-17.
11174
ee4b1330
SM
111752012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11176
11177 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11178 (pcase--u1, pcase--q1): Don't use apply-partially.
11179
35647f79
GM
111802012-06-18 Glenn Morris <rgm@gnu.org>
11181
11182 * progmodes/python.el (python-proc, python-buffer)
11183 (python-send-receive, python-send-string): Fix obsolete versions.
11184
24b0cff0
MR
111852012-06-18 Martin Rudalics <rudalics@gmx.at>
11186
11187 * window.el (special-display-p): Completely remove stringp
11188 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
11189
29855149
MA
111902012-06-17 Michael Albinus <michael.albinus@gmx.de>
11191
11192 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
11193
11194 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
11195
11196 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
11197 * net/tramp-sh.el (tramp-maybe-open-connection):
11198 Throw if `non-essential' is non-nil.
11199
07463363
MR
112002012-06-17 Martin Rudalics <rudalics@gmx.at>
11201
11202 * window.el (special-display-p): Signal an error if BUFFER-NAME
11203 is not a string (Bug#11713).
11204
48d1354e
PE
112052012-06-17 Paul Eggert <eggert@cs.ucla.edu>
11206
11207 * progmodes/python.el (python-info-beginning-of-backslash):
11208 Rename from python-info-beginning-of-backlash, as a spelling fix.
11209
eb4a8a9a
CY
112102012-06-17 Chong Yidong <cyd@gnu.org>
11211
11212 * term.el (term-emulate-terminal): If term-check-size is called,
11213 move point to the process mark without resetting point (Bug#4635).
11214
ddfbf826 112152012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
11216
11217 * international/mule-cmds.el (mule-menu-keymap)
11218 (set-language-environment, set-locale-environment): Doc tweaks.
11219
9b0e3eba
AA
112202012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
11221
11222 * cus-face.el (custom-face-attributes): Add wave-style underline
11223 attribute.
11224 * faces.el (set-face-attribute): Update docstring to describe
11225 wave-style underline attribute.
11226
771e3eae
CY
112272012-06-16 Chong Yidong <cyd@gnu.org>
11228
11229 * term/xterm.el (terminal-init-xterm): Discard input before
11230 querying background mode (Bug#10959).
11231
7ae2ea10
SM
112322012-06-16 Stefan Merten <smerten@oekonux.de>
11233
11234 * textmodes/rst.el: Added and corrected some comments.
11235 (rst-re-alist-def): Improve symbol syntax.
11236 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
11237 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11238 (rst-official-version, rst-official-cvs-rev): Update version
11239 information.
7ae2ea10 11240
b6974efa
JB
112412012-06-15 Juanma Barranquero <lekktu@gmail.com>
11242
11243 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
11244 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
11245
8826d473
GM
112462012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
11247
11248 * progmodes/python.el: New python.el merge.
11249 (python-guess-indent): Obsolete var.
11250 (python-indent-guess-indent-offset): New defcustom.
11251 (python-indent): Obsolete var.
11252 (python-indent-offset): New defcustom.
11253 (python-python-command, python-jython-command): Delete var.
11254 (python-shell-interpreter): New defcustom.
11255 (python-pdbtrack-do-tracking-p): Delete var.
11256 (python-pdbtrack-activate): New defcustom.
11257 (python-use-skeletons): Obsolete var.
11258 (python-skeleton-autoinsert): New defcustom.
11259 (inferior-python-filter-regexp, python-continuation-offset)
11260 (python-honour-comment-indentation, python-indent-string-contents)
11261 (python-jython-packages, python-mode-hook)
11262 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
11263 (python-shell-prompt-alist)
11264 (python-source-modes): Delete defcustoms.
11265 (python-check-buffer-name, python-eldoc-setup-code)
11266 (python-eldoc-string-code, python-ffap-setup-code)
11267 (python-ffap-string-code, python-fill-comment-function)
11268 (python-fill-decorator-function, python-fill-paren-function)
11269 (python-fill-string-function, python-imenu-include-defun-type)
11270 (python-imenu-make-tree, python-imenu-subtree-root-label)
11271 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
11272 (python-shell-compilation-regexp-alist)
11273 (python-shell-completion-module-string-code)
11274 (python-shell-completion-pdb-string-code)
11275 (python-shell-completion-setup-code)
11276 (python-shell-completion-string-code)
11277 (python-shell-enable-font-lock, python-shell-exec-path)
11278 (python-shell-extra-pythonpaths)
11279 (python-shell-internal-buffer-name, python-shell-interpreter-args)
11280 (python-shell-process-environment)
11281 (python-shell-prompt-block-regexp)
11282 (python-shell-prompt-output-regexp)
11283 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
11284 (python-shell-send-setup-max-wait, python-shell-setup-codes)
11285 (python-shell-virtualenv-path): New defcustoms.
11286 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
11287 (inferior-python-mode-syntax-table, python--prompt-regexp)
11288 (python-buffer, python-command python-python-command)
11289 (python-default-template, python-imports, python-indent-index)
11290 (python-indent-list, python-indent-list-length)
11291 (python-mode-running, python-pdbtrack-is-tracking-p)
11292 (python-preoutput-continuation, python-preoutput-leftover)
11293 (python-preoutput-result, python-preoutput-skip-next-prompt)
11294 (python-prev-dir/file, python-recursing)
11295 (python-saved-check-command, python-version-checked)
11296 (python-which-func-length-limit)
11297 (view-return-to-alist): Delete vars.
11298 (python-check-custom-command, python-dotty-syntax-table)
11299 (python-imenu-index-alist, python-indent-current-level)
11300 (python-indent-dedenters, python-indent-levels)
11301 (python-nav-beginning-of-defun-regexp)
11302 (python-nav-list-defun-positions-cache)
11303 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
11304 (python-shell-internal-buffer)
11305 (python-skeleton-available): New vars.
11306 (def-python-skeleton): Delete macro.
11307 (python-skeleton-define): New macro.
11308 (python-define-auxiliary-skeleton, python-rx): New macros.
11309 (python-insert-class): Delete command.
11310 (python-skeleton-class): New command.
11311 (python-insert-def): Delete command.
11312 (python-skeleton-def): New command.
11313 (python-insert-for): Delete command.
11314 (python-skeleton-for): New command.
11315 (python-insert-if): Delete command.
11316 (python-skeleton-if): New command.
11317 (python-insert-try/except, python-insert-try/finally): Delete commands.
11318 (python-skeleton-try): New command.
11319 (python-insert-while): Delete command.
11320 (python-skeleton-while): New command.
11321 (python-backspace): Delete command.
11322 (python-indent-dedent-line-backspace): New command.
11323 (python-electric-colon): Delete command.
11324 (python-indent-electric-colon): New command.
11325 (python-guess-indent): Delete command.
11326 (python-indent-guess-indent-offset): New command.
11327 (python-shift-left): Delete command.
11328 (python-indent-shift-left): New command.
11329 (python-shift-right): Delete command.
11330 (python-indent-shift-right): New command.
11331 (python-find-function): Delete command.
11332 (python-nav-jump-to-defun): New command.
11333 (python-next-statement): Delete command.
11334 (python-nav-forward-sentence): New command.
11335 (python-previous-statement): Delete command.
11336 (python-nav-backward-sentence): New command.
11337 (python-fill-paragraph): Delete command.
11338 (python-fill-paragraph-function): New command.
11339 (python-send-buffer): Delete command.
11340 (python-shell-send-buffer): New command.
11341 (python-send-defun): Delete command.
11342 (python-shell-send-defun): New command.
11343 (python-send-region, python-send-region-and-go): Delete commands.
11344 (python-shell-send-region)
11345 (python-shell-switch-to-shell): New commands.
11346 (python-send-string): Delete command.
11347 (python-shell-send-string): New command.
11348 (python-switch-to-python): Delete command.
11349 (python-shell-switch-to-shell): New command.
11350 (python-describe-symbol): Delete command.
11351 (python-eldoc-at-point): New command.
11352 (python--set-prompt-regexp, python-args-to-list)
11353 (python-after-info-look, python-check-version)
11354 (python-check-comint-prompt, python-find-imports)
11355 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
11356 (python-unload-function, python-expand-template)
11357 (python-maybe-jython, python-preoutput-filter)
11358 (python-pdbtrack-get-source-buffer)
11359 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
11360 (python-pdbtrack-toggle-stack-tracking)
11361 (python-pdbtrack-track-stack-file, python-initial-text)
11362 (python-first-word, python-comment-line-p, python-send-command)
11363 (python-setup-brm, python-sentinel, python-set-proc)
11364 (python-skip-out, python-input-filter, python-outdent-p)
11365 (python-outline-level, python-backslash-continuation-line-p)
11366 (python-end-of-block, python-end-of-statement, python-mark-block)
11367 (python-beginning-of-block, python-beginning-of-statement)
11368 (python-blank-line-p, python-beginning-of-string)
11369 (python-open-block-statement-p): Delete functions.
11370 (python-indent-line, python-indent-line-1): Delete functions.
11371 (python-indent-line): New function.
11372 (python-indentation-levels): Delete function.
11373 (python-indent-calculate-levels): New function.
11374 (python-proc): Delete function.
11375 (python-shell-get-process): New function.
11376 (python-send-receive): Delete function.
11377 (python-shell-send-string-no-output): New function.
11378 (python-module-path): Delete function.
11379 (python-ffap-module-path): New function.
11380 (python-completion-at-point)
11381 (python-symbol-completions): Delete functions.
11382 (python-completion-complete-at-point): New function.
11383 (python-load-file): Delete function.
11384 (python-shell-send-file): New function.
11385 (python-calculate-indentation): Delete function.
11386 (python-indent-calculate-indentation): New function.
11387 (python-skip-comments/blanks): Delete function.
11388 (python-util-forward-comment): New function.
11389 (python-continuation-line-p): Delete function.
11390 (python-info-continuation-line-p): New function.
11391 (python-which-func, python-current-defun): Delete function.
11392 (python-info-current-defun): New function.
11393 (python-beginning-of-defun): Delete function.
11394 (python-nav-beginning-of-defun): New function.
11395 (python-close-block-statement-p)
11396 (python-block-end-p): Delete function.
11397 (python-info-closing-block): New function.
11398 (python-comint-output-filter-function)
11399 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
11400 (python-fill-comment, python-fill-decorator, python-fill-paren)
11401 (python-fill-string, python-imenu-make-element-tree)
11402 (python-imenu-make-tree, python-imenu-tree-assoc)
11403 (python-indent-context, python-indent-dedent-line)
11404 (python-indent-line-function)
11405 (python-indent-post-self-insert-function)
11406 (python-indent-toggle-levels)
11407 (python-info-assignment-continuation-line-p)
11408 (python-info-beginning-of-backlash)
11409 (python-info-block-continuation-line-p)
11410 (python-info-closing-block-message)
11411 (python-info-line-ends-backslash-p)
11412 (python-info-looking-at-beginning-of-defun)
11413 (python-info-ppss-context, python-info-ppss-context-type)
11414 (python-nav-list-defun-positions, python-nav-read-defun)
11415 (python-nav-sentence-end, python-nav-sentence-start)
11416 (python-pdbtrack-comint-output-filter-function)
11417 (python-pdbtrack-set-tracked-buffer)
11418 (python-shell-calculate-exec-path)
11419 (python-shell-calculate-process-environment)
11420 (python-shell-completion--do-completion-at-point)
11421 (python-shell-completion--get-completions)
11422 (python-shell-completion-complete-at-point)
11423 (python-shell-completion-complete-or-indent)
11424 (python-shell-get-or-create-process)
11425 (python-shell-get-process-name)
11426 (python-shell-internal-get-or-create-process)
11427 (python-shell-internal-get-process-name)
11428 (python-shell-internal-send-string, python-shell-make-comint)
11429 (python-shell-parse-command, python-shell-send-setup-code)
11430 (python-skeleton-add-menu-items)
11431 (python-util-clone-local-variables, python-util-position)
11432 (run-python-internal, python-indentation-levels)
11433 (python-nav-beginning-of-defun)
11434 (python-completion-complete-at-point): New functions.
11435 (run-python): Change arguments. New API requirements.
11436
4302f5ba
SM
114372012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11438
f38ea36d
SM
11439 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11440 (bug#11649).
11441
11442 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11443 (macroexp--expand-all): Use it.
11444
4302f5ba
SM
11445 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11446 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11447 Use `cl-function' instead.
11448
33377562
JB
114492012-06-14 Juanma Barranquero <lekktu@gmail.com>
11450
11451 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11452 Suggested by Stefan Monnier while discussing bug#11657.
11453
54c5ba1a
SS
114542012-06-14 Sam Steingold <sds@gnu.org>
11455
11456 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11457
f9f1b1fe
AS
114582012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11459
11460 * play/doctor.el (doctor-doc): Remove parameter and use
11461 doctor-sent instead of sent.
11462 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
11463
a81068ba
SM
114642012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11465
5a315f9c
SM
11466 * files.el: Require cl-lib.
11467 (file-name-non-special): Replace case -> cl-case.
11468
11469 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11470
a81068ba
SM
11471 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11472 mapping from #' to function*.
11473
8cca9703
CY
114742012-06-13 Chong Yidong <cyd@gnu.org>
11475
11476 * mouse.el (mouse-drag-track): Do not set the mark if the user
11477 releases the mouse without selecting anything (Bug#11588).
11478
a12ac9d7
SM
114792012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11480
ccf1dc18
SM
11481 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11482 as well (bug#11646).
11483
ef62b23d
SM
11484 * loadup.el: Count byte-code functions as well.
11485
c4c8444a
SM
11486 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11487 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11488
a12ac9d7
SM
11489 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11490 (bug#11649). Add cl-defun and cl-defmacro.
11491
87e6e64f
DA
114922012-06-13 Drew Adams <drew.adams@oracle.com>
11493
11494 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11495 Fix last change.
11496
682cefaf
MA
114972012-06-13 Michael Albinus <michael.albinus@gmx.de>
11498
11499 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11500 Otherwise, it blocks in batch mode.
11501
773e1f08
JB
115022012-06-13 Juanma Barranquero <lekktu@gmail.com>
11503
11504 * help-mode.el (bookmark-make-record-default): Declare.
11505
60057926
CY
115062012-06-13 Chong Yidong <cyd@gnu.org>
11507
11508 * emacs-lisp/package.el (list-packages): Compute a list of
11509 packages that are newly-available since the last list-packages
11510 invocation.
11511 (package-menu--new-package-list): New var.
11512 (package-menu--generate, package-menu--print-info)
11513 (package-menu--status-predicate, package-menu-mark-install):
11514 Handle new status label "new".
11515
ad4d226c
SM
115162012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11517
11518 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11519 conversion to backquotes.
11520
f1a4e679
CY
115212012-06-12 Chong Yidong <cyd@gnu.org>
11522
11523 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11524 Rename from gud-inhibit-global-bindings.
11525
11526 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11527
11528 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11529 hook from nxml-glyph-set-hook.
11530
11531 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11532 declaration.
11533
11534 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11535
11536 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11537 Convert to defcustom.
11538
0c9e42b5
DA
115392012-06-12 Drew Adams <drew.adams@oracle.com>
11540
11541 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11542 New functions.
11543 (help-mode): Use them.
11544
09e06855
GM
115452012-06-11 Glenn Morris <rgm@gnu.org>
11546
11547 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11548 Use preprocessor face for directives.
11549 (fortran-directive-re): Doc fix.
11550
71adb94b
SM
115512012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11552
2eb87922
SM
11553 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11554 conversion to backquotes (bug#11652).
11555
71adb94b
SM
11556 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11557 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11558 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11559 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11560 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11561 (cl-ninth, cl-tenth): Mark them as inlinable.
11562 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11563 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11564 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11565 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11566 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11567 (cl-list*, cl-adjoin): Don't put an autoload manually.
11568 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11569 (cl--compiler-macro-list*): Add autoload cookie.
11570 (cl--compiler-macro-cXXr): New function.
2eb87922 11571
71adb94b
SM
11572 * help-fns.el (help-fns--compiler-macro): New function extracted from
11573 describe-function-1; follow aliases and use `compiler-macro' property.
11574 (describe-function-1): Use it.
11575
a6674402
CY
115762012-06-11 Chong Yidong <cyd@gnu.org>
11577
11578 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11579 is uninstalled, if imagemagick is installed.
11580
bb3faf5b
SM
115812012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11582
11583 * emacs-lisp/cl-lib.el: Use lexical-binding.
11584 (cl-map-extents, cl-maclisp-member): Remove.
11585 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11586 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11587 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11588 * emacs-lisp/cl-extra.el: Use lexical-binding.
11589 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11590 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11591 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11592 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11593 * emacs-lisp/cl-seq.el: Use lexical-binding.
11594 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11595 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11596 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11597 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11598 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11599 CL's internals.
11600
2fe4b125
MA
116012012-06-11 Michael Albinus <michael.albinus@gmx.de>
11602
11603 Sync with Tramp 2.2.6-pre.
11604
11605 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11606 `print-length' and `print-level' to nil, in order to avoid
11607 truncation. Reported by Christopher Schmidt
11608 <christopher@ristopher.com>.
11609
11610 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11611
11612 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11613 New defmacro.
11614 (tramp-compat-copy-directory): Add optional argument
11615 COPY-CONTENTS. It is not handled yet.
11616
11617 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11618 (tramp-ftp-file-name-p): Simplify.
11619
11620 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11621 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11622 connection vector.
11623
11624 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11625 (tramp-methods): Do not use `tramp-password-end-of-line'.
11626 (tramp-completion-function-alist-putty): Handle UNIX case.
11627 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11628 (tramp-do-file-attributes-with-stat)
11629 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11630 gid as real numbers. They could run out of integer range on cygwin.
11631 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11632 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
11633 (tramp-open-connection-setup-interactive-shell):
11634 Use `tramp-cleanup'. Move check for busyboxes ...
11635 (tramp-find-shell): ... here. Simplify implementation.
11636 Set "remote-shell" property also for alternative shells.
11637 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11638 If failing, a regular file would be written otherwise.
11639 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
11640 (tramp-find-inline-encoding): Cache the coding commands in the
11641 process cache. Apply test command on the remote side, if defined.
11642 (tramp-find-inline-compress): Cache the compress commands in the
11643 process cache.
11644 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11645 when requested. Handle hops.
11646 (tramp-current-connection): New defvar.
87e6e64f
DA
11647 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11648 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 11649 Handle user interrupt. (Bug#10187)
87e6e64f
DA
11650 (tramp-get-inline-compress, tramp-get-inline-coding):
11651 Read connection properties from the process cache.
2fe4b125
MA
11652
11653 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
11654 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11655 New defconsts.
2fe4b125
MA
11656 (tramp-smb-prompt): Extend for powershell prompt.
11657 (tramp-smb-file-name-handler-alist): Add handlers for
11658 `process-file', `shell-command' and `start-file-process'.
11659 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11660 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11661 (tramp-smb-file-name-p): Simplify.
11662 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11663 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11664 (tramp-smb-shell-quote-argument): New defuns.
11665 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11666 Implement using "tar". By this, time-stamps are preserved.
11667 (tramp-smb-handle-copy-file): Handle also the case of directories.
11668 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
11669 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11670 Use `tramp-get-connection-buffer').
2fe4b125
MA
11671 (tramp-smb-handle-rename-file): Use "rename", when source and
11672 target are on the same share.
87e6e64f
DA
11673 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11674 Use `tramp-smb-server-version'.
2fe4b125
MA
11675 (tramp-smb-wait-for-output): Remove prompt.
11676
11677 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
11678 (tramp-methods, tramp-rsh-end-of-line):
11679 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
11680 (tramp-save-ad-hoc-proxies): New defcustom.
11681 (tramp-completion-function-alist): Adapt docstring.
11682 (tramp-default-password-end-of-line): Remove defcustom.
11683 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11684 (tramp-user-regexp, tramp-file-name-regexp-unified)
11685 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11686 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11687 (tramp-remote-file-name-spec-regexp): New defconst.
11688 (tramp-file-name-structure): Extend structure for hops.
11689 (tramp-get-method-parameter): Move up.
11690 (tramp-file-name-p, tramp-dissect-file-name)
11691 (with-parsed-tramp-file-name): Handle hops.
11692 (tramp-file-name-hop): New defun.
11693 (tramp-make-tramp-file-name): New optional arg HOP.
11694 (tramp-message-show-progress-reporter-message): New defvar.
11695 (tramp-with-progress-reporter): Use it. We cannot use
11696 `tramp-message-show-message' here, because this suppresses also
11697 error buffers.
11698 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
11699 `tramp-message-show-message' is nil.
11700 Use `tramp-get-connection-buffer'.
2fe4b125
MA
11701 (tramp-cleanup): New defun.
11702 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11703 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11704 an error unchanged.
11705 (tramp-completion-handle-file-name-all-completions): Handle hops.
11706 Fix an error when called from ido.
11707 (tramp-completion-dissect-file-name): Use better local variable
11708 name. Add hop to the vector.
11709 (tramp-handle-insert-file-contents): Use progress-reporter for the
11710 whole scenario.
11711 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11712 to `t'.
11713 (tramp-check-for-regexp): Simplify search.
11714 (tramp-enter-password): Remove it. Move implementation ...
11715 (tramp-action-password): ... here.
11716 (tramp-mode-string-to-int, tramp-local-host-p)
11717 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
11718 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11719 Set tramp-autoload cookie.
2fe4b125
MA
11720
11721 * net/trampver.el: Update release number.
11722
117232012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11724 Michael Albinus <michael.albinus@gmx.de>
11725
11726 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11727 (tramp-parse-group, tramp-parse-file)
11728 (tramp-parse-shostkeys-sknownhosts): New defuns.
11729 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11730 (tramp-parse-shosts-group, tramp-parse-sconfig)
11731 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11732 (tramp-parse-sknownhosts, tramp-parse-hosts)
11733 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11734 Use them.
11735 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11736 (tramp-parse-putty-group): Don't narrow.
11737 (tramp-parse-putty): Make a loop.
11738 (tramp-file-name-handler): Catch the `suppress' signal.
11739
72834e10
CY
117402012-06-11 Chong Yidong <cyd@gnu.org>
11741
11742 * image.el (imagemagick-register-types): Put the ImageMagick entry
11743 at the end of image-type-file-name-regexps.
11744
a4712e11
JB
117452012-06-11 Johan Bockgård <bojohan@gnu.org>
11746
11747 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11748 (pcase, pcase-let*, pcase-dolist): Use them.
11749
82ad98e3
SM
117502012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11751
11752 * emacs-lisp/pcase.el (pcase--let*): New function.
11753 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11754 (pcase--expand): Use macroexp-let².
11755
f80efb86
SM
117562012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11757
11758 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11759 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11760 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11761 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11762 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11763 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11764
31ca4639 117652012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 11766
31ca4639
CY
11767 * mail/rmail.el (rmail-yank-current-message): Leave point at
11768 correct position. (Bug#11660)
94f0aa34 11769
31ca4639 117702012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 11771
31ca4639 11772 * allout-widgets.el: Fix code header.
9e1b8ec4 11773
31ca4639 117742012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 11775
f80efb86
SM
11776 * cus-edit.el (customize-changed-options-previous-release):
11777 Bump to 24.1.
31ca4639 11778
642b6d30
AS
117792012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11780
11781 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11782
4f5d2ba1
CY
117832012-06-09 Chong Yidong <cyd@gnu.org>
11784
11785 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11786
e75852fd
MR
117872012-06-09 Martin Rudalics <rudalics@gmx.at>
11788
11789 * window.el (special-display-popup-frame): Don't use
11790 window--display-buffer (Bug#11651).
11791
1e48e282
EZ
117922012-06-09 Eli Zaretskii <eliz@gnu.org>
11793
8a26b487
EZ
11794 Fix parallel builds: make sure loaddefs.el is not being written
11795 while Lisp files are compiled.
11796 (compile): Don't depend on 'mh-autoloads'.
11797 (compile-CMD, compile-SH): Depend on 'autoloads'.
11798 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11799
1e48e282
EZ
11800 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11801
6175e34b
CY
118022012-06-09 Chong Yidong <cyd@gnu.org>
11803
11804 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11805 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11806 Doc fixes (Bug#11225).
11807
d9857e53
SM
118082012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11809
11810 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11811 a function if there's a clear indication that it has a compiler-macro.
11812 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11813 (macro-declarations-alist): Add arglist to declaration functions.
11814 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11815 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11816 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11817 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11818 Also add autoload to find the compiler macro.
11819 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11820 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11821 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11822 (cl--compiler-macro-get): New functions, replacing calls to
11823 cl-define-compiler-macro.
11824 (cl-typep) [compiler-macro]: Use macroexp-let².
11825
f81298f8 118262012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
11827
11828 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11829 string properly, fixes Bug#11473.
11830
4b56d0fe
CY
118312012-06-08 Chong Yidong <cyd@gnu.org>
11832
11833 * faces.el (set-face-attribute): Doc fix.
11834 (modify-face): Don't use :bold and :italic.
11835 (error, warning, success): Tweak definitions.
11836
11837 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11838 (custom-modified, custom-set, custom-changed, custom-themed)
11839 (custom-saved, custom-button, custom-button-mouse)
11840 (custom-button-pressed, custom-state, custom-comment-tag)
11841 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11842 (custom-group-subtitle): Use new-style face specs.
11843 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11844 (custom-set-face, custom-changed-face, custom-saved-face)
11845 (custom-button-face, custom-button-pressed-face)
11846 (custom-documentation-face, custom-state-face)
11847 (custom-comment-face, custom-comment-tag-face)
11848 (custom-variable-tag-face, custom-variable-button-face)
11849 (custom-face-tag-face, custom-group-tag-face-1)
11850 (custom-group-tag-face): Remove obsolete face alias.
11851
11852 * epa.el (epa-validity-high, epa-validity-medium)
11853 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11854 (epa-field-name, epa-field-body):
11855 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11856 (font-lock-keyword-face, font-lock-builtin-face)
11857 (font-lock-function-name-face, font-lock-variable-name-face)
11858 (font-lock-type-face, font-lock-constant-face):
11859 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11860 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11861 * speedbar.el (speedbar-button-face, speedbar-file-face)
11862 (speedbar-directory-face, speedbar-tag-face)
11863 (speedbar-selected-face, speedbar-highlight-face)
11864 (speedbar-separator-face):
11865 * whitespace.el (whitespace-newline, whitespace-space)
11866 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11867 (whitespace-line, whitespace-space-before-tab)
11868 (whitespace-space-after-tab, whitespace-indentation)
11869 (whitespace-empty):
11870 * emulation/cua-base.el (cua-global-mark):
11871 * eshell/em-prompt.el (eshell-prompt):
11872 * net/newst-plainview.el (newsticker-new-item-face)
11873 (newsticker-old-item-face, newsticker-immortal-item-face)
11874 (newsticker-obsolete-item-face, newsticker-date-face)
11875 (newsticker-statistics-face, newsticker-default-face):
11876 * net/newst-reader.el (newsticker-feed-face)
11877 (newsticker-extra-face, newsticker-enclosure-face):
11878 * net/newst-treeview.el (newsticker-treeview-face)
11879 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11880 (newsticker-treeview-immortal-face)
11881 (newsticker-treeview-obsolete-face)
11882 (newsticker-treeview-selection-face):
11883 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11884 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11885 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11886 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11887 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11888 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11889 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11890 (mpuz-text):
11891 * progmodes/vera-mode.el (vera-font-lock-number)
11892 (vera-font-lock-function, vera-font-lock-interface):
11893 * textmodes/table.el (table-cell): Use new-style face specs, and
11894 don't use the old :bold and :italic attributes.
11895
11896 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11897 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11898 (ebrowse-member-class, ebrowse-progress): Likewise.
11899 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11900 (ebrowse-file-name-face, ebrowse-default-face)
11901 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11902 (ebrowse-progress-face): Remove obsolete faces.
11903
11904 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11905 Inherit from error and warning faces respectively.
11906
11907 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11908 Likewise.
f80efb86
SM
11909 (flyspell-incorrect-face, flyspell-duplicate-face):
11910 Remove obsolete aliases.
4b56d0fe 11911
03310646
MA
119122012-06-08 Michael Albinus <michael.albinus@gmx.de>
11913
11914 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11915 Avoid infloop.
11916
513749ee
SM
119172012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11918
11919 * startup.el (argv, argi): Make lexically scoped.
11920 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11921 * emacs-lisp/cl-macs.el: Use lexical-binding.
11922 Rename cl-bind-* to cl--bind-*.
11923 * files.el: Don't require `cl' since it doesn't use it.
11924 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11925
595ef4ad
JB
119262012-06-08 Juanma Barranquero <lekktu@gmail.com>
11927
11928 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11929 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11930 instead of calling external sort utility.
11931 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11932
e9f66fcb
EZ
119332012-06-08 Eli Zaretskii <eliz@gnu.org>
11934
11935 * descr-text.el (describe-char): Mention how to insert the
11936 character, if the current input method doesn't support it.
11937 See the discussion in this thread for the details:
11938 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11939
3d10db47
SS
119402012-06-08 Sam Steingold <sds@gnu.org>
11941
11942 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11943 XF86Back to previous-buffer.
11944 (minibuffer-local-map): Bind them to next-history-element and
11945 previous-history-element respectively.
11946 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11947 help-go-back respectively.
11948 * info.el (Info-mode-map): Bind them to Info-history-forward and
11949 Info-history-back respectively.
11950 These are the keys next to Up on the ThinkPad keyboard.
11951
de7e2b36
SM
119522012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11953
11954 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11955 * emacs-lisp/cl-macs.el: Provide itself.
11956 (cl--labels-convert-cache): New var.
11957 (cl--labels-convert): New function.
11958 (cl-flet, cl-labels): New implementation with new semantics, relying on
11959 lexical-binding.
11960 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11961 (cl-closure-vars, cl--function-convert-cache)
11962 (cl--function-convert): Move from cl-macs.el.
11963 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11964 rename by removing the "cl-" prefix.
11965 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11966
6fa6c4ae
SM
119672012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11968
11969 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11970 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11971 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11972 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11973 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11974 (cl-hash-table-count): Add old compatibility aliases.
11975
11976 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11977 Use macroexpand-all-environment instead.
11978 (cl--old-macroexpand): New var.
11979 (cl--sm-macroexpand): New function.
11980 (cl-symbol-macrolet): Use it during macro expansion.
11981 (cl--function-convert-cache): New var.
11982 (cl--function-convert): New function, extracted from
11983 cl-macroexpand-all.
11984 (cl-lexical-let): Use it.
11985
11986 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11987 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11988 (cl-member): Remove old alias.
11989
11990 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11991 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11992 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11993 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11994 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11995 (cl-macroexpand-cmacs): Remove var.
11996 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11997 Use macroexpand-all instead.
11998
4dd1c416
SM
119992012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12000
12001 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12002 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12003 (macroexp-copyable-p): New functions and macros.
12004 * emacs-lisp/edebug.el (edebug-unwrap):
12005 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12006 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12007 (pcase--let*): Remove.
12008 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12009 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12010 macroexp-const-p instead.
12011 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12012
12013 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12014 instead of "cl-" for internal definitions. Use macroexp-const-p.
12015 (cl-old-bc-file-form): Remove var.
12016 (cl-const-exprs-p): Remove fun.
12017 (cl-labels, cl-macrolet): Use backquote.
12018 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12019 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12020 (cl-define-setf-expander): Rename from cl-define-setf-method.
12021 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12022
12023 * international/mule-cmds.el: Don't require CL.
12024 (view-hello-file): Don't use `letf'.
12025
ed8bd4d7
SM
120262012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12027
7287f2f3
SM
12028 * tmm.el (tmm-prompt): Use string-prefix-p.
12029 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12030 (tmm-add-prompt): Use minibuffer-completion-help.
12031 (tmm-delete-map): Remove.
12032
ed8bd4d7
SM
12033 * subr.el (kbd): Make it its own function.
12034
7b4cdbf4
SM
120352012-06-07 Stefan Merten <smerten@oekonux.de>
12036
12037 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12038 Silence compiler warnings. Fix versions.
ed8bd4d7 12039 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 12040 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 12041 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
12042 (rst-package-emacs-version-alist): Correct Emacs version to
12043 represent major merge with upstream.
ed8bd4d7 12044 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 12045
2b48d721
GM
120462012-06-06 Glenn Morris <rgm@gnu.org>
12047
12048 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12049 Only print environment variables if set.
12050
fa779ab0
SM
120512012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12052
12053 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12054 (macroexp--cons): Rename from maybe-cons.
12055 (macroexp--accumulate): Rename from macroexp-accumulate.
12056 (macroexp--all-forms): Rename from macroexpand-all-forms.
12057 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12058 (macroexp--expand-all): Rename from macroexpand-all-1.
12059
628299e0
SS
120602012-06-06 Sam Steingold <sds@gnu.org>
12061
12062 * calendar/calendar.el (calendar-in-read-only-buffer):
12063 Call `special-mode' to enable the standard read-only keybindings.
12064
b7bb5838
SM
120652012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12066
12067 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12068 with "loading" messages (bug#11635).
12069
dfb308ba
MA
120702012-06-06 Michael Albinus <michael.albinus@gmx.de>
12071
12072 * files.el (enable-remote-dir-locals): New option.
12073 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12074
0372ee92
MA
12075 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12076 Ensure, that the temp directory is local.
12077
12078 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12079 `temporary-file-directory'.
12080
eed0bb91
MA
12081 * progmodes/python.el (python-send-region): Ensure, that the
12082 temporary file is created also in the remote case.
12083
7a58f64d
GM
120842012-06-06 Glenn Morris <rgm@gnu.org>
12085
f7dd4e98
GM
12086 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12087 (vc-rcs-update-changelog): Use it.
12088
090bd7cb 12089 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 12090
7a58f64d
GM
12091 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12092 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12093 (vc-sccs-diff): Replace use of the external vcdiff script.
12094
daed4003
GM
120952012-06-05 Glenn Morris <rgm@gnu.org>
12096
12097 * ledit.el: Move to obsolete/.
12098
48c455c7
SS
120992012-06-05 Sam Steingold <sds@gnu.org>
12100
ed9265fc 12101 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
12102 patch (Bug#11140).
12103
57a7d507
SM
121042012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12105
090bd7cb 12106 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 12107
53aacf21
SM
12108 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12109 compiler-macro expansion.
12110
57a7d507
SM
12111 Add native compiler-macro support.
12112 * emacs-lisp/macroexp.el (macroexpand-all-1):
12113 Support compiler-macros directly. Properly follow aliases and apply
12114 the compiler macros more thoroughly.
12115 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12116 macroexpand now properly follows aliases.
12117 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12118 (cl-compiler-macroexpand): Use new prop.
12119 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12120
12121 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12122
51a5f9d8
MR
121232012-06-05 Martin Rudalics <rudalics@gmx.at>
12124
12125 * window.el (get-lru-window, get-mru-window, get-largest-window):
12126 New argument NOT-SELECTED to avoid picking the selected window.
12127 (window--display-buffer-1, window--display-buffer-2): Replace by
12128 new function window--display-buffer
12129 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
12130 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12131 Use window--display-buffer.
51a5f9d8
MR
12132 (display-buffer-use-some-window): Remove temporary dedication
12133 hack by calling get-lru-window and get-largest-window with
12134 NOT-SELECTED argument non-nil. Call window--display-buffer.
12135
08f9f738
GM
121362012-06-05 Glenn Morris <rgm@gnu.org>
12137
12138 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12139 Replace external vcdiff script.
12140
e364a2b7
SM
121412012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12142
12143 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12144
041df390
CY
121452012-06-04 Chong Yidong <cyd@gnu.org>
12146
e364a2b7
SM
12147 * image.el (imagemagick-types-inhibit): Revert last change.
12148 Add INFO and M.
47b36b94 12149 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 12150
7c1898a7
SM
121512012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12152
12153 * emacs-lisp/cl-lib.el: Rename from cl.el.
12154 * emacs-lisp/cl.el: New compatibility file.
12155 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12156 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12157 to obey the "cl-" prefix.
12158 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12159
0c3461de
GM
121602012-06-03 Glenn Morris <rgm@gnu.org>
12161
1e266c88
GM
12162 * emacs-lisp/authors.el (authors-aliases): Addition.
12163
0c3461de
GM
12164 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12165 Fix :version.
12166
d8a52e15
SM
121672012-06-03 Stefan Merten <smerten@oekonux.de>
12168
12169 * textmodes/rst.el: Add comments.
12170 (rst-transition, rst-adornment): New faces.
12171 (rst-adornment-faces-alist): Make default safe to reevaluate.
12172 Fixes
12173 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12174 Improve customization tags.
12175 (rst-define-level-faces): Clarify meaning.
12176
5205d6f6
CY
121772012-06-03 Chong Yidong <cyd@gnu.org>
12178
12179 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
12180 (compilation-mode-line-run, compilation-mode-line-exit):
12181 New faces.
5205d6f6
CY
12182 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12183
757ee657
JD
121842012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
12185
7c1898a7
SM
12186 * progmodes/which-func.el (which-func-update-ediff-windows):
12187 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 12188
5f2c76c6
CY
121892012-06-03 Chong Yidong <cyd@gnu.org>
12190
12191 * bindings.el: Remove explicit help text from format-mode-line.
12192 It is now supplied by mode-line-default-help-echo.
12193 (mode-line-front-space, mode-line-end-spaces)
12194 (mode-line-misc-info): New variables.
12195 (mode-line-modes, mode-line-position): Move the default value to
12196 the variable definition.
12197 (mode-line-default-help-echo): New defcustom.
383f7350
CY
12198 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
12199 (mode-line-modified-help-echo): New functions.
12200 (mode-line-mule-info, mode-line-modified): Use them.
12201 (mode-line-eol-desc, propertized-buffer-identification):
12202 Consistency fixes for help text.
cbe46e5f
CY
12203 (mode-line-coding-system-map): Allow using mouse-3 to invoke
12204 set-buffer-file-coding-system (Bug#289).
12205 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 12206
f2d6a3df
SM
122072012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12208
12209 * simple.el (execute-extended-command): Set real-this-command
12210 (bug#11506).
12211
37269466
CY
122122012-06-02 Chong Yidong <cyd@gnu.org>
12213
12214 Remove incorrect uses of "modeline" in comments, docstrings, and
12215 function/variable names (Bug#10329).
12216
12217 * cus-edit.el (mode-line):
12218 * dframe.el (dframe-mouse-hscroll):
12219 * emacs-lisp/re-builder.el:
12220 * emacs-lisp/easy-mmode.el (define-minor-mode):
12221 * frame.el (set-frame-name):
12222 * help.el (lookup-minor-mode-from-indicator):
12223 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
12224 * progmodes/cc-cmds.el (c-toggle-auto-newline)
12225 (c-toggle-hungry-state):
12226 * progmodes/antlr-mode.el (antlr-language-alist):
12227 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
12228 * progmodes/vhdl-mode.el (vhdl-mode):
12229 * progmodes/which-func.el (which-func, which-func-cleanup-function):
12230 * term/ns-win.el (ns-face-at-pos):
12231 * term/sup-mouse.el (sup-mouse-report):
12232 * textmodes/flyspell.el (flyspell-mode-line-string):
12233 * textmodes/ispell.el (ispell-highlight-face):
12234 * textmodes/reftex-global.el:
12235 * vc/vc-arch.el (vc-arch-mode-line-string):
12236 * vc/vc-cvs.el (vc-cvs-mode-line-string):
12237 * vc/vc-git.el (vc-git-mode-line-string):
12238 * vc/vc-hooks.el (vc-display-status)
12239 (vc-default-mode-line-string):
12240 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
12241
12242 * ansi-color.el (ansi-color-faces-vector): Change default faces.
12243
12244 * dired.el (dired-sort-set-mode-line): Rename from
12245 dired-sort-set-modeline. All callers changed.
12246
12247 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
12248 eshell-status-in-modeline.
12249
12250 * foldout.el (foldout-mode-line-string): Rename from
12251 foldout-modeline-string. All callers changed.
12252 (foldout-update-mode-line): Rename from foldout-update-modeline.
12253
12254 * subr.el (redraw-modeline): Make into obsolete alias.
12255
12256 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
12257 timeclock-modeline-display. Make old name an alias.
12258 (timeclock-update-mode-line): Likewise. All callers changed.
12259 (timeclock-mode-line-display): No need to check before using
12260 add-hook.
12261 (timeclock-relative, timeclock-day-over-hook)
12262 (timeclock-use-elapsed, timeclock-mode-string)
12263 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
12264
12265 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
12266 crisp-mode-modeline-string.
12267
12268 * play/solitaire.el (solitaire-build-mode-line): Rename from
12269 solitaire-build-modeline. All callers changed.
12270
12271 * play/zone.el (zone-hiding-mode-line): Rename from
12272 zone-hiding-modeline. All callers changed.
12273 (zone): Remove unusued `modeline-hidden-level' property.
12274
12275 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
12276 xscheme-modeline-initialize. All callers changed.
12277
12278 * strokes.el (strokes-lighter): Rename from
12279 strokes-modeline-string.
12280
12281 * textmodes/sgml-mode.el (html-face-tag-alist)
12282 (html-tag-face-alist): Use mode-line face instead of obsolete
12283 alias modeline.
12284
42152ee4
SM
122852012-06-02 Stefan Merten <smerten@oekonux.de>
12286
12287 * textmodes/rst.el: Always require `cl'.
4cf9b38d 12288 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 12289
95f520b5
CY
122902012-06-02 Chong Yidong <cyd@gnu.org>
12291
12292 * image.el (imagemagick-enabled-types): Rename from
12293 imagemagick-types-enable. Add many more types.
12294 (imagemagick-types-inhibit): Change default to nil.
12295 (imagemagick-filter-types): Caller changed.
12296
4a5f187a
SM
122972012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12298
03fef3e6
SM
12299 * emacs-lisp/cl-macs.el: Use backquotes.
12300 (cl-transform-function-property): Use eval-and-compile rather than
12301 abusing `require'.
12302 (defstruct): Use declare-function instead of with-no-warnings.
12303
4a5f187a
SM
12304 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
12305 (byte-compile-output-docform): Re-add the print-circle bindings.
12306 (byte-compile-fix-header): Use #$ just because it's shorter.
12307 (byte-compile-output-file-form): Remove defun/defmacro.
12308
bd56924f
MR
123092012-06-01 Martin Rudalics <rudalics@gmx.at>
12310
12311 * simple.el (choose-completion): Remove now obsolete binding for
12312 owindow.
12313
046e38ce
MA
123142012-06-01 Michael Albinus <michael.albinus@gmx.de>
12315
12316 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
12317 in order to avoid "Stack overflow in regexp matcher".
12318
32d72c2f
GM
123192012-05-31 Glenn Morris <rgm@gnu.org>
12320
12321 * image.el: For clarity, call imagemagick-register-types at
12322 top-level, rather than relying on a custom :initialize.
12323 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
12324 (imagemagick-filter-types): New function. (Bug#7406)
12325 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
12326 If disabling support, remove elements altogether rather
12327 than using an impossible regexp.
12328 (imagemagick-types-inhibit): Give it the default init function.
12329
dd41169b
SM
123302012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12331
4a5f187a
SM
12332 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
12333 Handle arbitrary file name lengths (Bug#11585).
dd41169b 12334
efc00ab1 123352012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
12336
12337 * desktop.el (desktop-read): Clear previous and next buffers for
12338 all windows and bury *Messages* buffer (bug#11556).
12339
500fcedc
SM
123402012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12341
12342 Add `declare' for `defun'. Align `defmacro's with it.
12343 * emacs-lisp/easy-mmode.el (define-minor-mode)
12344 (define-globalized-minor-mode): Don't autoload the var definitions.
12345 * emacs-lisp/byte-run.el: Use lexical-binding.
12346 (defun-declarations-alist, macro-declarations-alist): New vars.
12347 (defmacro, defun): Use them.
12348 (make-obsolete, define-obsolete-function-alias)
12349 (make-obsolete-variable, define-obsolete-variable-alias):
12350 Use `declare'.
12351 (macro-declaration-function): Mark obsolete.
12352 * emacs-lisp/autoload.el: Use lexical-binding.
12353 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
12354
6e8a1786
AM
123552012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12356
12357 * textmodes/ispell.el (ispell-with-no-warnings):
12358 Define as a macro.
500fcedc
SM
12359 (ispell-kill-ispell, ispell-change-dictionary):
12360 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
12361 `interactive-p'.
12362
61b108cc
SM
123632012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12364
12365 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
12366 (macro-declaration-function): Move var from C code.
12367 (macro-declaration-function): Define function with defalias.
12368 * emacs-lisp/macroexp.el (macroexpand-all-1):
12369 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
12370 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
12371 defun/defmacro any more.
12372 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
12373 Provide fallback for unknown arglist.
12374 (byte-compile-arglist-warn): Change calling convention.
12375 (byte-compile-output-file-form): Move print-vars binding.
12376 (byte-compile-output-docform): Simplify accordingly.
12377 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
12378 (byte-compile-defmacro-declaration): Remove.
12379 (byte-compile-file-form-defmumble): Generalize to defalias.
12380 (byte-compile-output-as-comment): Return byte-positions.
12381 Simplify callers accordingly.
12382 (byte-compile-lambda): Use `assert'.
12383 (byte-compile-defun, byte-compile-defmacro): Remove.
12384 (byte-compile-file-form-defalias):
12385 Use byte-compile-file-form-defmumble.
12386 (byte-compile-defalias-warn): Remove.
12387
6d3f7c2f
SM
123882012-05-29 Stefan Merten <smerten@oekonux.de>
12389
12390 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 12391 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
12392
12393 (rst-mode-abbrev-table): Merge definition.
12394 (rst-mode): Make sure `font-lock-defaults' is buffer local.
12395 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
12396
6dbaa1c7
UJ
123972012-05-29 Ulf Jasper <ulf.jasper@web.de>
12398
12399 * calendar/icalendar.el
12400 (icalendar-export-region): Export UID properly.
12401
d209e2fb 124022012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
12403 * calendar/icalendar.el (icalendar-import-format):
12404 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
12405 (icalendar-import-format-uid): New.
12406 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
12407 Export UID.
12408
6876a58d
SM
124092012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12410
12411 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
12412 different alternative patterns.
12413 (pcase-codegen): Be more careful to preserve identity.
12414 (pcase--u1): Don't forget to mark vars as used.
12415
12416 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
12417 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
12418 (byte-compile-from-buffer): ...rather than here.
12419
12420 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
12421 functions from byte-compile-function-environment.
12422
46b7967e
TN
124232012-05-29 Troels Nielsen <bn.troels@gmail.com>
12424
12425 * window.el (window-deletable-p): Avoid deleting the root window
12426 of a frame with an active minibuffer.
12427
69d565e2
MR
124282012-05-29 Martin Rudalics <rudalics@gmx.at>
12429
12430 * simple.el (choose-completion): Use quit-window (Bug#11567).
12431
a149fa51
CY
124322012-05-29 Chong Yidong <cyd@gnu.org>
12433
12434 * whitespace.el (whitespace-cleanup): Fix usage of
12435 whitespace-empty-at-bob-regexp (Bug#11492).
12436
2b311310
AH
124372012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12438
12439 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12440 revert (Bug#11488).
12441
b9cb2387
JL
124422012-05-29 Juri Linkov <juri@jurta.org>
12443
12444 * isearch.el (isearch-mode-map): Bind `M-s _' to
12445 `isearch-toggle-symbol'. Bind `M-s c' to
12446 `isearch-toggle-case-fold'.
12447 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12448 (isearch-forward): Add `M-s _' to the docstring.
12449 (isearch-forward-symbol, isearch-toggle-case-fold)
12450 (isearch-symbol-regexp): New functions. (Bug#11381)
12451
d5e61c1c
JL
124522012-05-29 Juri Linkov <juri@jurta.org>
12453
12454 * isearch.el (isearch-word): Add docstring. (Bug#11381)
12455 (isearch-occur, isearch-search-and-update): If `isearch-word' is
12456 a function, call it to get the regexp.
12457 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12458 property `isearch-message-prefix' instead of the string "word ".
12459 (isearch-search-fun-default): For the case of `isearch-word',
12460 return a lambda that calls re-search-forward/re-search-backward
12461 with a regexp returned by `word-search-regexp' or by the function
12462 in `isearch-word'.
12463
8cbd80f7
JL
124642012-05-29 Juri Linkov <juri@jurta.org>
12465
12466 * isearch.el (isearch-search-fun-default): New function.
12467 (isearch-search-fun): Move default part to the new function
12468 `isearch-search-fun-default'.
12469 (isearch-search-fun-function): Set the default value to
12470 `isearch-search-fun-default'. (Bug#11381)
12471
12472 * comint.el (comint-history-isearch-end):
12473 Use `isearch-search-fun-default'.
12474 (comint-history-isearch-search): Use `isearch-search-fun-default'
12475 and remove spacial case for `isearch-word'.
12476 (comint-history-isearch-wrap): Remove spacial case for
12477 `isearch-word'.
12478
12479 * hexl.el (hexl-isearch-search-function):
12480 Use `isearch-search-fun-default'.
12481
12482 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12483 Use `word-search-regexp' for `isearch-word'.
12484
12485 * misearch.el (multi-isearch-search-fun):
12486 Use `isearch-search-fun-default'.
12487
12488 * simple.el (minibuffer-history-isearch-search):
12489 Use `isearch-search-fun-default' and remove spacial case for
12490 `isearch-word'.
12491 (minibuffer-history-isearch-wrap): Remove spacial case for
12492 `isearch-word'.
12493
12494 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12495 Remove spacial case for `isearch-word'.
12496 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12497
85c8c5b6
AM
124982012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12499
12500 Decrease XEmacs incompatibilities.
12501 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12502 Use `string-match'.
12503 (flyspell-delete-region-overlays): Use alternative definition for
12504 XEmacs.
12505 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12506 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12507 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12508 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12509 `define-obsolete-face-alias' under XEmacs, but old method.
12510
12511 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12512 `with-no-warnings' definition or Emacs alias.
12513 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12514 (ispell-word): Do not use `region-p' if XEmacs.
12515
8cab9efc
AM
125162012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12517
12518 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12519 Check for `ispell-dictionary-base-alist' instead of full
12520 `ispell-dictionary-alist'.
12521 (ispell-init-process): Show spellchecker when starting new Ispell
12522 process.
12523
fda91268
RZ
125242012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12525
12526 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12527 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12528
694ea8e3
JB
125292012-05-27 Juanma Barranquero <lekktu@gmail.com>
12530
12531 * version.el (motif-version-string, gtk-version-string)
12532 (ns-version-string): Declare.
12533
e4d4f539
JL
125342012-05-27 Juri Linkov <juri@jurta.org>
12535
12536 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12537 after the `eval-defun-1' specialcaseing
12538 like in `edebug-eval-defun' (bug#10181).
12539
12540 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12541 like in `eval-defun-1'.
12542
33017faf 125432012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 12544
fda91268
RZ
12545 * mail/sendmail.el (mail-yank-region):
12546 Recognize rmail-yank-current-message in addition to insert-buffer.
12547 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
12548 a *mail* buffer created through rmail-start-mail with sendmail as
12549 mail-user-agent.
12550
33017faf
GM
125512012-05-27 Chong Yidong <cyd@gnu.org>
12552
12553 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12554 Default to 256 (Bug#11267).
12555
12556 * help.el (describe-mode): Doc fix.
12557
04188bb9
GM
125582012-05-26 Glenn Morris <rgm@gnu.org>
12559
38264cc9
GM
12560 * w32-fns.el (w32-init-info): Remove.
12561 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12562
eb7afdad
GM
12563 * info.el (info-initialize): For self-contained NS builds, put the
12564 included info/ directory at the front. (Bug#2791)
12565
04188bb9
GM
12566 * paths.el (Info-default-directory-list): Make it a defcustom,
12567 mainly so that we can use custom-initialize-delay.
12568
a179e3f7
SM
125692012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12570
43416392
SM
12571 * subr.el (buffer-has-markers-at): Mark obsolete.
12572
a179e3f7 12573 * subr.el (lambda): Use declare.
43416392 12574
a179e3f7
SM
12575 * emacs-lisp/lisp-mode.el (lambda):
12576 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12577
34a008d9
AH
125782012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12579
12580 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12581
0a3b289f
GM
125822012-05-26 Glenn Morris <rgm@gnu.org>
12583
12584 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12585
758c81e8
GM
125862012-05-25 Glenn Morris <rgm@gnu.org>
12587
f9f334f0
GM
12588 * paths.el: Remove no-byte-compile.
12589 * loadup.el: No need to load paths.el uncompiled.
12590
87eb79c2
GM
12591 * image.el (imagemagick-types-inhibit): Doc fix.
12592
758c81e8
GM
12593 * version.el: Remove no-byte-compile and associated formatting.
12594 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12595 is ancient code from when there was an "inc-vers.el".
12596
e7e85dc0
SM
125972012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12598
12599 * progmodes/gdb-mi.el: Minor style changes.
12600 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12601 Turn into minor modes.
12602 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12603 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12604 (gdb-shell): Remove unneeded let-binding.
12605 (gdb-get-many-fields): Eliminate O(n²) behavior.
12606
f31237a4
EZ
126072012-05-25 Eli Zaretskii <eliz@gnu.org>
12608
12609 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12610 platforms that don't link in fontset.c.
12611
bc1b21bb
JL
126122012-05-25 Juri Linkov <juri@jurta.org>
12613
12614 Use the same diff color scheme as in modern VCSes (bug#10181).
12615
12616 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12617 to avoid confusion with `diff-added' that now uses green colors.
12618 (diff-removed): Use shades of red.
12619 (diff-added): Use shades of green.
12620 (diff-changed): Leave just the yellow color.
12621 (diff-use-changed-face): New variable.
12622 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12623 how to highlight context diff changes.
12624 (diff-refine-change): Use shades of yellow.
12625 (diff-refine-removed): New face that uses shades of red.
12626 (diff-refine-added): New face that uses shades of green.
12627 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12628 `diff-refine-removed' in the call to `smerge-refine-subst'
12629 depending on the value of `diff-use-changed-face'.
12630
12631 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12632 (smerge-other): Use shades of green.
12633 (smerge-base): Use shades of yellow.
12634 (smerge-refined-change): Empty face.
12635 (smerge-refined-removed): New face that uses shades of red.
12636 (smerge-refined-added): New face that uses shades of green.
12637 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12638 args `props-r' and `props-a', and use them. Doc fix.
12639 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12640 on its value use different faces `smerge-refined-change',
12641 `smerge-refined-removed', `smerge-refined-added' in the call to
12642 `smerge-refine-subst'.
12643
12644 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12645 Add face condition `min-colors 88' with shades of red.
12646 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12647 `min-colors 88' with shades of green.
12648 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12649 `min-colors 88' with shades of yellow.
12650
6df9112c
GM
126512012-05-24 Glenn Morris <rgm@gnu.org>
12652
ead5edc0
GM
12653 * paths.el (prune-directory-list, remote-shell-program): Move to...
12654 * files.el (prune-directory-list, remote-shell-program): ...here.
12655 For the latter, delay initialization, prefer ssh, just search PATH.
12656
f18b81e6
GM
12657 * paths.el (term-file-prefix): Move to faces.el (the only user).
12658 * faces.el (term-file-prefix): Move here, make it a defcustom.
12659
ee2f89a6
GM
12660 * paths.el (news-directory, news-path, news-inews-program):
12661 Move to gnus/nnspool.el.
61a583ca 12662
f8815e4c
GM
12663 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12664
c8f3b42c
GM
12665 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12666 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12667 Make the latter a defcustom, with a delayed initialization.
12668
6df9112c
GM
12669 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12670 These were deleted from Gnus itself late 2010.
12671
5dadff36
JB
126722012-05-22 Juanma Barranquero <lekktu@gmail.com>
12673
9e1701c6
JB
12674 * progmodes/which-func.el (which-func-ff-hook):
12675 Check against user-error, not error.
12676
bd7239f5 12677 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
12678 cl-specs.el, which no longer exists.
12679
3290526d
GM
126802012-05-22 Glenn Morris <rgm@gnu.org>
12681
12682 * info.el (info-emacs-bug): New command.
12683 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12684 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12685
ff0c3cfb
GM
126862012-05-21 Glenn Morris <rgm@gnu.org>
12687
12688 * makefile.w32-in (update-subdirs-SH):
12689 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12690
5814f126
SM
126912012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12692
a52c0aa0
SM
12693 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12694
5814f126
SM
12695 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12696 Simplify Maven regexp, and make sure the file can't start with a space
12697 (bug#11517).
12698
b847032c
GM
126992012-05-21 Glenn Morris <rgm@gnu.org>
12700
12701 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12702 Scrap superfluous subshells.
12703
3858bfe7
SM
127042012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12705
12706 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12707 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12708
d14b0029
JB
127092012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12710
12711 * calc/calc.el (calc-ensure-consistent-units): New variable.
12712
a52c0aa0
SM
12713 * calc/calc-units.el (math-consistent-units-p)
12714 (math-check-unit-consistency): New functions.
12715 (calc-quick-units, calc-convert-units):
12716 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12717 is non-nil.
d14b0029
JB
12718 (calc-extract-units): Fix typo.
12719
60c4db3a
SM
127202012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12721
77f3b62e
SM
12722 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12723
60c4db3a
SM
12724 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12725 (flyspell-default-deplacement-commands): Don't spell check after
12726 repeated window/frame switches (e.g. triggered by mouse-movement).
12727 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12728 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12729 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12730 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12731 Remove unused vars.
12732 (flyspell-get-casechars, flyspell-get-not-casechars):
12733 Simplify; Don't bother removing a ] just to add it back.
12734 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12735
d209e2fb 127362012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
12737
12738 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12739 New functions.
bd7239f5 12740 (math-function-table): Add support for more C functions.
b1a10716 12741
3f1b25b5
AM
127422012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12743
090bd7cb
JB
12744 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12745 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12746 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 12747
b581bb5c
SM
127482012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12749
12750 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12751 their respective macro declarations.
12752 * skeleton.el (define-skeleton):
12753 * progmodes/compile.el (define-compilation-mode):
12754 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12755 (define-ibuffer-filter):
12756 * emacs-lisp/generic.el (define-generic-mode):
12757 * emacs-lisp/easy-mmode.el (define-minor-mode)
12758 (define-globalized-minor-mode):
12759 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12760 * emacs-lisp/byte-run.el (defsubst):
12761 * custom.el (deftheme): Add doc-string metadata.
12762
70b8ef8f
SM
127632012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12764
12765 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12766
b1198e17
SM
127672012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12768
9abdc45d
SM
12769 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12770
b1198e17
SM
12771 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12772 * emacs-lisp/cl-macs.el: Idem.
12773 * emacs-lisp/cl-specs.el: Remove.
12774
4735906a
SM
127752012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 Minor renaming of internal CL functions and variables.
12778 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12779 (cl--position): Rename from cl-position.
12780 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12781 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12782 (cl--random-state): Rename from *random-state*.
12783
ac348012
SM
127842012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12785
12786 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12787 parens around the arg list (bug#11499).
12788
a0a79cde
JL
127892012-05-17 Juri Linkov <juri@jurta.org>
12790
12791 * isearch.el (word-search-regexp, word-search-backward)
12792 (word-search-forward, word-search-backward-lax)
12793 (word-search-forward-lax): Move functions from search.c
12794 (bug#10145, bug#11381).
12795
65034a51
AM
127962012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12797
090bd7cb
JB
12798 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12799 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12800 Delay for otherchars as for normal word components.
65034a51 12801
1a72a195
SM
128022012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12803
12804 * minibuffer.el (completion--sifn-requote): Fix last change.
12805 (minibuffer-local-must-match-filename-map):
12806 Move define-obsolete-variable-alias before its var.
12807
fdb058c2
SM
128082012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12809
c41045e6
SM
12810 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12811
036dfb8b
SM
12812 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12813 behavior.
12814 (completion--string-equal-p): New function.
12815 (completion--twq-all): Use it to get better assertion failure data.
12816
2473256d
SM
12817 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12818 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12819 (shell--requote-argument): New functions.
12820 (shell-completion-vars): Use them.
12821 (shell--parse-pcomplete-arguments): Rename from
12822 shell-parse-pcomplete-arguments.
12823 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12824 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12825 Obey comint-file-name-quote-list.
12826
fdb058c2
SM
12827 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12828 (smie-indent-keyword): Use it.
12829
51fa99f1
SM
128302012-05-14 Stefan Merten <smerten@oekonux.de>
12831
12832 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12833
e18afed7 128342012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
12835
12836 * net/rlogin.el (rlogin-mode-map): Fix last change.
12837
e18afed7 128382012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
12839
12840 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12841 the following \r\n using a single `process-send-string', since the
12842 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 12843 with two `process-send-string's (Bug#11444).
8633b1f4 12844
e18afed7 128452012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 12846
fdb058c2
SM
12847 * shell.el (shell-parse-pcomplete-arguments):
12848 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 12849
2d21d7f6
WJ
128502012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12851
e18afed7 12852 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
12853 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12854 (image-transform-width, image-transform-fit-width): New functions.
12855 (image-transform-properties): Use them.
12856 (image-transform-check-size): New function.
12857 (image-toggle-display-image): Use it (for testing).
12858 (image-transform-set-rotation): Reduce angle mod 360.
12859 Delete obsolete comment.
12860
7102e6d0
WJ
128612012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12862
12863 * image-mode.el: Fix scaling (bug#11399).
12864 (image-transform-resize): Doc fix.
12865 (image-transform-properties): Default scale is 1 and height should
12866 be an integer.
12867
06bc5e6e
SM
128682012-05-13 Johan Bockgård <bojohan@gnu.org>
12869
12870 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12871 than hard-coding `car', to fix misbehavior when moving forward.
12872
0ae03b6a
CY
128732012-05-13 Chong Yidong <cyd@gnu.org>
12874
12875 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12876 (tabulated-list-entries, tabulated-list-padding)
12877 (tabulated-list-sort-key): Make permanent-local.
12878
12879 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12880 (electric-buffer-list): Put electric buffer menu
12881 command descriptions in this docstring, instead of the docstring
12882 of electric-buffer-menu-mode. Code cleanups.
12883 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12884 Electric-buffer-menu-mode.
12885 (electric-buffer-update-highlight): Minor code cleanup.
12886
205a7391
MA
128872012-05-13 Michael Albinus <michael.albinus@gmx.de>
12888
12889 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12890 (Bug#11447)
12891
e5bd0a28
SM
128922012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12893
12894 Move define-obsolete-variable-alias before the var's definition.
12895 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12896 * tooltip.el (tooltip-hook):
12897 * textmodes/reftex-toc.el (reftex-toc-map):
12898 * textmodes/reftex-sel.el (reftex-select-label-map)
12899 (reftex-select-bib-map):
12900 * textmodes/reftex-index.el (reftex-index-map)
12901 (reftex-index-phrases-map):
12902 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12903 * progmodes/meta-mode.el (meta-mode-map):
12904 * novice.el (disabled-command-hook):
12905 * loadhist.el (unload-hook-features-list):
12906 * frame.el (blink-cursor):
12907 * files.el (find-file-not-found-hooks, write-file-hooks)
12908 (write-contents-hooks):
12909 * emulation/tpu-edt.el (GOLD-map):
12910 * emacs-lock.el (emacs-lock-from-exiting):
12911 * emacs-lisp/generic.el (generic-font-lock-defaults):
12912 * emacs-lisp/chart.el (chart-map):
12913 * dos-fns.el (register-name-alist):
12914 * dired-x.el (dired-omit-files-p):
12915 * desktop.el (desktop-enable):
12916 * cus-edit.el (custom-mode-hook):
12917 * buff-menu.el (buffer-menu-mode-hook):
12918 * bookmark.el (bookmark-read-annotation-text-func)
12919 (bookmark-exit-hooks):
12920 * allout.el (allout-mode-deactivate-hook)
12921 (allout-exposure-change-hook, allout-structure-added-hook)
12922 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12923 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12924 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12925 comes before the corresponding variable's definition.
12926
ac59c2f6
CY
129272012-05-12 Chong Yidong <cyd@gnu.org>
12928
12929 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
12930 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12931 (Buffer-menu-mode-map): Bind it.
12932 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 12933
dee6c9a3
SM
129342012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12935
2171cea5
SM
12936 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12937 (prolog-upper-case-string, prolog-lower-case-string)
12938 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12939 (prolog-use-smie, prolog-smie-grammar): New vars.
12940 (prolog-smie-forward-token, prolog-smie-backward-token)
12941 (prolog-smie-rules): New funs.
12942 (prolog-comment-indent): Remove.
12943 (prolog-mode-variables): Use default comment indentation instead.
12944 Setup SMIE.
12945 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12946 (prolog-mode): Don't call them any more.
12947 (prolog-electric-colon, prolog-electric-dash)
12948 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12949
aa0382bd
SM
12950 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12951
dbacb4bd
SM
12952 * minibuffer.el (completion--twq-all): Again, allow case differences.
12953
13bdd94c
SM
12954 * term.el: Move keymap initialization code to be more idiomatic.
12955 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12956 (term-terminal-menu): Move initialization into declaration.
12957 (term-escape-char): Let the user set it in her .emacs.
12958
ff46c759
SM
12959 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12960 Provide SMIE-based indentation (not enabled by default yet).
12961 (sh-mode-map): Don't bind electric keys.
12962 Use electric-pair-mode instead of skeleton-pair.
12963 (sh-assignment-regexp): Fit within 80 columns.
12964 (sh-indent-supported): Specify actual shell name instead of boolean.
12965 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12966 (sh-maybe-here-document): Use it. Make obsolete.
12967 (sh-electric-here-document-mode) New minor mode.
12968 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12969 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12970 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12971 (sh-smie-rc-grammar, sh-use-smie): New vars.
12972 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12973 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12974 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12975 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12976 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12977 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12978 (sh-set-shell): Use smie-setup if requested.
12979
dee6c9a3
SM
12980 * term.el (term-set-escape-char): Properly set term-escape-char.
12981 See http://stackoverflow.com/questions/10524656.
12982
9f9aa044
CY
129832012-05-10 Chong Yidong <cyd@gnu.org>
12984
12985 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12986 Use url-generic-parse-url, and handle host names and Windows
12987 filenames properly.
12988 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12989 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12990 URL schemes to work on.
12991 (ffap--toggle-read-only): New function.
12992 (ffap-read-only, ffap-read-only-other-window)
12993 (ffap-read-only-other-frame): Use it.
12994 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12995 necessary for ffap-url-unwrap-remote.
12996
836d29b3
DA
129972012-05-10 Dave Abrahams <dave@boostpro.com>
12998
12999 * cus-start.el (create-lockfiles): Add it.
13000
00fd78ed
CY
130012012-05-09 Chong Yidong <cyd@gnu.org>
13002
13003 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13004 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13005
666b903b 130062012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
13007
13008 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13009
666b903b 130102012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
13011
13012 * ansi-color.el (ansi-color-process-output): Check for validity of
13013 comint-last-output-start before using it. This avoids a bad
13014 interaction with gdb-mi's input/output buffer.
13015
666b903b 130162012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
13017
13018 * files.el (dir-locals-read-from-file):
13019 Mention dir-locals in any error message.
13020
666b903b 130212012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
13022
13023 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13024 package (Bug#11410).
13025
f677562b
CY
13026 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13027 variables into description.
13028
666b903b 130292012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
13030
13031 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13032 shell-delimiter-argument-list (bug#11348).
13033 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13034
b499d8d0
JB
130352012-05-09 Juanma Barranquero <lekktu@gmail.com>
13036
8f6b6da8
JB
13037 * textmodes/rst.el: Silence byte-compiler warnings.
13038 (rst-re-alist, rst-reset-section-caches): Move around.
13039 (rst-re): Use `characterp', not `char-valid-p'.
13040 (font-lock-beg, font-lock-end): Declare.
13041
4824146a
JB
13042 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13043 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13044
b499d8d0
JB
13045 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13046
ad89bb83
GM
130472012-05-08 Glenn Morris <rgm@gnu.org>
13048
13049 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13050
8bba5a75
SM
130512012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13052
49ed9c8e
SM
13053 * vc/log-edit.el: Add GNU coding standards highlighting.
13054 (log-edit-font-lock-gnu-style)
13055 (log-edit-font-lock-gnu-keywords): New vars.
13056 (log-edit-font-lock-keywords): New fun.
13057 (log-edit-mode): Don't fold case in font-lock.
13058 (log-edit-font-lock-keywords): Do not assume case-folding.
13059
07d00b56
SM
13060 * imenu.el: Misc cleanup. Make docstrings out of comments.
13061 Use lexical-binding.
13062 (imenu--index-alist, imenu--last-menubar-index-alist)
13063 (imenu-menubar-modified-tick): Use defvar-local.
13064 (imenu--split-menu): Remove unused var.
13065 (imenu--cleanup-seen): Declare as global.
13066 (imenu--cleanup): Use dolist.
13067
8bba5a75
SM
13068 * subr.el (defvar-local): Add debug spec and doc-string position.
13069
5075bdb5
GM
130702012-05-08 Glenn Morris <rgm@gnu.org>
13071
090bd7cb 13072 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
13073 * language/english.el, language/georgian.el, language/greek.el:
13074 * language/japanese.el, language/khmer.el, language/korean.el:
13075 * language/lao.el, language/misc-lang.el, language/romanian.el:
13076 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13077 * language/thai.el, language/utf-8-lang.el:
13078 Remove no-byte-compile setting.
13079
5075bdb5
GM
13080 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13081
06f679a7
AH
130822012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13083
13084 * progmodes/make-mode.el (makefile-browse):
13085 Remove unnecessary interactive. (Bug#11324)
13086
03794570
GM
130872012-05-07 Glenn Morris <rgm@gnu.org>
13088
af8630f4
GM
13089 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13090
03794570
GM
13091 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13092
f0809a9d
SM
130932012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13094
28be5ce7
SM
13095 * loadup.el: Preload newcomment.el.
13096 * newcomment.el: Move autoload-only code to toplevel.
13097
f0809a9d
SM
13098 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13099 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13100 Handle new :right-align column property.
13101 (tabulated-list-print-col): Idem, plus use `display' text-property to
13102 try and preserve alignment for variable pitch fonts.
13103
1241b724
CY
131042012-05-07 Chong Yidong <cyd@gnu.org>
13105
13106 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13107 (tabulated-list-use-header-line): New var.
13108 (tabulated-list-init-header): Use it.
13109 (tabulated-list-print-fake-header): New function.
13110 (tabulated-list-print): Use it.
13111 (tabulated-list-sort-button-map): Add non-header-line commands.
13112 (tabulated-list-init-header): Add column name property to basic
13113 labels as well.
13114 (tabulated-list-col-sort): Handle non-header-line button case.
13115 (tabulated-list--sort-by-column-name): Fix a corner case.
13116
f0809a9d
SM
13117 * buff-menu.el (list-buffers--refresh):
13118 Handle Buffer-menu-use-header-line.
1241b724 13119
e5f9458f
CY
131202012-05-06 Chong Yidong <cyd@gnu.org>
13121
13122 * buff-menu.el: Convert to Tabulated List mode.
13123 (Buffer-menu-buffer+size-width): Make obsolete.
13124 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13125 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13126 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13127 documentation into docstring of buffer-menu.
13128 (Buffer-menu-toggle-files-only): Add an informative message.
13129 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13130 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13131 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13132 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13133 (Buffer-menu-execute, Buffer-menu-select)
13134 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13135 (Buffer-menu-bury): Use Tabulated List machinery.
13136 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13137 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 13138 Delete.
e5f9458f
CY
13139 (list-buffers--refresh): New function.
13140 (list-buffers-noselect): Use it.
13141 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13142 (Buffer-menu--pretty-file-name): New helper functions.
13143
13144 * loadup.el: Preload tabulated-list.
13145
13146 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13147 tabulated-list-sort-column.
13148 (tabulated-list-init-header): Add the initial aligning space even
13149 if tabulated-list-padding is zero.
13150
e129292c
CS
131512012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13152
13153 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13154 whose cdr is not a cons cell correctly (bug#11038).
13155
6632d361
CY
131562012-05-06 Chong Yidong <cyd@gnu.org>
13157
e129292c
CS
13158 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13159 Accept additional plist in column descriptors.
6632d361
CY
13160 (tabulated-list-init-header): Obey it.
13161 (tabulated-list-get-entry): New function.
13162 (tabulated-list-put-tag): Use it. Use string-width instead of
13163 length.
13164 (tabulated-list--column-number): New function.
13165 (tabulated-list-print): Use it.
e129292c
CS
13166 (tabulated-list-print-col): New function.
13167 Set `tabulated-list-column-name' property on each column's text.
6632d361 13168 (tabulated-list-print-entry): Use it.
e129292c
CS
13169 (tabulated-list-delete-entry, tabulated-list-set-col):
13170 New functions.
6632d361
CY
13171 (tabulated-list-sort-column): New command (Bug#11337).
13172
3cc99f68
CY
13173 * buff-menu.el (list-buffers): Move C-x C-b binding from
13174 buff-menu.el to bindings.el.
13175
13176 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13177 :advertised-binding feature.
13178
52b61776
TN
131792012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13180
13181 * progmodes/compile.el (compilation-internal-error-properties):
13182 Calculate start position correctly when end-col is set but
13183 end-line is not (Bug#11382).
13184
ebfe2597
WJ
131852012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
13186
13187 * man.el (Man-unindent): Use text-property-default-nonsticky to
13188 prevent untabify from inheriting face properties (Bug#11408).
13189
6d3f7c2f
SM
131902012-05-05 Stefan Merten <smerten@oekonux.de>
13191
13192 * textmodes/rst.el: Major merge with upstream development up to
13193 Docutils SVN r7399 / rst.el V1.2.1.
13194
13195 Clarify maintainership and authors.
13196
13197 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
13198 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
13199 (rst-official-version, rst-official-cvs-rev, rst-version)
13200 (rst-package-emacs-version-alist): New functions and variables
13201 for version information.
13202
13203 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
13204 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
13205 (rst-mode-syntax-table, rst-mode): New and corrected functions
13206 and variables representing reStructuredText features.
13207
13208 (rst-re): New function for reStructuredText regexes. Use in
13209 many places.
13210
13211 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
13212 (rst-mode-map): Rebind keys.
13213
13214 (rst-mode-lazy, rst-font-lock-keywords)
13215 (rst-font-lock-extend-region)
13216 (rst-font-lock-extend-region-internal)
13217 (rst-font-lock-extend-region-extend)
13218 (rst-font-lock-find-unindented-line-limit)
13219 (rst-font-lock-find-unindented-line-match)
13220 (rst-adornment-level, rst-font-lock-adornment-level)
13221 (rst-font-lock-adornment-match)
13222 (rst-font-lock-handle-adornment-pre-match-form)
13223 (rst-font-lock-handle-adornment-matcher): Major revision of
13224 font-locking. Integrate with other code. Use `jit-lock-mode'.
13225
13226 (rst-preferred-adornments, rst-adjust-hook)
13227 (rst-new-adornment-down, rst-preferred-bullets)
13228 (rst-preferred-bullets, rst-indent, rst-indent-width)
13229 (rst-indent-field, rst-indent-literal-normal)
13230 (rst-indent-literal-minimized, rst-indent-comment): Change,
13231 extend and improve customization.
13232
13233 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
13234 (rst-normalize-cursor-position, rst-get-decoration)
13235 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
13236 (rst-rstrip, rst-toc-insert-find-delete-contents)
13237 (rst-shift-fill-region, rst-compute-bullet-tabs)
13238 (rst-debug-print-tabs, rst-debug-mark-found)
13239 (rst-shift-region-guts, rst-shift-region-right)
13240 (rst-shift-region-left, rst-use-char-classes)
13241 (rst-font-lock-keywords-function)
13242 (rst-font-lock-indentation-point)
13243 (rst-font-lock-find-unindented-line-begin)
13244 (rst-font-lock-find-unindented-line-end)
13245 (rst-font-lock-find-unindented-line)
13246 (rst-font-lock-adornment-point, rst-font-lock-level)
13247 (rst-adornment-level-alist): Remove functions and variables.
13248
13249 (rst-compare-adornments, rst-get-adornment-match)
13250 (rst-suggest-new-adornment, rst-get-adornments-around)
13251 (rst-adornment-complete-p, rst-get-next-adornment)
13252 (rst-adjust-adornment, rst-display-adornments-hierarchy)
13253 (rst-straighten-adornments): Standardize function names to
13254 use "adornment" instead of "decoration". Correct callers.
13255 Similar standardizing in many places.
13256
13257 (rst-update-section, rst-adjust, rst-promote-region)
13258 (rst-enumerate-region, rst-bullet-list-region)
13259 (rst-repeat-last-character): Correct use of `interactive'.
13260
13261 (rst-classify-adornment, rst-find-all-adornments)
13262 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
13263 (rst-find-leftmost-column, rst-repeat-last-character):
13264 Refactor functions.
13265
13266 (rst-find-title-line, rst-reset-section-caches)
13267 (rst-get-adornments-around, rst-adjust-adornment-work)
13268 (rst-arabic-to-roman, rst-roman-to-arabic)
13269 (rst-insert-list-pos, rst-insert-list-new-item)
13270 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
13271 New functions.
13272
13273 (rst-all-sections, rst-section-hierarchy)
13274 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
13275 New variables.
13276
13277 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
13278 configuration instead of only buffer. Change where necessary.
13279
13280 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
13281 (rst-shift-region, rst-adaptive-fill): New functions for
13282 indentation and filling.
13283
13284 (rst-comment-line-break, rst-comment-indent)
13285 (rst-comment-insert-comment, rst-comment-region)
13286 (rst-uncomment-region): New functions for handling comments.
13287
13288 (rst-compile): Quote shell arguments.
13289
13290 (rst-compile-pdf-preview, rst-compile-slides-preview):
13291 Delete temporary files after use.
13292
a43f98b3
GM
132932012-05-05 Glenn Morris <rgm@gnu.org>
13294
48176e8b
GM
13295 * calendar/cal-html.el: Optionally include holidays in the output.
13296 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
13297 (cal-html-holidays): New option.
13298 (cal-html-css-default): Add holiday entry.
13299 (holiday-in-range): Autoload it.
13300 (cal-html-htmlify-entry): Add optional class argument.
13301 (cal-html-htmlify-list): Add optional holidays argument.
13302 (cal-html-insert-agenda-days): Include holidays in the output.
13303 (cal-html-one-month): Maybe include holidays.
13304
a43f98b3
GM
13305 * calendar/holidays.el (holiday-in-range):
13306 Move here from cal-tex-list-holidays.
13307 * calendar/cal-tex.el (cal-tex-list-holidays):
13308 Make it an obsolete alias for holiday-in-range. Update all callers.
13309
fef9d149 133102012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
13311
13312 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
13313 Nextstep.
13314
248da2f4
RW
133152012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
13316
13317 * files.el (file-auto-mode-skip): New var.
13318 (set-auto-mode-1): Use it.
13319
f95e9344
SM
133202012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13321
df96ab1e
SM
13322 * repeat.el: Use lexical-binding.
13323 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
13324 (repeat-undo-count): Remove.
13325 (repeat):
13326 * progmodes/octave-mod.el (octave-abbrev-start):
13327 * progmodes/f90.el (f90-abbrev-start):
13328 * face-remap.el (text-scale-adjust):
13329 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
13330
5342bb06
SM
13331 * emacs-lisp/pcase.el (pcase--let*): New function.
13332 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
13333 a bit more.
13334 (pcase--split-pred): Be more clever about ruling out overlap between
13335 a predicate and some constant pattern.
13336 (pcase--q1): Use `null' instead of (eq foo nil).
13337
f95e9344
SM
13338 * subr.el (setq-local, defvar-local): New macros.
13339 (kbd): Redefine as an alias.
13340 (with-selected-window): Leave unrelated frames alone.
13341 (set-temporary-overlay-map): New function.
13342
71873e2b
SM
133432012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13344
13345 * subr.el (user-error): New function.
13346 * window.el (switch-to-buffer):
13347 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
13348 (smerge-match-conflict):
13349 * simple.el (previous-matching-history-element)
13350 (next-matching-history-element, goto-history-element, undo-more)
13351 (undo-start):
13352 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
13353 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
13354 (next-file, tags-loop-scan, list-tags, complete-tag):
13355 * progmodes/compile.el (compilation-loop):
13356 * mouse.el (mouse-minibuffer-check):
13357 * man.el (Man-bgproc-sentinel, Man-goto-page):
13358 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
13359 (Info-history-forward, Info-follow-reference, Info-menu)
13360 (Info-extract-menu-item, Info-extract-menu-counting)
13361 (Info-forward-node, Info-backward-node, Info-next-menu-item)
13362 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
13363 (Info-next-reference, Info-prev-reference, Info-index)
13364 (Info-index-next, Info-follow-nearest-node)
13365 (Info-copy-current-node-name):
13366 * imenu.el (imenu--make-index-alist)
13367 (imenu-default-create-index-function, imenu-add-to-menubar):
13368 * files.el (basic-save-buffer, recover-file):
13369 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13370 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
13371 (checkdoc-message-text, checkdoc-defun):
13372 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
13373 * cus-edit.el (customize-changed-options, customize-rogue)
13374 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
13375 (custom-variable-mark-to-reset-standard)
13376 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
13377 (custom-file):
13378 * completion.el (check-completion-length):
13379 * comint.el (comint-search-arg)
13380 (comint-previous-matching-input-string-position)
13381 (comint-previous-matching-input)
13382 (comint-replace-by-expanded-history-before-point, comint-send-input)
13383 (comint-copy-old-input, comint-backward-matching-input)
13384 (comint-goto-process-mark, comint-set-process-mark):
13385 * calendar/calendar.el (calendar-cursor-to-date): Use it.
13386 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
13387
8a61ee22
SM
133882012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13389
66408d1e
SM
13390 * dabbrev.el (dabbrev--ignore-case-p): New function.
13391 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
13392 Use it.
13393
8a61ee22
SM
13394 * files.el (automount-dir-prefix): Mark as obsolete.
13395
3c74813a
GM
133962012-05-04 Glenn Morris <rgm@gnu.org>
13397
13398 * patcomp.el, play/bruce.el: Move to obsolete/.
13399
0bfcf5c5
PE
134002012-05-04 Paul Eggert <eggert@cs.ucla.edu>
13401
13402 Fix minor Y10k bugs.
13403 * arc-mode.el (archive-unixdate):
13404 * autoinsert.el (auto-insert-alist):
13405 * calc/calc-forms.el (math-this-year):
13406 * emacs-lisp/copyright.el (copyright-current-year)
13407 (copyright-update-year, copyright):
13408 * tar-mode.el (tar-clip-time-string):
13409 * time.el (display-time-update):
13410 Don't assume years have 4 digits.
13411
78f3273a
CY
134122012-05-04 Chong Yidong <cyd@gnu.org>
13413
13414 * dos-w32.el (file-name-buffer-file-type-alist)
13415 (direct-print-region-use-command-dot-com):
13416 * ffap.el (ffap-menu-regexp):
13417 * find-file.el (ff-special-constructs):
13418 * follow.el (follow-debug):
13419 * forms.el (forms--debug):
13420 * iswitchb.el (iswitchb-all-frames):
13421 * ido.el (ido-all-frames):
13422 * emacs-lisp/timer.el (timer-max-repeats):
13423 * mail/feedmail.el (feedmail-mail-send-hook)
13424 (feedmail-mail-send-hook-queued):
13425 * mail/footnote.el (footnote-signature-separator):
13426 * mail/mailabbrev.el (mail-alias-separator-string)
13427 (mail-abbrev-mode-regexp):
13428 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13429 * progmodes/idlwave.el (idlwave-libinfo-file)
13430 (idlwave-default-completion-case-is-down)
13431 (idlwave-library-routines): Convert defvars to defcustoms.
13432
13433 * mail/rmail.el (rmail-decode-mime-charset):
13434 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13435 (idlwave-shell-fix-inserted-breaks)
13436 (idlwave-shell-activate-alt-keybindings)
13437 (idlwave-shell-use-breakpoint-glyph):
13438 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13439
f7ae6719
SM
134402012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13441
13442 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13443
47086495
WS
134442012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
13445
13446 * progmodes/verilog-mode.el (font-lock-keywords):
13447 Fix mis-highligting auto. Reported by Craig Barner.
13448 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 13449 defines from global name space. Reported by Dan Dever.
47086495
WS
13450 (verilog-auto-reset, verilog-auto-reset-widths)
13451 (verilog-auto-tieoff): Support using unbased numbers for
13452 AUTORESET and AUTOTIEOFF.
13453 (verilog-submit-bug-report): Update variable list.
13454 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 13455 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
13456 (verilog-auto-template-lint): Fix hash error when linting modules
13457 with no used templates.
13458 (verilog-warn, verilog-warn-error)
13459 (verilog-warn-fatal): When non-interactive report multiple
13460 warnings before exiting. Suggested by Brad Dobbie.
13461 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13462 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13463 to report unused template errors. Reported by Brad Dobbie.
13464 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 13465 nets, bug438. Reported by Vns Blore.
47086495
WS
13466 (verilog-auto-inout-module, verilog-auto-reg)
13467 (verilog-read-decls, verilog-read-sub-decls-sig)
13468 (verilog-signals-edit-wire-reg, verilog-signals-with):
13469 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 13470 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
13471 "reg" for backwards compatibility presuming Verilog 2001.
13472 (verilog-auto-ascii-enum): Add "auto enum" as alias.
13473 (verilog-preprocess): Fix replication of preprocess output.
13474 Reported by Brad Dobbie.
13475 (verilog-auto-inst-interfaced-ports):
13476 Create verilog-auto-inst-interfaced-ports, bug429.
13477 Reported by Julian Gorfajn.
13478 (verilog-after-save-font-hook)
13479 (verilog-before-save-font-hook): New variable.
13480 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13481 (verilog-save-font-mods): Wrap disabling fontification, reported
13482 by David Rogoff.
13483 (verilog-do-indent, verilog-pretty-declarations-auto)
13484 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13485 Reported by Pierre-David Pfister.
13486 (verilog-set-auto-endcomments): Fix endtask auto comments outside
13487 of class declarations, bug292. Reported by Kevin Heilman.
13488 (verilog-read-decls): Fix 'parameter type' not appearing in
13489 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13490 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 13491 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
13492 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13493 Reported by David Kravitz.
13494
134952012-05-03 Michael McNamara <mac@mail.brushroad.com>
13496
13497 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13498 assignment with tests in ifs and for loops.
13499 (verilog-extended-complete-re, verilog-complete-reg): Change so
13500 that DPI inport functions don't look like fuction declarations.
13501 (verilog-pretty-expr): Don't line up assignment
13502 operations to the test and increment in if and for loops
13503 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 13504 that DPI inport functions don't look like fuction declarations.
47086495 13505
2e51d4b5
KH
135062012-05-03 Kenichi Handa <handa@m17n.org>
13507
13508 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 13509 decoding, and show a warning message without signaling an error
2e51d4b5
KH
13510 (Bug#11282).
13511
2bd785a2
SM
135122012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13513
13514 * emacs-lisp/bytecomp.el
13515 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13516 since cconv.el might have introduced :fun-body, internal-make-closure,
13517 and friends for bytecomp to handle (bug#11391).
13518 * custom.el (defcustom): Avoid ((λ ..) ..).
13519
99d27583
SM
135202012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13521
13522 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13523
55a71479
JB
135242012-05-02 Juanma Barranquero <lekktu@gmail.com>
13525
13526 * notifications.el (dbus-debug):
13527 * term/linux.el (gpm-mouse-enable):
13528 * term/screen.el (xterm-register-default-colors): Declare.
13529
7b97c764
CY
135302012-05-02 Chong Yidong <cyd@gnu.org>
13531
2bc356d7
CY
13532 * cus-start.el (gc-cons-percentage, exec-suffixes)
13533 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13534 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13535 (make-cursor-line-fully-visible, void-text-area-pointer)
13536 (font-list-limit): Add customization data.
13537
7b97c764
CY
13538 * allout.el (allout-exposure-change-functions)
13539 (allout-structure-added-functions)
13540 (allout-structure-deleted-functions)
13541 (allout-structure-shifted-functions): Rename abnormal hooks from
13542 *-hook, and convert to defcustoms.
5d3385a0
JB
13543 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13544 Convert to defcustoms.
7b97c764
CY
13545 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13546
13547 * allout-widgets.el: Hook callers changed.
13548
90207a15 135492012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
13550
13551 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13552 the yanked message in preference to the default value of
13553 buffer-file-coding-system.
13554
90207a15 135552012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 13556
5d3385a0
JB
13557 * window.el (display-buffer--action-function-custom-type):
13558 Fix entry.
d9558cad 13559
90207a15 135602012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
13561
13562 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13563
d80ac57b
GM
135642012-05-01 Glenn Morris <rgm@gnu.org>
13565
976f7668
GM
13566 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13567
beb83b5a
GM
13568 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13569
d80ac57b
GM
13570 * cus-edit.el (custom-variable-documentation): Simplify with format.
13571
b593d6a9 135722012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 13573 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
13574
13575 * simple.el (suggest-key-bindings, execute-extended-command):
13576 Move from keyboard.c.
13577
782fbf2a
CY
135782012-05-01 Chong Yidong <cyd@gnu.org>
13579
13580 * follow.el: Eliminate advice.
13581 (set-process-filter, process-filter, sit-for): Advice deleted.
13582 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
13583 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13584 Vars deleted.
782fbf2a
CY
13585 (follow-auto): Use a :set function.
13586 (follow-mode): Rewritten. Don't advise process filters.
13587 (follow-switch-to-current-buffer-all, follow-scroll-up)
13588 (follow-scroll-down): Assume follow-mode is bound.
13589 (follow-comint-scroll-to-bottom)
13590 (follow-align-compilation-windows): New functions.
13591 (follow--window-sorter): New function.
13592 (follow-all-followers): Use it to explicitly sort windows by their
13593 positions; don't make assumptions about next-window order.
13594 (follow-windows-start-end, follow-delete-other-windows-and-split)
13595 (follow-calc-win-start): Doc fix.
13596 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13597 vertical-motion unnecessarily.
13598 (follow-adjust-window): New function.
13599 (follow-post-command-hook): Use it.
13600 (follow-call-set-process-filter, follow-call-process-filter)
13601 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13602 (follow-stop-intercept-process-output, follow-generic-filter):
13603 Functions deleted.
13604 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
13605 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13606 New functions, replacing advice on scroll-bar-* commands.
87233a14 13607 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
13608
13609 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
13610 (comint-postoutput-scroll-to-bottom): Use it.
13611 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 13612
290af740
GM
136132012-05-01 Glenn Morris <rgm@gnu.org>
13614
13615 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13616 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13617 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13618 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13619 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13620 Remove no-byte-compile setting.
13621
6eac8dc9
SM
136222012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13623
13624 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13625 all-completions code to not return a number in the last cdr.
13626
9cc7819c
LL
136272012-04-30 Leo Liu <sdl.web@gmail.com>
13628
13629 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13630 read-only error.
13631
c93b886f
CY
136322012-04-29 Chong Yidong <cyd@gnu.org>
13633
13634 * follow.el (follow-calc-win-end): Rewrite to handle partial
13635 screen lines correctly (Bug#8390).
13636 (follow-avoid-tail-recenter): Minor cleanup.
13637
8b6c19f4
SM
136382012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13639
13640 Avoid the obsolete `assoc' package.
13641 * speedbar.el (speedbar-refresh): Avoid adelete.
13642 (speedbar-file-lists): Simplify and avoid aput.
13643 * man.el (Man--sections, Man--refpages): New vars, replacing
13644 Man-sections-alist and Man-refpages-alist.
13645 (Man-build-section-alist, Man-build-references-alist):
13646 Use them; avoid aput.
13647 (Man--last-section, Man--last-refpage): New vars.
13648 (Man-follow-manual-reference): Use them.
13649 Use the `default' arg of completing-read.
13650 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13651
c5bb7569
CY
136522012-04-27 Chong Yidong <cyd@gnu.org>
13653
d1d2e2e8
CY
13654 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13655
15cd8efd
CY
13656 * startup.el (x-apply-session-resources): New function.
13657
13658 * term/ns-win.el (ns-initialize-window-system):
13659 * term/w32-win.el (w32-initialize-window-system):
13660 * term/x-win.el (x-initialize-window-system): Use it to properly
13661 set menu-bar-mode and other vars from X resources, even if the
13662 initial frame is not a window-system frame (Bug#2299).
13663
c5bb7569
CY
13664 * subr.el (read-key): Avoid running filter function when setting
13665 up temporary tool bar entries (Bug#9922).
13666
a8e7d6d7 136672012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
13668
13669 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13670 (Bug#11344)
13671
a8e7d6d7 136722012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
13673
13674 * select.el (xselect--encode-string): New function, split from
13675 xselect-convert-to-string.
13676 (xselect-convert-to-string): Use it.
13677 (xselect-convert-to-filename, xselect-convert-to-os)
13678 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13679 returned strings are properly encoded (Bug#11315).
13680
a8e7d6d7 136812012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
13682
13683 * simple.el (delete-active-region): Move to killing custom group.
13684
a8e7d6d7 136852012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
13686
13687 * progmodes/which-func.el (which-func-current): Quote %
13688 characters for mode-line processing.
13689
578c1d4b 136902012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
13691
13692 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13693 reaching eob (Bug#11286).
13694
a8e7d6d7 136952012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
13696
13697 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13698 (gdb): Make it buffer-local and init to zero.
13699 (gdb-control-commands-regexp): New variable.
13700 (gdb-send): Don't wrap in "-interpreter-exec console" if
13701 gdb-control-level is positive. Increment gdb-control-level
13702 whenever the command matches gdb-control-commands-regexp, and
13703 decrement it each time the command is "end". (Bug#11279)
13704
a8e7d6d7 137052012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
13706
13707 * window.el (adjust-window-trailing-edge, enlarge-window)
13708 (shrink-window, window-resize):
13709 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13710 windows (Bug#11276).
13711
b3608390
CY
137122012-04-27 Chong Yidong <cyd@gnu.org>
13713
13714 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 13715 fix "missing prefix" warning. All callers changed.
b3608390 13716
797e6e88
SM
137172012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13718
13719 * emacs-lisp/assoc.el: Move to obsolete/.
13720
e95a67dc
SM
137212012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13722
657c21e4 13723 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
13724
13725 * term/ns-win.el (ns-define-service):
13726 * progmodes/pascal.el (pascal-goto-defun):
13727 * progmodes/js.el (js--read-tab):
13728 * progmodes/etags.el (tags-lazy-completion-table):
13729 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13730 * emacs-lisp/ewoc.el (ewoc--wrap):
13731 * emacs-lisp/assoc.el (aput, adelete, amake):
13732 * doc-view.el (doc-view-convert-current-doc):
13733 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13734
cb3e7ae0
CY
137352012-04-26 Chong Yidong <cyd@gnu.org>
13736
dce04f7f
CY
13737 * image.el (image-type-from-buffer): Only return supported image
13738 type (Bug#9045).
13739
cb3e7ae0
CY
13740 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13741 value, for symmetry with diff-end-of-hunk.
13742 (diff-split-hunk, diff-find-source-location)
13743 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13744 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13745 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13746 compute the relevant hunk or file properly (Bug#6005).
13747 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13748
0d42eb3e
SM
137492012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13750
13751 * vc/vc-mtn.el:
13752 * vc/vc-hg.el:
13753 * vc/vc-git.el:
13754 * vc/vc-dir.el:
13755 * vc/vc-cvs.el:
13756 * vc/vc-bzr.el:
13757 * vc/vc-arch.el:
13758 * vc/vc.el: Replace lexical-let by lexical-binding.
13759 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13760 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13761 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13762
f08ae1c9
CY
137632012-04-26 Chong Yidong <cyd@gnu.org>
13764
8b71081d
CY
13765 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13766 (diff-mode-shared-map): Bind it to / and [remap undo].
13767
f08ae1c9
CY
13768 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13769 (ediff-window-setup-function): Use it as the default, to set up
13770 windows based on whether the current frame is graphical (Bug#2138).
13771 (ediff-choose-window-setup-function-automatically): Make obsolete.
13772
13773 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13774
ef24141c
SM
137752012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13776
cc356a5d
SM
13777 * ffap.el: Remove old code for obsolete package.
13778 (ffap-complete-as-file-p): Remove.
13779
b4ff4f1f
SM
13780 Use completion-table-with-quoting for comint and pcomplete.
13781 * comint.el (comint--unquote&requote-argument)
13782 (comint--unquote-argument, comint--requote-argument): New functions.
13783 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13784 (comint-quote-filename): Use regexp-opt-charset.
13785 (comint--common-suffix, comint--common-quoted-suffix)
13786 (comint--table-subvert): Remove.
13787 (comint-unquote-function, comint-requote-function): New vars.
13788 (comint--complete-file-name-data): Use them with
13789 completion-table-with-quoting.
13790 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13791 * pcomplete.el (pcomplete-arg-quote-list)
13792 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13793 (pcomplete-unquote-argument-function): Default to non-nil.
13794 (pcomplete-unquote-argument): Simplify.
13795 (pcomplete--common-quoted-suffix): Remove.
13796 (pcomplete-requote-argument-function): New var.
13797 (pcomplete--common-suffix): New function.
13798 (pcomplete-completions-at-point): Use completion-table-with-quoting
13799 and completion-table-subvert.
13800
79c4eeb4
SM
13801 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13802 (minibuffer--double-dollars): Preserve properties.
13803 (completion--sifn-requote): New function.
13804 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13805
ef24141c
SM
13806 * minibuffer.el: Add support for completion of quoted/escaped data.
13807 (completion-table-with-quoting, completion-table-subvert): New funs.
13808 (completion--twq-try, completion--twq-all): New functions.
13809 (completion--nth-completion): New function.
13810 (completion-try-completion, completion-all-completions): Use it.
13811
784e7d6e
LL
138122012-04-25 Leo Liu <sdl.web@gmail.com>
13813
dd2ac746
SM
13814 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13815 Use compilation-message if available to find real filename.
784e7d6e 13816
07875ee7
CY
138172012-04-25 Chong Yidong <cyd@gnu.org>
13818
13819 * vc/diff-mode.el (diff-setup-whitespace): New function.
13820 (diff-mode): Use it.
13821
13822 * vc/diff.el (diff-sentinel):
13823 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13824 Whitespace mode variables based on diff style (Bug#8612).
13825
5055880d
LL
138262012-04-25 Leo Liu <sdl.web@gmail.com>
13827
daf75653
LL
13828 * progmodes/python.el (python-send-region): Add suffix .py to the
13829 temp file.
13830
5055880d
LL
13831 * files.el (auto-mode-alist): Use javascript-mode instead.
13832
db9b177b
AH
138332012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13834
ef24141c 13835 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 13836
090bd7cb 13837 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 13838 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 13839 references, see Bug#9.
ef24141c 13840 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 13841 when receiving a fault reply.
ef24141c 13842 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 13843
090bd7cb 13844 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 13845 (soap-inspect-simple-type): New function.
db9b177b 13846
090bd7cb 13847 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 13848 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
13849 (soap-decode-basic-type, soap-encode-basic-type):
13850 support unsignedInt and double basic types.
db9b177b 13851 (soap-resolve-references-for-simple-type)
ef24141c
SM
13852 (soap-parse-simple-type, soap-encode-simple-type): New function.
13853 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 13854
090bd7cb 13855 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
13856 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13857 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13858 the local name of "soapenc:Array".
13859 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
13860 decoding integer, byte and anyURI xsd types.
13861
1fc6097b
CY
138622012-04-25 Chong Yidong <cyd@gnu.org>
13863
13864 * cus-edit.el (custom-buffer-create-internal): Update header text.
13865
afc6df87
EZ
138662012-04-25 Eli Zaretskii <eliz@gnu.org>
13867
13868 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13869 settings on 'system-type', not on 'window-system'. On MS-Windows,
13870 set interactive-mode on in GDB.
13871
dfbd787f
SM
138722012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13873
13874 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13875 (ruby-syntax-propertize-regexp): Remove.
13876 (ruby-syntax-propertize-function): Split regexp into chunks.
13877 Match following code directly.
13878
85222d44
DG
138792012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13880
51a8ea2a
DG
13881 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13882 (ruby-syntax-propertize-regexp): New function.
13883 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13884 by a special keyword.
13885
85222d44
DG
13886 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13887 (ruby-syntax-general-delimiters-goto-beg)
13888 (ruby-syntax-propertize-general-delimiters): New functions.
13889 (ruby-syntax-propertize-function): Use them to handle GDL.
13890 (ruby-font-lock-keywords): Move old handling of GDL...
13891 (ruby-font-lock-syntactic-keywords): .. to here.
13892 (ruby-calculate-indent): Adjust indentation for GDL.
13893
b613912b
MA
138942012-04-24 Michael Albinus <michael.albinus@gmx.de>
13895
b5380639
MA
13896 * notifications.el (top): Remove unneeded declarations.
13897 (notifications-specification-version): Change to "1.2".
e43042fe 13898 (notifications-interface, notifications-notify-method)
b613912b
MA
13899 (notifications-close-notification-method): Fix docstring.
13900 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
13901 (notifications-notify): Add :action-items, :resident and
13902 :transient hints. Change "image_data" to "image-data" and
13903 "image_path" to "image-path".
b613912b
MA
13904 (notifications-get-capabilities): New defun.
13905
257440aa
LL
139062012-04-24 Leo Liu <sdl.web@gmail.com>
13907
13908 * progmodes/python.el: Move hideshow setup to the end.
13909
b1bac16e
MR
139102012-04-24 Martin Rudalics <rudalics@gmx.at>
13911
13912 * window.el (handle-select-window): Clear echo area since this is
13913 no more done by read_char (Bug#11304).
13914
d81bd059
SM
139152012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13916
13917 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13918 and `/ M' to filter-derived-mode.
13919 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13920 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13921 (ibuffer-mark-by-mode): Use default rather than initial-input.
13922 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13923
c4cf6d91
IA
139242012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13925
13926 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13927 (ibuffer-filter-by-derived-mode): New filter.
13928 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13929
7511ded8
CY
139302012-04-23 Andreas Politz <politza@fh-trier.de>
13931
13932 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13933
775c916b
CY
139342012-04-23 Chong Yidong <cyd@gnu.org>
13935
13936 * cus-edit.el (customize-apropos, customize-apropos-options):
13937 Disable matching of non-option variables (Bug#11176).
13938 (customize-option, customize-option-other-window)
13939 (customize-changed-options): Doc fix.
13940 (customize-apropos-options, customize-apropos-faces)
13941 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13942
13943 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 13944 Fix word list splitting (Bug#11132).
46c71e23
CY
13945 (apropos-symbol, apropos-keybinding, apropos-label)
13946 (apropos-property, apropos-function-button)
13947 (apropos-variable-button, apropos-misc-button): New faces.
13948 (apropos-symbol-face, apropos-keybinding-face)
13949 (apropos-label-face, apropos-property-face, apropos-match-face):
13950 Variables removed (Bug#8396).
13951 (apropos-library-button, apropos-format-plist, apropos-print)
13952 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 13953
2df41f9c
MA
139542012-04-23 Michael Albinus <michael.albinus@gmx.de>
13955
13956 * net/xesam.el (xesam-mode-map): Use let-bound map in
13957 initialization. (Bug#11292)
13958
da00640a
AM
139592012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13960
13961 Preserve ispell session localwords when switching back to
13962 original buffer.
13963
090bd7cb
JB
13964 * textmodes/ispell.el (ispell-buffer-session-localwords):
13965 New buffer-local variable to hold buffer session localwords.
ed9265fc 13966 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
13967 localwords.
13968 (ispell-command-loop, ispell-change-dictionary)
13969 (ispell-buffer-local-words): Preserve session localwords when
13970 needed.
13971
090bd7cb
JB
13972 * textmodes/flyspell.el (flyspell-process-localwords)
13973 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 13974
f621ccf5
AM
139752012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13976
090bd7cb
JB
13977 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13978 using obsolete `translation-table-for-input'.
ef24141c
SM
13979 (ispell-word, ispell-process-line, ispell-complete-word):
13980 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 13981
c2d1019e
CY
139822012-04-22 Chong Yidong <cyd@gnu.org>
13983
13984 * cus-edit.el (custom-variable-menu)
13985 (custom-variable-reset-saved, custom-face-menu)
13986 (custom-face-reset-saved): If there is no saved value, make the
13987 "reset-saved" operation bring back the default (Bug#9509).
13988 (custom-face-state): Properly detect themed faces.
13989
eeddc531
CY
13990 * faces.el (face-spec-set): Stop supporting deprecated form of
13991 third arg.
13992
dcbf5805
MA
139932012-04-22 Michael Albinus <michael.albinus@gmx.de>
13994
13995 Move functions from C to Lisp. Make non-blocking method calls
13996 the default. Implement further D-Bus standard interfaces.
13997
ef24141c
SM
13998 * net/dbus.el (dbus-message-internal): Declare function.
13999 Remove unneeded function declarations.
dcbf5805
MA
14000 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14001 (dbus-message-type-method-return, dbus-message-type-error)
14002 (dbus-message-type-signal): Declare variables. Remove local
14003 definitions.
14004 (dbus-interface-dbus, dbus-interface-peer)
14005 (dbus-interface-introspectable, dbus-interface-properties)
14006 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14007 Adapt docstring.
14008 (dbus-interface-objectmanager): New defconst.
14009 (dbus-call-method, dbus-call-method-asynchronously)
14010 (dbus-send-signal, dbus-method-return-internal)
14011 (dbus-method-error-internal, dbus-register-service)
14012 (dbus-register-signal, dbus-register-method): New defuns, moved
14013 from dbusbind.c
14014 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
14015 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14016 New defuns.
dcbf5805
MA
14017 (dbus-call-method-non-blocking): Make it an obsolete function.
14018 (dbus-unregister-object, dbus-unregister-service)
14019 (dbus-handle-event, dbus-register-property)
14020 (dbus-property-handler): Obey the new structure of
14021 `bus-registered-objects'.
14022 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14023 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14024 Use `dbus-call-method'.
14025
cf20dee0
CY
140262012-04-22 Chong Yidong <cyd@gnu.org>
14027
14028 * cus-edit.el (custom-commands, custom-reset-menu)
14029 (Custom-reset-standard): Tweak labels.
14030 (custom-reset-button-menu): Change default to t.
14031 (custom-buffer-create-internal): For the custom-reset-button-menu
14032 case, put the revert button first.
14033 (custom-group-subtitle): New face.
14034 (custom-group-value-create): Align docstring to a specific column.
14035
14036 * wid-edit.el (widget-documentation-link-add): Don't handle
14037 indentation in this function.
14038 (widget-documentation-string-indent-to): New function.
14039 (widget-documentation-string-value-create): Use it.
14040
14041 * autorevert.el (auto-revert):
14042 * epg-config.el (epg):
14043 * ibuffer.el (ibuffer):
14044 * mpc.el (mpc):
14045 * ses.el (ses):
14046 * eshell/eshell.el (eshell):
14047 * net/ange-ftp.el (ange-ftp):
14048 * progmodes/ebnf2ps.el (postscript):
14049 * progmodes/flymake.el (flymake):
14050 * progmodes/prolog.el (prolog):
14051 * progmodes/verilog-mode.el (verilog-mode):
14052 * progmodes/which-func.el (which-func):
14053 * term/xterm.el (xterm):
14054 * textmodes/picture.el (picture):
14055 * textmodes/tildify.el (tildify):
14056 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14057 customization buffers.
14058
583e23bd
AM
140592012-04-22 Alan Mackenzie <acm@muc.de>
14060
14061 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14062 Adding a ) can hide the resulting (..) from searches. Fix it.
14063 Bound the backward search to the position of the existing (.
14064
7dd51bf1
JB
140652012-04-21 Juanma Barranquero <lekktu@gmail.com>
14066
14067 * progmodes/verilog-mode.el (verilog-mode): Check whether
14068 which-func-modes is t before adding verilog-mode.
14069 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14070
d64a438f
LL
140712012-04-21 Leo Liu <sdl.web@gmail.com>
14072
7dd51bf1 14073 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 14074
081e8d65
MV
140752012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14076
14077 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14078 filling of the last column of a table (Bug#5635).
14079 (woman-find-next-control-line): New arg, specifying an additional
14080 regexp component for the control line.
14081 (woman2-roff-buffer): Use it.
14082 (woman-break-table): New function.
14083 (woman2-TS): Use it.
14084
140852012-04-21 Chong Yidong <cyd@gnu.org>
14086
14087 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14088 (woman-horizontal-escapes, woman-negative-vertical-space)
14089 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14090 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14091
ed571ccb
SM
140922012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14093
14094 * minibuffer.el (completion-file-name-table): Complete user names.
14095
39773899
LL
140962012-04-20 Leo Liu <sdl.web@gmail.com>
14097
14098 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14099 and pcase-let*.
14100
de6ff46d
CY
141012012-04-20 Chong Yidong <cyd@gnu.org>
14102
14103 * server.el (server-execute): Respect initial-buffer-choice if it
14104 is a string and there are no files to open (Bug#2825).
14105 (server-create-window-system-frame, server-create-tty-frame):
14106 Don't switch buffers here.
2d0e8e61
CY
14107 (server-process-filter): Only try to open a window system frame if
14108 compiled with graphical support (Bug#8314).
de6ff46d 14109
54071013
DN
141102012-04-20 Dan Nicolaescu <dann@gnu.org>
14111
14112 * battery.el (battery-echo-area-format): Display remaining time
14113 for sysfs backend too (Bug#11269).
14114 (battery-linux-sysfs): Fix conditional for the charge.
14115
f30d612a
CY
141162012-04-20 Chong Yidong <cyd@gnu.org>
14117
c07a4c0b 14118 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
14119 (gdb-inferior-io--init-proc): New function.
14120 (gdb-init-1): Use it.
14121 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14122 responsible for allocating a new pty and hooking it to gdb when
14123 the old pty gets an EIO due to process exit.
14124 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14125 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14126 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14127
2116e93c
EZ
141282012-04-20 Eli Zaretskii <eliz@gnu.org>
14129
14130 * window.el (window-min-size, window-sizable, window-min-delta)
14131 (window-max-delta, window--resizable, window-resizable)
14132 (window-total-size, window-full-height-p, window-full-width-p)
14133 (window-in-direction, window--resize-mini-window, window-resize)
14134 (window--resize-child-windows-normal)
14135 (window--resize-child-windows, window--resize-siblings)
14136 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 14137 (enlarge-window, shrink-window): Doc fixes.
2116e93c 14138
c07a4c0b 141392012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 14140
ef24141c
SM
14141 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14142 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
14143 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14144 pty process (Bug#11273).
14145 (gdb-update): New arg to suppress talking to the gdb process.
14146 (gdb-done-or-error): Use it.
14147 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14148 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14149 sentinel not being called.
14150
14151 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14152
d02766ab
CY
14153 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14154
c07a4c0b 141552012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
14156
14157 * net/network-stream.el (open-network-stream): Doc fix.
14158
c07a4c0b 141592012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
14160
14161 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14162
c07a4c0b 141632012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
14164
14165 Ensure searching for keywords is case sensitive.
14166
14167 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14168 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14169 (c-defun-name, c-mark-function, c-cpp-define-name)
14170 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 14171 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 14172
ef24141c
SM
14173 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14174 Bind case-fold-search to nil.
f0f6bc35 14175
c07a4c0b 141762012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
14177
14178 * mail/sendmail.el (mail-bury): Call return action with the right
14179 Rmail buffer (Bug#11242).
14180
9a864fa2
CY
14181 * server.el (server-process-filter): Handle corner case where both
14182 tty and nowait options are present (Bug#11102).
14183
539aa513
EZ
141842012-04-20 Eli Zaretskii <eliz@gnu.org>
14185
14186 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
14187 (top level): Put into the executable the ident-style '$Id:' tag on
14188 windows-nt as well.
539aa513 14189
cfc7d5da
SM
141902012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14191
14192 * electric.el (electric-indent-post-self-insert-function): Check that
14193 electric-indent-mode is enabled in current buffer.
14194
5b01685c
JB
141952012-04-19 Juanma Barranquero <lekktu@gmail.com>
14196
14197 * imenu.el (imenu-progress-message): Restore; it is "used" in
14198 erc/erc-imenu.el and net/snmp-mode.el.
14199
4d6769e1
JB
142002012-04-19 Juanma Barranquero <lekktu@gmail.com>
14201
14202 * avoid.el (mouse-avoidance-mode): Mark unused arg.
14203 (mouse-avoidance-nudge-mouse): Remove unused binding.
14204
14205 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
14206
14207 * descr-text.el (describe-char):
14208 * progmodes/python.el (python-describe-symbol):
14209 Don't call `toggle-read-only', set `buffer-read-only'.
14210
14211 * imenu.el (imenu-default-goto-function): Mark unused args.
14212 (imenu-progress-message): Remove obsolete macro; all callers changed.
14213
14214 * subr.el (keymap-canonicalize): Remove unused binding.
14215 (read-passwd): Mark unused arg.
14216
14217 * tutorial.el (tutorial--display-changes): Remove unused binding.
14218 (tutorial--save-tutorial-to): Remove unused variable.
14219
14220 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
14221 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
14222 (package-generate-autoloads, package-menu--generate)
14223 (package-menu--find-upgrades): Remove unused bindings.
14224
14225 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
14226 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
14227 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
14228 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
14229 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
14230 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
14231 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
14232 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
14233 (cua-delete-char-rectangle): Mark unused args.
14234 (cua-align-rectangle): Remove unused binding.
14235
14236 * mail/rmail.el (compilation--message->loc)
14237 (epa--find-coding-system-for-mime-charset): Declare.
14238
14239 * net/dbus.el (dbus-register-service): Declare.
14240 (dbus-name-owner-changed-handler): Remove unused binding.
14241
14242 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
14243 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
14244 (nxml-scan-backward-within): Mark unused arg.
14245 (nxml-dynamic-markup-word): Remove unused binding.
14246
14247 * mouse.el (mouse-menu-major-mode-map):
14248 * emacs-lisp/authors.el (authors-scan-change-log)
14249 (authors-add-to-author-list):
14250 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
14251 * emacs-lisp/smie.el (smie-auto-fill):
14252 * mail/sendmail.el (mail-bury):
14253 * mail/unrmail.el (unrmail):
14254 * net/tls.el (open-tls-stream):
14255 * textmodes/picture.el (picture-mouse-set-point):
14256 Remove unused bindings.
14257
8c8fc5df
MA
142582012-04-19 Michael Albinus <michael.albinus@gmx.de>
14259
14260 * net/tramp.el (tramp-action-password): Let-bind
14261 `enable-recursive-minibuffers' to t.
14262
a77b0ac9
SS
142632012-04-18 Sam Steingold <sds@gnu.org>
14264
14265 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
14266 instead of 'string to accommodate values like [f11].
14267 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
14268 * progmodes/gdb-mi.el: Likewise.
14269
12a106a9
LL
142702012-04-18 Leo Liu <sdl.web@gmail.com>
14271
14272 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
14273 current buffer.
14274 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
14275 LOCAL is nil.
14276
bc6494ef
CY
142772012-04-18 Chong Yidong <cyd@gnu.org>
14278
14279 * simple.el (line-move): Use forward-line if in batch mode
14280 (Bug#11053).
14281
c09c46b2
CS
142822012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
14283
14284 * files.el (after-find-file): Do not try to add a final newline if
14285 the buffer is read-only (Bug#11156).
14286
5f6530ea
RS
142872012-04-17 Richard Stallman <rms@gnu.org>
14288
14289 * mail/rmail.el (rmail-start-mail):
14290 Pass (rmail-mail-return...) for the return-action.
14291 Pass (rmail-yank-current-message...) for the yank-action.
14292 (rmail-yank-current-message): New function.
14293 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
14294 (rmail-reply): Likewise.
14295 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
14296
14297 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 14298 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
14299 buffer, not newbuf.
14300
197b6f3c
JB
143012012-04-17 Juanma Barranquero <lekktu@gmail.com>
14302
14303 * server.el (server-ensure-safe-dir): Simplify.
14304
2311d8e5 143052012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 14306
2311d8e5
GM
14307 * emacs-lisp/smie.el: Provide smarter auto-filling.
14308 (smie-auto-fill): New function.
14309 (smie-setup): Use it.
98fb480e 14310
2311d8e5
GM
14311 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
14312
143132012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
14314
14315 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
14316 (comment-indent): Use it.
14317
2311d8e5 143182012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
14319
14320 * ses.el: The overall change is to add cell renaming, that is
14321 setting fancy names for cell symbols other than name matching
14322 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 14323 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 14324 (ses-create-cell-variable): New defun.
2311d8e5 14325 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
14326 (ses-relocate-formula): Relocate formulas only for cells the
14327 symbols of which are not renamed, i.e. symbols whose names do not
14328 match regexp "\\`[A-Z]+[0-9]+\\'".
14329 (ses-relocate-all): Relocate values only for cells the symbols of
14330 which are not renamed.
14331 (ses-load): Create cells variables as the (ses-cell ...) are read,
14332 in order to check row col consistency with cell symbol name only
14333 for cells that are not renamed.
14334 (ses-replace-name-in-formula): New defun.
14335 (ses-rename-cell): New defun.
4bdf2ad2 14336
fc72b15c
PO
143372012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
14338
14339 * progmodes/perl-mode.el (perl-indent-parens-as-block):
14340 New option (bug#11118).
14341 (perl-calculate-indent): Respect it.
14342
12e10e61
GM
143432012-04-17 Glenn Morris <rgm@gnu.org>
14344
14345 * dired-aux.el (dired-mark-read-string): Doc fix.
14346
30009afd
DA
143472012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
14348
14349 * dired-aux.el (dired-mark-read-string): Offer optional completion.
14350 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
14351
41f03f4d
GM
143522012-04-17 Glenn Morris <rgm@gnu.org>
14353
14354 * mouse.el (mouse-drag-track):
14355 * speedbar.el (speedbar-frame-mode):
14356 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
14357
f45f90f3
LL
143582012-04-16 Leo Liu <sdl.web@gmail.com>
14359
14360 * progmodes/python.el: Trivial cleanup.
14361
94ee8db5
GM
143622012-04-16 Glenn Morris <rgm@gnu.org>
14363
121b8917
GM
14364 * vc/vc.el (vc-string-prefix-p):
14365 * vc/pcvs-util.el (cvs-string-prefix-p):
14366 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
14367 * mpc.el (mpc-string-prefix-p):
14368 Make all of these into obsolete aliases for string-prefix-p.
14369 Update callers.
14370 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
14371
1197ecfa
GM
14372 * textmodes/two-column.el: Move custom options to the start.
14373 (frame-width): Remove compat definition.
14374 (2C-associate-buffer, 2C-dissociate):
14375 Use with-current-buffer rather than save-excursion.
14376 (2C-dissociate): Force a mode-line update.
14377 (2C-autoscroll): Use ignore-errors.
14378
099e7202
GM
14379 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
14380 Autoload trivia.
14381
bf350d6a
GM
14382 * emacs-lisp/cl-extra.el (*random-state*):
14383 Remove unnecessary declaration.
14384
0e829eab
GM
14385 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
14386
e3ad7552
GM
14387 * play/cookie1.el (cookie-snarf):
14388 Give an explicit error if input file cannot be read.
14389
68892d27
GM
14390 * play/yow.el (yow-file): Use expand-file-name rather than concat.
14391
20f0c46d
GM
14392 * progmodes/perl-mode.el (c-macro-expand):
14393 Remove unnecessary autoload (it is in loaddefs.el).
14394
5a0978ce
GM
14395 * textmodes/picture.el (picture-desired-column)
14396 (picture-update-desired-column): Convert comments to doc-strings.
14397 (picture-substitute): Remove function.
14398 (picture-mode-map): Initialize in the defvar.
14399
6b955486
GM
14400 * woman.el: Remove eval-after-load for tar-mode.
14401 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
14402 (woman-tar-extract-file): Autoload it.
14403
94ee8db5
GM
14404 * frame.el (automatic-hscrolling): Make this alias obsolete.
14405
177eca34
AM
144062012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14407
090bd7cb 14408 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 14409 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
14410 (ispell-dictionary-base-alist): Revert to original XEmacs
14411 friendly version for default. [:alpha:] will be added in
090bd7cb 14412 `ispell-set-spellchecker-params' if needed.
177eca34 14413
c505aaeb
CY
144142012-04-16 Chong Yidong <cyd@gnu.org>
14415
b19dd9d1 14416 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
14417 (imagemagick-register-types): Use it.
14418 (imagemagick-types-inhibit): Add :set function. Allow new value
14419 of t to inhibit all types.
14420
14421 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
14422 so we can preload it.
14423
14424 * loadup.el (fboundp): Preload regexp-opt, needed by
14425 imagemagick-register-types.
14426
60efac0f
CY
144272012-04-15 Chong Yidong <cyd@gnu.org>
14428
14429 * frame.el (scrolling): Remove nearly unused customization group.
14430
14431 * scroll-all.el (scroll-all-mode): Move to windows group.
14432
5dd1713e
CY
144332012-04-15 Chong Yidong <cyd@gnu.org>
14434
14435 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14436
e6fd457e
CY
144372012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14438
14439 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 14440 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 14441
e153c136
GM
144422012-04-15 Glenn Morris <rgm@gnu.org>
14443
14444 * simple.el (process-file-side-effects): Doc fix.
14445
e6fd457e 144462012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
14447
14448 * international/mule-cmds.el (set-language-environment): Doc fix.
14449
3603c3b1
JB
144502012-04-14 Juanma Barranquero <lekktu@gmail.com>
14451
14452 * server.el (server-auth-key, server-generate-key): Doc fixes.
14453 (server-get-auth-key): Doc fix. Use `string-match-p'.
14454 (server-start): Reflow docstring.
14455
e6de100c
LI
144562012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
14457
14458 * server.el (server-generate-key): `called-interactively-p'
14459 requires a parameter.
14460
29734c21
MN
144612012-04-14 Michal Nazarewicz <mina86@mina86.com>
14462
14463 * server.el (server-auth-key): New variable.
75f1671a 14464 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
14465 (server-start): Use the new variable and functions to allow
14466 setting a permanent server key (bug#9423).
14467
d65c9521
LL
144682012-04-14 Leo Liu <sdl.web@gmail.com>
14469
14470 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14471
5ae255c7
PE
144722012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14473
14474 Spelling fixes.
14475 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14476 Emacs uses American spelling.
14477
d5e6342e
JB
144782012-04-14 Juanma Barranquero <lekktu@gmail.com>
14479
14480 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14481 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
14482 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14483 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
14484
ab036cd7
SM
144852012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14486
14487 * progmodes/which-func.el (which-func-modes): Change default.
14488
35dc09a1 144892012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
14490
14491 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14492 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14493
35dc09a1 144942012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
14495
14496 * custom.el (custom-theme-set-variables): Doc fix.
14497
35dc09a1 144982012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
14499
14500 * international/mule.el (set-auto-coding-for-load): Doc fix.
14501
35dc09a1 145022012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 14503
35dc09a1
GM
14504 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14505 imenu work again for Objective C Mode. Correct the *-index values,
14506 these having been disturbed by a previous change in 2011-08.
57f845ee 14507
0de3da9f
AM
14508 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14509 Correct two search limits.
14510
35dc09a1 145112012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
14512
14513 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14514
35dc09a1 145152012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
14516
14517 * international/characters.el: Fix sorting.
14518
35dc09a1 145192012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
14520
14521 * international/characters.el: Add more missing Latin case pairs.
14522
35dc09a1 145232012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
14524
14525 * files.el (dir-locals-set-class-variables): Doc fix.
14526
35dc09a1 145272012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 14528
3f1b5bf8
EZ
14529 * international/characters.el: Add set-case-syntax-pair call for
14530 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14531 counterpart. (Bug#11209)
14532
9f847f41
EZ
14533 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14534
35dc09a1 145352012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
14536
14537 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14538
35dc09a1 145392012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 14540
35dc09a1
GM
14541 * textmodes/ispell.el (ispell-dictionary-base-alist):
14542 Add data for Hebrew.
e2627d21 14543
35dc09a1 145442012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 14545
35dc09a1
GM
14546 * net/rcirc.el (rcirc-cmd-quit):
14547 Revert 2012-03-18 change (Bug#11192).
5c14e333 14548
35dc09a1 145492012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
14550
14551 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14552
35dc09a1 145532012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 14554
4517fe3a
SM
14555 * minibuffer.el (completion-in-region-mode-map):
14556 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 14557
b472a594
VD
145582012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14559
14560 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14561
09b95ce3
MY
145622012-04-13 Masatake YAMATO <yamato@redhat.com>
14563
14564 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14565 to allow `C-M-f' and `C-M-b' to move to the nearest path
14566 separator (bug#9511).
14567
4b63a9ca
LI
145682012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14569
14570 * avoid.el: Require cl when compiling. And also move the
14571 `provide' to the end.
14572
7b55b8bf
TV
145732012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14574
14575 * avoid.el (mouse-avoidance-banish-position): New variable.
14576 (mouse-avoidance-banish-destination): Use it (bug#10165).
14577
adedaa1f
LL
145782012-04-13 Leo Liu <sdl.web@gmail.com>
14579
14580 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14581
70e74021
KB
145822012-04-13 Ken Brown <kbrown@cornell.edu>
14583
14584 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 14585 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
14586 (browse-url-filename-alist): For the same reason, don't modify
14587 file:// URLs on Cygwin.
14588
e75e89ba
SM
145892012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14590
14591 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14592 the region on shift if the binding is already shifted (bug#11221).
14593
82f289a4
GM
145942012-04-12 Glenn Morris <rgm@gnu.org>
14595
14596 * mail/mailpost.el: Move to obsolete/.
14597
d333dc4c
DA
145982012-04-12 Drew Adams <drew.adams@oracle.com>
14599
14600 * imenu.el (imenu--generic-function): Ignore invisible definitions
14601 (bug#10123).
14602
0d15b5ba
VD
146032012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14604
14605 * hexl.el (hexl-bits): New variable.
14606 (hexl-options): Mention the variable in the doc string.
75f1671a 14607 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 14608 (hexl-mode): Mention the new variable.
75f1671a
JB
14609 (hexl-mode, hexl-current-address, hexl-current-address):
14610 Use the displen.
0d15b5ba
VD
14611 (hexl-ascii-start-column): New function.
14612 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14613 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14614
64a440db
AM
146152012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14616
14617 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14618 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14619 the encoding, as expected by hunspell.
14620
6decb6c2
SM
146212012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14622
14623 * battery.el (battery--linux-sysfs-regexp): New const.
14624 (battery-status-function): Use it. Remove yeeloong special case.
14625 (battery-yeeloong-sysfs): Remove.
14626 (battery-echo-area-format): Remove yeeloong special case.
14627
088be6fb
SM
146282012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14629
6622e416
SM
14630 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14631 Reported by Noah Friedman.
14632
088be6fb
SM
14633 * subr.el (read-passwd): Use read-string.
14634
b49f886e
LMI
146352012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14636
14637 * vcursor.el (vcursor-move): Increase the priority of the overlay
14638 (bug#9663).
14639
a63067fc
DD
146402012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14641
14642 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14643 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14644
ac3cf14a
WS
146452012-04-11 William Stevenson <yhvh2000@gmail.com>
14646
14647 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14648 define-minor-mode (bug#10760).
14649
c4fc691b 146502012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 14651
4d6769e1 14652 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
14653 that directories matching `grep-find-ignored-files' won't be
14654 pruned (bug#10351).
14655
af23e2e5
CY
146562012-04-11 Chong Yidong <cyd@gnu.org>
14657
14658 * startup.el (command-line): Remove support for long-obsolete
14659 variable font-lock-face-attributes.
14660
ab7ce8c1
GM
146612012-04-11 Glenn Morris <rgm@gnu.org>
14662
14663 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14664
de8c03dc
SM
146652012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14666
14667 * window.el (window--state-get-1): Obey window-point-insertion-type.
14668
050cc68b
LB
146692012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14670
14671 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14672 to previous function when point is on the first character of a
75f1671a 14673 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 14674
a38c310c
GM
146752012-04-11 Glenn Morris <rgm@gnu.org>
14676
effed0c2
GM
14677 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14678 not just file-errors.
14679
a38c310c
GM
14680 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14681 (vc-bzr-sha1): Use internal sha1.
14682
0221e323
SM
146832012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14684
14685 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14686
43956923
SG
146872012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
14688
14689 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14690 that start in the middle of the line (bug#10496).
14691
6a8c9eaf
DN
146922012-04-10 Dan Nicolaescu <dann@gnu.org>
14693
14694 * battery.el (battery-linux-proc-acpi): Only one battery is
14695 discharged at a time, but that seems to confuse battery.el when
14696 computing `rate-type' for the battery not being discharged
14697 (bug#10332).
14698
1930bf5d
SM
146992012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14700
2a718f6f
SM
14701 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14702
599430d0
SM
14703 * international/quail.el: Use dolist and simplify.
14704 (quail-define-package, quail-update-keyboard-layout)
14705 (quail-define-rules): Use dolist.
14706 (quail-insert-kbd-layout, quail-get-translation): CSE.
14707
a2754b6c
SM
14708 * tmm.el: Use dolist, remove left over hook.
14709 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14710 Use dolist.
14711 (calendar-load-hook): Don't mess with it.
14712
1930bf5d
SM
14713 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14714 Use derived-mode-p. Run the diff asynchronously.
14715
9f67961c
LMI
147162012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14717
14718 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14719
2a8ce227
JB
147202012-04-10 Juanma Barranquero <lekktu@gmail.com>
14721
14722 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14723 (list-dynamic-libraries--loaded): New function.
14724 (list-dynamic-libraries--refresh): Use it.
14725
8f33b5f8
NW
147262012-04-10 Nathan Weizenbaum <nweiz@google.com>
14727
1930bf5d
SM
14728 * progmodes/python.el (python-fill-paragraph):
14729 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
14730 disabled (bug#7018).
14731
b12f0439
L
147322012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
14733
1930bf5d 14734 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
14735 DOS/MS Windows for the Baltic languages. There are still plenty
14736 of texts written in this encoding/codepage (bug#6519).
b12f0439 14737
57c3bd01
GM
147382012-04-10 Glenn Morris <rgm@gnu.org>
14739
14740 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14741 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14742
6c3eab30
FA
147432012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14744
1930bf5d 14745 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
14746 next-line "n" and previous-line "p" in order to make recentf more
14747 consistent with ibuffer, dired or org-mode (bug#9387).
14748
24d78a88
LMI
147492012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14750
bc72b5d9
LMI
14751 * image.el (put-image): Return the overlay created instead of the
14752 optional input string (bug#7834). Note that this may break code
14753 that is (for some reason or other) depending on `put-image'
14754 returning the string.
14755
bd2dba5a
LMI
14756 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14757
74beb59f
LMI
14758 * simple.el (zap-to-char): Allow zapping using input methods
14759 (bug#1580).
14760
24d78a88
LMI
14761 * textmodes/fill.el (fill-region): Leave point and mark where they
14762 were before filling (bug#5399).
14763
263f20cd
GM
147642012-04-09 Glenn Morris <rgm@gnu.org>
14765
14766 * version.el (emacs-bzr-get-version):
14767 Handle lightweight checkouts of local branches.
14768
58d1f797
AS
147692012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14770
263f20cd 14771 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 14772
b4d3bc10
CY
147732012-04-09 Chong Yidong <cyd@gnu.org>
14774
14775 * custom.el (custom-variable-p): Return nil for non-symbol
14776 arguments instead of signaling an error.
14777 (user-variable-p): Obsolete alias for custom-variable-p.
14778
14779 * apropos.el (apropos-variable):
14780 * files-x.el (read-file-local-variable):
14781 * simple.el (set-variable):
14782 * woman.el (woman-mini-help):
14783 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14784
fd06db5d
GM
147852012-04-09 Glenn Morris <rgm@gnu.org>
14786
e5fcdb5e
GM
14787 * startup.el (normal-top-level): Don't look for leim-list.el
14788 in places where it will not be found. (Bug#910)
14789
fd06db5d
GM
14790 * international/mule-cmds.el (set-default-coding-systems):
14791 * files.el (normal-mode):
14792 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14793 This function was removed with ucs-tables.el in 2008.
14794
b39bb7e1
EZ
147952012-04-08 Eli Zaretskii <eliz@gnu.org>
14796
14797 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14798 ispell-encoding8-command to "-i", without a trailing space.
14799 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14800 separate command-line arguments, to specify the encoding, since
14801 that's how hunspell expects it.
14802
5c5b8e23
GM
148032012-04-08 Glenn Morris <rgm@gnu.org>
14804
14805 * loadup.el: Load bindings before cus-start.
14806 This reduces somewhat the number of "rogue" settings in emacs -Q.
14807
a1ed8b05
GM
148082012-04-07 Glenn Morris <rgm@gnu.org>
14809
14810 * version.el (emacs-bzr-get-version): New function.
dfae128a 14811 (emacs-bzr-version): New variable.
a1ed8b05
GM
14812 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14813 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14814
b142f158
EZ
148152012-04-07 Eli Zaretskii <eliz@gnu.org>
14816
dfae128a
GM
14817 * international/uni-bidi.el, international/uni-category.el:
14818 * international/uni-combining.el, international/uni-decimal.el:
14819 * international/uni-decomposition.el, international/uni-digit.el:
14820 * international/uni-lowercase.el, international/uni-mirrored.el:
14821 * international/uni-name.el, international/uni-numeric.el:
14822 * international/uni-titlecase.el, international/uni-uppercase.el:
14823 Update for Unicode 6.1.
b142f158 14824
9078ead6
EZ
148252012-04-07 Eli Zaretskii <eliz@gnu.org>
14826
14827 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14828
f23d2c7d
LMI
148292012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14830
14831 * window.el (shrink-window): Mention the `window-min-height'
14832 variable in the doc string.
14833
0a0a3573
BG
148342012-04-05 Bastien Guerry <bzg@altern.org>
14835
14836 * color.el (color-lighten-name): Fix typo.
14837
e5248ac9
SM
148382012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14839
14840 * server.el (server--on-display-p): New function.
14841 (server--on-display-p): Use it.
14842
a8e4d516 148432012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
b4243e22
GV
14844
14845 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14846 (bug#11145).
14847
305d9f44
SM
148482012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14849
14850 * comint.el (comint--common-quoted-suffix): Check string boundary
14851 before comparing (bug#11158).
14852 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14853
3d439cd1
CY
148542012-04-04 Chong Yidong <cyd@gnu.org>
14855
321cc491
CY
14856 * minibuffer.el (completion-extra-properties): Doc fix.
14857
3d439cd1
CY
14858 * subr.el (delayed-warnings-hook): Doc fix.
14859
2d562c0f
DU
148602012-04-04 Daiki Ueno <ueno@unixuser.org>
14861
14862 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14863 selection (Bug#11159).
14864 (epa-insert-keys): Inform that the default public key will be
14865 exported if no key is selected.
14866
4443f204
RS
148672012-04-04 Richard Stallman <rms@gnu.org>
14868
14869 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14870
529c06b6
CY
148712012-04-03 Chong Yidong <cyd@gnu.org>
14872
14873 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14874 mail-insert-file, not its obsolete alias mail-attach-file.
14875
66b907dc
MA
148762012-04-03 Michael Albinus <michael.albinus@gmx.de>
14877
14878 * notifications.el (notifications-notify): Fix docstring.
14879
c0ea195d
GM
148802012-04-02 Glenn Morris <rgm@gnu.org>
14881
14882 * emacs-lisp/authors.el (authors-aliases): Another addition.
14883
5ca64e00
MA
148842012-04-02 Michael Albinus <michael.albinus@gmx.de>
14885
14886 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14887 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14888 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14889
42ee526b
CY
148902012-04-01 Chong Yidong <cyd@gnu.org>
14891
14892 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14893 Handle root directory properly.
14894 (copy-directory): Caller changed.
14895
14896 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14897 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14898
0b021094
GM
148992012-03-31 Glenn Morris <rgm@gnu.org>
14900
40f86458
GM
14901 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14902
7019c177
GM
14903 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14904
a1daddd6
GM
14905 * calendar/calendar.el (calendar-window-list)
14906 (calendar-hide-window): Restore. (Bug#11140)
14907 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14908
0b021094
GM
14909 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14910
40311efc
TV
149112012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14912
14913 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14914 Check if file is a symlink (Bug#10489).
14915
14916 * files.el (copy-directory): Likewise.
14917
5319014e
CY
149182012-03-30 Chong Yidong <cyd@gnu.org>
14919
14920 * image.el (imagemagick-types-inhibit)
14921 (imagemagick-register-types): Doc fix.
14922
935d1290
AM
149232012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14924
090bd7cb 14925 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 14926 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 14927 and treats ~word as ordinary words in pipe mode.
935d1290 14928
61c6e8fd
GM
149292012-03-30 Glenn Morris <rgm@gnu.org>
14930
14931 * tutorial.el (help-with-tutorial): Ensure local variables don't
14932 happen to make the buffer read-only. (Bug#11127)
14933
81fdff00
SM
149342012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14935
14936 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14937 (perl-calculate-indent): Return `noindent' in strings.
14938
6e7a6ec0
SS
149392012-03-28 Sam Steingold <sds@gnu.org>
14940
14941 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14942 instead of the broken adhockery which does not prevent calendar
14943 buffers from being displayed at random after exit.
14944 (calendar-window-list, calendar-hide-window): Remove the broken
14945 adhockery.
14946
fee88ca0
GM
149472012-03-28 Glenn Morris <rgm@gnu.org>
14948
14949 * replace.el (query-replace-map): Doc fix.
14950
38de3354
AS
149512012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14952
14953 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14954 contents. (Bug#11109)
14955
b973155e
SM
149562012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14957
14958 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14959 (bug#11077).
14960 (avl-tree--check, avl-tree--check-node): New funs.
14961
dcb6e7b3
MR
149622012-03-27 Martin Rudalics <rudalics@gmx.at>
14963
14964 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
14965 (switch-to-prev-buffer, switch-to-next-buffer):
14966 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
14967 showing a buffer already is done on the same frame.
14968
b4fa35fa
GM
149692012-03-27 Glenn Morris <rgm@gnu.org>
14970
14971 * startup.el (mail-host-address): Doc fix.
14972
f9210e18
SM
149732012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14974
14975 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14976 than 197 variables.
14977
c0bf7753
AF
149782012-03-26 Ami Fischman <ami@fischman.org>
14979
14980 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14981
33da7b16
GM
149822012-03-26 Glenn Morris <rgm@gnu.org>
14983
02243d9d
GM
14984 * files.el (save-buffers-kill-emacs): Doc fix.
14985
33da7b16
GM
14986 * startup.el (normal-top-level, command-line, command-line-1):
14987 Give them doc strings.
14988
e5a69fd0
EZ
149892012-03-25 Eli Zaretskii <eliz@gnu.org>
14990
14991 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 14992 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 14993
9a69676a
CY
149942012-03-25 Chong Yidong <cyd@gnu.org>
14995
4125cb8b
CY
14996 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14997 theme if it was previously enabled before (Bug#11031).
14998
dd470960
CY
14999 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15000 spec with custom-face-get-current-spec if its :shown-value is not
15001 determined yet (Bug#9337).
4125cb8b 15002 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 15003
9a69676a
CY
15004 * button.el (button-at): Minor addition to docstring.
15005
6e7e90fa
SL
150062012-03-24 Simon Leinen <simon.leinen@gmail.com>
15007
15008 * vc/vc.el (vc-merge): Fix a prompt.
15009
f06e2758
CY
150102012-03-24 Chong Yidong <cyd@gnu.org>
15011
15012 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15013 point (Bug#9623).
15014
6e7e90fa
SL
15015 * button.el (button-at): Minor addition to docstring.
15016
b9d0879b
SM
150172012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15018
15019 * newcomment.el (comment-choose-indent): No space after BOL.
15020
e71cebb3
SS
150212012-03-22 Sam Steingold <sds@gnu.org>
15022
15023 * window.el (switch-to-prev-buffer): Revert last patch because the
15024 bug turned out to be an advertised feature (Elisp manual 28.14).
15025
335aff35
GM
150262012-03-22 Glenn Morris <rgm@gnu.org>
15027
15028 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15029 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15030
c676576a
LMI
150312012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15032
15033 * net/network-stream.el (network-stream-open-starttls): Make error
15034 message under Windows be less misleading.
15035
126f3d39
LW
150362012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15037
15038 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15039 understands (bug#9942).
15040
64fee311
CY
150412012-03-22 Chong Yidong <cyd@gnu.org>
15042
15043 * simple.el (end-of-visible-line): Handle return value of
15044 next-single-property-change properly (Bug#9371).
15045
a640d29a
KH
150462012-03-22 Kenichi Handa <handa@m17n.org>
15047
15048 * international/quail.el (quail-insert-kbd-layout): Fix previous
15049 change. To avoid unwanted bidi reordering, use
15050 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15051
39675016
DG
150522012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15053
15054 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15055 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15056 (ruby-beginning-of-indent): Be more careful with the difference
15057 between word-boundary and symbol boundary.
15058 (ruby-mode-syntax-table): Make : a symbol constituent.
15059
0a6934fc 150602012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 15061
3d008e4f
SM
15062 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15063
0a6934fc
SM
150642012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15065
af67c9d7
SM
15066 * progmodes/etags.el (tags-completion-at-point-function):
15067 Improve last fix.
15068
1acad97c
SM
15069 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15070
e298b5da
SS
150712012-03-21 Sam Steingold <sds@gnu.org>
15072
15073 * progmodes/etags.el (tags-completion-at-point-function):
15074 Avoid the error when point is inside the pattern.
15075
91d82a70
JY
150762012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15077
15078 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15079 line (Bug#10855).
15080
69188b79
CY
150812012-03-21 Drew Adams <drew.adams@oracle.com>
15082
15083 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15084
99fc91fe
AK
150852012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15086
15087 * ido.el (ido-set-current-directory, ido-read-internal)
15088 (ido-choose-completion-string, ido-completion-help): Handle nil
15089 value of ido-completion-buffer (Bug#11008).
15090
087bbb4c
SS
150912012-03-21 Sam Steingold <sds@gnu.org>
15092
15093 * window.el (switch-to-prev-buffer): Do not switch to a visible
15094 window previous buffer, just like with the frame previous buffers.
15095
fb5b8aca
CY
150962012-03-21 Chong Yidong <cyd@gnu.org>
15097
15098 * faces.el (make-face, make-empty-face, copy-face):
15099 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15100 Doc fixes.
15101
dc9924b8
SM
151022012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15103
15104 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15105 (widget-complete): Remove broken use of it.
15106
f0bcceb9
CY
151072012-03-20 Chong Yidong <cyd@gnu.org>
15108
dc9924b8
SM
15109 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15110 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
15111 characters.
15112
ee52ebf3
TH
151132012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15114
15115 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15116 to draw rectangles, not squares. (Regression introduced by revno
15117 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15118
4c5779ab
CY
151192012-03-18 Chong Yidong <cyd@gnu.org>
15120
15121 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15122 it is not yet defined (for temacs).
15123
15360934
LL
151242012-03-18 Leo Liu <sdl.web@gmail.com>
15125
735135f9
PE
15126 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15127 prefix.
15360934 15128
d9a8eb66
EZ
151292012-03-17 Eli Zaretskii <eliz@gnu.org>
15130
15131 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15132 (ispell-choices-win-default-height, ispell-silently-savep)
15133 (ispell-dictionary-alist, ispell-encoding8-command)
15134 (ispell-check-version, ispell-aspell-find-dictionary)
15135 (ispell-valid-dictionary-list, ispell-words-keyword)
15136 (ispell-get-word, ispell-internal-change-dictionary)
15137 (ispell-region, ispell-skip-region-list)
15138 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15139 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15140 (ispell-message-text-end, ispell-message)
15141 (ispell-buffer-local-parsing): Doc fix.
15142
f02ff80d
J
151432012-03-13 Jambunathan K <kjambunathan@gmail.com>
15144
15145 * htmlfontify.el: Add support for code block fontification for ODT
15146 export (Bug #9914).
15147 (hfy-optimisations): Define new option
15148 `body-text-only'
15149 (hfy-fontify-buffer): Honor above setting.
15150 (hfy-begin-span, hfy-end-span): New routines factored out form
15151 `hfy-fontify-buffer'.
15152 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15153 that permit insertion of custom tags.
15154 (hfy-fontify-buffer): Use above handlers.
15155 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15156 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 15157 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 15158 over multiple runs. This is made possible by having the caller let
f02ff80d
J
15159 bind a special variable `hfy-user-sheet-assoc'.
15160 (htmlfontify-string): New defun.
15161 (hfy-compile-face-map): Make sure that the last char in the
15162 buffer is correctly fontified.
15163 (hfy-face-resolve-face): Whitespace only change.
15164
9ac7a13f
EZ
151652012-03-17 Eli Zaretskii <eliz@gnu.org>
15166
15167 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15168 message more clear.
15169
e2b5bdd7
LL
151702012-03-16 Leo Liu <sdl.web@gmail.com>
15171
15172 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15173
2e492df3
AM
151742012-03-16 Alan Mackenzie <acm@muc.de>
15175
677d5c92 15176 Further optimize the handling of large macros.
2e492df3
AM
15177
15178 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15179 limit to a call of `c-literal-limits'.
15180 (c-determine-+ve-limit): New function.
dc9924b8
SM
15181 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15182 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
15183 In CASE 5B, restrict a search limit to 500.
15184 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15185
15186 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15187 Restrict macro bounds to +-500 from after-change's BEG END.
15188
50e94f0c
LL
151892012-03-16 Leo Liu <sdl.web@gmail.com>
15190
15191 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
15192
6f09f6ed
AH
151932012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
15194
15195 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 15196 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 15197
c7e73d51
GM
151982012-03-16 Glenn Morris <rgm@gnu.org>
15199
da986230
GM
15200 * view.el (view-buffer, view-buffer-other-window)
15201 (view-buffer-other-frame): Doc fixes re special mode-class.
15202
0835f01e
GM
15203 * subr.el (eval-after-load): If named feature is provided not from
15204 a file, run after-load forms. (Bug#10946)
15205
c7e73d51
GM
15206 * calendar/calendar.el (calendar-insert-at-column):
15207 Handle non-unit-width characters a bit better. (Bug#10978)
15208
3f2eafd1
CY
152092012-03-15 Chong Yidong <cyd@gnu.org>
15210
15211 * emacs-lisp/ring.el (ring-extend): New function.
15212 (ring-insert+extend): Extend the ring correctly (Bug#11019).
15213
15214 * comint.el (comint-read-input-ring)
15215 (comint-add-to-input-history): Grow comint-input-ring lazily.
15216
103af3fe
SM
152172012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15218
663b1677
SM
15219 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
15220 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
15221
103af3fe
SM
15222 * imenu.el: Fix multiple inheritance breakage (bug#9199).
15223 (imenu-add-to-menubar): Don't add a redundant index.
15224 (imenu-update-menubar): Handle a dynamically composed keymap.
15225
899cb7cb
KY
152262012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
15227
15228 * mail/sendmail.el (mail-encode-header):
15229 Bind rfc2047-encode-encoded-words to nil.
15230
3809f91d
GM
152312012-03-13 Glenn Morris <rgm@gnu.org>
15232
15233 * calendar/calendar.el (calendar-string-spread):
15234 Handle non-unit-width characters a bit better. (Bug#10978)
15235
9e345a01
LL
152362012-03-13 Leo Liu <sdl.web@gmail.com>
15237
15238 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
15239 directory and file as argument (Bug#10822).
15240
4a07df36
KS
152412012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15242
15243 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
15244 For dynamically generated code, follow $PC.
15245 (gdb-disassembly-handler-custom): Handle no function name case.
15246
4aaa9356
TL
152472012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
15248
15249 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
15250 * emulation/ws-mode.el (ws-query-replace):
15251 * sort.el (sort-regexp-fields):
15252 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
15253
225979da
SM
152542012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15255
15256 * dabbrev.el: Fix cycle completion order (bug#10963).
15257 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
15258 (dabbrev-completion): Don't use an obarray; provide
15259 a cycle-sort-function.
15260
e2f1fdab
LL
152612012-03-12 Leo Liu <sdl.web@gmail.com>
15262
dc9924b8 15263 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
15264 (kill-do-not-save-duplicates): Doc fix.
15265
b19490ed
SM
152662012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15267
15268 * dabbrev.el: Fix cycle completion (bug#10963).
15269 Use lexical binding and wrap to 80 columns.
15270 (dabbrev-completion): Delay computing the list of completions.
15271
4b05d722
KH
152722012-03-12 Kenichi Handa <handa@m17n.org>
15273
15274 * international/quail.el (quail-insert-kbd-layout): Surround each
15275 row by LRO and PDF instead of inserting many LRMs. Pad the left
15276 and right of each non-spacing marks. Insert invisible space
15277 between lower and upper characters to prevent composition.
15278
dbbc2e69
SM
152792012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15280
15281 * minibuffer.el (minibuffer-complete): Don't get confused when the
15282 function is run twice via different commands (bug#10958).
15283 (complete-with-action): Fix docstring.
15284
292112ed
CY
152852012-03-12 Chong Yidong <cyd@gnu.org>
15286
5d1ac394
CY
15287 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
15288 (nxml-completion-at-point-function): New function.
15289 (nxml-mode): Use it.
15290 (nxml-bind-meta-tab-to-complete-flag): Default to t.
15291
292112ed
CY
15292 * emacs-lisp/package.el (package-unpack, package-unpack-single):
15293 Load generated autoloads file before byte compiling (Bug#10970).
15294 (package--make-autoloads-and-compile): New helper fun.
15295
4098f8f7
CS
152962012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
15297
15298 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
15299
8f754691
MA
153002012-03-11 Michael Albinus <michael.albinus@gmx.de>
15301
15302 * autorevert.el (auto-revert-handler): Ensure, that
15303 file-readable-p is applied only for local files or in
15304 auto-revert-tail-mode.
15305
e29ab36b
AS
153062012-03-11 Andreas Schwab <schwab@linux-m68k.org>
15307
dbbc2e69
SM
15308 * server.el (server-eval-at): Handle non-tcp connections.
15309 Decode result string.
ad0bf5b6 15310
e29ab36b
AS
15311 * server.el (server-msg-size): New constant.
15312 (server-reply-print): New function.
15313 (server-eval-and-print): Use it.
15314 (server-eval-at): Use server-quote-arg and server-unquote-arg.
15315 Handle -print-nonl.
15316
de5939ba
CS
153172012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
15318
15319 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
15320 (Bug#10987).
15321
0c93eabf
CY
153222012-03-11 Chong Yidong <cyd@gnu.org>
15323
397a688f
CY
15324 * simple.el (goto-line): Doc fix (Bug#9938).
15325
2cc775f9
CY
15326 * subr.el (save-window-excursion): Doc fix (Bug#9979).
15327
0c93eabf
CY
15328 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
15329 when finished (Bug#10963).
15330
c491fa41
MR
153312012-03-11 Martin Rudalics <rudalics@gmx.at>
15332
15333 * window.el (split-window-below): Fix bug in case where
15334 split-window-keep-point is nil (Bug#10971).
15335
300e8fa5
JL
153362012-03-11 Juri Linkov <juri@jurta.org>
15337
15338 * replace.el (replace-highlight): Set isearch-word to nil
15339 unconditionally. (Bug#10887)
15340
dbf6c5a1
EZ
153412012-03-10 Eli Zaretskii <eliz@gnu.org>
15342
15343 * net/mairix.el (mairix-replace-invalid-chars): Rename from
15344 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 15345 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
15346 (mairix-widget-create-query): Add usage information about mairix
15347 search forms: negating words, searching for substrings, etc.
15348
b9e501de
JP
153492012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
15350
15351 * international/fontset.el (font-encoding-alist): Add an entry for
15352 ksx1001 (Bug#5667).
15353
92795c91
RS
153542012-03-10 Richard Stallman <rms@gnu.org>
15355
1694e6c1
RS
15356 * mail/sendmail.el (mail-encode-header):
15357 Set rfc2047-encode-encoded-words.
15358
607e8555
RS
15359 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
15360
de3bc99a
RS
15361 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
15362 view buffer means not swapped.
15363 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
15364 (rmail-write-region-annotate): Error if real text has disappeared.
15365
92795c91
RS
15366 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
15367
699bd04e
CY
153682012-03-10 Chong Yidong <cyd@gnu.org>
15369
15370 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
15371 * emulation/cua-base.el (cua--init-keymaps):
15372 Add delete-forward-char to remappings (Bug#9666).
699bd04e 15373
570a1714
MR
153742012-03-10 Martin Rudalics <rudalics@gmx.at>
15375
dbbc2e69
SM
15376 * speedbar.el (speedbar-unhighlight-one-tag-line):
15377 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 15378
82dcf4e4
CY
153792012-03-10 Chong Yidong <cyd@gnu.org>
15380
7a2c7ca7
CY
15381 * minibuffer.el (completion-in-region, completion-help-at-point):
15382 Give the completion field overlay a high priority (Bug#6830).
15383
82dcf4e4
CY
15384 * dired.el (dired-goto-file): Recognize absolute file name
15385 listings (Bug#7126).
15386 (dired-goto-file-1): New helper function.
15387 (dired-toggle-read-only): Inhibit warnings.
15388
052e28ac
MA
153892012-03-09 Michael Albinus <michael.albinus@gmx.de>
15390
75f1671a 15391 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
15392 there are no properties.
15393
95d5e396
LL
153942012-03-09 Leo Liu <sdl.web@gmail.com>
15395
15396 * savehist.el (savehist-printable): Stricter check for string
15397 value (Bug#10937).
15398
3f018d6d
EZ
153992012-03-09 Eli Zaretskii <eliz@gnu.org>
15400
dbbc2e69
SM
15401 * mail/smtpmail.el (smtpmail-send-it):
15402 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
15403 valid mbox format.
15404
f7fd3d79
GM
154052012-03-09 Glenn Morris <rgm@gnu.org>
15406
15407 * files.el (dir-locals-find-file):
15408 Don't check result is regular, readable.
15409 (dir-locals-read-from-file): Demote errors.
15410
6ff6e72f
EZ
154112012-03-08 Eli Zaretskii <eliz@gnu.org>
15412
dbbc2e69
SM
15413 * international/quail.el (quail-insert-kbd-layout):
15414 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
15415 layout cell, to prevent their reordering by bidi display engine.
15416 For details, see the discussion in
15417 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
15418
9cec7834
AM
154192012-03-08 Alan Mackenzie <acm@muc.de>
15420
15421 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
15422 the starting position; make it extend the marked region when
15423 invoked repeatedly - all under appropriate circumstances.
15424 Fixes bugs #5525, #10906.
15425
9a40b8d4
GM
154262012-03-08 Glenn Morris <rgm@gnu.org>
15427
15428 * files.el (locate-dominating-file, dir-locals-find-file):
15429 Undo 2012-03-06 change.
15430
7a08ed35
EZ
154312012-03-07 Eli Zaretskii <eliz@gnu.org>
15432
dbbc2e69
SM
15433 * international/quail.el (quail-help):
15434 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
15435 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15436 for the reason.
15437
5aca4f71 154382012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
15439
15440 Avoid superfluous registering of signals. (Bug#10807)
15441
15442 * notifications.el (notifications-on-action-object)
15443 (notifications-on-close-object): New defvars.
15444 (notifications-on-action-signal, notifications-on-closed-signal):
15445 Unregister the signal if not needed any longer.
15446 (notifications-notify): Register `notifications-action-signal' or
15447 `notifications-closed-signal', if :on-action or :on-close has been
15448 passed as argument.
15449
78e8b10a
CY
154502012-03-07 Chong Yidong <cyd@gnu.org>
15451
15452 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15453 non-X platforms.
15454
69481eb8
GM
154552012-03-06 Glenn Morris <rgm@gnu.org>
15456
15457 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15458 (x-disown-selection-internal, x-get-selection-internal):
15459 Doc fix (add arglist signatures). (Bug#10783)
15460
133b8e11
KS
154612012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15462
15463 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15464 Handle breakpoints with no "type".
15465
99a83064
GM
154662012-03-06 Glenn Morris <rgm@gnu.org>
15467
15468 * files.el (locate-dominating-file): Add optional predicate argument.
15469 (dir-locals-find-file): Make use of above change.
15470
17798e78
TTN
154712012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
15472
15473 * info.el (Info-insert-dir): Also try "dir.gz".
15474
eb182446
GM
154752012-03-06 Glenn Morris <rgm@gnu.org>
15476
8f2114ee
GM
15477 * files.el (dir-locals-find-file):
15478 Ignore non-readable or non-regular files. (Bug#10928)
15479
eb182446
GM
15480 * files.el (locate-dominating-file): Doc fix.
15481
24679323
AS
154822012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
15483
15484 * calendar/calendar.el (calendar-set-mode-line):
15485 `getenv' returns a string. (Bug#10951)
15486
01d972a9
LL
154872012-03-05 Leo Liu <sdl.web@gmail.com>
15488
109aa8a9
LL
15489 * simple.el (backward-delete-char-untabify): Constrain point to
15490 field (Bug#10939).
15491
01d972a9
LL
15492 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15493
10607bea
CY
154942012-03-05 Chong Yidong <cyd@gnu.org>
15495
15496 * simple.el (count-words): If called from Lisp, return the word
15497 count, for symmetry with `count-lines'. Arglist changed.
15498 (count-words--message): Args changed. Consolidate counting code
15499 from count-words and count-words-region.
15500 (count-words-region): Caller changed.
15501 (count-lines-region): Make it an obsolete alias.
15502
5dd11cfe
TH
155032012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15504
15505 * saveplace.el (save-place-to-alist)
15506 (save-place-ignore-files-regexp): Allow value nil to disable this
15507 feature.
15508
c349f4e6
CY
155092012-03-04 Chong Yidong <cyd@gnu.org>
15510
15511 * faces.el (face-spec-reset-face): For the default face, reset the
15512 attributes to default values (Bug#10748).
15513
e627be4c
LMI
155142012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15515
15516 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15517 previous patch: Check `message-send-mail-function', and not the
15518 default function (bug#10897).
15519
ebeabff4
MA
155202012-03-04 Michael Albinus <michael.albinus@gmx.de>
15521
a41a6cf4
MA
15522 * notifications.el (notifications-on-action-signal)
15523 (notifications-on-closed-signal): Check for unique service name of
15524 incoming event. Fix error in removing entry.
ebeabff4 15525 (top): Register for signals with wildcard service name.
a41a6cf4 15526 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 15527
c1ca42b4
CY
155282012-03-04 Chong Yidong <cyd@gnu.org>
15529
dc9924b8 15530 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 15531
ea16568d
GM
155322012-03-04 Glenn Morris <rgm@gnu.org>
15533
15534 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15535 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15536 (expand-abbrev, define-abbrev-table): Doc fixes.
15537
fbae4637
LMI
155382012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15539
15540 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15541 `message-default-send-mail-function' and not `send-mail-function'
15542 when doing the prompting for `sendmail-query-once' before sending
15543 in Message buffers (bug#10897).
15544
a1e7225c
LMI
15545 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15546 This is inconsistent with all the other stream functions, which leave
15547 the setting up to the higher levels (if so wanted) (bug#10931).
15548
56d093a9
AM
155492012-03-02 Alan Mackenzie <acm@muc.de>
15550
15551 Depessimize the handling of very large macros.
15552
15553 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15554 (c-macro-cache-syntactic): New variables to implement a one
15555 element macro cache.
15556 (c-invalidate-macro-cache): New function.
15557 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15558 Adapt to use the new cache.
15559 (c-state-safe-place): Use better the cache of safe positions.
15560 (c-state-semi-nonlit-pos-cache)
15561 (c-state-semi-nonlit-pos-cache-limit):
15562 New variables for...
15563 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15564 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
15565 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15566 Use c-state-semi-safe-place.
56d093a9 15567
dbbc2e69
SM
15568 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15569 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 15570
817e5c3d
MA
155712012-03-02 Michael Albinus <michael.albinus@gmx.de>
15572
dbbc2e69
SM
15573 * jka-compr.el (jka-compr-call-process):
15574 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
15575 not remote.
15576
a032a702
MA
155772012-03-01 Michael Albinus <michael.albinus@gmx.de>
15578
15579 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15580 access of FILE2, if FILE1 does not exist.
15581
99a54f21
MA
15582 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15583 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15584
15585 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15586 Add "PAGER=" to `process-environment'.
15587
f6561e1f
MM
155882012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15589
15590 * progmodes/sql.el: Bug fix
15591 (sql-get-login-ext): Save login values in globals.
15592 (sql-get-login): Use new version of `sql-get-login-ext'.
15593 (sql-interactive-mode): Set global `sql-connection' to nil.
15594 (sql-connect): Set global values for connection.
15595 (sql-product-interactive): Save global values as buffer local.
15596
2d44d9cc
LL
155972012-02-29 Leo Liu <sdl.web@gmail.com>
15598
15599 * abbrev.el (define-abbrevs): Reset sys to nil.
15600
96b49301 156012012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15602
bf7f9bc5
JB
15603 * files.el (file-equal-p): Rename from `files-equal-p'.
15604 Return nil when one or both files don't exist.
96b49301 15605 (file-subdir-of-p): Now only top directory must exists,
15606 return nil if it doesn't.
bf7f9bc5
JB
15607 (copy-directory): No need to test with `file-subdir-of-p' after
15608 creating dir.
15609 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15610 to `file-equal-p'.
96b49301 15611
44e97401
GM
156122012-02-28 Glenn Morris <rgm@gnu.org>
15613
15614 * shell.el (shell-mode):
15615 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15616 * play/landmark.el (landmark-font-lock-face-O):
15617 * play/handwrite.el (handwrite):
15618 * play/gomoku.el (gomoku-O):
15619 * net/browse-url.el (browse-url-browser-display):
15620 * international/mule.el (define-charset):
15621 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15622 * filesets.el (filesets-find-file-delay):
15623 * eshell/em-xtra.el (eshell-xtra):
15624 * eshell/em-unix.el (eshell-grep):
15625 * emulation/viper.el (viper-mode):
15626 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15627 * emacs-lisp/easymenu.el (easy-menu-define):
15628 * calendar/timeclock.el (timeclock-use-display-time):
15629 * bs.el (bs-mode):
15630 * bookmark.el (bookmark-save-flag):
15631 Doc fix (standardize possessive apostrophe usage).
15632
c98c6276
CY
156332012-02-27 Chong Yidong <cyd@gnu.org>
15634
bf7f9bc5
JB
15635 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15636 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 15637
c98c6276
CY
15638 * font-lock.el (font-lock-specified-p): Rename from
15639 font-lock-spec-present. Callers changed.
15640
9c62cd04 156412012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 15642
bf7f9bc5
JB
15643 * emacs-lisp/package.el (package-compute-transaction):
15644 Handle holding a package version to t in package-load-list.
8ac9e529 15645
530739c9
MA
156462012-02-26 Michael Albinus <michael.albinus@gmx.de>
15647
15648 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15649 (tramp-get-inode, tramp-get-device): Use cached values.
15650
487915d7
AM
156512012-02-26 Alan Mackenzie <acm@muc.de>
15652
15653 Check there is a font-lock specification before doing initial
15654 fontification.
15655
15656 * font-core.el (font-lock-mode): Move the conditional from
15657 :after-hook to font-lock-initial-fontify.
15658 (font-lock-default-function): Move the check for a specification
15659 to font-lock-spec-present.
15660
dc9924b8 15661 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
15662 (font-lock-spec-present): New function.
15663
4fd96557
JB
156642012-02-26 Jim Blandy <jimb@red-bean.com>
15665
15666 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15667 (gdb-send): Apply it to the operand of the '-interpreter-exec
15668 console' command, so that we can pass arguments with (say) quotes
15669 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15670
9a4888c0
CY
156712012-02-26 Chong Yidong <cyd@gnu.org>
15672
07498861
CY
15673 * help-fns.el (describe-function-1): Clarify description of
15674 remapping (Bug#10844).
15675
9a4888c0
CY
15676 * files.el (files-equal-p): Doc fix.
15677 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15678 and quit the loop once a mismatch is found.
15679
ea8fb88d
JB
156802012-02-25 Juanma Barranquero <lekktu@gmail.com>
15681
15682 * bs.el (bs--show-with-configuration): Don't throw an error
15683 if the window cannot be split; otherwise, subsequent calls to
15684 bs-show fail, restoring a stale window config. (Bug#10882)
15685
525795c1
JD
156862012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15687
15688 * term/ns-win.el (global-map): Bind ns-drag-file to
15689 ns-find-file (Bug#5855, Bug#10050).
15690
f008086f
AS
156912012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15692
15693 * calendar/parse-time.el (parse-time-string): Allow extractor to
15694 return nil.
15695
a3fcfa99
MA
156962012-02-25 Michael Albinus <michael.albinus@gmx.de>
15697
91027d08
JB
15698 * net/tramp.el (tramp-file-name-for-operation):
15699 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
15700
15701 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
15702 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15703 Add COPY-CONTENTS argument.
a3fcfa99 15704
67b0de11
CY
157052012-02-25 Chong Yidong <cyd@gnu.org>
15706
15707 Add custom groups for VC backends, for consistency with vc-bzr.
15708
15709 * vc/vc-arch.el (vc-arch):
15710 * vc/vc-cvs.el (vc-cvs):
15711 * vc/vc-git.el (vc-git):
15712 * vc/vc-hg.el (vc-hg):
15713 * vc/vc-mtn.el (vc-mtn):
15714 * vc/vc-rcs.el (vc-rcs):
15715 * vc/vc-sccs.el (vc-sccs):
15716 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15717 All relevant defcustoms reassigned.
15718
3c9dfce6
CY
157192012-02-25 Chong Yidong <cyd@gnu.org>
15720
1339bf43
CY
15721 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15722
3c9dfce6
CY
15723 * term/x-win.el (x-initialize-window-system): Reduce default for
15724 x-selection-timeout to 5 seconds (Bug#8869).
15725
25b2e303 157262012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15727
ec70a47d
GM
15728 * files.el (files-equal-p, file-subdir-of-p): New functions.
15729 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 15730 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
15731 * dired-aux.el (dired-copy-file-recursive): Same.
15732 (dired-create-files): Modify destination when source is equal to
15733 dest when copying files.
53a46cd0 15734 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 15735
914260cd
MA
157362012-02-24 Michael Albinus <michael.albinus@gmx.de>
15737
15738 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15739 (Bug#10874)
15740
2cb228f7
AM
157412012-02-23 Alan Mackenzie <acm@muc.de>
15742
15743 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15744 parameter "after-hook:" to allow the expansion to run code after
15745 the execution of the mode hooks.
15746
15747 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 15748 from font-lock-mode-internal.
2cb228f7 15749
91027d08 15750 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
15751 :after-hook.
15752
8f0fde21
SM
157532012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15754
3e88618b
SM
15755 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15756 (completion--cache-all-sorted-completions): New function.
15757 (completion-all-sorted-completions): Use it.
15758 (completion--do-completion, minibuffer-force-complete):
15759 Use it to re-instate the flush hook.
15760
8f0fde21
SM
15761 * icomplete.el (icomplete-completions): Replace last fix with a better
15762 one (bug#10850).
15763
8e911f6f
DG
157642012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15765
15766 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15767 when it might call us back infinitely (bug#10797).
15768
49fe4321
GM
157692012-02-23 Glenn Morris <rgm@gnu.org>
15770
15771 * minibuffer.el (completion-category-overrides): Doc fix.
15772
b291b572
SM
157732012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15774
15775 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15776 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15777
31a9ef2e
GM
157782012-02-23 Glenn Morris <rgm@gnu.org>
15779
5e6e6794 15780 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
15781 (authors-obsolete-files-regexps, authors-ignored-files)
15782 (authors-ambiguous-files, authors-renamed-files-alist):
15783 Add more entries.
15784
0bd1e074
JL
157852012-02-23 Juri Linkov <juri@jurta.org>
15786
15787 * isearch.el (isearch-occur): Sync interactive spec with occur's
15788 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15789
b617673c
JL
15790 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15791
19e9789e
JL
157922012-02-22 Juri Linkov <juri@jurta.org>
15793
15794 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15795 (ucs-insert): Doc fix. Check for hex digits in the string.
15796 Don't display `nil' in the error message. (Bug#10857)
15797
f41ce09d
AM
157982012-02-22 Alan Mackenzie <acm@muc.de>
15799
7a71b18d 15800 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 15801
ac2eceee
GM
158022012-02-22 Glenn Morris <rgm@gnu.org>
15803
15804 * ffap.el (ffap-c-path):
15805 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15806
abd1f678
CY
158072012-02-22 Chong Yidong <cyd@gnu.org>
15808
15809 * custom.el (load-theme): Doc fix.
15810
f25aef2e
GM
158112012-02-22 Glenn Morris <rgm@gnu.org>
15812
15813 * dired-x.el (dired-guess-shell-alist-default):
15814 Remove escape sequences from nroff output. (Bug#172)
15815
5f8dc2ca
GM
158162012-02-21 Glenn Morris <rgm@gnu.org>
15817
6ff86ec4
GM
15818 * vc/emerge.el (emerge-defvar-local):
15819 Set `permanent-local' property rather than unused `preserved'.
15820
be3223a3 15821 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
15822 (picture-mode-map): Use it. (Bug#10860)
15823 (picture-mode): Doc fix.
15824
3fe58f4f
JB
158252012-02-21 Juanma Barranquero <lekktu@gmail.com>
15826
15827 * newcomment.el (uncomment-region-default): Remove unused binding.
15828
f9a998c3
GM
158292012-02-21 Glenn Morris <rgm@gnu.org>
15830
15831 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15832 (picture-self-insert, picture-tab-chars): Doc fix.
15833 (picture-mode-map): Fix C-a, C-e.
15834
c6029348
GM
158352012-02-20 Glenn Morris <rgm@gnu.org>
15836
15837 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15838
ab1ce9d7
LL
158392012-02-20 Leo Liu <sdl.web@gmail.com>
15840
15841 * icomplete.el (icomplete-completions): Check FROM arg before
15842 passing to substring (Bug#10850).
15843
0fd40f89
CY
158442012-02-19 Chong Yidong <cyd@gnu.org>
15845
15846 * comint.el: Require ansi-color.
15847 (comint-output-filter-functions): Add ansi-color-process-output.
15848
15849 * ansi-color.el: Don't set comint-output-filter-functions; it is
15850 now in the initial value defined in comint.el.
15851 (ansi-color-apply-face-function): New variable.
15852 (ansi-color-apply-on-region): Use it.
15853 (ansi-color-apply-overlay-face): New function.
15854
15855 * shell.el (shell): No need to require ansi-color.
15856 (shell-mode): Use ansi-color-apply-face-function to highlight
15857 color escapes using font-lock-face property (Bug#10835).
15858
20af2394
CY
158592012-02-19 Chong Yidong <cyd@gnu.org>
15860
15861 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15862 mode-line formats (Bug#10839).
15863
e23a3fbe
GM
158642012-02-18 Glenn Morris <rgm@gnu.org>
15865
b474519e
GM
15866 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15867
15868 * mail/undigest.el (unforward-rmail-message): Doc fix.
15869
e23a3fbe
GM
15870 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15871
57939ff4
EZ
158722012-02-18 Eli Zaretskii <eliz@gnu.org>
15873
15874 * international/characters.el (script-list): Sync with the latest
15875 Unicode Character Database.
15876
0c23686e
AS
158772012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15878
15879 * international/titdic-cnv.el: Remove duplicate coding tag.
15880 * language/cham.el: Likewise.
15881 * language/tai-viet.el: Likewise.
15882
6818b449
GM
158832012-02-18 Glenn Morris <rgm@gnu.org>
15884
15885 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15886 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15887 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15888 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15889 * calendar/holidays.el (holiday-bahai-holidays)
15890 (calendar-holidays, list-holidays):
15891 Use utf-8 Bahá'í in doc-strings, menus, etc.
15892
0311a3fc
TH
158932012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15894
15895 * saveplace.el (save-place-ignore-files-regexp): New variable
15896 allowing for excluding files from saving their location of point.
15897 The default value matches the temporary commit message editing
15898 files from Git, SVN, Bazaar, and Mercurial.
15899 (save-place-to-alist): Use it.
15900
d209e2fb 159012012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 15902 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
15903
15904 * newcomment.el (uncomment-region-default): Don't leave extra space
15905 when an arg is provided (bug#8150).
15906
ee0ce425
TZ
159072012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15908
eb864a71 15909 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 15910
95ddf442
GM
159112012-02-17 Glenn Morris <rgm@gnu.org>
15912
15913 * net/socks.el: Require network-stream. (Bug#10599)
15914
48dd1e39 159152012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
15916
15917 * international/charprop.el:
15918 * international/uni-name.el:
15919 * international/uni-old-name.el:
15920 * international/uni-comment.el: Regenerate.
15921
d68cd087
GM
159222012-02-16 Glenn Morris <rgm@gnu.org>
15923
15924 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15925 Interactively in calendar buffer, give an error if not on a date.
15926
13932042
GM
159272012-02-15 Glenn Morris <rgm@gnu.org>
15928
15929 * shell.el (shell-delimiter-argument-list):
15930 Revert 2011-02-17 change. (Bug#8027)
15931
c3a70e2b
CY
159322012-02-15 Chong Yidong <cyd@gnu.org>
15933
60236b0d
CY
15934 * minibuffer.el (completion-at-point-functions): Doc fix.
15935
c3a70e2b
CY
15936 * custom.el (defcustom): Doc fix; note use of defvar.
15937
9f26dc24
GM
159382012-02-15 Glenn Morris <rgm@gnu.org>
15939
15940 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15941 Doc fixes.
15942
6546b134
GM
159432012-02-14 Glenn Morris <rgm@gnu.org>
15944
15945 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15946
d29b2b4c
LI
159472012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15948
15949 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15950 way the ports list is computed.
835bdcba
LI
15951 (smtpmail-query-smtp-server): Prompt the user for a port number if
15952 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 15953
08dcdbc9
TZ
159542012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15955
15956 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15957
2605051a
GM
159582012-02-13 Glenn Morris <rgm@gnu.org>
15959
15960 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15961
7ee99f32
TZ
159622012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15963
15964 * net/gnutls.el (gnutls-trustfiles): New variable.
15965 (gnutls-negotiate): Use it.
15966
5f0af64f
LI
159672012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15968
15969 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15970 does its stuff if Gnus is running.
15971
c14fcc95
AM
159722012-02-13 Alan Mackenzie <acm@muc.de>
15973
15974 Fix a loop in c-set-fl-decl-start.
15975
7a71b18d 15976 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
15977 c-backward-syntactic-ws actually moves backwards.
15978
142b4d90
LL
159792012-02-13 Leo Liu <sdl.web@gmail.com>
15980
15981 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15982 beginning so that all \C-o chars are removed.
15983
fa9958a6
TZ
159842012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15985
dc9924b8 15986 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 15987
0bc5886a
AM
159882012-02-12 Alan Mackenzie <acm@muc.de>
15989
15990 Fix infinite loop with long macros.
4d6769e1 15991 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 15992
d4bd55e7
CY
159932012-02-12 Chong Yidong <cyd@gnu.org>
15994
15995 * window.el (display-buffer): Doc fix (Bug#10785).
15996
66f3fe22
GM
159972012-02-12 Glenn Morris <rgm@gnu.org>
15998
bd7da63e
GM
15999 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16000 (x-disown-selection-internal, x-get-selection-internal):
16001 Sync docs with the xselect.c versions.
16002
66f3fe22
GM
16003 * allout-widgets.el: Add missing license notice.
16004
3e0d2fa7
GM
160052012-02-11 Glenn Morris <rgm@gnu.org>
16006
cfecdf09
GM
16007 * select.el (x-get-selection-internal, x-own-selection-internal)
16008 (x-disown-selection-internal):
16009 * x-dnd.el (x-get-selection-internal): Update declarations.
16010
6d216d7f
GM
16011 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16012
2bed3f04
GM
16013 * window.el (window-sides-slots):
16014 * tool-bar.el (tool-bar-position):
16015 * term/xterm.el (xterm-extra-capabilities):
16016 * ses.el (ses-self-reference-early-detection):
16017 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16018 (verilog-auto-wire-type)
16019 (verilog-auto-delete-trailing-whitespace)
16020 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16021 (verilog-auto-tieoff-declaration):
16022 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16023 (sql-oracle-statement-starters, sql-oracle-scan-on):
16024 * progmodes/prolog.el (prolog-align-comments-flag)
16025 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16026 (prolog-left-indent-regexp, prolog-paren-indent-p)
16027 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16028 (prolog-types, prolog-mode-specificators)
16029 (prolog-determinism-specificators, prolog-directives)
16030 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16031 (prolog-electric-dot-flag)
16032 (prolog-electric-dot-full-predicate-template)
16033 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16034 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16035 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16036 (prolog-program-switches, prolog-prompt-regexp)
16037 (prolog-debug-on-string, prolog-debug-off-string)
16038 (prolog-trace-on-string, prolog-trace-off-string)
16039 (prolog-zip-on-string, prolog-zip-off-string)
16040 (prolog-use-standard-consult-compile-method-flag)
16041 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16042 (prolog-imenu-max-lines, prolog-info-predicate-index)
16043 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16044 (prolog-char-quote-workaround):
16045 * progmodes/cc-vars.el (c-defun-tactic):
16046 * net/tramp.el (tramp-encoding-command-interactive)
16047 (tramp-local-end-of-line):
16048 * net/soap-client.el (soap-client):
16049 * net/netrc.el (netrc-file):
16050 * net/gnutls.el (gnutls):
16051 * minibuffer.el (completion-category-overrides)
16052 (completion-cycle-threshold)
16053 (completion-pcm-complete-word-inserts-delimiters):
16054 * man.el (Man-name-local-regexp):
16055 * mail/feedmail.el (feedmail-display-full-frame):
16056 * international/characters.el (glyphless-char-display-control):
16057 * eshell/em-ls.el (eshell-ls-date-format):
16058 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16059 (lisp-lambda-list-keyword-parameter-indentation)
16060 (lisp-lambda-list-keyword-parameter-alignment):
16061 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16062 * dired-x.el (dired-omit-verbose):
16063 * cus-theme.el (custom-theme-allow-multiple-selections):
16064 * calc/calc.el (calc-highlight-selections-with-faces)
16065 (calc-lu-field-reference, calc-lu-power-reference)
16066 (calc-note-threshold):
16067 * battery.el (battery-mode-line-limit):
16068 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16069 (archive-7z-update):
16070 * allout.el (allout-prefixed-keybindings)
16071 (allout-unprefixed-keybindings)
16072 (allout-inhibit-auto-fill-on-headline)
16073 (allout-flattened-numbering-abbreviation):
16074 * allout-widgets.el (allout-widgets-auto-activation)
16075 (allout-widgets-icons-dark-subdir)
16076 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16077 (allout-widgets-theme-dark-background)
16078 (allout-widgets-theme-light-background)
16079 (allout-widgets-item-image-properties-emacs)
16080 (allout-widgets-item-image-properties-xemacs)
16081 (allout-widgets-run-unit-tests-on-load)
16082 (allout-widgets-time-decoration-activity)
16083 (allout-widgets-hook-error-post-time)
16084 (allout-widgets-track-decoration):
16085 Add missing :version tags to new defcustoms and defgroups.
16086
5fec1b8e
GM
16087 * progmodes/sql.el (sql-ansi-statement-starters)
16088 (sql-oracle-statement-starters): Add custom type.
16089
3e0d2fa7
GM
16090 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16091 (prolog-system-version): Give it a type.
16092
90b671e2
EZ
160932012-02-11 Eli Zaretskii <eliz@gnu.org>
16094
16095 * term/pc-win.el (x-select-text, x-selection-owner-p)
16096 (x-own-selection-internal, x-disown-selection-internal)
16097 (x-get-selection-internal): Sync doc strings and argument lists
16098 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16099
5eac0c02
LL
161002012-02-11 Leo Liu <sdl.web@gmail.com>
16101
16102 * progmodes/python.el (python-end-of-statement): Fix infinite
16103 loop. (Bug#10788)
16104
f82cb659
GM
161052012-02-10 Glenn Morris <rgm@gnu.org>
16106
16107 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16108 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16109
cc26d239
LI
161102012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16111
16112 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16113 about SMTP before checking the From header.
16114
91027d08 16115 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
16116 into own function for reuse by emacsbug.el.
16117
1be3ca5a
LL
161182012-02-10 Leo Liu <sdl.web@gmail.com>
16119
16120 * subr.el (condition-case-unless-debug): Rename from
16121 condition-case-no-debug. All callers changed.
16122 (with-demoted-errors): Fix caller.
16123
16124 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16125 * nxml/rng-valid.el (rng-do-some-validation):
16126 * emacs-lisp/package.el (package-refresh-contents)
16127 (package-menu-execute):
16128 * desktop.el (desktop-create-buffer):
91027d08 16129 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 16130
b011fbfe
GM
161312012-02-10 Glenn Morris <rgm@gnu.org>
16132
b2096d72
GM
16133 * textmodes/bibtex.el:
16134 Add missing :version tags for new/changed defcustoms.
16135
b011fbfe
GM
16136 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16137
4c7e65bf
LI
161382012-02-09 Lars Ingebrigtsen <larsi@rusty>
16139
16140 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16141 (smtpmail-via-smtp): Use it, or fall back on the From address.
16142 (smtpmail-send-it): Ditto.
16143
f3934f6f
SM
161442012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16145
16146 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16147 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16148 (byte-compile-tmp-var): New const.
16149 (byte-compile-defvar): Use it to minimize .elc size.
16150 Just use `defvar' rather than simulate it (bug#10761).
16151
a075a2c5
GM
161522012-02-09 Glenn Morris <rgm@gnu.org>
16153
cf3aa21b
GM
16154 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16155
354998cd
GM
16156 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16157 Add :version tags.
16158
dc9924b8
SM
16159 * progmodes/compile.el (compilation-error-screen-columns)
16160 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 16161
dab3703d
GM
16162 * vc/log-view.el (log-view-toggle-entry-display):
16163 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16164
3f88cd72
GM
16165 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16166 (report-emacs-bug-can-use-xdg-email):
16167 (report-emacs-bug-insert-to-mailer): Doc fixes.
16168 (report-emacs-bug): Message fix.
16169
d95b247d
GM
16170 * net/browse-url.el (browse-url-can-use-xdg-open)
16171 (browse-url-xdg-open): Doc fixes.
16172
a075a2c5
GM
16173 * electric.el (electric-indent-mode, electric-pair-mode)
16174 (electric-layout-rules, electric-layout-mode): Doc fixes.
16175 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16176
ffb6157e
MR
161772012-02-08 Martin Rudalics <rudalics@gmx.at>
16178
16179 * server.el (server-unselect-display): Don't inadvertently kill
16180 the current buffer. (Bug#10729)
16181
e1ac4066
GM
161822012-02-08 Glenn Morris <rgm@gnu.org>
16183
34e8a2da
GM
16184 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16185 (sql-list-table): Doc fixes.
16186
b4ac6e8c
GM
16187 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
16188 Comment out (does nothing).
16189
e1ac4066
GM
16190 * completion.el (dynamic-completion-mode):
16191 * dirtrack.el (dirtrack-debug-mode):
16192 * electric.el (electric-layout-mode):
16193 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
16194 * face-remap.el (text-scale-mode, buffer-face-mode):
16195 * iimage.el (iimage-mode):
16196 * image-mode.el (image-transform-mode):
16197 * minibuffer.el (completion-in-region-mode):
16198 * scroll-lock.el (scroll-lock-mode):
16199 * simple.el (next-error-follow-minor-mode):
16200 * tar-mode.el (tar-subfile-mode):
16201 * tooltip.el (tooltip-mode):
16202 * vcursor.el (vcursor-use-vcursor-map):
16203 * wid-browse.el (widget-minor-mode):
16204 * emulation/tpu-edt.el (tpu-edt-mode):
16205 * emulation/tpu-extras.el (tpu-cursor-free-mode):
16206 * international/iso-ascii.el (iso-ascii-mode):
16207 * language/thai-util.el (thai-word-mode):
16208 * mail/supercite.el (sc-minor-mode):
16209 * net/goto-addr.el (goto-address-mode):
16210 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
16211 * progmodes/cwarn.el (cwarn-mode):
16212 * progmodes/flymake.el (flymake-mode):
16213 * progmodes/glasses.el (glasses-mode):
16214 * progmodes/hideshow.el (hs-minor-mode):
16215 * progmodes/pascal.el (pascal-outline-mode):
16216 * textmodes/enriched.el (enriched-mode):
16217 * vc/smerge-mode.el (smerge-mode):
16218 Doc fixes (minor mode argument).
16219
5e0d957f
EZ
162202012-02-07 Eli Zaretskii <eliz@gnu.org>
16221
16222 * ls-lisp.el (ls-lisp-sanitize): New function.
16223 (ls-lisp-insert-directory): Use it to fix or remove any elements
16224 in file-alist with missing attributes. (Bug#4673)
16225
98d7371e
AM
162262012-02-07 Alan Mackenzie <acm@muc.de>
16227
16228 Fix spurious recognition of c-in-knr-argdecl.
16229
16230 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
16231 putative K&R region.
16232
667ced3a
AM
162332012-02-07 Alan Mackenzie <acm@muc.de>
16234
eb864a71
LM
16235 * progmodes/cc-engine.el (c-forward-objc-directive):
16236 Prevent looping in "#pragma mark @implementation".
667ced3a 16237
5b77774d
MA
162382012-02-07 Michael Albinus <michael.albinus@gmx.de>
16239
16240 * notifications.el (notifications-on-closed-signal): Make `reason'
16241 optional. (Bug#10744)
16242
af008560
GM
162432012-02-07 Glenn Morris <rgm@gnu.org>
16244
60d47423
GM
16245 * emacs-lisp/easy-mmode.el (define-minor-mode):
16246 Doc fixes for the macro and the mode it defines.
16247
dd605cc4
GM
16248 * image.el (imagemagick-types-inhibit): Doc fix.
16249
af008560
GM
16250 * cus-start.el (imagemagick-render-type): Add it.
16251
5cc59a37
LI
162522012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
16253
4d6769e1
JB
16254 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
16255 Set the default at load time, too, so that `font-lock-fontify-buffer'
16256 can be called without setting up the entire mode first. This fixes
16257 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 16258
9a6dd747
CY
162592012-02-06 Chong Yidong <cyd@gnu.org>
16260
2d16b285
CY
16261 * simple.el (list-processes--refresh): Delete exited processes
16262 (Bug#8094).
16263
171e9b6e
CY
16264 * comint.el (comint-next-prompt): next-single-char-property-change
16265 and prev-single-char-property-change never return nil (Bug#8657).
16266
9a6dd747
CY
16267 * custom.el (defcustom): Doc fix (Bug#9711).
16268
aa4589a7
CY
162692012-02-05 Chong Yidong <cyd@gnu.org>
16270
5c2a252f
CY
16271 * cus-edit.el (custom-variable-reset-backup): Quote the value
16272 before storing it in the customized-value property (Bug#6712).
4aab9006 16273 (custom-display): Add a customization type tag.
983b9602 16274 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 16275
aa4589a7
CY
16276 * wid-edit.el (widget-field-value-get): New optional arg to
16277 suppress trailing whitespace truncation.
16278 (character): Use it (Bug#2689).
16279
1ff980ae
AS
162802012-02-05 Andreas Schwab <schwab@linux-m68k.org>
16281
16282 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
16283 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
16284
03988c98
CY
162852012-02-05 Chong Yidong <cyd@gnu.org>
16286
eeb6cc88
CY
16287 * cus-edit.el (custom-variable-value-create): For mismatched
16288 types, show the current value (Bug#7600).
16289
03988c98
CY
16290 * custom.el (defcustom): Doc fix.
16291
f8cdeef0
GM
162922012-02-05 Glenn Morris <rgm@gnu.org>
16293
16294 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
16295
0696d255
JB
162962012-02-05 Juanma Barranquero <lekktu@gmail.com>
16297
16298 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
16299 (pp-buffer): Use `ignore-errors', `looking-at-p'.
16300 (pp-last-sexp): Use `looking-at-p'.
16301
34c99998
GM
163022012-02-04 Glenn Morris <rgm@gnu.org>
16303
8f05da42
GM
16304 * files.el (revert-buffer):
16305 Doc fix (mention revert-buffer-in-progress-p).
16306
f160676e
GM
16307 * emacs-lisp/ert-x.el (ert-simulate-command):
16308 Check deferred-action-list (which is obsolete) is bound.
16309
c7291ad9
GM
16310 * subr.el (with-wrapper-hook): Doc fixes.
16311
34c99998
GM
16312 * simple.el (filter-buffer-substring-functions)
16313 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
16314
6283a7d3
LL
163152012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
16316
16317 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
16318 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
16319
e96e3013
LL
163202012-02-04 Leo Liu <sdl.web@gmail.com>
16321
16322 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
16323
8ded50f2
GM
163242012-02-04 Glenn Morris <rgm@gnu.org>
16325
82ff1d13
GM
16326 * image.el (image-extension-data): Add obsolete alias.
16327
987a0a16
GM
16328 * isearch.el (isearch-update): Doc fix.
16329
ea32ef46
GM
16330 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
16331
8ded50f2
GM
16332 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
16333
eea14f31
GM
163342012-02-03 Glenn Morris <rgm@gnu.org>
16335
16336 * image.el (image-animated-p): Doc fix. Use image-animated-types.
16337 (image-animate-timeout): Doc fix.
16338
16339 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
16340
12f381b7
GM
163412012-02-02 Glenn Morris <rgm@gnu.org>
16342
953cebf5
GM
16343 * server.el (server-auth-dir): Doc fix.
16344 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
16345
12f381b7
GM
16346 * subr.el (run-mode-hooks): Doc fix.
16347
953a8c3b
JL
163482012-02-02 Juri Linkov <juri@jurta.org>
16349
16350 * image-mode.el (image-toggle-display-image): Remove tautological
16351 `major-mode' from the `derived-mode-p' test.
16352
c5d3843c
KH
163532012-02-02 Kenichi Handa <handa@m17n.org>
16354
9f6e692e 16355 * composite.el (compose-region): Cancel previous change.
c5d3843c 16356
159462d4 163572012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
16358
16359 * composite.el (compose-region, compose-string): Signal error for
16360 a null string component (Bug#6988).
16361
9f562668
CY
163622012-02-01 Chong Yidong <cyd@gnu.org>
16363
e2cef717
CY
16364 * view.el (view-buffer-other-window, view-buffer-other-frame):
16365 Handle special modes like view-buffer (Bug#10650).
16366 (view-buffer): Simplify.
16367
9f562668
CY
16368 * frame.el (set-frame-font): Tweak meaning of third argument.
16369
9f6e692e
JB
16370 * dynamic-setting.el (font-setting-change-default-font):
16371 Use set-frame-font (Bug#9982).
9f562668 16372
781acb9f
GM
163732012-02-01 Glenn Morris <rgm@gnu.org>
16374
6035be52
GM
16375 * progmodes/compile.el (compilation-internal-error-properties):
16376 Respect compilation-first-column in the "*compilation*" buffer.
16377
781acb9f
GM
16378 * emacs-lisp/easy-mmode.el (define-minor-mode):
16379 Relax :variable's test for a named function.
16380
abbceb00
AM
163812012-01-31 Alan Mackenzie <acm@muc.de>
16382
16383 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
16384 off by one error.
16385
fce3fdeb
CY
163862012-01-31 Chong Yidong <cyd@gnu.org>
16387
16388 * frame.el (set-frame-font): New arg ALL-FRAMES.
16389
16390 * menu-bar.el (menu-set-font): Use set-frame-font.
16391
16392 * faces.el (face-spec-reset-face): Don't apply unspecified
16393 attribute values to the default face.
16394
47893581
JB
163952012-01-31 Juanma Barranquero <lekktu@gmail.com>
16396
16397 * progmodes/cwarn.el (cwarn): Remove dead link.
16398 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
16399 Remove * from defcustom docstrings.
16400 (turn-on-cwarn-mode): Make obsolete.
16401 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
16402 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
16403
e58e988a
GM
164042012-01-31 Glenn Morris <rgm@gnu.org>
16405
60dc2671 16406 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 16407 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 16408 Allow named functions to be used as the cdr of :variable.
e58e988a 16409
7a3f511d
GM
164102012-01-30 Glenn Morris <rgm@gnu.org>
16411
16412 * emacs-lisp/authors.el (authors-fixed-entries):
16413 Remove reference to deleted file rnewspost.el.
16414
cb882333
JB
164152012-01-29 Juanma Barranquero <lekktu@gmail.com>
16416
16417 * window.el (window-with-parameter): Remove unused variable `windows'.
16418 (window--side-check): Remove unused variable `code'.
16419 (window--resize-siblings): Remove unused variable `first'.
16420 (adjust-window-trailing-edge): Remove unused variable `failed'.
16421 (window-deletable-p, window--delete): Remove unused variable `buffer'.
16422 Use `let', not `let*'.
16423 (balance-windows-2): Remove unused variable `found'.
16424 (window--state-put-2): Remove unused variable `splits'.
16425 (window-state-put): Remove unused variable `selected'.
16426 (same-window-p): Use `string-match-p'.
16427 (display-buffer-assq-regexp): Remove unused variable `value'.
16428 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16429 Mark argument ALIST as ignored.
16430 (pop-to-buffer): Remove unused variable `old-window'.
16431
907201af
EZ
164322012-01-29 Eli Zaretskii <eliz@gnu.org>
16433
16434 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16435 and .lzma compressed files.
16436
ea162670
CY
164372012-01-29 Chong Yidong <cyd@gnu.org>
16438
5b95ee8a
CY
16439 * frame.el (window-system-default-frame-alist): Doc fix.
16440
ea162670
CY
16441 * dynamic-setting.el (font-setting-change-default-font): Don't
16442 change the default face if SET-FONT argument is non-nil (Bug#9982).
16443
6fccd6e8 164442012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
16445
16446 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16447
0f29fa41 164482012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
16449
16450 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16451 breakpoints in files outside current directory (Bug#6098).
16452
db174434
CY
164532012-01-29 Chong Yidong <cyd@gnu.org>
16454
6b25e4e2
SE
16455 * progmodes/python.el: Require ansi-color at top-level.
16456
6df6ae42
JB
16457 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16458 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
16459 (lisp-mode-abbrev-table): Add doc.
16460 (lisp-mode-variables): Don't set local-abbrev-table.
16461 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16462
e70ee681
RW
164632012-01-28 Roland Winkler <winkler@gnu.org>
16464
16465 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16466
ace88aa2
RW
164672012-01-28 Roland Winkler <winkler@gnu.org>
16468
16469 * textmodes/bibtex.el (bibtex-entry-alist): New function.
16470 (bibtex-set-dialect): Use it. Either set global values of
16471 dialect-dependent variables or bind these variables buffer-locally
16472 (Bug#10254).
16473 (bibtex-mode): Call bibtex-set-dialect via
16474 hack-local-variables-hook.
eb864a71
LM
16475 (bibtex-dialect): Update docstring.
16476 Add safe-local-variable predicate.
ace88aa2
RW
16477 (bibtex-entry-alist, bibtex-field-alist): Initialize via
16478 bibtex-set-dialect.
16479 (bibtex-mode-map): Define menu for each dialect.
16480 (bibtex-entry): Fix docstring.
16481
93376c5b
CY
164822012-01-28 Chong Yidong <cyd@gnu.org>
16483
16484 * eshell/esh-arg.el (eshell-quote-argument): New function.
16485
16486 * eshell/esh-ext.el (eshell-invoke-batch-file):
16487 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16488 first arg to eshell-parse-command (Bug#10523).
16489
4372494f
DA
164902012-01-28 Drew Adams <drew.adams@oracle.com>
16491
16492 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16493 `default-directory' is non-nil.
16494
4d4ec1f8
EZ
164952012-01-28 Eli Zaretskii <eliz@gnu.org>
16496
16497 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16498 line that displays system-configuration-options. (Bug#9924)
16499
7c188927
DA
165002012-01-28 Drew Adams <drew.adams@oracle.com>
16501
16502 * descr-text.el (describe-char): Show information about POS, in
16503 addition to information about the character at POS. Improve and
16504 update the doc string. Change "code point" to "code point in
16505 charset", to avoid confusion with the character's Unicode code
16506 point shown above that. (Bug#10129)
16507
e0da685a
EZ
165082012-01-28 Eli Zaretskii <eliz@gnu.org>
16509
16510 * descr-text.el (describe-char): Show the raw character, not only
16511 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16512 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16513 for the reasons.
16514
70550acf
PH
165152012-01-28 Phil Hagelberg <phil@hagelb.org>
16516
eb864a71
LM
16517 * emacs-lisp/package.el (package-install):
16518 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 16519
0ce8e868
CY
165202012-01-28 Chong Yidong <cyd@gnu.org>
16521
cb882333
JB
16522 * emacs-lisp/package.el (package-maybe-load-descriptor):
16523 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
16524 (package-maybe-load-descriptor): Use it.
16525 (package-download-transaction): Fully load required packages
16526 inside the loop, so that `require' calls work (Bug#10593).
16527 (package-install): No need to call package-initialize now.
16528
2e7f3bea
CY
165292012-01-28 Chong Yidong <cyd@gnu.org>
16530
6e9bad14
CY
16531 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16532
f823b8ca
CY
16533 * tooltip.el (tooltip-mode): Doc fix.
16534 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16535
2680c309
CY
16536 * frame.el (set-cursor-color): Doc fix (Bug#352).
16537
d7a9e63b
CY
16538 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16539 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16540
2e7f3bea
CY
16541 * cus-edit.el (custom-buffer-create-internal): Fix search button
16542 action (Bug#10542).
2ae01800 16543 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 16544
fc4f7a23
EW
165452012-01-27 Eduard Wiebe <usenet@pusto.de>
16546
16547 * dired.el (dired-mark-files-regexp):
16548 Include any subdirectory components. (Bug#10445)
16549
7dd37071
ML
165502012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16551
16552 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16553 Handle [host]:port syntax. (Bug#10533)
16554
a268160b
AH
165552012-01-27 Alex Harsanyi <harsanyi@mac.com>
16556
16557 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16558
e43273ef
GM
165592012-01-26 Glenn Morris <rgm@gnu.org>
16560
16561 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16562 * term.el (term-raw-escape-map): Use Control-X-prefix.
16563 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16564
1edf595d
MR
165652012-01-25 Martin Rudalics <rudalics@gmx.at>
16566
16567 * window.el (window-state-get, window--state-get-1): Don't deal
16568 with fixed-sizeness of windows. Simplify code.
16569
fa8eafef
JC
165702012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16571
6df6ae42
JB
16572 * window.el (window--state-get-1, window--state-put-2):
16573 Don't save and restore the mark.
fa8eafef 16574
0b21c100
CY
165752012-01-25 Chong Yidong <cyd@gnu.org>
16576
16577 * custom.el (custom-variable-p): Doc fix.
16578
5ae1a6c8
GM
165792012-01-25 Glenn Morris <rgm@gnu.org>
16580
40047858
GM
16581 * dired.el (dired-goto-file): Handle some of the more common
16582 characters that `ls -b' escapes. (Bug#10596)
16583
5ddce96c
GM
16584 * progmodes/compile.el (compilation-next-error-function):
16585 Respect compilation-first-column in the "*compilation*" buffer.
16586 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16587
5ae1a6c8
GM
16588 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16589
b559f1a9
GM
165902012-01-24 Glenn Morris <rgm@gnu.org>
16591
16592 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16593
6725d21a
JD
165942012-01-24 Julien Danjou <julien@danjou.info>
16595
16596 * color.el (color-rgb-to-hsl): Fix value computing.
16597 (color-hue-to-rgb): New function.
16598 (color-hsl-to-rgb): New function.
16599 (color-clamp, color-saturate-hsl, color-saturate-name)
16600 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16601 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16602
70df4bbe
GM
166032012-01-24 Glenn Morris <rgm@gnu.org>
16604
16605 * vc/vc-rcs.el (vc-rcs-create-tag):
16606 * vc/vc-sccs.el (vc-sccs-create-tag):
16607 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16608
802a2ae2
ML
166092012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16610
16611 * eshell/esh-util.el (eshell-read-hosts-file):
16612 Skip comment lines. (Bug#10549)
16613
d7128bb1
ML
16614 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16615
d1a5c3b4
JB
166162012-01-23 Juanma Barranquero <lekktu@gmail.com>
16617
2724d9c7
JB
16618 * subr.el (display-delayed-warnings): Doc fix.
16619 (collapse-delayed-warnings): New function to collapse identical
16620 adjacent warnings.
16621 (delayed-warnings-hook): Add it.
d1a5c3b4 16622
a5509865
MA
166232012-01-22 Michael Albinus <michael.albinus@gmx.de>
16624
16625 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16626
a5509865
MA
16627 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16628 (tramp-default-user-alist): Don't add "pscp".
16629 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16630 property "login-as", if set. (Bug#10530)
16631
cc6d5805
MA
166322012-01-21 Michael Albinus <michael.albinus@gmx.de>
16633
16634 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16635 "plink1" and "psftp". (Bug#10530)
16636
166372012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
16638
16639 * international/mule-cmds.el (prefer-coding-system): Show a
16640 warning message if the default value of file-name-coding-system
16641 was not changed.
16642
f0960428
JC
166432012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16644
cb882333
JB
16645 * windmove.el (windmove-reference-loc):
16646 Fix windmove-reference-loc miscalculation.
f0960428 16647
dd6f2a63
JB
166482012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16649
16650 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16651 default unit.
16652
7b447e9b
GM
166532012-01-21 Glenn Morris <rgm@gnu.org>
16654
117a9ea1
GM
16655 * international/mule.el (auto-coding-alist): Add .tbz.
16656
7b447e9b
GM
16657 * files.el (local-enable-local-variables): Doc fix.
16658 (inhibit-local-variables-regexps): Rename from
16659 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16660 Doc fix. Add some extensions from auto-coding-alist.
16661 (inhibit-local-variables-suffixes):
16662 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16663 (inhibit-local-variables-p):
16664 New function, extracted from set-auto-mode-1.
16665 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16666 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16667 (hack-local-variables): Doc fix. Make the mode-only case
16668 respect enable-local-variables and friends.
16669 Respect inhibit-local-variables-regexps for file-locals, but
16670 not for directory-locals.
16671 (set-visited-file-name):
16672 Take account of inhibit-local-variables-regexps.
16673 Whether it applies may change as the file name is changed.
16674 * jka-cmpr-hook.el (jka-compr-install):
16675 * jka-compr.el (jka-compr-uninstall):
16676 Update for inhibit-first-line-modes-suffixes name change.
16677
dd6e3cdd
MR
166782012-01-20 Martin Rudalics <rudalics@gmx.at>
16679
16680 * help-macro.el (make-help-screen): Temporarily restore original
16681 binding for minor-mode-map-alist (Bug#10454).
16682
0d0deb38
JD
166832012-01-19 Julien Danjou <julien@danjou.info>
16684
16685 * color.el (color-name-to-rgb): Use the white color to find the max
16686 color component value and return correctly computed values.
16687 (color-name-to-rgb): Add missing float conversion for max value.
16688
34a02f46
MR
166892012-01-19 Martin Rudalics <rudalics@gmx.at>
16690
16691 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
16692 special state value for window-persistent-parameters.
16693 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
16694 (window--state-put-2): Reset all window parameters to nil before
16695 assigning values of persistent parameters.
16696
606c44c4
AM
166972012-01-18 Alan Mackenzie <acm@muc.de>
16698
16699 Eliminate sluggishness and hangs in fontification of "semicolon
16700 deserts".
16701
cb882333
JB
16702 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16703 Change value 10000 -> 3000.
606c44c4
AM
16704 (c-state-safe-place): Reformulate so it doesn't stack up an
16705 infinite number of wrong entries in c-state-nonlit-pos-cache.
16706 (c-determine-limit-get-base, c-determine-limit): New functions to
16707 determine backward search limits disregarding literals.
16708 (c-find-decl-spots): Amend commenting.
16709 (c-cheap-inside-bracelist-p): New function which detects "={".
16710
16711 * progmodes/cc-fonts.el
16712 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16713 backward search.
16714 (c-font-lock-declarations): Fix an occurrence of point being
16715 undefined. Check additionally for point being in a bracelist or
16716 near a macro invocation without a semicolon so as to avoid a
16717 fruitless time consuming search for a declarator. Give a more
16718 precise search limit for declarators using the new
16719 c-determine-limit.
16720
f3860cea
GM
167212012-01-18 Glenn Morris <rgm@gnu.org>
16722
16723 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16724 (set-auto-mode): Doc fixes.
16725
1db03b16
GM
167262012-01-17 Glenn Morris <rgm@gnu.org>
16727
0e6038be
GM
16728 * isearch.el (search-nonincremental-instead): Fix doc typo.
16729
1db03b16
GM
16730 * dired.el (dired-insert-directory): Handle newlines in directory name.
16731 (dired-build-subdir-alist): Unescape newlines in directory name.
16732
4cb0aa75
MA
167332012-01-17 Michael Albinus <michael.albinus@gmx.de>
16734
16735 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16736 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16737 (tramp-action-terminal): Use it. (Bug#10530)
16738
1d00653d
SM
167392012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16740
16741 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16742
6a6ee00d
MR
167432012-01-16 Martin Rudalics <rudalics@gmx.at>
16744
16745 * window.el (window-state-ignored-parameters): Remove variable.
16746 (window--state-get-1): Rename argument MARKERS to IGNORE.
16747 Handle persistent window parameters. Make copy of clone-of
16748 parameter only if requested. (Bug#10348)
16749 (window--state-put-2): Install a window parameter only if it has
16750 a non-nil value or an existing parameter shall be overwritten.
16751
97912def
MA
167522012-01-15 Michael Albinus <michael.albinus@gmx.de>
16753
16754 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16755
688070a5
EZ
167562012-01-14 Eli Zaretskii <eliz@gnu.org>
16757
16758 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16759 don't pass the (nil) value of `upnode' to string-match.
16760
301afadc
CY
167612012-01-14 Chong Yidong <cyd@gnu.org>
16762
16763 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 16764 Fix values recognized by the cursorBlink resource.
301afadc 16765
9e5788aa
PE
167662012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16767
16768 * epg.el (epg--make-temp-file): Avoid permission race condition
16769 when running on old Emacs versions (bug#10403).
16770
3cdb7f5a
GM
167712012-01-14 Glenn Morris <rgm@gnu.org>
16772
16773 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16774
8c82b1b4
AM
167752012-01-13 Alan Mackenzie <acm@muc.de>
16776
16777 Fix filling for when filladapt mode is enabled.
16778
16779 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16780 c-mask-paragraph, pass in `fill-paragraph' rather than
16781 `fill-region-as-paragraph'. (This is a reversion of a previous
16782 change.)
eb864a71
LM
16783 * progmodes/cc-mode.el (c-basic-common-init):
16784 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 16785
e517eda4
GM
167862012-01-13 Glenn Morris <rgm@gnu.org>
16787
1498536e
GM
16788 * dired.el (dired-switches-escape-p): New function.
16789 (dired-insert-directory): Use dired-switches-escape-p.
16790 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16791
e517eda4
GM
16792 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16793
328f984d
GM
167942012-01-12 Glenn Morris <rgm@gnu.org>
16795
16796 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16797 changes in adaptive-fill-regexp. (Bug#10276)
16798
2cc769a8
AM
167992012-01-11 Alan Mackenzie <acm@muc.de>
16800
16801 Fix Emacs bug #10463 - put `widen's around the critical spots.
16802
1d00653d 16803 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
16804 widen around each invocation of c-state-pp-to-literal. Remove an
16805 unused let variable.
16806
e52c37fa
GM
168072012-01-11 Glenn Morris <rgm@gnu.org>
16808
16809 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 16810 Doc fix.
e52c37fa 16811
96f8741e
CY
168122012-01-10 Chong Yidong <cyd@gnu.org>
16813
1d00653d
SM
16814 * net/network-stream.el (network-stream-open-starttls):
16815 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
16816 response to the capability command.
16817
b09a806e
GM
168182012-01-10 Glenn Morris <rgm@gnu.org>
16819
16820 * mail/unrmail.el (unrmail): Tweak previous change.
16821
7655cb66
CY
168222012-01-09 Chong Yidong <cyd@gnu.org>
16823
16824 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16825
9d5a8f0b
AM
168262012-01-08 Alan Mackenzie <acm@muc.de>
16827
677d5c92 16828 Optimize font locking in long enum definitions.
9d5a8f0b
AM
16829
16830 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16831 arm to a cond form to handle enums.
16832 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16833 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16834
9a0115ab 168352012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
16836
16837 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 16838 (Bug#10401)
6bb72cbd 16839
f186bb95
LMI
168402012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16841
29232a68
LMI
16842 * faces.el (set-face-attribute): Clarify the meaning of the nil
16843 frame (bug#10294).
16844
4e5d086d
LMI
16845 * subr.el (with-selected-frame): Mention that the selected frame
16846 is restored (bug#9980).
16847
8e66aebe
LMI
16848 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16849 (bug#9759).
16850
cd394be1 16851 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
16852 (password-read): Don't autoload unused function.
16853
adf4e762
JB
168542012-01-07 Juanma Barranquero <lekktu@gmail.com>
16855
16856 * progmodes/which-func.el (which-func-mode): Turn into a
16857 non-interactive function and mark as obsolete (bug#10428).
16858
89bd9ccd
CY
168592012-01-06 Chong Yidong <cyd@gnu.org>
16860
16861 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16862 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16863 functions, along with 1 and -1.
16864
4afee9d5
EZ
168652012-01-06 Eli Zaretskii <eliz@gnu.org>
16866
16867 * time.el (display-time-load-average)
16868 (display-time-default-load-average): Doc fixes. See the thread
16869 starting at
16870 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16871 for the details.
16872
536aea70
GM
168732012-01-06 Glenn Morris <rgm@gnu.org>
16874
665ae865
GM
16875 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16876 has no messages. (Bug#10377)
16877
c869783d
GM
16878 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16879 than Info-edit. (Bug#10385)
16880
2bb4227e
GM
16881 * time.el (display-time-load-average, display-time-next-load-average):
16882 Doc fixes.
16883
7d5944b9
GM
16884 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16885 local setting of buffer-read-only to the input buffer. (Bug#10419)
16886
536aea70
GM
16887 * calendar/calendar.el (calendar-mode):
16888 Locally set scroll-margin to 0. (Bug#10379)
16889
7dccca16
UM
168902012-01-06 Ulrich Mueller <ulm@gentoo.org>
16891
16892 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16893
afbb7930
GM
168942012-01-05 Glenn Morris <rgm@gnu.org>
16895
16896 * eshell/em-unix.el (diff-no-select): Autoload it.
16897 (eshell/diff): Use diff-no-select. (Bug#10420)
16898
04482335
CY
168992012-01-05 Chong Yidong <cyd@gnu.org>
16900
7baca3bc
CY
16901 * shell.el (shell-dynamic-complete-functions): Revert last change.
16902 (shell-command-completion-function): New function.
16903 (shell-completion-vars): Use it to implement
16904 shell-completion-execonly (Bug#10417).
16905
04482335
CY
16906 * custom.el (enable-theme): Don't set custom-safe-themes.
16907
1d00653d
SM
16908 * cus-theme.el (custom-theme-merge-theme):
16909 Ignore custom-enabled-themes and custom-safe-themes.
04482335 16910
bb5aa5d6
MM
169112012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16912
16913 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16914 first prompt in `sql-interacive-mode'.
16915 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 16916 keywords.
6df6ae42 16917 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
16918 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16919 context of original buffer. Invoke `sql-login-hook'.
16920
a7183d7c
EZ
169212012-01-04 Eli Zaretskii <eliz@gnu.org>
16922
16923 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16924 letters in cite-prefix.
16925
a1eacd1e
LMI
169262012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16927
16928 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16929
787cdb34
CY
169302012-01-03 Chong Yidong <cyd@gnu.org>
16931
1d00653d
SM
16932 * shell.el (shell-dynamic-complete-functions):
16933 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
16934 comint-filename-completion first (Bug#10417).
16935
30710442
RS
169362012-01-02 Richard Stallman <rms@gnu.org>
16937
16938 * battery.el (battery-status-function):
16939 Detect when to use battery-yeeloong-sysfs.
16940 (battery-echo-area-format): Add string for Yeeloong.
16941 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16942 (battery-yeeloong-sysfs): New function.
16943
f75bfc33
CY
169442012-01-02 Chong Yidong <cyd@gnu.org>
16945
16946 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16947 (dirtrack): Merge code for handling relative filenames in prompt
16948 from shell-dir-cookie-watcher.
16949 (dirtrack-debug-message): New arg to avoid excess format calls.
16950
16951 * shell.el (shell-dir-cookie-re): Variable deleted.
16952 (shell-dir-cookie-watcher): Function deleted.
16953 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16954 with dirtrack-mode.
16955
651e947e
EZ
169562012-01-01 Eli Zaretskii <eliz@gnu.org>
16957
1d00653d
SM
16958 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16959 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
16960 libgnutls-26.dll.
16961
94d4c7dc
AS
169622011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16963
16964 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16965
8d43f3cd
EZ
169662011-12-31 Eli Zaretskii <eliz@gnu.org>
16967
16968 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16969 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16970
98c8795a
MA
169712011-12-29 Michael Albinus <michael.albinus@gmx.de>
16972
16973 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16974 also for alternative shells.
16975 (tramp-open-connection-setup-interactive-shell): Check, whether
16976 the shell is a busybox.
16977 (tramp-send-command): Don't suppress multiple prompts for
16978 busyboxes, it hurts.
16979
51281b32
CY
169802011-12-28 Chong Yidong <cyd@gnu.org>
16981
16982 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16983 (gdb-get-source-file): Move mode line update to
16984 gdb-get-source-file (Bug#10087).
16985
2170cb53
CY
169862011-12-25 Chong Yidong <cyd@gnu.org>
16987
16988 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16989 gud-gdb-marker-filter without taking it as an argument.
16990 (gud-gdb-run-command-fetch-lines): Caller changed.
16991 (gud-gdb-completion-function): New variable.
16992 (gud-gdb-completion-at-point): Use it.
16993 (gud-gdb-completions-1): Split from gud-gdb-completions.
16994
16995 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16996 function as separate arguments.
16997 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16998 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16999 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17000 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17001 (gdb-stopped, def-gdb-auto-update-trigger)
17002 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
17003 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17004 Callers changed.
2170cb53
CY
17005 (gud-gdbmi-completions): New function.
17006 (gdb): Use it for generating the completion table.
17007
be8b11bb
AM
170082011-12-24 Alan Mackenzie <acm@muc.de>
17009
17010 Introduce a mechanism to widen the region used in context font
1d00653d 17011 locking. Use this to protect declarations from losing their contexts.
be8b11bb 17012
1d00653d
SM
17013 * progmodes/cc-langs.el (c-before-font-lock-functions):
17014 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 17015 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
17016 functions to be run just before context (etc.) font locking.
17017
17018 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 17019 New, functionality extracted from
be8b11bb 17020 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 17021 (c-in-after-change-fontification): New variable.
be8b11bb
AM
17022 (c-after-change): Set c-in-after-change-fontification.
17023 (c-set-fl-decl-start): Rejig its interface, so it can be called
17024 from both after-change and context fontifying.
b81d40f0
JB
17025 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17026 New functions.
17027 (c-standard-font-lock-fontify-region-function): New variable.
17028 (c-font-lock-fontify-region): New function.
be8b11bb 17029
341cf6ac
JL
170302011-12-24 Juri Linkov <juri@jurta.org>
17031
17032 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17033 (Bug#10348)
17034
bffcee0a
MA
170352011-12-23 Michael Albinus <michael.albinus@gmx.de>
17036
17037 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17038 existence of source file. (Bug#10325)
17039
cb5e207c
AM
170402011-12-23 Alan Mackenzie <acm@muc.de>
17041
17042 Fix unstable fontification inside templates.
17043
b81d40f0
JB
17044 * progmodes/cc-langs.el (c-before-font-lock-functions):
17045 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
17046 additionally has c-set-fl-decl-start. The other languages (apart
17047 from AWK) have that as a single entry.
17048
b81d40f0
JB
17049 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17050 The functionality for "local" declarations has been extracted to
cb5e207c
AM
17051 c-set-fl-decl-start.
17052
b81d40f0
JB
17053 * progmodes/cc-mode.el (c-common-init, c-after-change):
17054 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
17055 (c-set-fl-decl-start): New function, extracted from
17056 c-font-lock-enclosing-decls and enhanced.
17057
60ff536c
JB
170582011-12-23 Juanma Barranquero <lekktu@gmail.com>
17059
17060 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17061
1c4757d6
JL
170622011-12-22 Juri Linkov <juri@jurta.org>
17063
17064 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17065
d031f2c7
CY
170662011-12-22 Chong Yidong <cyd@gnu.org>
17067
17068 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17069
bace743a
DA
170702011-12-21 Drew Adams <drew.adams@oracle.com>
17071
17072 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17073
728a1f2b
JC
170742011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17075
17076 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17077
0d373f73
TZ
170782011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17079
fec0aaa4
TZ
17080 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17081 highlighting and support. Fix up comments for capitalization.
17082 (cfengine-mode-debug): New var.
17083 (cfengine3-mode): Change the modeline indicator to "CFE3".
17084 (cfengine3-font-lock-keywords): Improve defun highlighting.
17085 (cfengine2-actions): Rename from `cfengine-actions'.
17086 (cfengine2-font-lock-keywords): Rename from
17087 `cfengine-font-lock-keywords'.
17088 (cfengine2-imenu-expression): Rename from
17089 `cfengine-imenu-expression'.
17090 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17091 (cfengine2-beginning-of-defun): Rename from
17092 `cfengine-beginning-of-defun'.
17093 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17094 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17095 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17096 modeline indicator to "CFE2".
17097 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17098 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 17099
bc86f573
CY
171002011-12-21 Chong Yidong <cyd@gnu.org>
17101
17102 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17103 filename argument.
17104
d45ba96b
MR
171052011-12-20 Martin Rudalics <rudalics@gmx.at>
17106
17107 * window.el (window-normalize-buffer-to-display): Remove.
17108 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17109
a6198c90
CY
171102011-12-19 Chong Yidong <cyd@gnu.org>
17111
17112 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17113 Don't signal an error in a predicate function; return non-nil.
17114 (vc-dir-mark-file): Move the error here.
17115 (vc-dir-mark-unmark): If acting on the region, keep going if one
17116 of the entries cannot be marked/unmarked.
17117 (vc-dir-mark-all-files): If current entry is a directory, mark
17118 only child files, as documented.
17119
34c5fb55
VB
171202011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
17121
17122 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17123 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17124 addition.
17125
c803b2b7
JD
171262011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17127
17128 * term/ns-win.el (ns-get-selection-internal)
17129 (ns-store-selection-internal): Declare.
1154d12e
JB
17130 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17131 Declare as obsolete.
17132 (ns-get-pasteboard, ns-paste-secondary):
17133 Use ns-get-selection-internal.
41e9b956 17134 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 17135 Use ns-store-selection-internal.
c803b2b7 17136
9cff91f8 171372011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
17138
17139 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 17140 (vc-deduce-fileset): Doc fix.
99a289d9 17141
f16c898a
AS
171422011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17143
17144 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17145
763237c4
SS
171462011-12-13 Sam Steingold <sds@gnu.org>
17147
17148 * man.el (Man-getpage-in-background): When running under a
17149 window-system, ignore $MANWIDTH and $COLUMNS.
17150
5fc1c122
KH
171512011-12-15 Kenichi Handa <handa@m17n.org>
17152
17153 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17154 (setup-ethiopic-environment-internal): Comment out key-binding for
17155 ethio-toggle-punctuation.
17156
13d49cbb
AM
171572011-12-13 Alan Mackenzie <acm@muc.de>
17158
898169a2
AM
17159 Add the switch statement to AWK Mode.
17160
7a71b18d 17161 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
17162 "default" to the keywords regexp.
17163
7a71b18d 17164 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 17165 expression as the rest.
1d00653d
SM
17166 (c-nonlabel-token-key): Allow string literals for AWK.
17167 Refactor for the other modes.
898169a2 17168
13d49cbb 17169 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 17170 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
17171 routines. Limit backward searching in c-font-lock-enclosing.decl.
17172
17173 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17174 pp-state and literal type in addition to the limits.
1d00653d 17175 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 17176 (c-state-literal-at): Use the above new defun.
1d00653d
SM
17177 (c-slow-in-literal, c-fast-in-literal): Remove.
17178 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
17179
17180 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17181 being in a literal. Add a limit for backward searching.
17182
17183 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17184 c-slow-in-literal.
17185
15e0efc7
SM
171862011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
17187
17188 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
17189
454592a6
MR
171902011-12-13 Martin Rudalics <rudalics@gmx.at>
17191
17192 * window.el (delete-other-windows): Use correct frame in call to
17193 window-with-parameter.
17194
87393f26
DP
171952011-12-12 Daniel Pfeiffer <occitan@t-online.de>
17196
17197 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
17198 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
17199 (makefile-gmake-statements, makefile-makepp-statements):
17200 Use it and add new makepp keywords.
17201 (makefile-makepp-font-lock-keywords): Add new patterns.
17202 (makefile-match-function-end): Match new [...] and [[...]].
17203
11636b22
JB
172042011-12-11 Juanma Barranquero <lekktu@gmail.com>
17205
17206 * ses.el (ses-call-printer-return, ses-cell-property-get)
17207 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
17208 (ses-create-cell-variable, ses-reset-header-string)
17209 (ses-cell-set-formula, ses-repair-cell-reference-all)
17210 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
17211 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
17212 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
17213 (ses-aset-with-undo, ses-load, ses-truncate-cell)
17214 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
17215 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
17216 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
17217 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
17218 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
17219 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
17220 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
17221 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
17222
cf018193
VB
172232011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
17224
17225 * ses.el: The overall change is to add cell renaming, that is
17226 setting fancy names for cell symbols other than name matching
17227 "\\`[A-Z]+[0-9]+\\'" regexp .
17228 (ses-create-cell-variable): New defun.
17229 (ses-relocate-formula): Relocate formulas only for cells the
17230 symbols of which are not renamed, i.e. symbols whose names do not
17231 match regexp "\\`[A-Z]+[0-9]+\\'".
17232 (ses-relocate-all): Relocate values only for cells the symbols of
17233 which are not renamed.
17234 (ses-load): Create cells variables as the (ses-cell ...) are read,
17235 in order to check row col consistency with cell symbol name only
17236 for cells that are not renamed.
17237 (ses-replace-name-in-formula): New defun.
17238 (ses-rename-cell): New defun.
17239
ee957461
CY
172402011-12-11 Chong Yidong <cyd@gnu.org>
17241
17242 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
17243 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
17244
9a9e9ef0
MR
172452011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
17246
17247 * window.el (other-window): Fix docstring.
17248
92a8eba5
EZ
172492011-12-10 Eli Zaretskii <eliz@gnu.org>
17250
17251 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
17252 `from' or `to' address before taking its substring.
17253 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
17254 encoded name is chopped in the middle of the encoded string, and
17255 thus displayed encoded.
17256
e152e577
JB
172572011-12-10 Juanma Barranquero <lekktu@gmail.com>
17258
17259 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
17260
e5d84bfe
EZ
172612011-12-10 Eli Zaretskii <eliz@gnu.org>
17262
17263 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
17264 to use texinfo-update-node and commands that call it if the
17265 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 17266 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
17267 (texinfo-all-menus-update, texinfo-master-menu)
17268 (texinfo-update-node, texinfo-every-node-update)
17269 (texinfo-multiple-files-update): Doc fix. Warn against updating
17270 all the @node lines.
17271 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
17272 argument is numeric. Explain better in the doc string what the
17273 function really does.
17274 (texinfo-insert-master-menu-list): Improve the error message
17275 displayed if there's no menu in the Top node.
17276 (Bug#2975) See also this thread:
e5d84bfe
EZ
17277 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
17278
1d84e9bb
MG
172792011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
17280
17281 * speedbar.el (speedbar-supported-extension-expressions):
17282 Add .adb and .ads, commonly used for Ada source code (bug#10256).
17283
382c953b
JB
172842011-12-09 Juanma Barranquero <lekktu@gmail.com>
17285
17286 * printing.el (pr-mode-alist):
17287 * simple.el (filter-buffer-substring-functions)
17288 (completion-list-insert-choice-function):
17289 * window.el (window-with-parameter, window-atom-root)
17290 (window-sides-slots, window-size-fixed, window-min-delta)
17291 (window-max-delta, window--resize-mini-window)
17292 (window--resize-child-windows-normal, window-tree)
17293 (delete-other-windows, quit-window, split-window)
17294 (display-buffer-record-window, special-display-buffer-names)
17295 (special-display-regexps, special-display-popup-frame)
17296 (same-window-p, split-window-sensibly)
17297 (display-buffer-overriding-action, display-buffer-alist)
17298 (display-buffer-base-action, display-buffer, switch-to-buffer)
17299 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
17300 (fit-window-to-buffer, recenter-positions)
17301 (mouse-autoselect-window-state, mouse-autoselect-window-select):
17302 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
17303 and remove unneeded backslashes in docstrings.
17304
39c9faef
SM
173052011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
17306
98449af8
SM
17307 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
17308
39c9faef
SM
17309 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
17310 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
17311 end in ".mk".
17312 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
17313 when reading the makefile (bug#10116).
17314
86ed9fdc
SM
173152011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
17316
17317 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
17318 (bug#10116).
17319
5580f89d
GM
173202011-12-06 Glenn Morris <rgm@gnu.org>
17321
17322 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
17323
28d3917c
CY
173242011-12-06 Chong Yidong <cyd@gnu.org>
17325
17326 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
17327
a98edce9
JB
173282011-12-06 Juanma Barranquero <lekktu@gmail.com>
17329
17330 * textmodes/table.el (table-shorten-cell): Fix typo.
17331
e65adfac
CG
173322011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
17333
17334 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
17335
71cc0b74
EZ
173362011-12-05 Eli Zaretskii <eliz@gnu.org>
17337
17338 * descr-text.el (describe-char): Fix display of strong
17339 right-to-left characters and directional embeddings and overrides.
17340
17341 * simple.el (what-cursor-position): Fix display of codepoints of
17342 strong right-to-left characters.
17343
315bc30d
CY
173442011-12-05 Chong Yidong <cyd@gnu.org>
17345
17346 * faces.el (read-color): Doc fix.
17347
58a70b94
GM
173482011-12-05 Glenn Morris <rgm@gnu.org>
17349
17350 * align.el (align--set-marker): Add doc-string.
17351 Don't try to move something that is not a marker. (Bug#10216)
17352
5158face
GM
173532011-12-04 Glenn Morris <rgm@gnu.org>
17354
17355 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
17356 overly zealous deletion of trailing whitespace.
17357
520fca41
JB
173582011-12-04 Juanma Barranquero <lekktu@gmail.com>
17359
17360 * server.el (server-delete-client): On Windows, do not try to delete
17361 the only terminal.
17362 (server-process-filter): On Windows, treat requests for a tty frame as
17363 if they were for a GUI frame if the running server is in GUI mode.
17364
5e605a2e
GM
173652011-12-03 Glenn Morris <rgm@gnu.org>
17366
17367 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
17368
5c3fe83f
SM
173692011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
17370
6f5e57e7
SM
17371 * electric.el: Streamline electric-indent's hook.
17372 (electric-indent-chars): Revert to simple list.
17373 (electric-indent-functions): New var.
17374 (electric-indent-post-self-insert-function): Use it.
17375
5c3fe83f
SM
17376 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
17377 there's no inferior buffer (bug#10196).
17378 (prolog-consult-compile): Don't use toggle-read-only.
17379
6bdac736
MA
173802011-12-02 Michael Albinus <michael.albinus@gmx.de>
17381
17382 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
17383 interrupt. (Bug#10187)
17384
6131ba7f
SM
173852011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
17386
99c79fee
SM
17387 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
17388 (bug#9160).
17389
6131ba7f
SM
17390 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
17391 (bug#10191).
17392
cb0a02ea
JL
173932011-12-02 Juri Linkov <juri@jurta.org>
17394
17395 * info.el (Info-search): Display "end of manual" when Isearch
17396 reaches the end of single-file Info manual. (Bug#9918)
17397
66e0570c
EZ
173982011-12-02 Eli Zaretskii <eliz@gnu.org>
17399
17400 * isearch.el (isearch-message-prefix): Run the input method part
17401 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
17402
02b16839
JL
174032011-12-02 Juri Linkov <juri@jurta.org>
17404
17405 * isearch.el (isearch-occur): Use `word-search-regexp' for
17406 `isearch-word'.
17407 (isearch-search-and-update): Add condition for `isearch-word' and
17408 call `word-search-regexp'. (Bug#10145)
17409
0b950688
GM
174102011-12-01 Glenn Morris <rgm@gnu.org>
17411
17412 * eshell/em-hist.el (eshell-hist-initialize):
17413 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 17414 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 17415
9505c3c7
SM
174162011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
17417
17418 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17419
1bbe96b2 174202011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 17421
a1beca85
SM
17422 * progmodes/verilog-mode.el (verilog-pretty-expr):
17423 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
17424 verilog, such as += *= and the like.
17425 (verilog-assignment-operator-re): Regular expression to find the
17426 assigment operator in a verilog assignment.
17427 (verilog-assignment-operation-re): Regular expression to find an
17428 assignment statement for pretty-expr.
17429 (verilog-in-attribute-p): Query returns true if point is in an
17430 attribute context; used to skip these for expression line up from
17431 pretty-expr.
17432 (verilog-in-parameter-p): Query returns true if point is in an
17433 parameter definition context; used to skip these for expression
17434 line up from pretty-expr.
17435 (verilog-in-parenthesis-p): Query returns true if point is in a
17436 parenthetical expression, specifically ( ) but not [ ] or { };
17437 used by pretty-expr.
17438 (verilog-just-one-space): If there is no space, don't add one.
17439 (verilog-get-lineup-indent-2): Specifically skip just attribute
17440 contexts for expression lineup, rather than skipping all
17441 parenthetical expressions.
17442 (verilog-calculate-indent): Fix comment, and fix indent.
17443 (verilog-do-indent): Indent declarations in lists (suggested by
17444 Joachim Lechner).
17445 (verilog-mode-abbrev-table): Populate abbrev mode with the various
17446 skeleton items.
17447 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17448 by Alain Mellan).
17449
1bbe96b2 174502011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
17451
17452 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17453 parameters with embedded comments. Reported by Ray Stevens.
17454 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17455 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17456 Reported by Tim Holt.
17457 (verilog-auto): Fix AUTOing a upper module then AUTOing module
17458 instantiated by upper module causing wrong expansion until AUTOed a
17459 second time. Reported by K C Buckenmaier.
17460 (verilog-diff-auto): Fix showing .* as a difference when
17461 `verilog-auto-star-save' off. Reported by Dan Dever.
17462 (verilog-auto-reset, verilog-read-always-signals)
17463 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17464 temporary signals in reset list if
17465 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
17466 style to each signal's assignment type, bug381.
17467 Reported by Thomas Esposito.
6288f0ca
WS
17468 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17469 (verilog-uvm-statement-re): Support UVM indentation and
17470 highlighting, with old OVM keywords only.
a1beca85 17471 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
17472 Support AUTOTIEOFF creating non-wire data types.
17473 Suggested by Jonathan Greenlaw.
6288f0ca
WS
17474 (verilog-auto-insert-lisp, verilog-delete-to-paren)
17475 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17476 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
17477 (verilog-read-sub-decls, verilog-read-sub-decls-line):
17478 Fix mismatching parenthesis inside commented out code when deleting
382c953b 17479 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
17480 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17481 non-numeric vector width. Reported by Alex Reed.
17482 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 17483 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
17484 (verilog-auto-delete-trailing-whitespace):
17485 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
17486 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
17487 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17488 Fix verilog-scan-cache corruption when running user AUTO expansion
17489 hooks that call indentation routines.
17490 (verilog-simplify-range-expression): Fix typo ignoring lower case
17491 identifiers.
17492 (verilog-delete-auto): Fix delete-autos to also remove user created
17493 automatics, as long as they start with AUTO.
17494 (verilog-batch-diff-auto, verilog-diff-auto)
17495 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17496 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17497 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17498 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
17499 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17500 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
17501 is disabled and its cache will get corrupt, causing AUTOS not to
17502 expand. Instead use only -quick functions.
17503 (verilog-scan-region): Fix scanning over escaped quotes.
17504 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17505 (verilog-re-search-backward-quick)
17506 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17507 related functions now ignore strings, to fix misparsing of strings
17508 with magic comments embedded in them.
a1beca85
SM
17509 (verilog-read-auto-template):
17510 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17511 Reported by Brad Dobbie.
17512 (verilog-read-auto-template):
17513 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 17514 Reported by Brad Dobbie.
6288f0ca
WS
17515 (verilog-auto-inst, verilog-auto-inst-param)
17516 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17517 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17518 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
17519 debugging templates without merge conflicts, bug357.
17520 Reported by Brad Dobbie.
17521 (verilog-read-auto-template):
17522 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
17523 Reported by Brad Dobbie.
17524 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17525 abbrevs so user won't be asked to save.
17526 (verilog-read-auto-lisp-present): Fix to start at beginning of
17527 buffer in case called outside of verilog-auto.
17528 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17529 to "X-2". Reported by Matthew Myers.
17530 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17531 all inputs from module templates. Reported by Leith Johnson.
17532 (verilog-module-inside-filename-p): Fix locating programs as with
17533 modules.
17534 (verilog-auto-inst-port): Fix vl-width expressions when using
17535 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17536 (verilog-decls-get-regs, verilog-decls-get-signals,
17537 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17538 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17539 verilog-read-decls): Combine reg and wire structures into one var
17540 structure to represent SystemVerilog concepts.
17541 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17542 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
17543 (verilog-auto-wire-type, verilog-insert-definition):
17544 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
17545 SystemVerilog "logic" keyword instead of "wire"/"reg".
17546 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17547 to declares outputs that also have assignments (presumably in an
a1beca85
SM
17548 ifdef or generate if so there's not a driver conflict).
17549 Reported by Matthew Myers.
17550 (verilog-auto-declare-nettype, verilog-insert-definition):
17551 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
17552 `default_nettype none. Reported by Julian Gorfajn.
17553 (verilog-read-always-signals-recurse, verilog-read-decls)
17554 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17555 malformed end statement, bug325. Reported by Joshua Wise and
17556 Andrew Drake.
17557 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17558 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
17559 when expanding .* in interfaces, bug320.
17560 Reported by Pierre-David Pfister.
6288f0ca 17561 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
17562 name and open parenthesis, bug317.
17563 Reported by Pierre-David Pfister.
6288f0ca
WS
17564 (verilog-simplify-range-expression): Fix simplification of
17565 multiplications inside AUTOWIRE connections, bug303.
17566 (verilog-auto-inst-port): Support parameter expansion in
17567 multidimensional arrays.
17568 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17569 after "assert property". Reported by Julian Gorfajn.
17570 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17571 with multiplication, bug303.
17572 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17573 Reported by Jan Frode Lonnum.
17574
1bbe96b2
GM
175752011-11-30 Juanma Barranquero <lekktu@gmail.com>
17576
17577 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17578 (hfy-shell-file-name, hfy-shell):
17579 * international/fontset.el (x-decompose-font-name): Fix typos.
17580
175812011-11-29 Ken Brown <kbrown@cornell.edu>
17582
17583 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17584 (gdb-version): Remove defvar.
17585 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17586 (gdb-gud-context-command, gdb-non-stop-handler)
17587 (gdb-current-context-command, gdb-stopped): Use it.
17588 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
17589 (gdb-non-stop-handler): Don't enable pretty-printing here.
17590 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
17591 non-stop mode. Use the following.
17592 (gdb-check-target-async): New defun.
17593 (gud-watch, gdb-stopped): Fix whitespace.
17594 (gdb-get-source-file): Don't try to display the source file if
17595 `gdb-main-file' is nil.
17596
175972011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17598
17599 * align.el: Try to generate fewer markers (bug#10047).
17600 (align--set-marker): New macro.
17601 (align-region): Use it.
17602
c935221f
SM
176032011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17604
17605 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17606
e70b5064
CY
176072011-11-29 Chong Yidong <cyd@gnu.org>
17608
17609 * indent.el (indent-for-tab-command, indent-according-to-mode):
17610 Doc fix.
17611 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17612
f3af92b7
MA
176132011-11-29 Michael Albinus <michael.albinus@gmx.de>
17614
17615 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17616 aware of remote file names. (Bug#10124)
17617
ed472be9
CY
176182011-11-29 Chong Yidong <cyd@gnu.org>
17619
17620 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17621
24510c22
SM
176222011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17623
17624 * files.el (find-file): Don't use force-same-window (bug#10144).
17625 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17626 use pop-to-buffer if the selected window can't be used.
17627 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17628
c60c3703
EZ
176292011-11-28 Eli Zaretskii <eliz@gnu.org>
17630
17631 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17632 special-mode-map.
17633
e95def75
CY
176342011-11-28 Chong Yidong <cyd@gnu.org>
17635
17636 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17637
c3f1c606
NR
176382011-11-27 Nick Roberts <nickrob@snap.net.nz>
17639
17640 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17641 gdb-get-source-file-list on gdb-create-source-file-list.
17642
00db469c
EZ
176432011-11-26 Eli Zaretskii <eliz@gnu.org>
17644
17645 * whitespace.el (whitespace-newline): Use a different foreground
17646 color for 16-color light-background displays.
17647
4ad3bc2a
CY
176482011-11-24 Chong Yidong <cyd@gnu.org>
17649
17650 * window.el (display-buffer--special-action): Doc fix.
17651
e9fce1ac
JB
176522011-11-25 Juanma Barranquero <lekktu@gmail.com>
17653
17654 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17655 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17656 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17657 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17658 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17659 (avl-tree-stack-first):
17660 * emacs-lisp/cconv.el (cconv--analyse-use):
17661 * net/gnutls.el (gnutls-negotiate): Fix typos.
17662
cb825e5d
GM
176632011-11-24 Glenn Morris <rgm@gnu.org>
17664
3adbe224
GM
17665 * lpr.el (lpr-windows-system, lpr-lp-system):
17666 * mail/binhex.el (binhex-begin-line):
17667 * progmodes/grep.el (grep-history, grep-find-history):
17668 * textmodes/flyspell.el:
17669 * vc/pcvs-defs.el (cvs-global-menu):
17670 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17671 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17672 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17673
321decc8
GM
17674 * net/tls.el: Fix case of "GnuTLS".
17675
420b63ad
GM
17676 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17677
cb825e5d
GM
17678 * version.el (emacs-build-system): Give it a doc-string.
17679
a0649f08
JL
176802011-11-24 Juri Linkov <juri@jurta.org>
17681
17682 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17683
c0bc0fd4
GM
176842011-11-24 Glenn Morris <rgm@gnu.org>
17685
17686 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17687 if called on a non-mime message just toggle the headers. (Bug#8006)
17688
20db1522
JB
176892011-11-24 Juanma Barranquero <lekktu@gmail.com>
17690
17691 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17692 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17693 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17694 (allout-rebullet-heading, allout-open-sibtopic)
17695 (allout-toggle-current-subtree-encryption)
17696 (allout-toggle-subtree-encryption, allout-encrypt-string)
17697 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17698 (allout-distinctive-bullets-string, allout-auto-activation):
17699 * window.el (window-normalize-buffer-to-display):
17700 * progmodes/verilog-mode.el (verilog-batch-indent):
17701 * textmodes/bibtex.el (bibtex-field-braces-opt)
17702 (bibtex-field-strings-opt):
17703 * vc/cvs-status.el (cvs-tree-merge):
17704 Fix typos.
17705
7262a87c
MA
177062011-11-23 Michael Albinus <michael.albinus@gmx.de>
17707
17708 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17709 `non-essential' to t, in order to avoid remote connections.
17710
283430a1
EZ
177112011-11-23 Eli Zaretskii <eliz@gnu.org>
17712
a1beca85
SM
17713 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17714 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
17715 case-insensitively.
17716
d2992a38
ML
177172011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17718
17719 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17720
50419064
GM
177212011-11-23 Glenn Morris <rgm@gnu.org>
17722
da94eca1
GM
17723 * paths.el (rmail-file-name): Reformat the doc-string so that it
17724 is picked up.
17725
9aac4de2
GM
17726 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17727 (rmail-auto-file): Ignore case in the "special" field names,
17728 as mail-fetch-field does for all others.
17729
8038d2d2
GM
17730 * mail/rmail.el (rmail-forward):
17731 * mail/rmailkwd.el (rmail-set-label):
17732 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17733 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17734
f3fe222a
GM
17735 * mail/rmail.el (rmail-current-message): Doc fix.
17736
50419064
GM
17737 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17738
28109f49
SM
177392011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17740
17741 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17742
394c65f1
GM
177432011-11-22 Glenn Morris <rgm@gnu.org>
17744
17745 * mail/rmailmm.el (test-rmail-mime-handler)
17746 (test-rmail-mime-bulk-handler)
17747 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17748
f2a0aa3a
JL
177492011-11-21 Juri Linkov <juri@jurta.org>
17750
1154d12e
JB
17751 * calc/calc.el (calc-read-key-sequence):
17752 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 17753
9c34a344
LMI
177542011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17755
17756 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17757 Tell the caller that the next line needs recomputation, even
17758 though it doesn't start a sexp (bug#10094).
17759
f04a3be9
SM
177602011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17761
17762 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17763
7978747f
SM
177642011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17765
f04a3be9
SM
17766 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17767 Use force-same-window.
7978747f 17768
fe7a3057
JB
177692011-11-20 Juanma Barranquero <lekktu@gmail.com>
17770
17771 * descr-text.el (describe-char-unicode-data):
17772 * json.el (json-string-escape):
17773 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17774 (Footnote-unicode, Footnote-style-p):
17775 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17776
24901d61
CY
177772011-11-20 Chong Yidong <cyd@gnu.org>
17778
17779 * window.el (replace-buffer-in-windows): Restore interactive spec.
17780
bac7ff22
SM
177812011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17782
24f3d7b9
SM
17783 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17784
bac7ff22
SM
17785 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17786 (byte-compile-global-not-obsolete-vars): New var.
17787 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17788 Use it.
17789 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17790
cd1181db
JB
177912011-11-20 Juanma Barranquero <lekktu@gmail.com>
17792
17793 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17794 * progmodes/pascal.el (electric-pascal-equal):
17795 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17796 * xml.el (xml-substitute-special): Fix typos.
17797
7fb18e9e
GM
177982011-11-20 Glenn Morris <rgm@gnu.org>
17799
17800 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17801 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17802 Doc fixes.
17803 (rmail-decode-mime-charset): Mark as obsolete.
17804
17805 * mail/rmailsum.el (rmail-message-regexp-p-1):
17806 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17807 Before using mime functions, check they are set. (Bug#10077)
17808
d5a6b3ba
JL
178092011-11-19 Juri Linkov <juri@jurta.org>
17810
17811 * info.el (Info-finder-find-node): Use `package--builtins' instead
17812 of `package-alist'. Use node names formed by the pattern "Keyword "
17813 and the keyword name.
17814
e981b61f
AS
178152011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17816
1d00653d 17817 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 17818
3ffbc301
JL
178192011-11-19 Juri Linkov <juri@jurta.org>
17820
17821 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17822 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17823 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17824 `old-history', `old-history-forward'. Add let-binding
17825 `window-selected'. Remove calls to `kill-buffer',
17826 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17827 before calling `Info-find-node', so `Info-find-node-2' will reread
17828 the Info file. Restore window positions only when `window-selected'
17829 is non-nil.
17830
30c62133
JL
178312011-11-19 Juri Linkov <juri@jurta.org>
17832
17833 * isearch.el (isearch-lazy-highlight-new-loop):
17834 Remove condition `(not isearch-error)'. (Bug#9918)
17835
17836 * misearch.el (multi-isearch-search-fun): Add condition
17837 `(not bound)' to ignore lazy-highlighting search.
17838 Add the search-failed message "end of multi" when the end of
17839 multi-sequence is reached. Uncapitalize the search-failed
17840 message "Repeat for next buffer".
17841
17842 * info.el (Info-search): Add the search-failed message
17843 "end of the manual" when the end of the manual is reached
17844 in Isearch mode.
17845
645ca9cf
JL
178462011-11-19 Juri Linkov <juri@jurta.org>
17847
17848 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17849 Use non-destructive `remove' instead of `delete' because
17850 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17851 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17852
df754f66
JL
178532011-11-19 Juri Linkov <juri@jurta.org>
17854
17855 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17856 to nil instead of binding `search-ring' and `regexp-search-ring'.
17857 (Bug#9185)
17858
0e23d96a
EZ
178592011-11-19 Eli Zaretskii <eliz@gnu.org>
17860
17861 * simple.el (line-move): Force movement by logical lines for any
17862 hscrolled window, not only when auto-hscroll-mode is on.
17863 (line-move-visual): Update doc string to that effect. (Bug#10076)
17864
8a6ccb66
AS
178652011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17866
17867 * language/european.el (macintosh): Define as alias for mac-roman.
17868
49ae5b39
EZ
178692011-11-19 Eli Zaretskii <eliz@gnu.org>
17870
17871 * mail/rmailmm.el (rmail-mime-display-header)
17872 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17873 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17874 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17875 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17876 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17877 of a raw aref.
17878 (rmail-mime-entity-segment): To get past the tagline, move forward
17879 2 more lines, to account for the 2 empty lines that precede and
17880 follow the line with the buttons.
17881 (rmail-mime-update-tagline): Move one more line, to get past the
17882 empty line that follows the buttons in the tagline. (Bug#9520)
17883
c56cad4a
MR
178842011-11-19 Martin Rudalics <rudalics@gmx.at>
17885
17886 * window.el (window-max-delta-1, window-min-delta-1)
17887 (window-min-size-1, window-state-get-1, window-state-put-1)
17888 (window-state-put-2): Use "window--" prefix.
17889
cbe71af3
SM
178902011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17891
2ad52c60
SM
17892 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17893 (smie-warning-count): New var.
17894 (smie-set-prec2tab): Use it.
17895 (smie-bnf->prec2): Improve warnings. Add docstring.
17896 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17897 (smie-bnf--set-class): New function.
17898 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17899 corner case.
17900
6944dbc1
SM
17901 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17902 (compilation-error-properties, compilation-move-to-column):
17903 Handle compilation-first-column while in the target buffer.
17904
c400c4d7
SM
17905 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17906 Don't hardcode point-min==1.
17907
6dbe3e96
SM
17908 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17909 (eshell-rewrite-for-command): Remove workaround.
17910 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17911 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17912 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17913
cbe71af3
SM
17914 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17915
a8e1496d
GM
179162011-11-17 Glenn Morris <rgm@gnu.org>
17917
17918 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17919 Ignore buffer-local generated-autoload-file if it is the same
17920 as the global value. (Bug#10049)
17921
df85d315
JB
179222011-11-17 Juanma Barranquero <lekktu@gmail.com>
17923
17924 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17925 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17926 (reftex-toc-previous-heading, reftex-toc-max-level)
17927 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17928 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17929 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17930 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17931 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17932 (reftex-toc-rename-label, reftex-toc-visit-location)
17933 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17934 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17935 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17936 leaving "*toc*" only for references to the buffer.
17937
a0c2d0ae
MR
179382011-11-17 Martin Rudalics <rudalics@gmx.at>
17939
17940 * window.el (window-resize, delete-window, split-window):
17941 Replace window-splits by window-combination-resize.
1d00653d 17942 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 17943
35c0bac8
GM
179442011-11-17 Glenn Morris <rgm@gnu.org>
17945
17946 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17947 Make bash entry derive from sh entry, not shell entry.
17948
d0c8fc8a
MA
179492011-11-16 Michael Albinus <michael.albinus@gmx.de>
17950
7262a87c
MA
17951 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17952 local file name.
17953
7877f373
JB
179542011-11-16 Juanma Barranquero <lekktu@gmail.com>
17955
17956 * menu-bar.el (menu-bar-file-menu):
17957 * printing.el (pr-ps-utility):
17958 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17959 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17960 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17961 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17962 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17963 (icalendar--convert-cyclic-to-ical)
17964 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17965 (icalendar--convert-ical-to-diary)
17966 (icalendar--convert-recurring-to-diary)
17967 (icalendar--convert-non-recurring-all-day-to-diary)
17968 (icalendar-import-format-sample):
17969 * progmodes/idlw-shell.el (idlwave-shell-mode):
17970 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17971 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17972 (vhdl-ps-print-init): Fix typos.
17973
10649b82
KM
179742011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17975
9d0cfcd6
GM
17976 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17977 FSF and collapse date sequence, obscure author/maintainer email address
17978 better, remove extra version line, track relocation of author's webpage.
10649b82 17979
9d0cfcd6
GM
17980 * progmodes/python.el (python-pdbtrack-input-prompt)
17981 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17982 regular python pdb prompts. Adjustments shamelessly taken exactly as
17983 suggested in EmacsWiki page (tiny change):
17984 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 17985
58179cce
JB
179862011-11-16 Juanma Barranquero <lekktu@gmail.com>
17987
17988 * expand.el (expand-pos, expand-index, expand-point):
17989 Remove redundant info from docstring.
17990 (expand-add-abbrevs): Doc fix.
17991 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17992 (expand-sample-perl-mode-expand-list): Fix typos.
17993
17994 * net/dbus.el (dbus-event-member-name):
17995 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17996 * term/pc-win.el (msdos-create-frame-with-faces):
17997 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17998
b6f67890
MR
179992011-11-16 Martin Rudalics <rudalics@gmx.at>
18000
18001 * window.el (split-window, window-state-get-1)
18002 (window-state-put-1, window-state-put-2): Rename occurrences of
18003 window-nest to window-combination-limit.
1d00653d 18004 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 18005
ce7ddba0
CY
180062011-11-16 Chong Yidong <cyd@gnu.org>
18007
18008 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18009 regexp (Bug#10033).
18010
3ae704f4
SM
180112011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18012
18013 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18014 `completing-read' will remove *Completions* and will preserve
18015 current-buffer for us.
18016 (tmm-add-prompt): Users of *Completions* will always (re)set its
18017 major mode.
18018 (tmm-old-comp-map): Remove.
18019
6ad1cdde
GM
180202011-11-16 Glenn Morris <rgm@gnu.org>
18021
18022 * mail/rmailedit.el: Require rmailmm when compiling.
18023 (rmail-old-mime-state): New declaration.
18024 (rmail-edit-current-message): If editing a mime message,
18025 edit the "raw" message from the mbox buffer.
18026 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18027
d20faa20
GM
180282011-11-15 Glenn Morris <rgm@gnu.org>
18029
18030 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18031 which wasn't being used. Add optional arg to force given state.
18032 (rmail-mime): Add optional arg to force given state.
18033
c7015153
JB
180342011-11-15 Juanma Barranquero <lekktu@gmail.com>
18035
18036 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18037 * frame.el (display-mm-dimensions-alist):
18038 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18039 (outline-move-subtree-down):
18040 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18041 (newsticker--treeview-do-get-node):
18042 * net/quickurl.el (quickurl-list-buffer-name):
18043 * progmodes/dcl-mode.el (dcl-mode):
18044 * progmodes/gdb-mi.el (gdb-mapcar*):
18045 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18046
45261b50
GM
180472011-11-15 Glenn Morris <rgm@gnu.org>
18048
18049 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18050 in a boolean sense, so just make it a boolean, and fix the doc.
18051 (rmail-show-mime-function, rmail-mime-feature)
18052 (rmail-require-mime-maybe): Doc fixes.
18053 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18054
18055 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18056
0d26e0b6
JB
180572011-11-15 Juanma Barranquero <lekktu@gmail.com>
18058
18059 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18060 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18061 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18062 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18063
447f30f6
GM
180642011-11-15 Glenn Morris <rgm@gnu.org>
18065
672b871d
GM
18066 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18067 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18068 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18069 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18070 (rmail-mime, rmail-show-mime): Doc fixes.
18071
f6aa5bb1
GM
18072 * term/ns-win.el (mode-line-frame-identification):
18073 Leave it alone. (Bug#10051)
18074
947cd66b
GM
18075 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18076
447f30f6
GM
18077 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18078 Handle empty buffers. (Bug#9978)
18079
0b381c7e
JB
180802011-11-14 Juanma Barranquero <lekktu@gmail.com>
18081
18082 * international/mule.el (define-charset):
18083 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18084 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18085 * progmodes/verilog-mode.el (verilog-backward-token):
18086 * textmodes/ispell.el (lookup-words):
18087 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18088
71e027ac
GM
180892011-11-14 Glenn Morris <rgm@gnu.org>
18090
56632ce4
GM
18091 * progmodes/executable.el
18092 (executable-make-buffer-file-executable-if-script-p):
18093 Handle file-modes returning nil.
18094
40500957
GM
18095 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18096 message - not necessary, and causes problems. (Bug#9831)
18097
071c2340
GM
18098 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18099
d3cfca60
GM
18100 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18101
71e027ac
GM
18102 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18103 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18104 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18105
89d61221
MR
181062011-11-12 Martin Rudalics <rudalics@gmx.at>
18107
18108 * window.el (window-resize, delete-window): Use window-splits
18109 variable instead of function.
18110 (window-state-get-1, window-state-put-2, window-state-put):
18111 Don't deal with windows' splits status.
18112
98282f6f
GM
181132011-11-12 Glenn Morris <rgm@gnu.org>
18114
18115 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18116 (apropos-documentation): Doc fixes.
18117
40a8bdf6
JB
181182011-11-11 Juanma Barranquero <lekktu@gmail.com>
18119
18120 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18121 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18122
65bd19ff
SM
181232011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18124
18125 * electric.el (electric-indent-post-self-insert-function): Make it
18126 possible for a char to only indent in some circumstances.
18127 (electric-indent-mode): Simplify.
18128
54f9154c
MR
181292011-11-11 Martin Rudalics <rudalics@gmx.at>
18130
18131 * window.el (windows-with-parameter): Remove unused function.
18132 (windows-at-side): Rename to window-at-side-list.
18133 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
18134 (window-side-check, window-size-ignore, window-size-fixed-1)
18135 (window-in-direction-2): Prefix with "window--".
18136 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 18137
68cbc58b
GM
181382011-11-11 Glenn Morris <rgm@gnu.org>
18139
18140 * subr.el (eval-after-load): If FILE is already loaded,
18141 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18142
b2621720
GM
181432011-11-10 Glenn Morris <rgm@gnu.org>
18144
9a4de110
GM
18145 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18146 Call svn via vc-svn-command rather than vc-do-command.
18147 (vc-svn-command): Add --non-interactive. (Bug#9993)
18148 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18149
b2621720
GM
18150 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18151 Add toggle-read-only. (Bug#7292)
18152 * files.el (toggle-read-only): Mention that it should only
18153 be used interactively. (Bug#10006)
18154
1dce7193
SM
181552011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18156
d9ac1a1e
SM
18157 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18158 Adjust regexp for OCaml warnings.
18159
0c325082
SM
18160 * electric.el (electric-pair-post-self-insert-function): Let user
18161 turn it off buffer-locally (bug#9932).
18162
90132c14
SM
18163 * progmodes/python.el (python-beginning-of-statement):
18164 Rewrite (bug#2703).
18165
1dce7193
SM
18166 * progmodes/compile.el: Better handle TABs (bug#9749).
18167 (compilation-internal-error-properties)
18168 (compilation-next-error-function): Obey the target buffer's
18169 compilation-error-screen-columns.
18170
c4e7c63a
JB
181712011-11-09 Juanma Barranquero <lekktu@gmail.com>
18172
18173 * progmodes/meta-mode.el: Remove obsolete comments.
18174 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18175 Fix typos in docstrings.
18176
2cffd681
MR
181772011-11-09 Martin Rudalics <rudalics@gmx.at>
18178
18179 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 18180 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
18181 (window--resizable): New function. Make all callers of
18182 window-resizable call window--resizable instead.
18183 (window-resizable): Rewrite in terms of window--resizable.
18184
0edcba87
GM
181852011-11-08 Glenn Morris <rgm@gnu.org>
18186
18187 * progmodes/delphi.el (delphi-mode-syntax-table):
18188 Let define-derived-mode define a proper syntax table. (Bug#9994)
18189
4b0d61e3
SM
181902011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18191
18192 * window.el: Stay away from defsubst.
18193 (window-list-no-nils): Remove.
18194 (window-state-get-1, window-state-get): Use backquote instead.
18195
cd394be1 181962011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 18197
4b0d61e3 18198 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 18199 Fix incorrect use of default argument in `completing-read'.
18200
e1c2c6f2
MR
182012011-11-08 Martin Rudalics <rudalics@gmx.at>
18202
18203 * window.el (display-buffer-function, special-display-function):
18204 Mention display-buffer-record-window but do not mention
18205 help-setup parameter in doc-strings.
b3f4a882 18206 (window-min-delta): Fix doc-string typo.
e1c2c6f2 18207
105216ed
CY
182082011-11-08 Chong Yidong <cyd@gnu.org>
18209
18210 * window.el (window-total-height, window-total-width): Doc fix.
18211 (window-body-size): Move from C.
18212 (window-body-height, window-body-width): Move to C.
18213
0a9f9ab5
SM
182142011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18215
18216 * window.el: Make special-display like display-buffer-alist (bug#9532).
18217 (display-buffer--special-action): New function, morphed
18218 from display-buffer--special.
18219 (display-buffer): Use it to handle special-display-buffers at higher
18220 priority (just after display-buffer-alist).
18221 (display-buffer-fallback-action, display-buffer--other-frame-action)
18222 (pop-to-buffer-same-window): Remove display-buffer--special.
18223
a769dd15
GM
182242011-11-07 Glenn Morris <rgm@gnu.org>
18225
18226 * calendar/cal-menu.el (cal-menu-set-date-title):
18227 Do nothing if not in a calendar. (Bug#9976)
18228
05a61ee3
SM
182292011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
18230
18231 * files.el (find-file): Always use selected-window.
18232
be7f5545
MR
182332011-11-07 Martin Rudalics <rudalics@gmx.at>
18234
18235 * window.el (window-combinations): Make WINDOW argument
18236 mandatory. Rewrite doc-string.
18237 (walk-window-subtree, window-atom-check, window-min-delta)
18238 (window-max-delta, window--resize-this-window)
18239 (window--resize-root-window-vertically, window-tree)
18240 (balance-windows, window-state-put): Rewrite doc-strings as to
18241 not mention the term "subwindow".
18242 (window--resize-subwindows-skip-p): Rename to
18243 window--resize-child-windows-skip-p.
18244 (window--resize-subwindows-normal): Rename to
18245 window--resize-child-windows-normal.
18246 (window--resize-subwindows): Rename to
18247 window--resize-child-windows.
18248 (window-or-subwindow-p): Rename to window--in-subtree-p.
18249
3c6702ef
ML
182502011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18251
18252 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
18253 Ensure that mbox format messages end in two newlines (Bug#9974).
18254
49745b39
CY
182552011-11-06 Chong Yidong <cyd@gnu.org>
18256
18257 * window.el (window-combination-p): Function deleted; its
18258 side-effect is not used in any existing code.
18259 (window-combinations, window-combined-p): Call window-*-child
18260 directly.
18261
24300f5f
CY
182622011-11-05 Chong Yidong <cyd@gnu.org>
18263
18264 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
18265 (window-size-ignore, window-state-get): Callers changed.
18266 (window-normalize-window): Rename from window-normalize-any-window.
18267 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 18268 (window-normalize-live-window): Delete.
447f16b8
CY
18269 (window-combination-p, window-combined-p, window-combinations)
18270 (walk-window-subtree, window-atom-root, window-min-size)
18271 (window-sizable, window-sizable-p, window-size-fixed-p)
18272 (window-min-delta, window-max-delta, window-resizable)
18273 (window-resizable-p, window-full-height-p, window-full-width-p)
18274 (window-current-scroll-bars, window-point-1, set-window-point-1)
18275 (window-at-side-p, window-in-direction, window-resize)
18276 (adjust-window-trailing-edge, maximize-window, minimize-window)
18277 (window-deletable-p, delete-window, delete-other-windows)
18278 (record-window-buffer, unrecord-window-buffer)
18279 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
18280 (quit-window, split-window, window-state-put)
18281 (set-window-text-height, fit-window-to-buffer)
18282 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 18283
89bd5ee1
EZ
182842011-11-04 Eli Zaretskii <eliz@gnu.org>
18285
53479029
EZ
18286 * mail/rmail.el (rmail-simplified-subject): Decode subject with
18287 rfc2047-decode-string.
18288 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
18289 warnings.
18290
89bd5ee1
EZ
18291 * window.el (window-body-height, window-body-width): Mention in
18292 the doc string that the return values are in frame's canonical
18293 units. (Bug#9949)
18294
bd17fdee
AM
182952011-11-03 Alan Mackenzie <acm@muc.de>
18296
18297 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
18298 change in cc-engine.el.
18299
acc825c5
SM
183002011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
18301
18302 * window.el (switch-to-buffer): Use `force-same-window' interactively.
18303
1885e5b8
MR
183042011-11-02 Martin Rudalics <rudalics@gmx.at>
18305
18306 * window.el (quit-window): Call unrecord-window-buffer after
18307 showing another buffer in the window. (Bug#9937)
acc825c5 18308 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 18309
ebe06da9
JB
183102011-11-02 Juanma Barranquero <lekktu@gmail.com>
18311
18312 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
18313 Accept status with more than 9 shelves. (Bug#9935)
18314 Reported by Colin D Bennett <colin@gibibit.com>.
18315
4ee88440
MR
183162011-11-01 Martin Rudalics <rudalics@gmx.at>
18317
18318 * help.el (with-help-window): Don't reference
18319 temp-buffer-show-specifiers in doc-string.
18320
08e1d82c
AS
183212011-10-31 Andreas Schwab <schwab@linux-m68k.org>
18322
18323 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
18324 menu-item.
18325
84bd6e9e
VJL
183262011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18327
18328 * whitespace.el: New version 13.2.2.
18329 (whitespace-newline-mode): Disable properly. Reported by Sarah
18330 <EmacsWiki>.
18331
dba0634a
UJ
183322011-10-30 Ulf Jasper <ulf.jasper@web.de>
18333
18334 * net/newst-treeview.el: Remove "Time-stamp".
18335 (newsticker--group-manage-orphan-feeds): Do not call
18336 newsticker--treeview-tree-update.
db22a3c2
JB
18337 (newsticker-treeview-update, newsticker-treeview):
18338 Call newsticker--treeview-tree-update if necessary.
dba0634a 18339
3d8daefe
MR
183402011-10-30 Martin Rudalics <rudalics@gmx.at>
18341
18342 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
18343 (window-iso-combinations): Remove "iso-" infix.
18344 Suggested by Chong Yidong.
3d8daefe
MR
18345 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
18346 (window-max-delta-1, window-resize, window--resize-siblings)
18347 (window--resize-this-window, adjust-window-trailing-edge)
18348 (split-window, balance-windows-1)
18349 (shrink-window-if-larger-than-buffer):
18350 * calendar/calendar.el (calendar-generate-window):
db22a3c2 18351 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 18352
1bc4c3ae
SM
183532011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
18354
18355 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
18356 in place (bug#9907).
18357 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
18358 (eshell-rewrite-if-command, eshell-rewrite-for-command)
18359 (eshell-structure-basic-command, eshell-rewrite-while-command)
18360 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
18361 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
18362 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
18363 (eshell-do-pipelines-synchronously, eshell-eval-command):
18364 Use backquotes and prefer setq to set.
18365 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
18366 (eshell-macrop): Use functionp.
c1e2f5fa 18367 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 18368
30b65d9c
CY
183692011-10-30 Chong Yidong <cyd@gnu.org>
18370
18371 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
18372 instead of set-mark (Bug#9810).
18373
2d197ffb
CY
183742011-10-30 Chong Yidong <cyd@gnu.org>
18375
18376 * window.el (split-window-below, split-window-right): Rename from
18377 split-window-above-each-other and split-window-side-by-side
18378 respectively. All callers changed.
18379 (split-window-sensibly, split-window-sensibly): Use them.
18380 (split-window-keep-point): Doc fix.
18381
18382 * isearch.el: Add isearch-scroll property to split-window-below
18383 and split-window-right.
18384
18385 * follow.el (follow-mode):
18386 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18387 * progmodes/ada-xref.el (ada-gdb-application):
18388 * emulation/vip.el (vip-buffer-in-two-windows):
18389 * image-dired.el (image-dired-dired-with-window-configuration):
18390 * dired-x.el (dired-do-find-marked-files):
18391 * dired.el (dired-pop-to-buffer):
18392 * bs.el (bs--show-with-configuration):
18393 * vc/emerge.el (emerge-setup-windows):
18394 * textmodes/two-column.el (2C-two-columns):
18395 * textmodes/reftex-toc.el (reftex-toc):
18396 * progmodes/gdb-mi.el (gdb-setup-windows):
18397 * progmodes/fortran.el (fortran-window-create):
18398 * net/newst-treeview.el (newsticker--treeview-window-init):
18399 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
18400 * emulation/tpu-edt.el (tpu-gold-map):
18401 * emulation/crisp.el (crisp-mode-map):
18402 * calendar/calendar.el (calendar-basic-setup): Callers changed.
18403
38bb2ca8
CY
184042011-10-29 Chong Yidong <cyd@gnu.org>
18405
aa4de341
CY
18406 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
18407
e1eb5385
CY
18408 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
18409
5d2ece3c
CY
18410 * textmodes/flyspell.el (flyspell-word): Fix char offset for
18411 forged Ispell output (Bug#7904).
18412
38bb2ca8
CY
18413 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
18414
d0af9f77
SM
184152011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18416
18417 * doc-view.el: Avoid ugly errors about not finding nil.
18418 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
18419 (doc-view-dvipdf-program, doc-view-unoconv-program)
18420 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18421 Avoid nil or absolute file name as default value.
18422 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18423
52bedd34
AM
184242011-10-28 Alan Mackenzie <acm@muc.de>
18425
db22a3c2 18426 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 18427
7e43cfa5
AM
184282011-10-28 Alan Mackenzie <acm@muc.de>
18429
18430 Amend the handling of c-beginning/end-of-defun in nested declaration
18431 scopes.
18432
52bedd34
AM
18433 * progmodes/cc-vars.el (c-defun-tactic): Move here from
18434 cc-langs.el. Change it to a defcustom.
7e43cfa5 18435
52bedd34
AM
18436 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18437 cc-vars.el.
7e43cfa5 18438
d0af9f77
SM
18439 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18440 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 18441
52bedd34 18442 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 18443 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
18444 (c-widen-to-enclosing-decl-scope): New function.
18445 (c-while-widening-to-decl-block): New macro.
18446 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18447 outward for defun boundaries, and correspondingly change symbol
18448 `respect-enclosure' to `go-outward'.
18449 (c-declaration-limits): Change algorithm to report only the "innermost"
18450 defun's boundaries.
18451
1a2ce9ee
DD
184522011-10-28 Deniz Dogan <deniz@dogan.se>
18453
18454 * net/rcirc.el (rcirc-mode): Use hard newlines.
18455
bc97a826
AM
184562011-10-28 Alan Mackenzie <acm@muc.de>
18457
18458 Amend to indent and fontify macros "which include their own semicolon"
18459 correctly, using the "virtual semicolon" mechanism.
18460
52bedd34 18461 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 18462
d0af9f77 18463 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 18464 Recode to scan one line at a time rather than having \n and \r
58179cce 18465 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 18466 (c-forward-label): Amend for virtual semicolons.
58179cce 18467 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 18468
52bedd34
AM
18469 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18470 of the new C macros.
bc97a826 18471
52bedd34 18472 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
18473 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18474 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
18475 (c-opt-cpp-macro-define): Make into a full language variable.
18476 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18477 AWK Mode (including \n, \r) removed, no longer needed.
18478
d0af9f77
SM
18479 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18480 Invoke c-make-macro-with-semi-re.
bc97a826 18481
52bedd34
AM
18482 * progmodes/cc-vars.el (c-macro-with-semi-re):
18483 (c-macro-names-with-semicolon): New variables.
58179cce 18484 (c-make-macro-with-semi-re): New function.
bc97a826 18485
7a6c0941
SM
184862011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18487
18488 * vc/log-edit.el: Fill empty field rather than adding new one.
18489 (log-edit-add-field): New function.
18490 (log-edit-insert-changelog): Use it.
18491
b0c4cdcf
ML
184922011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18493
18494 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18495
ee1f1da9
SM
184962011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18497
18498 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18499 (gdb--check-interpreter): New function.
18500 (gdb): Use it.
18501
51bc5f8b
GM
185022011-10-27 Glenn Morris <rgm@gnu.org>
18503
416a2c45
GM
18504 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18505 (least-positive-float, least-negative-float)
18506 (least-positive-normalized-float, least-negative-normalized-float)
18507 (float-epsilon, float-negative-epsilon):
18508 Remove unnecessary declarations.
18509
18510 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18511 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18512 (least-positive-float, least-negative-float)
18513 (least-positive-normalized-float, least-negative-normalized-float)
18514 (float-epsilon, float-negative-epsilon): Add doc-strings,
18515 based on those in cl.texi.
18516
51bc5f8b
GM
18517 * files.el (set-visited-file-name): If the major-mode changed,
18518 reload the local variables. (Bug#9796)
18519
15de15c6
CY
185202011-10-27 Chong Yidong <cyd@gnu.org>
18521
18522 * subr.el (change-major-mode-after-body-hook): New hook.
18523 (run-mode-hooks): Run it.
18524
ee1f1da9
SM
18525 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18526 Use change-major-mode-before-body-hook.
15de15c6
CY
18527
18528 * simple.el (fundamental-mode):
18529 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18530 change introducing fundamental-mode-hook.
18531
5430d399
JB
185322011-10-26 Juanma Barranquero <lekktu@gmail.com>
18533
acc825c5 18534 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 18535
ad74a69e
MA
185362011-10-26 Michael Albinus <michael.albinus@gmx.de>
18537
18538 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 18539 tramp.el explicitly. (Bug#7583)
ad74a69e 18540
71d4c2a5
SM
185412011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18542
18543 * progmodes/octave-mod.el:
18544 * progmodes/octave-inf.el: Update maintainer.
18545
b1f6fa26
CY
185462011-10-26 Chong Yidong <cyd@gnu.org>
18547
18548 * subr.el (with-wrapper-hook): Rewrite doc.
18549
3f04efd6
MA
185502011-10-25 Michael Albinus <michael.albinus@gmx.de>
18551
18552 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 18553 filenames "/method:foo:". (Bug#9793)
3f04efd6 18554
410488d3
SM
185552011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18556
18557 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18558 (bug#9865).
18559
c1ebb47e
GM
185602011-10-24 Glenn Morris <rgm@gnu.org>
18561
18562 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18563
7f5c46c7
MA
185642011-10-24 Michael Albinus <michael.albinus@gmx.de>
18565
18566 * notifications.el: Add the requirement of a running D-Bus session
18567 bus to the Commentary.
18568
db2440b6
JL
185692011-10-24 Juri Linkov <juri@jurta.org>
18570
18571 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18572 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18573 (Bug#9364)
18574
feecf435
JL
185752011-10-24 Juri Linkov <juri@jurta.org>
18576
18577 * info.el (Info-following-node-name-re): Add newline to the list
18578 of allowed characters for leading space. (Bug#9824)
18579
a3839de2
SM
185802011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18581
acc825c5
SM
18582 * progmodes/octave-inf.el (inferior-octave-mode-map):
18583 Fix C-c C-h binding.
a3839de2
SM
18584 * progmodes/octave-mod.el (octave-help): Remove.
18585
09388e76
MA
185862011-10-23 Michael Albinus <michael.albinus@gmx.de>
18587
18588 Sync with Tramp 2.2.3.
18589
18590 * net/tramp-cache.el (top): Pacify byte-compiler using
18591 `init-file-user' and `site-run-file'.
18592
18593 * net/trampver.el: Update release number.
18594
86c60681
CY
185952011-10-23 Chong Yidong <cyd@gnu.org>
18596
18597 * files.el (toggle-read-only): Remove obsolete comment about
18598 version control.
18599
18600 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18601 for toggle-read-only. Note that this hasn't called vc-next-action
18602 since 2008-05-02, though it wasn't documented at the time.
18603
a3839de2
SM
18604 * vc/ediff-init.el (ediff-toggle-read-only-function):
18605 Use toggle-read-only.
86c60681 18606
cd5495ff
AM
186072011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18608
18609 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18610 of c-parse-state.
18611
00b77525 18612 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 18613 correct faulty logical expression.
cd5495ff
AM
18614 (c-parse-state-state, c-record-parse-state-state):
18615 (c-replay-parse-state-state): New defvar/defuns.
18616 (c-debug-parse-state): Use new functions.
18617
42ee24ed
MR
186182011-10-22 Martin Rudalics <rudalics@gmx.at>
18619
18620 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 18621 last fix. Use window-in-direction correctly.
42ee24ed 18622
a7dee7e7
CY
186232011-10-21 Chong Yidong <cyd@gnu.org>
18624
18625 * progmodes/idlwave.el (idlwave-mode):
18626 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
18627 require-final-newline; that's done in prog-mode.
18628 Suggested by Stefan Monnier.
a7dee7e7 18629
e07b9a6d
MR
186302011-10-21 Martin Rudalics <rudalics@gmx.at>
18631
18632 * mouse.el (mouse-drag-window-above)
18633 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18634 (mouse-drag-mode-line-1, mouse-drag-header-line)
18635 (mouse-drag-vertical-line-rightward-window): Remove.
18636 (mouse-drag-line): New function.
18637 (mouse-drag-mode-line, mouse-drag-header-line)
18638 (mouse-drag-vertical-line): Call mouse-drag-line.
18639 * window.el (window-at-side-p, windows-at-side): New functions.
18640
7e1361d9
UM
186412011-10-21 Ulrich Mueller <ulm@gentoo.org>
18642
18643 * tar-mode.el (tar-grind-file-mode):
18644 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18645
30fcaf3a
CY
186462011-10-21 Chong Yidong <cyd@gnu.org>
18647
18648 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
18649 * progmodes/vera-mode.el (vera-mode):
18650 Use mode-require-final-newline.
30fcaf3a 18651
516eddb0
GM
186522011-10-20 Glenn Morris <rgm@gnu.org>
18653
db22a3c2 18654 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 18655
10d5f513
CS
186562011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18657
18658 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18659
ac6c8639
CY
186602011-10-20 Chong Yidong <cyd@gnu.org>
18661
18662 * emulation/cua-base.el (cua-mode):
18663 * mail/footnote.el (footnote-mode):
18664 * mail/mailabbrev.el (mail-abbrevs-mode):
18665 * net/xesam.el (xesam-minor-mode):
18666 * progmodes/bug-reference.el (bug-reference-mode):
18667 * progmodes/cap-words.el (capitalized-words-mode):
18668 * progmodes/compile.el (compilation-minor-mode)
18669 (compilation-shell-minor-mode):
18670 * progmodes/gud.el (gud-tooltip-mode):
18671 * progmodes/hideif.el (hide-ifdef-mode):
18672 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18673 * progmodes/subword.el (subword-mode):
18674 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18675 * progmodes/which-func.el (which-function-mode):
18676 * term/tvi970.el (tvi970-set-keypad-mode):
18677 * term/vt100.el (vt100-wide-mode):
18678 * textmodes/flyspell.el (flyspell-mode):
18679 * textmodes/ispell.el (ispell-minor-mode):
18680 * textmodes/nroff-mode.el (nroff-electric-mode):
18681 * textmodes/paragraphs.el (use-hard-newlines):
18682 * textmodes/refill.el (refill-mode):
18683 * textmodes/reftex.el (reftex-mode):
18684 * textmodes/rst.el (rst-minor-mode):
18685 * textmodes/sgml-mode.el (html-autoview-mode)
18686 (sgml-electric-tag-pair-mode):
18687 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18688 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18689 * emulation/crisp.el (crisp-mode):
18690 * emacs-lisp/eldoc.el (eldoc-mode):
18691 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18692 minor mode behavior.
18693
aa42ab43
JL
186942011-10-19 Juri Linkov <juri@jurta.org>
18695
18696 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18697 the list of hard-coded chars with escape-glyph face.
18698
89400f1d
SM
186992011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18700
18701 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18702
305c07f6
MA
187032011-10-19 Michael Albinus <michael.albinus@gmx.de>
18704
18705 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18706 running process.
18707
13754b54
GM
187082011-10-19 Glenn Morris <rgm@gnu.org>
18709
18710 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18711 Ignore ignored files. (Bug#9726)
18712
06e21633
CY
187132011-10-19 Chong Yidong <cyd@gnu.org>
18714
18715 Doc fix for minor modes, stating that an omitted argument enables
18716 the mode unconditionally when called from Lisp.
18717
18718 * abbrev.el (abbrev-mode):
18719 * allout.el (allout-mode):
18720 * autoinsert.el (auto-insert-mode):
18721 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18722 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18723 (global-auto-revert-mode):
18724 * battery.el (display-battery-mode):
18725 * composite.el (global-auto-composition-mode)
18726 (auto-composition-mode):
18727 * delsel.el (delete-selection-mode):
18728 * desktop.el (desktop-save-mode):
18729 * dired-x.el (dired-omit-mode):
18730 * dirtrack.el (dirtrack-mode):
18731 * doc-view.el (doc-view-minor-mode):
18732 * double.el (double-mode):
18733 * electric.el (electric-indent-mode, electric-pair-mode):
18734 * emacs-lock.el (emacs-lock-mode):
18735 * epa-hook.el (auto-encryption-mode):
18736 * follow.el (follow-mode):
18737 * font-core.el (font-lock-mode):
18738 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18739 * help.el (temp-buffer-resize-mode):
18740 * hilit-chg.el (highlight-changes-mode)
18741 (highlight-changes-visible-mode):
18742 * hi-lock.el (hi-lock-mode):
18743 * hl-line.el (hl-line-mode, global-hl-line-mode):
18744 * icomplete.el (icomplete-mode):
18745 * ido.el (ido-everywhere):
18746 * image-file.el (auto-image-file-mode):
18747 * image-mode.el (image-minor-mode):
18748 * iswitchb.el (iswitchb-mode):
18749 * jka-cmpr-hook.el (auto-compression-mode):
18750 * linum.el (linum-mode):
18751 * longlines.el (longlines-mode):
18752 * master.el (master-mode):
18753 * mb-depth.el (minibuffer-depth-indicate-mode):
18754 * menu-bar.el (menu-bar-mode):
18755 * minibuf-eldef.el (minibuffer-electric-default-mode):
18756 * mouse-sel.el (mouse-sel-mode):
18757 * msb.el (msb-mode):
18758 * mwheel.el (mouse-wheel-mode):
18759 * outline.el (outline-minor-mode):
18760 * paren.el (show-paren-mode):
18761 * recentf.el (recentf-mode):
18762 * reveal.el (reveal-mode, global-reveal-mode):
18763 * rfn-eshadow.el (file-name-shadow-mode):
18764 * ruler-mode.el (ruler-mode):
18765 * savehist.el (savehist-mode):
18766 * scroll-all.el (scroll-all-mode):
18767 * scroll-bar.el (scroll-bar-mode):
18768 * server.el (server-mode):
18769 * shell.el (shell-dirtrack-mode):
18770 * simple.el (auto-fill-mode, transient-mark-mode)
18771 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18772 (line-number-mode, column-number-mode, size-indication-mode)
18773 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18774 * strokes.el (strokes-mode):
18775 * time.el (display-time-mode):
18776 * t-mouse.el (gpm-mouse-mode):
18777 * tool-bar.el (tool-bar-mode):
18778 * tooltip.el (tooltip-mode):
18779 * type-break.el (type-break-mode-line-message-mode)
18780 (type-break-query-mode):
18781 * view.el (view-mode):
18782 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18783 (global-whitespace-mode, global-whitespace-newline-mode):
18784 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18785
a3839de2
SM
18786 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18787 Fix autogenerated docstring.
06e21633 18788
5214e501
JL
187892011-10-19 Juri Linkov <juri@jurta.org>
18790
18791 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18792 by checking environment variables "DESKTOP_SESSION" and
18793 "XDG_CURRENT_DESKTOP". (Bug#9779)
18794
195f8db9
JL
187952011-10-19 Juri Linkov <juri@jurta.org>
18796
18797 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18798 (browse-url-chromium-program, browse-url-chromium-arguments):
18799 New defcustoms.
18800 (browse-url-default-browser): Check for `browse-url-chromium' and
18801 call `browse-url-chromium-program'.
18802 (browse-url-chromium): New command. (Bug#9779)
18803
343a34ff
JB
188042011-10-18 Juanma Barranquero <lekktu@gmail.com>
18805
18806 * facemenu.el (list-colors-duplicates): On Windows, detect more
18807 duplicates by assuming that only colors matching "^System" are
18808 special "system colors". (Bug#9722)
18809
6978a151
SM
188102011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18811
18812 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18813 to distinguish the author from the committer.
18814
6a80b297
MA
188152011-10-18 Michael Albinus <michael.albinus@gmx.de>
18816
18817 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18818
b31a5677
JK
188192011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18820
18821 * international/mule.el (sgml-html-meta-auto-coding-function):
18822 Add support for detecting encoding in HTML5 specified only as
18823 <meta charset="UTF-8">. Implementation just makes http-equiv and
18824 content-type parts from HTML4 encoding string optional. (Bug#9716)
18825
80c6d77f
GM
188262011-10-18 Glenn Morris <rgm@gnu.org>
18827
18828 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18829
08b0fee8
CY
188302011-10-18 Chong Yidong <cyd@gnu.org>
18831
18832 * faces.el (cursor): Doc fix.
18833
67e729a5
CY
188342011-10-17 Chong Yidong <cyd@gnu.org>
18835
18836 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18837
343a34ff 188382011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
18839
18840 * dirtrack.el (dirtrack): Support shell buffers with path
18841 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18842
0bc06380
TZ
188432011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18844
18845 * json.el: Bump version to 1.3 and note change in History.
18846 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18847
8b79f3e0
SM
188482011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18849
5a7c536b
SM
18850 * comint.el (comint-insert-input, comint-send-input)
18851 (comint-get-old-input-default, comint-backward-matching-input)
18852 (comint-next-prompt): Use nil instead of `input' for field property of
18853 past user input (bug#114).
18854
96a8a0df
SM
18855 * minibuffer.el (completion--replace): Inherit surrounding properties
18856 (bug#114).
18857 (minibuffer-complete-and-exit): Use it.
18858
8b79f3e0
SM
18859 * comint.el (comint--table-subvert): Quote the all-completions output
18860 (bug#9160).
18861
b8f7ff0d
MR
188622011-10-17 Martin Rudalics <rudalics@gmx.at>
18863
8b79f3e0 18864 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 18865
b8f7ff0d 18866 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 18867 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
18868 entries and separate them from frame entries.
18869
c235b555
GM
188702011-10-15 Glenn Morris <rgm@gnu.org>
18871
18872 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18873 Doc fixes.
18874
6bbfa6e1
CY
188752011-10-15 Chong Yidong <cyd@stupidchicken.com>
18876
8b79f3e0
SM
18877 * net/network-stream.el (network-stream-open-starttls):
18878 Improve detection of failure due to lack of TLS support.
ec5c990d 18879
6bbfa6e1
CY
18880 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18881 putting the input text in front and in bold.
18882
98488977
SM
188832011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18884
3d1337be
SM
18885 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18886
ee0b45e4
SM
18887 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18888 empty buffer.
18889
98488977
SM
18890 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18891 unread-command-events rather than pushing yet-another event.
18892
186f4720
EZ
188932011-10-14 Eli Zaretskii <eliz@gnu.org>
18894
18895 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18896 the explanation of the possible choices. Make the options passed
18897 to completing-read shorter.
18898
8b7a997c
AM
188992011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18900
18901 * textmodes/flyspell.el (flyspell-large-region): Make sure
18902 extended character mode is used if defined (Bug#1339).
18903
12587bbb
EZ
189042011-10-13 Eli Zaretskii <eliz@gnu.org>
18905
18906 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
18907 character info for LRE, LRO, RLE, and RLO characters by appending
18908 an invisible PDF.
12587bbb 18909
bad41229
SM
189102011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18911
18912 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18913 even in case of error; add debug spec; simplify data flow.
18914 (with-timeout-handler): Remove.
18915
28dbc92f
MA
189162011-10-12 Michael Albinus <michael.albinus@gmx.de>
18917
18918 Fix Bug#6019, Bug#9315.
18919
18920 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18921 complete `buffer-file-name', the local file name part could look
18922 remotely (for example on VMS).
18923
18924 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18925 `tramp-run-real-handler'.
18926 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18927 already quoted by '"'.
18928
18929 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18930 Let `file-name-handler-alist' be nil, the local file name part
18931 could look remotely (for example on VMS).
18932
e1b0b23a
SM
189332011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18934
18935 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18936 from here...
18937 (flyspell-post-command-hook): ...to here.
18938
a120bde9
SM
189392011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18940
18941 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18942 if not needed.
18943 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18944 using completion. Protect against "slow" callers.
18945 Remove the "message hack".
18946
7ce7717b
JL
189472011-10-11 Juri Linkov <juri@jurta.org>
18948
18949 * isearch.el (isearch-lazy-highlight-word): New variable.
18950 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18951 Use it. (Bug#9727)
18952
c02ee9d6
GM
189532011-10-11 Glenn Morris <rgm@gnu.org>
18954
18955 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18956 like f90-previous-statement does.
18957
93e616fd 189582011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18959
1f190e73 18960 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
18961 only in interactive use, to avoid error.
18962
af7b6078
SM
189632011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18964
18965 * minibuffer.el (completion-file-name-table): Fix last change,
18966 i.e. ignore normal errors but not the other ones.
18967
0563dae9
MR
189682011-10-10 Martin Rudalics <rudalics@gmx.at>
18969
18970 * window.el (special-display-buffer-names)
18971 (special-display-regexps): Remove some remnants of earlier
18972 changes from doc-strings.
366ca7f3
MR
18973 (quit-windows-on): New function.
18974
18975 * vc/vc.el (vc-revert, vc-rollback):
18976 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18977 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 18978 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 18979
49677495
MR
189802011-10-09 Martin Rudalics <rudalics@gmx.at>
18981
18982 * window.el (frame-auto-hide-function): Add version tag.
18983 (Bug#9699)
18984
56f2d1e1
MA
189852011-10-09 Michael Albinus <michael.albinus@gmx.de>
18986
18987 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18988 condition.
18989
112a6592
LL
189902011-10-09 Leo Liu <sdl.web@gmail.com>
18991
18992 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18993 (Bug#9701)
18994
0812589b
GM
189952011-10-08 Glenn Morris <rgm@gnu.org>
18996
18997 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18998 before the first code statement zero indent. (Bug#9690)
18999
b2b0776e
CY
190002011-10-08 Chong Yidong <cyd@stupidchicken.com>
19001
19002 * simple.el (count-words-region): Always count in the region.
19003 Report the number of lines and characters too.
19004 (count-words): New command, which counts in the buffer if the
19005 region is inactive, as count-words-region used to.
19006 (count-words--message): New function. Handle plurals.
19007 (count-lines-region): Make it an alias for count-words-region.
19008
19009 * bindings.el (esc-map): Replace count-lines-region with
19010 count-words-region.
19011
c557cd6b
MR
190122011-10-08 Martin Rudalics <rudalics@gmx.at>
19013
19014 * window.el (window--delete): Delete dedicated frame
19015 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 19016 (switch-to-buffer): Fix doc-string typo.
c557cd6b 19017
61a57ef4 190182011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19019
3a7d293b 19020 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 19021
c3833279
CY
190222011-10-07 Chong Yidong <cyd@stupidchicken.com>
19023
19024 * bindings.el ([M-left],[M-right]): Bind to left-word and
19025 right-word respectively.
19026
21ce8245
GM
190272011-10-07 Glenn Morris <rgm@gnu.org>
19028
19029 * cus-start.el (debug-on-quit): Fix custom type.
19030
6d823bb2
LMI
190312011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19032
0181e193
LMI
19033 * subr.el (define-key-after): Clarify that the function is not
19034 useful for non-menu keymaps.
19035
6d823bb2
LMI
19036 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19037
8e3459ce 190382011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19039
21ce8245 19040 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 19041 in current minibuffer (Fix bug with recursive minibuffers).
19042
a1c2d21e
CY
190432011-10-06 Chong Yidong <cyd@stupidchicken.com>
19044
19045 * progmodes/gdb-mi.el (gdb): Doc fix.
19046
5a4cf282
MR
190472011-10-05 Martin Rudalics <rudalics@gmx.at>
19048
19049 * window.el (frame-auto-hide-function): New option replacing
19050 frame-auto-delete. Suggested by Stefan Monnier.
19051 (window--delete): Call frame-auto-hide-function instead of
19052 investigating frame-auto-delete.
c96111ea
MR
19053 (window-point-1, set-window-point-1): New functions.
19054 (window-in-direction, record-window-buffer, window-state-get-1)
19055 (display-buffer-record-window): Use window-point-1 instead of
19056 window-point.
19057 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 19058
9854542e
SM
190592011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19060
19061 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19062
8943cfb0
GM
190632011-10-05 Glenn Morris <rgm@gnu.org>
19064
19065 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19066 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19067
647ab967
LL
190682011-10-05 Leo Liu <sdl.web@gmail.com>
19069
19070 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19071 works with buffer object.
19072
3ddfbced
SM
190732011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19074
19075 * mpc.el (mpc-tool-bar-map): Add labels.
19076
bdfa5dd2
GM
190772011-10-04 Glenn Morris <rgm@gnu.org>
19078
19079 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19080
0e2070b5
MR
190812011-10-04 Martin Rudalics <rudalics@gmx.at>
19082
19083 * window.el (window--delete): New function.
19084 (frame-auto-delete): Resuscitate option.
19085 (bury-buffer, replace-buffer-in-windows)
19086 (quit-window): Rewrite using window--delete.
19087 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19088 Pass display-buffer-mark-dedicated to window--display-buffer-2
19089 (Bug#9639).
19090
3dc61a09
SM
190912011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19092
915a9b64
SM
19093 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19094 returns a list (bug#9554). Add remote file name completion.
19095 * comint.el (comint--table-subvert): Curry and get quote&unquote
19096 functions as arguments.
19097 (comint--complete-file-name-data): Adjust call accordingly.
19098 * pcomplete.el (pcomplete--table-subvert): Remove.
19099 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19100
3dc61a09
SM
19101 * minibuffer.el (completion-table-case-fold): Use currying.
19102 (completion--styles-type, completion--cycling-threshold-type):
19103 New constants.
19104 (completion-styles, completion-category-overrides)
19105 (completion-cycle-threshold): Use them.
19106 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19107 completion-table-case-fold.
19108
8ea0a993
SB
191092011-10-03 Stephen Berman <stephen.berman@gmx.net>
19110
19111 * minibuffer.el (completion-category-overrides): Fix type of styles
19112 and add more user friendly tags (bug#9660).
19113
8c24b7f6
SM
191142011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19115
19116 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19117 (mule-input-method-string): New widget.
19118 (default-input-method, language-info-custom-alist): Use it.
19119
428fe61a
SM
191202011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19121
32c1fffd
SM
19122 * pcomplete.el: Require comint.
19123 (pcomplete--common-suffix): Remove.
19124 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19125 (pcomplete--table-subvert): Sync with comint--table-subvert.
19126 (pcomplete--entries): Use comint-completion-file-name-table.
19127 * comint.el (comint-unquote-filename): Simplify.
19128 (comint-completion-file-name-table): New function (bug#9616).
19129 (comint--complete-file-name-data): Use it.
19130
428fe61a
SM
19131 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19132 (pcmpl-gnu-tar-buffer): Remove.
19133 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
19134 around. Make sure pcomplete-suffix-list is only changed temporarily.
19135 Don't look inside the tar's file if it's too large.
428fe61a 19136
04c52e2f
CY
191372011-10-01 Chong Yidong <cyd@stupidchicken.com>
19138
ce3cefcc
CY
19139 * cus-edit.el (custom-mode-map):
19140 * epa.el (epa-key-list-mode-map):
19141 * man.el (Man-mode-map):
19142 * startup.el (splash-screen-keymap):
19143 * simple.el (special-mode-map): Use scroll-up-command and
19144 scroll-down-command.
19145
19146 * progmodes/idlw-help.el (idlwave-help-mode-map):
19147 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19148 * net/newst-plainview.el (newsticker-mode-map):
19149 * emulation/ws-mode.el (wordstar-mode-map):
19150 * emulation/vi.el (vi-com-map):
19151 * calc/calc-graph.el (calc-graph-show-dumb):
19152 * term/sun.el (terminal-init-sun):
19153 * term/ns-win.el (global-map):
19154 * progmodes/grep.el (grep-mode-map):
19155 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19156 * mail/rmail.el (rmail-mode-map):
19157 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19158
04c52e2f
CY
19159 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19160 custom-safe-themes as special.
19161
79adf8c8
JD
191622011-10-01 Julien Danjou <julien@danjou.info>
19163
19164 * notifications.el (notifications-notify): Fix docstring.
19165
63bd50d3
PS
191662011-10-01 Per Starbäck <per@starback.se>
19167
19168 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19169
199e4c7e
MR
191702011-09-30 Martin Rudalics <rudalics@gmx.at>
19171
19172 * startup.el (command-line-1): Fix last fix by inserting
19173 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 19174 (Bug#9605) and (Bug#9636)
199e4c7e 19175
fe5f08dd
EZ
191762011-09-29 Eli Zaretskii <eliz@gnu.org>
19177
19178 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19179 window is hscrolled, move by logical lines. (Bug#9607)
19180 (line-move-visual): Update the doc string to the above effect.
19181
b5516bbd
MR
191822011-09-29 Martin Rudalics <rudalics@gmx.at>
19183
ccee00c0
MR
19184 * window.el (display-buffer-record-window): When WINDOW is the
19185 selected window use `point' instead of `window-point'. (Bug#9626)
19186
b5516bbd
MR
19187 * startup.el (command-line-1): Use insert-before-markers when
19188 inserting initial-scratch-message. (Bug#9605)
ccee00c0 19189
b5516bbd
MR
19190 * help.el (help-window): Remove variable.
19191
52aa0014
GM
191922011-09-29 Glenn Morris <rgm@gnu.org>
19193
19194 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
19195
df9a7357
JB
191962011-09-29 Juanma Barranquero <lekktu@gmail.com>
19197
19198 * descr-text.el (describe-char-categories): Accept category
19199 descriptions more than one line long.
19200
a8406c20
SM
192012011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
19202
88d9610c
SM
19203 * simple.el (delete-trailing-whitespace): Fix last change.
19204
a5daf810
SM
19205 * progmodes/perl-mode.el (perl-syntax-propertize-function):
19206 Don't confuse "y => 3" as the beginning of a `y' operation.
19207
a8406c20
SM
19208 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
19209 object has more than 4 slots (bug#9613).
19210
a239d4e9
JB
192112011-09-28 Juanma Barranquero <lekktu@gmail.com>
19212
19213 * subr.el (with-output-to-temp-buffer):
19214 * net/quickurl.el (quickurl, quickurl-browse-url):
19215 Fix typos in docstrings.
19216
693fbdb6
EZ
192172011-09-27 Eli Zaretskii <eliz@gnu.org>
19218
19219 * minibuffer.el (completion-styles)
19220 (completion-category-overrides): Cross reference each other in doc
19221 strings.
19222
8b457e28
GM
192232011-09-27 Glenn Morris <rgm@gnu.org>
19224
19225 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
19226 to split-string. (Bug#9606)
19227
85a16208
LMI
192282011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19229
19230 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
19231 (bug#9615).
19232
502f9ebd
CY
192332011-09-27 Chong Yidong <cyd@stupidchicken.com>
19234
19235 * emacs-lisp/package.el (list-packages): Fix echo area message.
19236
7690bdea
LL
192372011-09-27 Leo Liu <sdl.web@gmail.com>
19238
19239 * ido.el (ido-read-internal): Accept cons cell HIST arg.
19240
e2ee6f30
MA
192412011-09-25 Michael Albinus <michael.albinus@gmx.de>
19242
19243 * net/dbus.el (dbus-unregister-object): Don't release services for
19244 registered signals. (Bug#9581)
19245
f3f98342
TZ
192462011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
19247
19248 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
19249 function that picks between cfengine 2 and 3 support
19250 automatically. Update docs accordingly.
19251
dd7aa8dd
KH
192522011-09-22 Kenichi Handa <handa@m17n.org>
19253
19254 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
19255 ZERO.
19256 (indian-itrans-v5-table-for-tamil): New variable.
19257 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
19258
3f2b07f8
KM
192592011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
19260
19261 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
19262 that's true if the current command involved collapsing of text.
19263 It's reset to false at the beginning of the next command.
19264 (allout-post-command-business): Move the cursor to the beginning
19265 of entry if the cursor is hidden and collapsing activity just
19266 happened.
19267
371d6a61
CY
192682011-09-24 Chong Yidong <cyd@stupidchicken.com>
19269
19270 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
19271 tracking (Bug#9541).
19272
2ac2721a
UJ
192732011-09-24 Ulf Jasper <ulf.jasper@web.de>
19274
19275 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
19276 (newsticker-show-news): Automatically load html rendering package
19277 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
19278 because w3m-fill-column is let-bound" and the error "Symbol's value
19279 as variable is void: w3m-fill-column".
2ac2721a 19280
fac7ae53
MA
192812011-09-24 Michael Albinus <michael.albinus@gmx.de>
19282
19283 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
19284 Release services only if they are defined. (Bug#9581)
19285
e08b633b
RS
192862011-09-23 Richard Stallman <rms@gnu.org>
19287
e488d29c
RS
19288 * textmodes/paragraphs.el (forward-sentence): For backwards case,
19289 distinguish start of paragraph from start of its text.
19290
19c38752
RS
19291 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
19292
e08b633b
RS
19293 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
19294 (rmail-generate-viewer-buffer): Put that hook on view buffer.
19295 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
19296
0a39f27e
AS
192972011-09-23 Andreas Schwab <schwab@linux-m68k.org>
19298
19299 * international/mule-diag.el (mule-diag): Insert a newline after
19300 each fontset description.
19301
db4e950d
SM
193022011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19303
19304 * simple.el (delete-trailing-whitespace):
19305 Document last change; simplify.
19306
eca3f3ea
PW
193072011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
19308
d68e189a
PW
19309 * simple.el (delete-trailing-whitespace): Also delete
19310 extra newlines at the end of the buffer.
19311
eca3f3ea
PW
19312 * textmodes/picture.el: Make motion commands obey shift-select-mode.
19313 (picture-newline): Use forward-line so as to ignore fields.
19314
01c157cc
SM
193152011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19316
19317 * subr.el (with-wrapper-hook): Fix edebug spec.
19318
022de23e
LMI
193192011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19320
19321 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
19322 (bug#4538).
19323
91683089
MA
193242011-09-23 Michael Albinus <michael.albinus@gmx.de>
19325
eca3f3ea
PW
19326 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
19327 Fix nasty bug using wrong cached values.
91683089 19328
5bdd6fa4
AM
193292011-09-23 Alan Mackenzie <acm@muc.de>
19330
19331 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
19332
97adfb97
CY
193332011-09-23 Chong Yidong <cyd@stupidchicken.com>
19334
19335 * window.el (pop-to-buffer): Ensure right window is selected if we
19336 chose another frame.
19337
d4ef2b50
EZ
193382011-09-22 Eli Zaretskii <eliz@gnu.org>
19339
19340 * simple.el (what-cursor-position): Use get-char-property-change
19341 and next-single-char-property-change, to be able to show display
19342 properties that come from overlays as well as text properties.
19343
72258fe5
CY
193442011-09-22 Chong Yidong <cyd@stupidchicken.com>
19345
19346 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
19347
19348 * cmuscheme.el (run-scheme, switch-to-scheme):
19349 * cus-edit.el (customize-group, custom-buffer-create)
19350 (customize-browse):
19351 * info.el (info):
19352 * shell.el (shell):
19353 * mail/sendmail.el (mail):
19354 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
19355
8f098516
RS
193562011-09-22 Richard Stallman <rms@gnu.org>
19357
19358 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
19359 move back only to line beg, don't move back over blank lines.
19360
e74f1bb6
MA
193612011-09-22 Michael Albinus <michael.albinus@gmx.de>
19362
19363 * files.el (copy-directory): Set directory attributes only in case
19364 they could be retrieved from the source directory. (Bug#9565)
19365
bfeef8b6
DK
193662011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
19367
19368 * progmodes/hideshow.el (hs-looking-at-block-start-p)
19369 (hs-find-block-beginning, hs-hide-level-recursive):
19370 Ignore strings as well as comments. (Bug#9502)
19371
7e423bb8
AS
193722011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
19373
19374 * progmodes/sql.el (sql-comint-postgres):
19375 Convert port number to a string. (Bug#9566)
19376
b4d72fcf
MR
193772011-09-22 Martin Rudalics <rudalics@gmx.at>
19378
19379 * window.el (quit-window): Undedicate window when switching to
19380 previous buffer. Reported by Thierry Volpiatto
19381 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
19382 (special-display-popup-frame): When popping up a new frame reset
19383 its previous buffers to nil. Simplify code.
b4d72fcf 19384
a7b88dc6
MA
193852011-09-21 Michael Albinus <michael.albinus@gmx.de>
19386
19387 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
19388 and process filter, as done also in `shell-command'.
19389
cf4eacfd
MR
193902011-09-21 Martin Rudalics <rudalics@gmx.at>
19391
eca3f3ea 19392 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
19393 Call set-window-start with NOFORCE argument t.
19394 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
19395 (quit-window): Reword doc-string. Handle new format of
19396 quit-restore parameter. Don't delete window if it has a
19397 previous buffer we can show instead of the present one.
19398 (display-buffer-record-window): Rewrite using a new format for
19399 the quit-restore window parameter
19400 (special-display-popup-frame, display-buffer-same-window)
19401 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19402 (display-buffer-pop-up-window, display-buffer-use-some-window):
19403 Adapt symbol passed to display-buffer-record-window.
19404 * help.el (help-window-setup): Handle new format of quit-restore
19405 parameter.
19406
8d28cb95
SM
194072011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19408
94ab793f
SM
19409 * faces.el (face-list): Fix docstring (bug#9564).
19410
8d28cb95
SM
19411 * window.el (display-buffer--action-function-custom-type):
19412 Don't include internal functions in the Custom interface.
19413
3820edeb
JL
194142011-09-20 Juri Linkov <juri@jurta.org>
19415
19416 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
19417 (Info-forward-node, Info-backward-node, Info-next-preorder)
19418 (Info-last-preorder): Use it. (Bug#9528)
19419
5147931d
JL
194202011-09-20 Juri Linkov <juri@jurta.org>
19421
19422 * info.el (Info-last-preorder): Visit last menu item only when
19423 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19424
cf499a1a
JD
194252011-09-20 Julien Danjou <julien@danjou.info>
19426
19427 * password-cache.el (password-cache-remove): Remove entries even if the
19428 value is nil, so that password with a nil value (negative caching) is
19429 possible to invalidate.
19430
f84e2fe2
LM
194312011-09-20 Lawrence Mitchell <wence@gmx.li>
19432
19433 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19434 all whitespace around breakpoint. (Bug#9553)
19435 (f90-find-breakpoint): Only break at whitespace inside a comment.
19436
78054a46
SM
194372011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19438
19439 * minibuffer.el (completion-file-name-table): Keep track of errors.
19440 (completion-table-with-predicate): Handle the case where pred1 is nil.
19441 * pcomplete.el (pcomplete-completions-at-point): Simplify.
19442
345083b2
SM
194432011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19444
e24e27be
SM
19445 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19446 (debugger-return-value): Signal an error if the debugging context does
19447 not await any return value.
19448
345083b2
SM
19449 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19450 * image-mode.el (image-toggle-display-text)
19451 (image-toggle-display-image): Stay away from evil `intangible'.
19452
08d355e3
LL
194532011-09-19 Leo Liu <sdl.web@gmail.com>
19454
19455 * replace.el (occur-revert-arguments): Make it permanent-local.
19456 (occur-mode): Don't call font-lock-defontify.
19457
f01da43f
CY
194582011-09-19 Chong Yidong <cyd@stupidchicken.com>
19459
19460 * net/ldap.el (ldap-search-internal): Don't push empty search
19461 result (Bug#9508).
19462
b6072fa6
SM
194632011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19464
19465 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19466
443d6696
MA
194672011-09-19 Michael Albinus <michael.albinus@gmx.de>
19468
19469 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19470 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19471
7cc6e154
JL
194722011-09-18 Juri Linkov <juri@jurta.org>
19473
19474 * buff-menu.el (Buffer-menu-mode-map):
19475 * dired.el (dired-mode-map):
19476 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19477 (lisp-interaction-mode-map):
19478 * emacs-lisp/package.el (package-menu-mode-map):
19479 * epa.el (epa-key-list-mode-map):
19480 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19481 (menu-bar-options-menu):
19482 * outline.el (outline-mode-menu-bar-map):
19483 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19484 * vc/vc-dir.el (vc-dir-menu-map):
19485 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19486 Capitalize non-function content words in menu item strings.
19487
19488 * dired.el (dired-mode-map): Add menu item for
19489 `image-dired-dired-toggle-marked-thumbs'.
19490
80302a81
JL
194912011-09-18 Juri Linkov <juri@jurta.org>
19492
19493 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19494 to `isearch-case-fold-search' and restore its original value
19495 after the `isearch-mode' call.
19496
46c5cf66
JL
194972011-09-18 Juri Linkov <juri@jurta.org>
19498
19499 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19500 because `zgrep' returns 1 for successful matches (bug#9226).
19501
d18b513b
JL
195022011-09-18 Juri Linkov <juri@jurta.org>
19503
19504 * info.el (Info-extract-menu-node-name): Check the second match
19505 for empty string (second test-case of bug#9528).
19506 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19507 intermediate nodes to the history (first test-case of bug#9528).
19508
72753f87
JL
195092011-09-18 Juri Linkov <juri@jurta.org>
19510
19511 * info.el (Info-mode-syntax-table): New variable.
1154d12e 19512 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 19513
c9384295
JL
195142011-09-18 Juri Linkov <juri@jurta.org>
19515
1154d12e
JB
19516 * info.el (Info-file-supports-index-cookies):
19517 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19518 outputs one more line for long file names (bug#4142).
c9384295 19519
d473dce8
CY
195202011-09-18 Chong Yidong <cyd@stupidchicken.com>
19521
19522 * newcomment.el (comment-normalize-vars): If prompting for
19523 comment-start, set comment-start-skip too (Bug#8424).
19524
2176854d
JB
195252011-09-18 Johan Bockgård <bojohan@gnu.org>
19526
19527 * icomplete.el: Fix previous fix of Bug#5849.
19528 (icomplete-mode): Don't set completion-show-inline-help.
19529 (icomplete-minibuffer-setup): Set completion-show-inline-help
19530 locally during icompletion.
19531
3aace4e4
CY
195322011-09-18 Chong Yidong <cyd@stupidchicken.com>
19533
c940224f
CY
19534 * woman.el (woman2-process-escapes): Don't delete unrecognized
19535 escapes (Bug#7843).
19536
3aace4e4
CY
19537 * files.el (inhibit-first-line-modes-regexps): Add image files.
19538 (hack-local-variables-prop-line): Return nil for malformed
19539 prop-lines (Bug#9044).
19540
710dec63
MA
195412011-09-18 Michael Albinus <michael.albinus@gmx.de>
19542
19543 * net/tramp.el (top): Don't require 'shell.
19544 (tramp-methods): Fix docstring.
19545 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
19546 Return complete remote file name. Handle "smb" case.
19547 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
19548 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19549
19550 * net/tramp-compat.el (top): Require 'shell.
19551
19552 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19553 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19554 `tramp-current-host'.
19555 (tramp-get-remote-tmpdir): Remove.
19556
19557 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19558 `tramp-tmpdir' entries.
19559 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19560 (tramp-smb-handle-file-attributes): Ignore errors.
19561 (tramp-smb-wait-for-output): Check also for process end.
19562
5d5ac8ec
LMI
195632011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19564
19565 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19566 when sending QUIT (bug#9312).
19567
8c0f49f0
CY
195682011-09-17 Chong Yidong <cyd@stupidchicken.com>
19569
19570 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19571 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19572 occur-mode-display-occurrence.
19573 (occur-edit-mode): Add usage message.
19574 (occur-cease-edit): New command.
19575 (occur-after-change-function): Use text properties to find the
19576 position of the prefix text.
19577 (occur-engine): Set stickiness of prefix text properties.
19578
8f1383f7
GM
195792011-09-17 Glenn Morris <rgm@gnu.org>
19580
19581 * progmodes/etags.el (complete-tag):
19582 Fix call to completion-in-region. (Bug#9526)
19583
744ba0e3
JL
195842011-09-17 Juri Linkov <juri@jurta.org>
19585
19586 * textmodes/ispell.el (ispell-word): Add to the error message
19587 the word, ispell program name and current dictionary (bug#9121).
19588 (ispell-tex-arg-end): Capitalize "error" in the error message.
19589
d9bbf400
AS
195902011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19591
19592 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19593 check. (Bug#4251)
19594
8da11505
JL
195952011-09-17 Juri Linkov <juri@jurta.org>
19596
19597 * window.el (window-safe-min-height, window-safe-min-width):
19598 Fix typos (followup to bug#9522).
19599
a91adc7e
SJ
196002011-09-17 Sven Joachim <svenjoac@gmx.de>
19601
19602 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19603
064f328a
EZ
196042011-09-16 Eli Zaretskii <eliz@gnu.org>
19605
19606 * simple.el (line-move): If goal-column is set, move by logical
19607 lines, not by display lines. (Bug#971)
19608 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19609 to reflect the above change.
19610
e69df516
SM
196112011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19612
19613 * image.el (imagemagick-register-types): Use regexp-opt.
19614
cbb0f9ab
CY
196152011-09-15 Chong Yidong <cyd@stupidchicken.com>
19616
19617 * window.el (display-buffer-base-action): Rename from
19618 display-buffer-default-action. Make default value empty.
19619 (display-buffer-overriding-action): Convert to defvar.
19620 (display-buffer-fallback-action): New var.
19621
25322144
CY
196222011-09-15 Chong Yidong <cyd@stupidchicken.com>
19623
19624 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19625 declaration.
19626 (package--add-to-archive-contents): If there is a duplicate entry
19627 with an older version, remove it.
19628 (package-menu-mark-delete, package-menu-mark-install)
19629 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
19630 (package-menu-mark-obsolete-for-deletion):
19631 Use package-menu-get-status instead of a regexp search.
25322144
CY
19632 (package-menu-get-status): Use tabulated-list-entry.
19633 (package-menu-mark-upgrades): New command.
d770725a 19634 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
19635 (package-menu-execute): Do installation before deletion.
19636 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19637 instead of checking major-mode.
19638 (package-menu--find-upgrades): New function.
19639
7520339c
LMI
196402011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19641
19642 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19643 passwords in the log buffer.
65a046c4
LMI
19644 (smtpmail-process-filter): Update the process marker so that the
19645 "broken by peer" status message is inserted in the right place.
7520339c 19646
d3c30954
SM
196472011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19648
3fe48822
SM
19649 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19650 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19651 bibtex-completion-at-point-function.
19652 (bibtex-completion-at-point-function): Use them.
19653
1b8b3954
SM
19654 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19655
d3c30954
SM
19656 * mpc.el (mpc-constraints-tag-lookup): New function.
19657 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19658 also to browser "album|playlist".
19659
72779976
JL
196602011-09-14 Juri Linkov <juri@jurta.org>
19661
19662 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19663 (isearch-edit-string): Use length of `isearch-string' when
19664 `isearch-fail-pos' returns nil.
19665 (isearch-message): Remove duplicate code and call
19666 `isearch-fail-pos' with arg `t'.
19667
a0bf2bcd
CY
196682011-09-14 Chong Yidong <cyd@stupidchicken.com>
19669
17bb0a2d
CY
19670 * replace.el (occur-mode-goto-occurrence): Don't force using other
19671 window (Bug#9499).
19672
a0bf2bcd
CY
19673 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19674
f678e0b6
MR
196752011-09-14 Martin Rudalics <rudalics@gmx.at>
19676
19677 * window.el (display-buffer-window): Remove.
19678 (display-buffer-record-window): Use help-setup window parameter
19679 instead of variable display-buffer-window.
19680 (display-buffer-function, special-display-buffer-names)
19681 (special-display-function): Mention help-setup parameter instead
19682 of display-buffer-window in doc-string.
d3c30954
SM
19683 * help.el (help-window-setup): New argument help-window.
19684 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
19685 Reword some messages.
19686 (with-help-window): Pass window used for displaying the buffer
19687 to help-window-setup. Don't set display-buffer-window.
19688
8e39b2e8
GM
196892011-09-13 Glenn Morris <rgm@gnu.org>
19690
19691 * emacs-lisp/debug.el (debugger-make-xrefs):
19692 Preserve point. (Bug#9462)
19693
85e9c04b
CY
196942011-09-13 Chong Yidong <cyd@stupidchicken.com>
19695
19696 * window.el (window-deletable-p): Use next-frame.
19697
1b36ed6a
MR
196982011-09-13 Martin Rudalics <rudalics@gmx.at>
19699
19700 * window.el (window-auto-delete): Remove.
19701 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 19702 dedication and previous buffers.
1b36ed6a
MR
19703 (switch-to-prev-buffer): Don't delete window.
19704 (delete-windows-on): Delete a window's frame if and only if the
19705 window is dedicated.
19706 (replace-buffer-in-windows): Delete buffer's window or frame if
19707 and only if window is dedicated.
19708 (quit-window): Handle quit-restore as before last change.
4d61f28d 19709 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 19710
ef8ef9fb
CY
197112011-09-13 Chong Yidong <cyd@stupidchicken.com>
19712
19713 * window.el (window-deletable-p): Never delete the last frame on a
19714 given terminal.
19715
b2cba41e
GM
197162011-09-13 Glenn Morris <rgm@gnu.org>
19717
19718 * help.el (describe-key-briefly): Copy previous standard-output change.
19719
51553db6 197202011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
19721
19722 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19723
b7556719
GM
197242011-09-13 Glenn Morris <rgm@gnu.org>
19725
19726 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19727 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19728
64b51947
CY
197292011-09-12 Chong Yidong <cyd@stupidchicken.com>
19730
19731 * dired-aux.el (dired-mark-read-string): Don't return default
19732 value on empty input (Bug#9361).
19733 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19734 Omit initial minibuffer contents.
19735 (dired-do-chmod): Signal an error on empty input.
19736 (dired-mark-read-string): Don't return default on empty input.
19737
19738 * files.el (file-modes-symbolic-to-number): Doc fix.
19739
393a301e
SM
197402011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19741
19742 * international/mule-cmds.el (ucs-completions): Remove.
19743 (read-char-by-name): Use complete-with-action instead; add metadata.
19744
fa5660f9
CY
197452011-09-11 Chong Yidong <cyd@stupidchicken.com>
19746
19747 * window.el (display-buffer--action-function-custom-type)
19748 (display-buffer--action-custom-type): New vars.
19749 (display-buffer-alist, display-buffer-default-action)
19750 (display-buffer-overriding-action): Add defcustom types.
19751
4a592f66
CY
19752 * frame.el (delete-other-frames): Doc fix (Bug#276).
19753
73d56dbd
LMI
197542011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19755
19756 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19757
37ac18a3
CY
197582011-09-11 Chong Yidong <cyd@stupidchicken.com>
19759
19760 Change modes that used same-window-* vars to use switch-to-buffer.
19761
19762 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19763 Use switch-to-buffer.
19764
19765 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
19766 (customize-browse, custom-buffer-create-other-window):
19767 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
19768
19769 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19770 (Info-prev, Info-up, Info-speedbar-goto-node)
19771 (info-display-manual): Use switch-to-buffer.
19772 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19773
19774 * mail/sendmail.el (mail): Use switch-to-buffer.
19775 (mail-recover): Use switch-to-buffer-other-window.
19776
19777 * cmuscheme.el (run-scheme, switch-to-scheme):
19778 * ielm.el (ielm):
19779 * shell.el (shell):
19780 * net/rlogin.el (rlogin):
19781 * net/telnet.el (telnet, rsh):
19782 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19783
10195bd6
AS
197842011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19785
19786 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19787
b322f63a
LMI
197882011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19789
39d7fed6
LMI
19790 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19791 so don't mention it (bug#9301).
ba5a81f1 19792 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 19793
ee0e9f11
LMI
19794 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19795 match `x', `w32' and `ns', like the manual says (bug#9029).
19796
0b1c89c1 19797 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
19798 (process-kill-buffer-query-function): Mention the buffer name in
19799 the query.
0b1c89c1 19800
77549ea8
LMI
19801 * image-mode.el (image-next-line): The line parameter is mandatory
19802 (bug#9258).
19803
803ef892
LMI
19804 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19805 which can be useful (bug#9301).
19806
12980837
LMI
19807 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19808
91054f8f
LMI
19809 * subr.el (match-string): Mention that the current buffer should
19810 be the same as the search was done in (bug#9282).
19811
b322f63a
LMI
19812 * facemenu.el: Disable the remove-* commands if the mark isn't
19813 active (bug#9162).
19814
3199b96f
CY
198152011-09-10 Chong Yidong <cyd@stupidchicken.com>
19816
19817 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19818 of display-buffer.
19819 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19820
19821 * replace.el (occur-mode-goto-occurrence)
19822 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19823 and display-buffer.
19824
19825 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19826 display-buffer.
19827
19828 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19829 special-display and same-window variables.
19830 (mail-other-window): Use switch-to-buffer-other-window.
19831 (mail-other-frame): USe switch-to-buffer-other-frame.
19832
393a301e
SM
19833 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19834 Use display-buffer-other-frame.
3199b96f
CY
19835 (gdb-display-gdb-buffer): Use pop-to-buffer.
19836
19837 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19838
19839 * progmodes/python.el: Don't set same-window-buffer-names.
19840
19841 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19842
19843 * window.el (display-buffer-alist): Add *Python*.
19844
8319e0bf
CY
198452011-09-10 Chong Yidong <cyd@stupidchicken.com>
19846
19847 * window.el (display-buffer-alist): Add entry for buffers
19848 previously handled same-window-*.
19849 (display-buffer-alist, display-buffer-default-action)
19850 (display-buffer-overriding-action): Mark as risky.
19851 (display-buffer-alist): Document action function changes.
19852 (display-buffer--same-window-action)
19853 (display-buffer--other-frame-action): New variables.
19854 (switch-to-buffer, display-buffer-other-frame): Use them.
19855 (display-buffer): Rename reuse-frame entry to reusable-frames.
19856 (display-buffer-reuse-selected-window): Function deleted.
19857 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19858 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19859 (display-buffer-special): New function.
19860 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19861 display-buffer-reuse-or-pop-window. Split off special-display
19862 part into display-buffer-special.
19863 (display-buffer-use-some-window): Don't perform any special
19864 pop-up-frames handling.
19865 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 19866 (display-buffer--maybe-same-window): Rename from
0d3ff375 19867 display-buffer-maybe-same-window.
8319e0bf 19868
919a69aa
CY
19869 * info.el: Don't set same-window-regexps.
19870 (info-setup): New function.
19871 (info-other-window, info): Call it.
19872
19873 * cus-edit.el: Don't set same-window-regexps.
19874 (customize-group): New argument.
19875 (customize-group-other-window): Use it.
19876 (customize-face, customize-face-other-window): Likewise.
19877 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19878
8319e0bf
CY
19879 * net/rlogin.el:
19880 * net/telnet.el:
19881 * progmodes/gud.el: Don't set same-window-regexps.
19882
19883 * cmuscheme.el:
19884 * ielm.el:
19885 * shell.el:
19886 * mail/sendmail.el:
19887 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19888
25173000
JL
198892011-09-10 Juri Linkov <juri@jurta.org>
19890
19891 * isearch.el (isearch-edit-string): Remove obsolete mention of
19892 `C-w' (`isearch-yank-word-or-char') from docstring.
19893 (isearch-query-replace): Fix typo in docstring (bug#9466).
19894
056e44ef
JL
198952011-09-10 Juri Linkov <juri@jurta.org>
19896
19897 * paren.el (show-paren-function): Don't show escaped parens.
19898 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19899
c3760c17
EZ
199002011-09-10 Eli Zaretskii <eliz@gnu.org>
19901
19902 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19903 (mm-default-file-encoding): Remove autoload forms, they are
19904 replaced with autoload cookies in mml.el and mm-encode.el.
19905 (mail-add-attachment): New command.
19906 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19907 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19908 the doc string.
19909 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19910
fece895e
RT
199112011-09-10 Reuben Thomas <rrt@sc3d.org>
19912
e69df516
SM
19913 * simple.el (count-words-region): Use buffer if there's no region
19914 (bug#9429).
fece895e 19915
5e68ce4a
JL
199162011-09-09 Juri Linkov <juri@jurta.org>
19917
19918 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19919 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19920 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19921
0a6b9622
AM
199222011-09-09 Alan Mackenzie <acm@muc.de>
19923
19924 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19925 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19926
14a29deb
EZ
199272011-09-09 Eli Zaretskii <eliz@gnu.org>
19928
19929 Fix for Savannah bug#9392.
19930 * simple.el (mail-encode-mml): New defvar.
19931
19932 * mail/rmail.el (mail-encode-mml): Add a defvar.
19933 (rmail-enable-mime-composing): Default to t.
19934 (rmail-forward): Use MIME method of forwarding only if both
19935 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19936 Set mail-encode-mml non-nil if the MIME method was used.
19937
19938 * mail/sendmail.el (mml-to-mime): Add autoload form.
19939 (mail-encode-mml): Add a defvar.
19940 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19941 to nil.
19942 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19943 message through mml-to-mime, and reset mail-encode-mml to nil.
19944
28c45130
GM
199452011-09-09 Glenn Morris <rgm@gnu.org>
19946
19947 * woman.el (woman-if-body): When processing an .el block,
19948 do not delete the next .el block as well. (Bug#9447)
69f4b618 19949 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 19950
9b1c252e
MR
199512011-09-08 Martin Rudalics <rudalics@gmx.at>
19952
19953 * window.el (window-deletable-p): Make sure window is live before
19954 invoking window-prev-buffers.
19955
567457e3
LL
199562011-09-08 Leo Liu <sdl.web@gmail.com>
19957
19958 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19959
97f05794
JL
199602011-09-08 Juri Linkov <juri@jurta.org>
19961
19962 * progmodes/compile.el (compilation-environment): Make it
19963 a defcustom (bug#8340).
19964
8b0874b5
MR
199652011-09-08 Martin Rudalics <rudalics@gmx.at>
19966
19967 * window.el (frame-auto-delete): Rename to window-auto-delete.
19968 Make it control auto-deletion of windows and/or frames.
19969 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 19970 for deleting window/frame. (Bug#9419)
8b0874b5
MR
19971 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19972 Rewrite handling of case when window/frame can be deleted.
19973 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 19974 argument t. (Bug#9456)
8b0874b5 19975
4feb6e73
CY
199762011-09-07 Chong Yidong <cyd@stupidchicken.com>
19977
19978 * help-mode.el (help-mode): Restore autoload.
19979
91ab9c13
JL
199802011-09-07 Juri Linkov <juri@jurta.org>
19981
19982 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19983 `compilation-environment'. Set buffer-local
19984 `compilation-environment' to `thisenv' later after (funcall mode).
19985 (Bug#8340)
19986
19987 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19988 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19989 instead of replacing its value. (Bug#8340)
19990
0527e251
JL
199912011-09-07 Juri Linkov <juri@jurta.org>
19992
19993 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19994 based on text properties put by `grep-filter' instead of matching
19995 escape sequences.
19996 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19997 to the value of `grep-error-screen-columns' (bug#9438).
19998
249f792c
JL
199992011-09-07 Juri Linkov <juri@jurta.org>
20000
20001 * simple.el (next-error-highlight, next-error-highlight-no-select):
20002 Doc fix (bug#9432).
20003
ff7271b9
OT
200042011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20005
20006 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20007 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20008
183fc730
LL
200092011-09-07 Leo Liu <sdl.web@gmail.com>
20010
20011 * net/rcirc.el (rcirc-mode): Conditionally initialize
20012 rcirc-input-ring.
20013
77694924
SM
200142011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20015
20016 * emacs-lisp/find-func.el (find-function-C-source): Only set
20017 find-function-C-source-directory after checking that we found a source
20018 file there (bug#9440).
20019
d809b8eb
AM
200202011-09-06 Alan Mackenzie <acm@muc.de>
20021
20022 * isearch.el (isearch-other-meta-char): Wherever a key list is
20023 unread, "unread" the prefix arg, too. This fixes bug #8901.
20024
453de99f
OG
200252011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20026
20027 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20028
90439906
JL
200292011-09-05 Juri Linkov <juri@jurta.org>
20030
20031 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20032
f62bd846
JL
200332011-09-05 Juri Linkov <juri@jurta.org>
20034
20035 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20036 keeping point where processing of grep matches begins, and
20037 continue to delete remaining escape sequences from the same point.
20038 (grep-filter): Make leading zero optional in "0?1;31m" because
20039 git-grep emits "\033[1;31m" escape sequences unlike expected
20040 "\033[01;31m" as GNU Grep does (bug#9408).
20041 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20042
045820ec
JL
200432011-09-05 Juri Linkov <juri@jurta.org>
20044
20045 * subr.el (y-or-n-p): Capitalize "yes".
20046
f5e29b9b
MA
200472011-09-04 Michael Albinus <michael.albinus@gmx.de>
20048
20049 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20050 `tramp-cache-unload-hook' where appropriate.
20051 (tramp-methods): Rename `tramp-remote-sh' to
20052 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20053 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20054
20055 * net/tramp-sh.el (top): Don't require 'shell.
20056 (tramp-methods): Add `tramp-remote-shell' and
20057 `tramp-remote-shell-args' entries.
20058 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20059 (tramp-sh-handle-shell-command): Remove.
20060 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20061 Use `tramp-remote-shell'.
20062
2784c434
CY
200632011-09-03 Chong Yidong <cyd@stupidchicken.com>
20064
393a301e 20065 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
20066 (sendmail-query-once): Save directly to send-mail-function.
20067 Update message-send-mail-function too.
20068
20069 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20070
464cdf56
CS
200712011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20072
20073 * progmodes/python.el (python-mode-map): Use correct function to
20074 start python interpreter from menu-bar (as reported by Geert
20075 Kloosterman).
20076 (inferior-python-mode-map): Fix typo.
393a301e 20077 (python-shell-map): Remove.
464cdf56 20078
d37e5c87
DD
200792011-09-03 Deniz Dogan <deniz@dogan.se>
20080
20081 * net/rcirc.el (rcirc-print): Simplify code for
20082 rcirc-scroll-show-maximum-output. There is no need to walk
20083 through all windows to find the right one.
20084
f3ada0ee
CS
200852011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20086
20087 * help.el (help-return-method): Doc fix.
20088
1f3c99ca
MR
200892011-09-03 Martin Rudalics <rudalics@gmx.at>
20090
20091 * window.el (window-deletable-p): Don't return a non-nil value
20092 when there's a buffer that was shown in the window before.
20093 (Bug#9419)
393a301e
SM
20094 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20095 Set window's previous buffers to nil.
1f3c99ca 20096
a3cf097f
EZ
200972011-09-03 Eli Zaretskii <eliz@gnu.org>
20098
20099 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20100 newline before and after the tag line, so it doesn't interfere
20101 with determining the paragraph direction of bidirectional text.
20102
3d03de90
LL
201032011-09-03 Leo Liu <sdl.web@gmail.com>
20104
20105 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20106
c3313451
CY
201072011-09-02 Chong Yidong <cyd@stupidchicken.com>
20108
393a301e 20109 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
20110 (pop-to-buffer): Change interactive spec. Pass second argument
20111 directly to display-buffer.
20112 (display-buffer): Fix interactive spec. Use functionp to
20113 distinguish between a function and a list of functions.
20114
20115 * abbrev.el (edit-abbrevs):
20116 * arc-mode.el (archive-extract):
20117 * autoinsert.el (auto-insert):
20118 * bookmark.el (bookmark-bmenu-list):
20119 * files.el (find-file):
20120 * view.el (view-buffer):
20121 * progmodes/compile.el (compilation-goto-locus):
20122 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20123
89894cd8
CY
201242011-09-02 Chong Yidong <cyd@stupidchicken.com>
20125
20126 * window.el (display-buffer-alist): Doc fix.
20127 (display-buffer): Add docstring. Don't treat
20128 display-buffer-default specially.
20129 (display-buffer-reuse-selected-window)
20130 (display-buffer-same-window, display-buffer-maybe-same-window)
20131 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20132 (display-buffer-pop-up-window)
20133 (display-buffer-reuse-or-pop-window)
20134 (display-buffer-use-some-window): New functions.
20135 (display-buffer-default-action): Use them.
393a301e 20136 (display-buffer-default): Delete.
89894cd8
CY
20137 (pop-to-buffer-1): Fix choice of actions.
20138
ae0bc9fb
SM
201392011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20140
20141 * minibuffer.el (completion--insert-strings): Don't get confused by
20142 completion entries that end with an LF char.
20143
e9d90883
EZ
201442011-09-01 Eli Zaretskii <eliz@gnu.org>
20145
20146 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20147
437014c8
CY
201482011-09-01 Chong Yidong <cyd@stupidchicken.com>
20149
20150 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
20151 (display-buffer-same-window, display-buffer-other-window):
20152 New functions.
437014c8
CY
20153 (pop-to-buffer-1): New function. Use the above.
20154 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 20155 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
20156
20157 * view.el (view-buffer-other-window, view-buffer-other-frame):
20158 Just use pop-to-buffer.
20159
a5e063d5
TV
201602011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20161
20162 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20163
793d32bb
WH
201642011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20165
20166 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20167
d65e4c15
RS
201682011-08-31 Richard Stallman <rms@gnu.org>
20169
20170 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20171 of the separation of rmail-view-buffer from rmail-buffer.
20172 If you say no to "replace original", the decrypt is in the
20173 view buffer. If you say yes, the decrypt goes into the
20174 rmail buffer also.
20175
f818cd2a
MR
201762011-08-31 Martin Rudalics <rudalics@gmx.at>
20177
20178 * window.el (display-buffer-window): Rewrite doc-string.
20179 (display-buffer-record-window): New function.
20180 (display-buffer-macro-specifiers)
20181 (display-buffer-even-window-sizes, display-buffer-set-height)
20182 (display-buffer-set-width, display-buffer-in-window)
20183 (display-buffer-reuse-window, display-buffer-split-specifiers)
20184 (display-buffer-side-specifiers, display-buffer-split-window-1)
20185 (display-buffer-split-window, display-buffer-split-atom-window)
20186 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20187 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
20188 (display-buffer-other-window-means-other-frame)
20189 (display-buffer-normalize-special)
20190 (display-buffer-normalize-default)
20191 (display-buffer-normalize-argument)
20192 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
20193 (display-buffer-normalize-specifiers, display-buffer-frame)
20194 (display-buffer-same-window, display-buffer-same-frame)
20195 (display-buffer-other-window)
20196 (display-buffer-same-frame-other-window)
20197 (display-buffer-other-frame, pop-to-buffer-same-window)
20198 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
20199 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
20200 (switch-to-buffer-same-frame)
20201 (switch-to-buffer-other-window-same-frame)
20202 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
20203 (display-buffer-alist-set-1, display-buffer-alist-set-2)
20204 (display-buffer-alist-set): Remove.
20205 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
20206 (special-display-regexps, special-display-function):
20207 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
20208 parameter.
20209 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
20210 (special-display-frame-alist, special-display-popup-frame)
20211 (same-window-buffer-names, same-window-regexps, same-window-p)
20212 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20213 (split-window-preferred-function, split-height-threshold)
20214 (split-width-threshold, window-splittable-p)
20215 (split-window-sensibly, window--try-to-split-window)
20216 (window--frame-usable-p, even-window-heights)
20217 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
20218 (window--display-buffer-2, display-buffer-other-frame):
20219 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
20220 (display-buffer-default, display-buffer-assq-regexp): New functions.
20221 (display-buffer-alist): Rewrite doc-string.
20222 (display-buffer-default-action)
20223 (display-buffer-overriding-action): New variables.
20224 (display-buffer, switch-to-buffer): Rewrite.
20225 (pop-to-buffer): Restore Emacs 23 behavior but use
20226 window-normalize-buffer-to-display.
20227 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
20228 Restore Emacs 23 behavior but use
20229 window-normalize-buffer-to-switch-to.
20230 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
20231 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
20232 Rewrite using Emacs 23 options.
f818cd2a 20233
5bc3b51d
MA
202342011-08-31 Michael Albinus <michael.albinus@gmx.de>
20235
20236 * net/tramp.el (tramp-root-regexp): Remove.
20237 (tramp-completion-file-name-regexp-unified)
20238 (tramp-completion-file-name-regexp-separate)
20239 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 20240 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
20241 (tramp-drop-volume-letter): Simplify definition.
20242 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 20243
b1a4f8e1
SM
202442011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20245
20246 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
20247 (bug#9356).
20248
5664fa7b
RT
202492011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
20250
b1a4f8e1 20251 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 20252
9a45d6c3
JL
202532011-08-29 Juri Linkov <juri@jurta.org>
20254
20255 * isearch.el (isearch-done): Don't display message "Mark saved"
20256 when arg `edit' is non-nil to prevent its flicker in the echo area.
20257
fb87e0fb
CY
202582011-08-28 Chong Yidong <cyd@stupidchicken.com>
20259
20260 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
20261 obsolete packages for deletion.
20262
09ac1c2a
CS
202632011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
20264
20265 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 20266 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
20267 view-mode from help-mode.
20268 (help-xref-override-view-map): Remove.
20269 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
20270 view-mode is not used anymore.
20271
7a1ff57f
CY
202722011-08-28 Chong Yidong <cyd@stupidchicken.com>
20273
20274 * server.el (server-port): Doc fix.
20275
b9696605
CY
20276 * cus-theme.el (custom-theme-choose-mode): Inherit from
20277 special-mode (Bug#9124).
20278 (custom-theme-choose-mode-map): Add special-mode to parent.
20279
ef8cdf8c
AM
202802011-08-28 Alan Mackenzie <acm@muc.de>
20281
20282 * progmodes/cc-fonts.el
20283 (c-make-font-lock-BO-decl-search-function): New function.
20284 (c-basic-matchers-after - "Fontify the clauses after various
20285 keywords"): Extract the three keyword lists for the 3 erroneous
20286 constructs from the list of four, and use the new function above
20287 in place of an old one.
20288
27de4e20
DD
202892011-08-28 Deniz Dogan <deniz@dogan.se>
20290
20291 * net/rcirc.el (rcirc-insert-prev-input)
20292 (rcirc-insert-next-input): Remove unused argument.
20293
356a3681
SM
202942011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20295
20296 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
20297
3fc9b218
AM
202982011-08-27 Alan Mackenzie <acm@muc.de>
20299
20300 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
20301 handle function pointer parameters properly.
20302
538a061c
MR
203032011-08-27 Martin Rudalics <rudalics@gmx.at>
20304
20305 * window.el (display-buffer-reuse-window): Fix case where
20306 selected window was reused with non-nil OTHER-WINDOW argument.
20307 (Bug#9381)
20308
35b1c40c
DD
203092011-08-27 Deniz Dogan <deniz@dogan.se>
20310
20311 * net/rcirc.el (rcirc-check-auth-status): Adding support for
20312 oftc's NickServ messages.
20313
2f6a3e79
GM
203142011-08-27 Glenn Morris <rgm@gnu.org>
20315
20316 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
20317
7254299e
CY
203182011-08-26 Chong Yidong <cyd@stupidchicken.com>
20319
20320 * emacs-lisp/package.el (package-install): Call package-initialize
20321 if called interactively.
20322
f8ccf167
LL
203232011-08-26 Leo Liu <sdl.web@gmail.com>
20324
20325 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
20326
3e8cd5ce
JL
203272011-08-25 Juri Linkov <juri@jurta.org>
20328
20329 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20330 `search-whitespace-regexp' (bug#9364).
20331
93eb7113
JL
203322011-08-25 Juri Linkov <juri@jurta.org>
20333
20334 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
20335 `regexp-search-ring' to their global values to protect from
20336 updating by `read-from-minibuffer' (bug#9185).
20337
f65d1611
JL
203382011-08-25 Juri Linkov <juri@jurta.org>
20339
20340 * textmodes/ispell.el (ispell-command-loop): Add newline
20341 at the end of the "Use option `i'..." line.
20342
f1cf7a31
JL
203432011-08-25 Juri Linkov <juri@jurta.org>
20344
20345 * battery.el (display-battery-mode): If `battery-status-function'
20346 or `battery-mode-line-format' is nil, display the message and set
20347 `display-battery-mode' to nil (bug#9363).
20348
0c95fcf7
EZ
203492011-08-25 Eli Zaretskii <eliz@gnu.org>
20350
20351 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
20352 bidi-string-mark-left-to-right; they are unnecessary now.
20353
a2ebe600
DD
203542011-08-25 Deniz Dogan <deniz@dogan.se>
20355
20356 * net/quickurl.el: Documentation typo fixes.
20357
e4ed06f1
CY
203582011-08-25 Chong Yidong <cyd@stupidchicken.com>
20359
20360 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
20361
e5f1c99e
GM
203622011-08-25 Glenn Morris <rgm@gnu.org>
20363
b2948976
GM
20364 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
20365
e5f1c99e
GM
20366 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
20367 (smtpmail-via-smtp): Handle nil response from smtp.
20368
f22f4808
JL
203692011-08-24 Juri Linkov <juri@jurta.org>
20370
20371 * proced.el (proced-marked): Inherit from `error' instead of
20372 `font-lock-warning-face'.
20373
20374 * ibuffer.el (ibuffer-marked-face): Change default face from
20375 `font-lock-warning-face' to `warning'.
20376 (ibuffer-deletion-face): Change default face from
20377 `font-lock-type-face' to `error'.
20378
20379 * battery.el (battery-update): Use the face `error' instead of
20380 `font-lock-warning-face' (bug#6117).
20381
6a93965e
JL
203822011-08-24 Juri Linkov <juri@jurta.org>
20383
20384 * faces.el (success): Change face color from "Green3" to
20385 "ForestGreen" on light background (bug#9353).
20386
1ed43b09
CY
203872011-08-24 Chong Yidong <cyd@stupidchicken.com>
20388
5664fa7b
RT
20389 * window.el (quit-window): Rename from quit-restore-window.
20390 Use same arglist as old quit-window.
1ed43b09
CY
20391 (frame-auto-delete): Doc fix.
20392
20393 * view.el (view-mode-exit): Use quit-window.
20394
11dcdbb2
JL
203952011-08-24 Juri Linkov <juri@jurta.org>
20396
20397 * isearch.el (isearch-ring-adjust1): Start visiting previous
20398 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
20399 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
20400 for empty search string (when the last search string is reused
20401 automatically) to adjust the isearch ring to the last element and
20402 prepare the correct index for further M-p commands (bug#9185).
20403
de62b4df
KH
204042011-08-24 Kenichi Handa <handa@m17n.org>
20405
20406 * international/ucs-normalize.el: If decomposition property of
20407 CHAR is the default one (i.e. a list of CHAR itself), treat it as
20408 nil.
20409 (nfd, nfkd): Likewise.
20410
963b492b
SM
204112011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20412
20413 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
20414 from process filters aren't reliably transmitted to the surrounding
20415 accept-process-output.
20416 (mpc-proc-check): New function.
20417 (mpc-proc-sync): Use it (bug#8293)
20418
93b6b5e1
SM
204192011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20420
20421 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
20422 Add compatibility functions (bug#9313).
20423
bca633fb
EZ
204242011-08-23 Eli Zaretskii <eliz@gnu.org>
20425
b177498a
EZ
20426 * cus-start.el (all): Add entry for bidi-paragraph-direction.
20427
6df6ae42 20428 * international/uni-bidi.el: Regenerate.
bca633fb 20429
0902a04e
KH
204302011-08-23 Kenichi Handa <handa@m17n.org>
20431
20432 * international/charprop.el:
20433 * international/uni-bidi.el:
20434 * international/uni-category.el:
20435 * international/uni-combining.el:
20436 * international/uni-comment.el:
20437 * international/uni-decimal.el:
20438 * international/uni-decomposition.el:
20439 * international/uni-digit.el:
20440 * international/uni-lowercase.el:
20441 * international/uni-mirrored.el:
20442 * international/uni-name.el:
20443 * international/uni-numeric.el:
20444 * international/uni-old-name.el:
20445 * international/uni-titlecase.el:
20446 * international/uni-uppercase.el: Regenerate.
20447
3bbf23bc
MR
204482011-08-23 Martin Rudalics <rudalics@gmx.at>
20449
20450 * help.el (help-window-setup): Fix message displayed when other
20451 window is reused. (Bug#9341)
20452
b3fd59bd
SM
204532011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20454
1802e444
SM
20455 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20456 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20457
b3fd59bd
SM
20458 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20459 Mark obsolete.
20460 * shell.el (shell-parse-pcomplete-arguments): New function.
20461 (shell-completion-vars): Use it instead (bug#9160).
20462
4eb61348
SM
204632011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
20464
867cab74
SM
20465 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20466 strings and comments (bug#9333).
20467
4eb61348
SM
20468 * emacs-lisp/debug.el (debug-arglist): New function.
20469 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
20470 (debug-on-entry-1): Handle interpreted closures (bug#9120).
20471
262a1439
JL
204722011-08-22 Juri Linkov <juri@jurta.org>
20473
56ee679c
JL
20474 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20475 Revert regexp that highlights output switches to its old
20476 pre-2010-10-28 value and remove one `?' from it (bug#9319).
20477
262a1439
JL
20478 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20479 to check for empty output (bug#9226).
20480
f13f86fb
CY
204812011-08-22 Chong Yidong <cyd@stupidchicken.com>
20482
20483 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20484 symbol-constituent as the default, as that stops font-lock from
20485 working properly (Bug#8843).
20486
c65c9622
LMI
204872011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20488
20489 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20490 `coding-system-for-*' around the process open call to avoid
20491 auth-source side effects.
e7f2c178 20492 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
20493 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20494 probe hangs.
c65c9622 20495
23a8a5ab
CY
204962011-08-21 Chong Yidong <cyd@stupidchicken.com>
20497
ff98b2dd
CY
20498 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20499
23a8a5ab
CY
20500 * emacs-lisp/find-func.el (find-function-noselect): New arg
20501 lisp-only.
20502
20503 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20504 signal an error for built-in functions (Bug#6664).
20505
f5e3c598
LMI
205062011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20507
20508 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20509 (smtpmail-try-auth-methods): Use it.
20510
a3f2468a
CY
205112011-08-21 Chong Yidong <cyd@stupidchicken.com>
20512
2c34e8da
CY
20513 * font-lock.el (font-lock-fontify-region)
20514 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20515 (font-lock-default-unfontify-buffer)
20516 (font-lock-default-fontify-region)
20517 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20518
b3fd59bd
SM
20519 * progmodes/compile.el (compilation-error-properties):
20520 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
20521 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20522 `ant' regexp.
ee31aabc 20523
a3f2468a
CY
20524 * net/browse-url.el (browse-url-firefox): Don't call
20525 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20526
8e999f70
GM
205272011-08-20 Glenn Morris <rgm@gnu.org>
20528
c21a496a
GM
20529 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20530
59ee0542
GM
20531 * tutorial.el (tutorial--default-keys): Update some default bindings.
20532
8e999f70
GM
20533 * files.el (hack-local-variables): Fully ignore case for "mode:".
20534
e3715033
AM
205352011-08-20 Alan Mackenzie <acm@muc.de>
20536
20537 Resolve invalid use of a regexp in regexp-opt.
20538
4d61f28d
JB
20539 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20540 detection for a java annotation.
e3715033 20541
4d61f28d 20542 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
20543 detection for a java annotation.
20544
4d61f28d
JB
20545 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20546 handling for java.
e3715033
AM
20547 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20548
04ed2e9c
CY
205492011-08-20 Chong Yidong <cyd@stupidchicken.com>
20550
20551 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20552 (Bug#9274).
20553
826cee64
AM
205542011-08-20 Alan Mackenzie <acm@muc.de>
20555
58179cce 20556 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
20557 such a construct. Mainly for when jit-lock etc. starts a chunk
20558 here.
20559
58179cce 20560 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 20561 variable.
58179cce 20562 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
20563 c-make-font-lock-search-function.
20564 (c-make-font-lock-search-function): Use the above function.
20565 (c-make-font-lock-context-search-function): New function.
20566 (c-cpp-matchers): Enhance the preprocessor expression case with
20567 the above function
20568 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20569 which takes an expression.
20570
20571 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20572
13009bd8
MR
205732011-08-20 Martin Rudalics <rudalics@gmx.at>
20574
20575 * window.el (display-buffer-reuse-window)
20576 (display-buffer-pop-up-window): Don't reuse or split a side
20577 window.
20578
9234ff7f
GM
205792011-08-19 Glenn Morris <rgm@gnu.org>
20580
20581 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 20582 Downcase "Mode:". (Bug#9331)
9234ff7f 20583
f635daa1
CY
205842011-08-18 Chong Yidong <cyd@stupidchicken.com>
20585
20586 * international/characters.el: Add L and R categories.
20587
20588 * subr.el (bidi-string-mark-left-to-right): Rename from
20589 string-mark-left-to-right. Use category search.
20590
20591 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20592
bc987f8b
JL
205932011-08-18 Juri Linkov <juri@jurta.org>
20594
20595 * faces.el (error, warning, success): New faces with definitions
20596 copied from old default values of `font-lock-warning-face',
20597 `compilation-warning', `compilation-info' (bug#6117).
20598
20599 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20600
20601 * progmodes/compile.el (compilation-error): Inherit from `error'.
20602 (compilation-warning): Inherit from `warning'.
20603 (compilation-info): Inherit from `success'.
20604
20605 * dired.el (dired-marked): Inherit from `warning'.
20606 (dired-flagged): Inherit from `error'.
20607
57173b96
LMI
206082011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20609
3e79eb87
LMI
20610 * mail/smtpmail.el (auth-source): Require to avoid problems with
20611 binding variables (bug#9298). Also clean up some unused
20612 autoloads.
20613
b3fd59bd
SM
20614 * net/network-stream.el (network-stream-open-starttls):
20615 Support using starttls.el without using gnutls-cli.
57173b96 20616
02b404de
JL
206172011-08-17 Juri Linkov <juri@jurta.org>
20618
20619 * progmodes/grep.el (rgrep): Handle the case when
20620 `grep-find-command' is a cons cell (bug#9278).
20621
8c9177f2
MR
206222011-08-17 Martin Rudalics <rudalics@gmx.at>
20623
20624 * window.el (display-buffer-pop-up-frame): Run frame creation
20625 function with BUFFER current (as special-display-popup-frame
20626 does). Reported by Drew Adams.
20627
3644a0ab
DU
206282011-08-17 Daiki Ueno <ueno@unixuser.org>
20629
20630 * epa-mail.el: Simplify GnuPG group expansion using
20631 epg-expand-group.
20632 (epa-mail-group-alist, epa-mail-group-modtime)
20633 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20634 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20635 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20636 Remove.
20637
5e617bc2 206382011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
20639
20640 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20641
9c4aeabf
AM
206422011-08-16 Alan Mackenzie <acm@muc.de>
20643
20644 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20645 Correct, to avoid the inside of macros.
20646
3a99bf64
RS
206472011-08-16 Richard Stallman <rms@gnu.org>
20648
04963aa8
RS
20649 * epa-mail.el: Handle GnuPG group definitions.
20650 (epa-mail-group-alist, epa-mail-group-modtime)
20651 (epa-mail-gnupg-conf-file): New variables.
20652 (epa-mail-parse-groups, epa-mail-sync-groups)
20653 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20654 (epa-mail-expand-recipients): New functions.
20655 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20656
177549d0
RS
20657 * mail/rmail.el (rmail-epa-decrypt): New command.
20658
fe38beef
RS
20659 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20660 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
20661 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20662 (epa-decrypt-armor-in-region): Make error message clearer.
20663
934eacb9
SM
206642011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20665
20666 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20667 and "a2b" to "ab" for `prefix'.
20668
d024fb4e
CY
206692011-08-14 Chong Yidong <cyd@stupidchicken.com>
20670
20671 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20672 filter groups.
de148fee
CY
20673 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20674 Fourquet (Bug#8804).
d024fb4e 20675
62f1ca49
JB
206762011-08-12 Juanma Barranquero <lekktu@gmail.com>
20677
20678 * startup.el (argi): Declare as global variable (bug#9275).
20679
9ccaaa4b
CY
206802011-08-12 Chong Yidong <cyd@stupidchicken.com>
20681
20682 * subr.el (string-mark-left-to-right): Search the entire string
20683 for RTL script, not just the terminating character. Doc fix.
20684
a3dae87a
SM
206852011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20686
6cd18349
SM
20687 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20688 New function.
20689 (js--regexp-literal, js-syntax-propertize-function): Remove.
20690 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20691 (js-mode-map): Don't rebind electric keys.
20692 (js-insert-and-indent): Remove.
20693 (js-mode): Setup electric-layout and electric-indent instead.
20694
a3dae87a
SM
20695 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20696
9d5cb631
DU
206972011-08-12 Daiki Ueno <ueno@unixuser.org>
20698
20699 * epa.el (epa-progress-callback-function): Fix the logic of
20700 displaying progress.
20701 * epa-file.el (epa-file-insert-file-contents): Make progress
20702 display more user-friendly.
20703 (epa-file-write-region): Ditto.
20704
3e26a4a2
CY
207052011-08-10 Chong Yidong <cyd@stupidchicken.com>
20706
20707 * subr.el (string-mark-left-to-right): New function.
20708
20709 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20710 Use string-mark-left-to-right.
20711 (list-buffers-noselect): Caller changed.
20712
a3dae87a
SM
20713 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20714 Use string-mark-left-to-right.
3e26a4a2
CY
20715 (tabulated-list-print): Recenter after moving point.
20716
ac8cf6e6
JL
207172011-08-10 Juri Linkov <juri@jurta.org>
20718
20719 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20720 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20721 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20722
8d96c9a4
CY
207232011-08-09 Chong Yidong <cyd@stupidchicken.com>
20724
20725 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20726 (Bug#7554).
20727
7be1c708 207282011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
20729
20730 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20731 character. (Bug#6594)
20732
37e11a63
CY
207332011-08-08 Chong Yidong <cyd@stupidchicken.com>
20734
839dde57
CY
20735 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20736 (image-dired--with-db-file): New macro.
20737 (image-dired-write-tags, image-dired-remove-tag)
20738 (image-dired-create-gallery-lists, image-dired-write-comments)
20739 (image-dired-get-comment, image-dired-mark-tagged-files)
20740 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20741 (image-dired-gallery-generate): Use insert-file-contents.
20742
37e11a63
CY
20743 * time.el (display-time-world-list, display-time-world-display):
20744 * time-stamp.el (time-stamp-string):
20745 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20746 set-time-zone-rule (Bug#7337).
20747
0b4946c4
DU
207482011-08-08 Daiki Ueno <ueno@unixuser.org>
20749
20750 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20751 (epg-error-to-string, epg-errors-to-string): New function.
20752 (epg-wait-for-completion): Reverse errors list.
20753 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20754 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20755 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20756 (epg-sign-keys, epg-generate-key-from-file)
20757 (epg-generate-key-from-string): Format errors by using
20758 epg-errors-to-string (bug#9255).
20759 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20760
75bfc667
JL
207612011-08-07 Juri Linkov <juri@jurta.org>
20762
20763 * faces.el (list-faces-display): Remove extra angle bracket
20764 from `help-mode-map'.
20765
20766 * info.el (Info-history-toc-nodes): Doc fix.
20767
20768 * longlines.el (longlines-mode): Doc fix.
20769
673e08bb
SM
207702011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20771
4640dd88
SM
20772 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20773 of statements and in a few more cases (bug#9183).
20774
673e08bb
SM
20775 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20776 New functions.
20777 (cl-transform-lambda): Use them (bug#9239).
20778
89b3f019
MR
207792011-08-05 Martin Rudalics <rudalics@gmx.at>
20780
20781 * window.el (display-buffer-same-window)
20782 (display-buffer-same-frame, display-buffer-other-window)
20783 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20784 (pop-to-buffer-other-window)
20785 (pop-to-buffer-same-frame-other-window)
20786 (pop-to-buffer-other-frame): Make them defuns.
20787 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20788
640c8776
SM
207892011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20790
20791 * subr.el (make-composed-keymap): Move from C. Change calling
20792 convention, and improve docstring to bring attention to a subtle point.
20793 * minibuffer.el (completing-read-default): Adjust accordingly.
20794
63648a95
MA
207952011-08-03 Michael Albinus <michael.albinus@gmx.de>
20796
20797 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20798 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20799
20800 * net/trampver.el: Update release number.
20801
b796c9b7
SM
208022011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20803
20804 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20805 "in" (bug#9190).
20806
2239d7d5
LMI
208072011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20808
e07dd7c3
LMI
20809 * mail/sendmail.el (sendmail-query-once): Restore the current
20810 buffer after querying (bug#9074).
20811
0e6a2bd7
LMI
20812 * dired.el (dired-flagged): Use different faces for marked and
20813 flagged files (bug#6117).
20814
ce887515
LMI
20815 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20816 (bug#4433).
20817
92f2affc
LMI
20818 * ido.el (ido-mode): Switch off the message if called
20819 non-interactively.
20820
57d5aff0
LMI
20821 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20822 before 587, since it appears that that's more likely to work for
20823 more people.
20824
98cd6c18 20825 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 20826 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
20827 exist.
20828
b96dec83
LMI
20829 * info.el: Remove the `Info-beginning-of-buffer' function
20830 (bug#8325).
20831
b796c9b7
SM
20832 * net/network-stream.el (network-stream-open-starttls):
20833 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 20834
d90e2ea0
MR
208352011-08-01 Martin Rudalics <rudalics@gmx.at>
20836
20837 * window.el (display-buffer-in-window): Don't set dedicated status
20838 of window here (Bug#9215).
20839 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20840 (display-buffer-pop-up-side-window)
b796c9b7 20841 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 20842
cca09170
SM
208432011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20844
20845 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20846 before binding generated-autoload-file.
20847
027b979c
DD
208482011-08-01 Deniz Dogan <deniz@dogan.se>
20849
20850 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20851
3c7ee4f3
MA
208522011-07-30 Michael Albinus <michael.albinus@gmx.de>
20853
20854 Sync with Tramp 2.2.2.
20855
20856 * net/trampver.el: Update release number.
20857
2cc8e51a
JL
208582011-07-30 Juri Linkov <juri@jurta.org>
20859
20860 * dired-aux.el (dired-touch-initial): Remove function.
20861 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20862 current time, and `default' to the last modification time of the
20863 current marked file (bug#6887).
20864
a514d856
JM
208652011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20866
20867 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 20868 numeric argument to read-number (bug#9163).
a514d856 20869
8a7eddd7
MA
208702011-07-27 Michael Albinus <michael.albinus@gmx.de>
20871
20872 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20873 connection process, it could be nil.
20874
1ddd96f5
LL
208752011-07-27 Leo Liu <sdl.web@gmail.com>
20876
20877 Simplify url handling in rcirc-mode.
20878
20879 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20880 (rcirc-browse-url-at-mouse): Remove.
20881 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20882
b248a85d
AM
208832011-07-26 Alan Mackenzie <acm@muc.de>
20884
20885 Fontify bitfield declarations properly.
20886
20887 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20888 (c-symbol-chars): Now exported as a lang variable.
20889 (c-not-primitive-type-keywords): New lang variable.
20890
20891 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20892 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 20893 parsed as a bitfield declaration.
b248a85d 20894
b796c9b7
SM
20895 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20896 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
20897 (c-punctuation-in): New function.
20898 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20899 declarations properly.
20900
68575ab0
UJ
209012011-07-26 Ulf Jasper <ulf.jasper@web.de>
20902
20903 * calendar/icalendar.el (icalendar--all-events): Take care of
20904 multiple vcalendars in a single file.
b796c9b7 20905 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 20906
0f0a88b9
DD
209072011-07-25 Deniz Dogan <deniz@dogan.se>
20908
20909 * image.el (insert-image): Clarifying docstring.
20910
0b3f36df
MA
209112011-07-24 Michael Albinus <michael.albinus@gmx.de>
20912
20913 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20914 `tramp-send-command-and-check' if there is no error.
20915 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20916
a9901f61
AM
209172011-07-22 Alan Mackenzie <acm@muc.de>
20918
20919 Prevent cc-langs.elc being loaded at run time.
20920
20921 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20922 cc-langs.
20923
4d61f28d 20924 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
20925 "(require 'cc-langs)". Quote a form so it will evaluate at
20926 (cc-mode's) compilation time.
20927
11d074b2
MA
209282011-07-22 Michael Albinus <michael.albinus@gmx.de>
20929
20930 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20931 loading. (Bug#9114)
20932
938b94c8
MR
209332011-07-21 Martin Rudalics <rudalics@gmx.at>
20934
20935 * window.el (display-buffer-pop-up-window)
20936 (display-buffer-pop-up-side-window)
20937 (display-buffer-in-side-window): Call display-buffer-set-height
20938 and display-buffer-set-width after setting the new window's
b796c9b7 20939 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 20940
bfa4f190
SS
209412011-07-20 Sam Steingold <sds@gnu.org>
20942
20943 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20944 (etags-tags-included-tables): Call `convert-standard-filename' on
20945 the file names contained in TAGS so that windows Emacs can handle
20946 TAGS files created by cygwin ctags.
20947
8ca42262
LMI
209482011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20949
20950 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20951 which apparently didn't work.
20952
5db2afd2 209532011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 20954
5db2afd2
RW
20955 * proced.el (proced-send-signal): For *Marked Processes* buffer
20956 put point at beginning of buffer.
20957
92e15d10
SB
209582011-07-19 Stephen Berman <stephen.berman@gmx.net>
20959
20960 * proced.el (proced-format): Make header lines align with the text
20961 (bug#1779).
20962
1bfd59e5
LMI
209632011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20964
20965 * view.el (view-buffer): Allow running in `special' modes if we're
20966 visiting a file (bug#8615).
20967
f5aae37c
MR
209682011-07-19 Martin Rudalics <rudalics@gmx.at>
20969
20970 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
20971 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20972 New functions.
f5aae37c
MR
20973 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20974 more accurately.
20975
bf2c1571
AM
209762011-07-18 Alan Mackenzie <acm@muc.de>
20977
20978 Fontify declarators properly when, e.g., a jit-lock chunk begins
20979 inside a declaration.
20980
20981 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20982
b796c9b7
SM
20983 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20984 New function.
bf2c1571
AM
20985 (c-complex-decl-matchers): Insert reference to
20986 c-font-lock-enclosing-decls.
20987
20988 * progmodes/cc-engine.el (c-backward-single-comment):
20989 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20990 to nil around calls to (forward-comment -1).
20991
4e190b80
LMI
209922011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20993
12dc863d
LMI
20994 * image.el (put-image): Doc typo fix.
20995
a762e966
LMI
20996 * progmodes/etags.el (tags-search): Doc typo fix.
20997
4e190b80
LMI
20998 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20999 password if we get errors 550 to 554.
21000
f019fb21
LMI
210012011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21002
b796c9b7 21003 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 21004
81746738
LMI
21005 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21006 indentation character (bug#6380).
21007
3ee3a1b5
LMI
21008 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21009
c82f64de
LMI
21010 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21011 to clarify what the problem is (bug#4291).
21012
f019fb21
LMI
21013 * simple.el (current-kill): Clarify what
21014 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
21015 (auto-fill-mode): Document `auto-fill-function' in relation to
21016 `auto-fill-mode' (bug#2470).
f019fb21 21017
0794775d
LM
210182011-07-16 Lawrence Mitchell <wence@gmx.li>
21019
21020 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21021 method if slot is read-only (bug#9035).
21022
be39b8cc
MR
210232011-07-16 Martin Rudalics <rudalics@gmx.at>
21024
b796c9b7 21025 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 21026 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
21027 selected before, see discussion of (Bug#8615), (Bug#6954).
21028 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 21029
6ccf7859
GM
210302011-07-15 Glenn Morris <rgm@gnu.org>
21031
21032 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 21033 Respect help-form.
6ccf7859 21034
87e86684
LM
210352011-07-09 Lawrence Mitchell <wence@gmx.li>
21036
21037 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21038 (gnutls-negotiate): Use it.
21039
d6066239
LMI
210402011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21041
b796c9b7
SM
21042 * net/gnutls.el (gnutls-negotiate):
21043 Upcase `gnutls-algorithm-priority'.
d6066239 21044
bd23ebc0
GM
210452011-07-15 Glenn Morris <rgm@gnu.org>
21046
c65bca65
GM
21047 * jka-compr.el (jka-compr-verbose): Move from here...
21048 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21049 Add missing :version tag.
21050 * info.el: No need to require jka-compr when compiling.
bd23ebc0 21051
478615cc
LMI
210522011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21053
7b41decb
LMI
21054 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21055 (gnutls-negotiate): Use it.
21056
dbc44fcd
LMI
21057 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21058
06789f97
LMI
21059 * info.el (Info-beginning-of-buffer): New command.
21060 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21061 announcing `b' as the key (bug#8325).
ab896c37 21062 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 21063
c39da690
LMI
21064 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21065
3aa5f34b
LMI
21066 * international/mule-cmds.el
21067 (describe-specified-language-support): Make the error message
21068 clearer (bug#8905).
21069
4bf0979f
LMI
21070 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21071
478615cc
LMI
21072 * isearch.el (isearch-barrier): Add a doc string, since it's
21073 mentioned in a function doc string (bug#8678).
21074
75c68aa1
MR
210752011-07-15 Martin Rudalics <rudalics@gmx.at>
21076
21077 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21078 buffer argument (Bug#9083) and self-identifying label argument.
21079
a7c33da2
GM
210802011-07-15 Glenn Morris <rgm@gnu.org>
21081
21082 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21083
2f5c6024
LMI
210842011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21085
21086 * man.el (Man-fontify-manpage): Fix message when formatting the
21087 man page (bug#7929).
21088
0bb23927 210892011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
21090
21091 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21092 argument LRM; if non-nil, append an invisible LRM character to the
21093 buffer name.
21094 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21095 last argument non-nil, when formatting buffer names.
0bb23927
EZ
21096 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21097 paragraph direction.
cce4b0a7 21098
621ef9ab
LMI
210992011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21100
d1583c48
LMI
21101 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21102 the man page name (bug#7929).
21103
6a57fb5f
LMI
21104 * image.el (put-image): Mention the `put-image' overlay property
21105 (bug#7834).
21106
d7956b14
LMI
21107 * scroll-bar.el (set-scroll-bar-mode): Mention that
21108 `scroll-bar-mode' lists the values (bug#7772).
21109
5b2d4a66
LMI
21110 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21111 command (bug#7729).
21112
7509a874
LMI
21113 * rect.el (apply-on-rectangle): Return the point after the last
21114 operation.
21115 (string-rectangle): Go to the point after the last operation
21116 (bug#7522).
21117
4fe74b19
LMI
21118 * printing.el (pr-toggle-region): Clarify the documentation
21119 slightly (bug#7493).
21120
b796c9b7
SM
21121 * time.el (display-time-update):
21122 Allow `display-time-mail-function' to return nil (bug#7158).
21123 Fix suggested by Detlev Zundel.
ab283561 21124
fc233c9d
LMI
21125 * vc/diff.el (diff): Clarify the order the file names are read
21126 (bug#7111).
21127
43f5740b
LMI
21128 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21129 the doc string (bug#7015).
21130
f2182a76
LMI
21131 * font-lock.el (font-lock-maximum-decoration): Mention what
21132 numeric levels mean (bug#6935).
21133
621ef9ab
LMI
21134 * startup.el (initial-buffer-choice): Don't mention the `none'
21135 selection, which is against policy.
21136
adc47434
MR
211372011-07-14 Martin Rudalics <rudalics@gmx.at>
21138
b796c9b7
SM
21139 * window.el (display-buffer-normalize-special):
21140 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 21141
7e5bfb8f
EZ
211422011-07-14 Eli Zaretskii <eliz@gnu.org>
21143
21144 * subr.el (version<, version<=, version=): Mention "-CVS" and
21145 "-12345" alpha version numbers.
21146
27fa387a
CY
211472011-07-14 Chong Yidong <cyd@stupidchicken.com>
21148
21149 * bindings.el: Add advertised binding for set-mark-command
21150 (Bug#5772).
21151
8bdfa064
CY
211522011-07-14 Chong Yidong <cyd@stupidchicken.com>
21153
21154 * bindings.el (mode-line-other-buffer):
21155 * bookmark.el (bookmark-bmenu-2-window):
21156 * bs.el (bs-cycle-next, bs-cycle-previous):
21157 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21158 switch-to-buffer.
21159
21160 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 21161 Delete.
8bdfa064 21162
5eba16a3
JB
211632011-07-14 Juanma Barranquero <lekktu@gmail.com>
21164
21165 * follow.el (follow-debug-message, follow-redisplay):
21166 * jka-cmpr-hook.el (with-auto-compression-mode):
21167 Fix typos in docstrings.
21168
15853710
LMI
211692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21170
a28e4607
LMI
21171 * subr.el (with-silent-modifications): Clarify somewhat what the
21172 macro inhibits (bug#6525).
21173
15853710
LMI
21174 * simple.el (eval-expression): Note what it does if called
21175 interactively (bug#6495).
21176
bee0fcef
CY
211772011-07-13 Chong Yidong <cyd@stupidchicken.com>
21178
b796c9b7
SM
21179 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21180 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
21181
21182 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21183 Remove switch-to-buffer.
21184
58274504
LMI
211852011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21186
bd2fcc8d
LMI
21187 * files.el (make-directory): Clarify that an error will be raised
21188 if there's an error (bug#6397).
21189
0f04b32c
LMI
21190 * startup.el (initial-buffer-choice): Add `none' as a choice
21191 (bug#6234).
21192
465c5fc8
LMI
21193 * subr.el (add-hook): Clarify section about buffer-local hooks
21194 (bug#6218).
21195
58274504
LMI
21196 * dired.el (dired-flagged): Clarify doc string (bug#6117).
21197
bead9a43
JB
211982011-07-13 Juanma Barranquero <lekktu@gmail.com>
21199
21200 * tabify.el (untabify): Preserve the current column so that point
21201 doesn't move (bug#6032).
21202
3af98a7b
LMI
212032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21204
b796c9b7
SM
21205 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
21206 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 21207
6240145a
GM
212082011-07-13 Glenn Morris <rgm@gnu.org>
21209
21210 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
21211 (dired-insert-directory): Give a message the first time
21212 if ls is found not to support --dired.
21213
1d8c2ccc
LMI
212142011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21215
21216 * simple.el (toggle-truncate-lines): Clarify what is toggled
21217 (bug#5580). Text by Drew Adams.
21218
5fc4038e
CY
212192011-07-13 Chong Yidong <cyd@stupidchicken.com>
21220
21221 * simple.el (blink-matching-open): Make the error message from the
21222 last change less verbose.
21223
bf6012e5
DN
212242011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
21225
21226 * font-lock.el (font-lock-comment-face): Use the high contrast
21227 "yellow" color for font-lock-comment-face on low color terminals
21228 using a dark background color (bug#4221).
21229
343c3b5a
LMI
212302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21231
7e9505c5
LMI
21232 * dired.el (dired-insert-set-properties): Make the doc string
21233 reflect what it does now (bug#5325).
21234
c26fdcf5
LMI
21235 * simple.el (blink-matching-open): Say that we were unable to find
21236 the match within the limit, if we're limited (bug#5122).
21237
bb388cc5
LMI
21238 * international/mule-cmds.el (prefer-coding-system): Add an
21239 example (bug#4869).
21240
343c3b5a
LMI
21241 * progmodes/etags.el (tags-search): Document `file-list-form'
21242 (bug#4731).
21243
2a517d45
LM
212442011-07-13 Lawrence Mitchell <wence@gmx.li>
21245
21246 * net/browse-url.el (browse-url-default-browser)
21247 (browse-url-browser-function): Make the default browser choice a
21248 bit more logical (bug#4300). Also clean up the doc string.
21249
b6c78ef2
JB
212502011-07-13 Juanma Barranquero <lekktu@gmail.com>
21251
21252 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
21253 binary endings (bug#4440).
21254
1c4dd947
LMI
212552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21256
a2014063
LMI
21257 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
21258 which can be pretty annoying (bug#8971).
21259
9c9c2d88
LMI
21260 * jka-compr.el (jka-compr-verbose): New variable, and use
21261 throughout (bug#8971).
21262
1c4dd947
LMI
21263 * info.el (Info-find-file): Fall back on the installation
21264 directory if we can't find the info node anywhere else.
21265
a1c9f41b
SO
212662011-07-13 Sergei Organov <osv@javad.com> (tiny change)
21267
21268 * vc/vc.el (vc-revert-file):
21269 Don't set file time-stamp in the past. (Bug#5181)
21270
536f3d36
LMI
212712011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21272
7152b011
LMI
21273 * files.el (after-find-file): Give a better error message when
21274 trying to find a symlink that points to a file that doesn't exist
21275 (bug#4398).
21276
536f3d36
LMI
21277 * progmodes/cc-vars.el: Remove (probably) misleading comment
21278 (bug#4396).
21279
460c0fba
JB
212802011-07-12 Johan Bockgård <bojohan@gnu.org>
21281
21282 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
21283
7a6bda45
CY
212842011-07-12 Chong Yidong <cyd@stupidchicken.com>
21285
21286 * mouse-sel.el: Hack restoring functionality, while keeping
21287 compatibility with 2010-07-03 changes to mouse selection.
21288 (mouse-sel-primary-overlay): New var.
21289 (mouse-sel-selection-alist): Use it.
21290 (mouse-sel-mode): Doc fix; remove points that are default features
21291 of mouse.el.
21292
c79598ef
JB
212932011-07-12 Johan Bockgård <bojohan@gnu.org>
21294
21295 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21296 Fix previous fix (bug#2490).
21297
ff8be6ef
RW
212982011-07-12 Roland Winkler <winkler@gnu.org>
21299
b796c9b7
SM
21300 * textmodes/bibtex.el (bibtex-initialize):
21301 Use pop-to-buffer-same-window.
ff8be6ef
RW
21302 (bibtex-search-entries): Fix interactive call.
21303
296ba3ee
LMI
213042011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21305
f5242a02 21306 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
21307 Fontise bytecomp Error lines more correctly (bug#2490).
21308 Fix suggested by Johan Bockgård.
f5242a02 21309
296ba3ee
LMI
21310 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
21311
21312 * dired-x.el (dired-guess-default): Use `delete-dups'.
21313
f69fd0d2
CY
213142011-07-12 Chong Yidong <cyd@stupidchicken.com>
21315
21316 * dired.el (dired-mark-prompt):
21317 * dired-aux.el (dired-read-shell-command): Doc fix.
21318
eab5dc07
LMI
213192011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21320
b796c9b7
SM
21321 * mail/sendmail.el (sendmail-query-once):
21322 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
21323 emacs -Q.
21324
21325 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21326
eab5dc07
LMI
21327 * cus-edit.el (custom-file): Take an optional no-error variable.
21328 (customize-save-variable): Set the variable, and give a warning if
21329 running under "emacs -q".
21330
a1e65d42
JB
213312011-07-11 Juanma Barranquero <lekktu@gmail.com>
21332
21333 * loadhist.el (unload-feature-special-hooks):
21334 Add `auto-coding-functions', `fill-nobreak-predicate' and
21335 `find-directory-functions' (bug#5327).
21336
1d52da10
LMI
213372011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21338
be958f1d
LMI
21339 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
21340
5bedb26c
LMI
21341 * cus-edit.el (custom-guess-name-alist): -alist variables should
21342 use the `alist' type (bug#3120). Suggested by Drew Adams.
21343
1d52da10
LMI
21344 * printing.el: Add documentation to all the `pr-toggle-' commands.
21345
cd394be1 213462011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
21347
21348 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
21349 backends where it makes sense (bug#2623).
21350
dcc88d8a
LMI
213512011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21352
c3de9feb
LMI
21353 * dired-x.el (dired-guess-default): Remove duplicate shell command
21354 entries (bug#2028).
8a93078b 21355 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 21356 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 21357
dcc88d8a
LMI
21358 * subr.el (remove-duplicates): New conveniency function.
21359
505e3645
LMI
213602011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
21361
21362 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
21363 (bug#1526).
21364
213652011-07-10 Martin Rudalics <rudalics@gmx.at>
21366
21367 * window.el (display-buffer-normalize-default): Don't invert
21368 meaning of even-window-heights. Reported by Eli Zaretskii
21369 <eliz@gnu.org>.
21370
455e4fa1
BR
213712011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
21372
21373 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
21374
8e0bc3e9
CY
213752011-07-10 Chong Yidong <cyd@stupidchicken.com>
21376
21377 * window.el (display-buffer): Fix arguments to
21378 display-buffer-reuse-window in last change.
21379
fa7c3228
CY
21380 * faces.el (link): Use a less saturated blue on light backgrounds.
21381
21382 * startup.el (fancy-startup-text, fancy-about-text)
21383 (fancy-startup-tail): Use font-lock faces, for background safety.
21384
c0a7f300
BN
213852011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
21386
b796c9b7
SM
21387 * emulation/viper-cmd.el (viper-change-state-to-vi):
21388 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 21389
4dc2a129
MR
213902011-07-09 Martin Rudalics <rudalics@gmx.at>
21391
21392 * window.el (display-buffer-default-specifiers): Remove.
21393 (display-buffer-macro-specifiers): Remove default specifiers.
21394 (display-buffer-alist): Default to nil.
b796c9b7 21395 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
21396 (display-buffer-pop-up-window): Allow splitting internal
21397 windows. Check whether a live window was created.
21398 (display-buffer-other-window-means-other-frame)
21399 (display-buffer-normalize-arguments): Rename to
21400 display-buffer-normalize-argument and rewrite. Set the
21401 other-window specifier.
21402 (display-buffer-normalize-special): New function.
21403 (display-buffer-normalize-options): Rename to
21404 display-buffer-normalize-default and rewrite.
21405 (display-buffer-normalize-options-inhibit): Remove.
21406 (display-buffer-normalize-specifiers): Rewrite.
21407 (display-buffer): Process other-window specifier and call
21408 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
21409 more faithfully.
b796c9b7 21410 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 21411 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
21412 (display-buffer-in-window, display-buffer-alist-set):
21413 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
21414 <tassilo@member.fsf.org>.
21415
2d43b8c9
LL
214162011-07-09 Leo Liu <sdl.web@gmail.com>
21417
21418 * register.el (insert-register): Restore accidental change on
21419 2011-06-26. (Bug#9028)
21420
7f9b7c53
GM
214212011-07-09 Glenn Morris <rgm@gnu.org>
21422
21423 * subr.el (remq): Handle the empty list. (Bug#9024)
21424
f042cfd8
AS
214252011-07-08 Andreas Schwab <schwab@linux-m68k.org>
21426
21427 * mail/sendmail.el (send-mail-function): No longer delay custom
21428 initialization.
21429 * custom.el (custom-initialize-delay): Doc fix.
21430
856b2f11
SM
214312011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21432
21433 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21434
afae1d68
MA
214352011-07-08 Michael Albinus <michael.albinus@gmx.de>
21436
21437 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21438 human-friendly prompt.
21439
0757af94
SM
214402011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21441
21442 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21443 provided by a particular plugin.
21444
d760b731
LMI
214452011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21446
21447 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21448 save customizations (with "emacs -Q"), just set the variable
21449 instead of erroring out.
21450
21451 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21452
cd79ce90
JL
214532011-07-08 Juri Linkov <juri@jurta.org>
21454
21455 * arc-mode.el (archive-zip-expunge, archive-zip-update)
21456 (archive-zip-update-case): Use 7z if found by `executable-find'.
21457 The order of searching the available programs is the same as in
21458 `archive-zip-extract' (bug#8968).
21459
14cc04aa
CY
214602011-07-07 Chong Yidong <cyd@stupidchicken.com>
21461
21462 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21463 (menu-bar-options-menu): Tweak descriptions.
21464
0a1848ec
LMI
214652011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21466
21467 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21468 menu items into verb phrases (bug#1421). Also refill to fit under
21469 80 columns.
21470
f5bd0689
CY
214712011-07-07 Chong Yidong <cyd@stupidchicken.com>
21472
538e85c6
CY
21473 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21474 (Info-read-node-name): Doc fix (Bug#1084).
21475
f5bd0689
CY
21476 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21477 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21478 (end-of-sexp, beginning-of-sexp)
21479 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21480 (forward-symbol, forward-same-syntax, word-at-point)
21481 (sentence-at-point): Doc fix (Bug#1144).
21482
56ec5115
LMI
214832011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21484
f3f8e37f
LMI
21485 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21486 should cover it (bug#1281).
21487
0757af94 21488 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 21489
e9fce1ac 21490 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
21491 negotiation fails, then possibly try again with a non-encrypted
21492 connection (bug#9017).
21493
56ec5115
LMI
21494 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21495 be used.
21496
c2f9aec8
RS
214972011-07-07 Richard Stallman <rms@gnu.org>
21498
21499 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21500 property, and handle its changed format.
21501 Look for the correct line number.
21502 Use file's line contents (but not past first =) to find
21503 correct line in message.
21504
ef7b981d 215052011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
21506
21507 * international/characters.el (build-unicode-category-table):
21508 Delete it.
0757af94 21509 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 21510
0757af94 21511 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
21512 to src/chartab.c.
21513 (get-char-code-property): Call unicode-property-table-internal to
21514 load a file. Call get-unicode-property-internal where necessary.
21515 (put-char-code-property): Call unicode-property-table-internal to
21516 load a file. Call put-unicode-property-internal where necessary.
21517 put-unicode-property-internal where necessary.
0757af94
SM
21518 (char-code-property-description):
21519 Call unicode-property-table-internal to load a file.
c805dec0
KH
21520
21521 * international/charprop.el:
21522 * international/uni-bidi.el:
21523 * international/uni-category.el:
21524 * international/uni-combining.el:
21525 * international/uni-comment.el:
21526 * international/uni-decimal.el:
21527 * international/uni-decomposition.el:
21528 * international/uni-digit.el:
21529 * international/uni-lowercase.el:
21530 * international/uni-mirrored.el:
21531 * international/uni-name.el:
21532 * international/uni-numeric.el:
21533 * international/uni-old-name.el:
21534 * international/uni-titlecase.el:
21535 * international/uni-uppercase.el: Regenerate.
21536
21537 * loadup.el: Load international/charprop.el before
21538 international/characters.
21539
e14b388a
CY
215402011-07-07 Chong Yidong <cyd@stupidchicken.com>
21541
21542 * window.el (next-buffer, previous-buffer): Signal an error if
21543 called from a minibuffer window.
21544
21545 * bindings.el: Revert 2011-07-04 change.
21546
354cf0ba
RS
215472011-07-06 Richard Stallman <rms@gnu.org>
21548
21549 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21550 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21551 Treat markers like ints.
21552 (rmail-mime-entity): Doc fix.
21553
a48868a7
LMI
215542011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21555
4906cd3d
LMI
21556 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21557 defcustom again for backwards compatibility.
21558
e0457abe
LMI
21559 * simple.el (shell-command-on-region): Fill.
21560
d67f7e1f
LMI
21561 * dired-aux.el (dired-kill-line): Add a doc string.
21562
fe204702
LMI
21563 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21564 to "\\sw\\|\\s_" (bug#358).
21565
a48868a7
LMI
21566 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21567 (dired-unmark-backward): Ditto.
21568 (dired-flag-backup-files): Ditto.
21569
21570 * dired-x.el (dired-mark-sexp): Ditto.
21571
aa8a705c
RS
215722011-07-06 Richard Stallman <rms@gnu.org>
21573
21574 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21575 (rmail-mime-entity): New arg TRUNCATED.
21576 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21577 New functions.
21578 (rmail-mime-save): Warn if entity is truncated.
21579 (rmail-mime-toggle-hidden): Likewise, for showing.
21580 (rmail-mime-process-multipart): Record when an entity is truncated.
21581
a9a936b9
RS
21582 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21583 if ENTITY is a string.
21584
1f2b92cb
LMI
215852011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21586
f4f73198 21587 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
21588 of faces when `M-C-x'-ing their definitions (bug#8378).
21589 Also clean up the code slightly.
f4f73198 21590
12b16734 21591 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 21592 because that makes the colors go away.
12b16734 21593
f0691d22
LMI
21594 * mail/sendmail.el (send-mail-function): Change the default to
21595 `sendmail-query-once'.
9e87df06 21596 (sendmail-query-once): Add an autoload cookie.
f0691d22 21597
1f2b92cb
LMI
21598 * net/network-stream.el (network-stream-open-starttls): Try using
21599 a plain connection even if the server offered STARTTLS, and we
21600 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21601 capability. This should make smtpmail.el work in slightly more
21602 configurations.
21603
1cdd2a1b
MA
216042011-07-06 Michael Albinus <michael.albinus@gmx.de>
21605
21606 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21607 New defun.
21608 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21609
fbcc67e2
MM
216102011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21611
21612 * progmodes/sql.el: Version 3.0
0757af94 21613 (sql-product-alist): Add product :completion-object,
fbcc67e2 21614 :completion-column, and :statement attributes.
0757af94 21615 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 21616 (sql-mode-syntax-table): Mark all punctuation.
0757af94 21617 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
21618 ansi keywords.
21619 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 21620 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
21621 (sql-oracle-show-reserved-words): New function for development.
21622 (sql-product-font-lock): Simplify for source code buffers.
21623 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21624 New functions.
21625 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
21626 (sql-mode-map): Add statement movement functions.
21627 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21628 New variable.
fbcc67e2
MM
21629 (sql-statement-regexp, sql-beginning-of-statement)
21630 (sql-end-of-statement, sql-signum): New functions.
0757af94 21631 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
21632 (sql-show-sqli-buffer): Bug fix.
21633 (sql-interactive-mode): Store connection data as buffer local.
0757af94 21634 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
21635 with sql-interactive-mode.
21636 (sql-save-connection): Save buffer local settings.
0757af94 21637 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
21638 (sql-product-interactive): Bug fix.
21639 (sql-preoutput-hold): New variable.
21640 (sql-interactive-remove-continuation-prompt): Bug fixes.
21641 (sql-debug-redirect): New variable.
21642 (sql-str-literal): New function.
21643 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 21644 Redesign.
fbcc67e2
MM
21645 (sql-oracle-save-settings, sql-oracle-restore-settings)
21646 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21647 (sql-completion-object, sql-completion-column)
21648 (sql-completion-sqlbuf): New variables.
21649 (sql-build-completions-1, sql-build-completions)
21650 (sql-try-completion): New functions.
21651 (sql-read-table-name): Use them.
21652 (sql-contains-names): New buffer local variable.
21653 (sql-list-all, sql-list-table): Use it.
21654 (sql-oracle-completion-types): New variable.
21655 (sql-oracle-completion-object, sql-sqlite-completion-object)
21656 (sql-postgres-completion-object): New functions.
21657
d4eaeab1
GM
216582011-07-06 Glenn Morris <rgm@gnu.org>
21659
21660 * window.el (pop-to-buffer): Doc fix.
21661
322b7dab 216622011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
21663
21664 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21665
322b7dab 216662011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 21667
322b7dab 21668 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 21669
322b7dab 21670 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 21671
605dd5bf
CY
216722011-07-05 Chong Yidong <cyd@stupidchicken.com>
21673
21674 * button.el (button): Inherit from link face. Suggested by Dan
21675 Nicolaescu.
21676
7dbfa719
SM
216772011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21678
3db614b0
SM
21679 * progmodes/gdb-mi.el: Fit in 80 columns.
21680 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21681 switch-to-buffer.
21682
7dbfa719
SM
21683 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21684 if imenu is simply not configured (bug#8941).
21685
919d884a
KM
216862011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21687
21688 * allout.el (allout-post-undo-hook): New allout outline-change
21689 event hook to signal undo activity.
21690 (allout-post-command-business): Run allout-post-undo-hook if an
21691 undo just occurred.
7dbfa719
SM
21692 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21693 * allout-widgets.el (allout-widgets-after-undo-function):
21694 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
21695 in the vicinity of an undo.
21696 (allout-widgets-mode): Include allout-widgets-after-undo-function
21697 on the new allout-post-undo-hook.
21698
450a0f09
SM
216992011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21700
21701 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21702 Let define-derived-mode define it.
21703 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21704 cycles of abbrev-table inheritance (bug#8998).
21705
2de69e00
RW
217062011-07-05 Roland Winkler <winkler@gnu.org>
21707
21708 * textmodes/bibtex.el: Add support for biblatex.
21709 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21710 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21711 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21712 (bibtex-entry-alist, bibtex-field-alist): New variables.
21713 (bibtex-entry-field-alist): Obsolete alias for
21714 bibtex-BibTeX-entry-alist.
21715 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21716 (bibtex-set-dialect): New command.
21717 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
21718 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21719 Bind via bibtex-set-dialect.
2de69e00
RW
21720 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21721 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21722 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21723 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21724 Define via bibtex-set-dialect.
450a0f09
SM
21725 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21726 Obey bibtex-no-opt-remove-re.
2de69e00
RW
21727 (bibtex-vec-push, bibtex-vec-incr): New functions.
21728 (bibtex-format-entry, bibtex-field-list)
21729 (bibtex-print-help-message, bibtex-validate)
21730 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21731
2dcdbdd9
SM
217322011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21733
21734 * progmodes/compile.el (compilation-goto-locus):
21735 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21736 * bs.el (bs-cycle-next, bs-cycle-previous):
21737 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21738 * bindings.el (mode-line-other-buffer):
21739 * autoinsert.el (auto-insert):
21740 * arc-mode.el (archive-extract):
21741 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21742
b27640fe
JB
217432011-07-05 Juanma Barranquero <lekktu@gmail.com>
21744
21745 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21746 Fix check of `emacs-lock-unlockable-modes'.
21747 Coerce true values of `emacs-lock--try-unlocking' to t.
21748
53bbe3ad
JB
217492011-07-05 Juanma Barranquero <lekktu@gmail.com>
21750
21751 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21752 * emacs-lock.el: New file.
21753
1d3cdbc7
JD
217542011-07-05 Julien Danjou <julien@danjou.info>
21755
21756 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21757 than `boundp' to check if face is set.
21758
9173deec
JB
217592011-07-05 Juanma Barranquero <lekktu@gmail.com>
21760
21761 * register.el (registerv-make):
21762 * window.el (window-min-height): Fix typos in docstrings.
21763
869795d6
JD
217642011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21765
9173deec 21766 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
21767 Update doc string.
21768
b768cdcd
JB
217692011-07-04 Juanma Barranquero <lekktu@gmail.com>
21770
21771 * server.el (server-execute): Catch quit and call
21772 `server-return-error' to pass the error back to emacsclient and
21773 close the connection (bug#8942).
21774
13aa217b
KM
217752011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21776
21777 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21778 insecure exception for current topic. Also note that auto-saves
21779 are handled differently.
21780
5d3385a0 21781 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
21782 State variables for tracking auto-save inhibition situation.
21783
21784 (allout-write-contents-hook-handler): Rename from
21785 'allout-write-file-hook-handler', and describe how it depends on
21786 write-contents-functions sensitivity to non-nil value to prevent
21787 file write.
21788
21789 (allout-auto-save-hook-handler): Remove. auto-save does not check
21790 this in individual buffers, only in the starting buffer, so this
21791 is not the right way for us to inhibit auto-save in a buffer
21792 according to its condition.
21793
21794 (allout-mode): Use new allout-write-contents-hook-handler, and
21795 only with write-contents-functions. Remove auto-save provisions -
21796 they're implemented elsewhere.
21797
21798 (allout-before-change-handler): If undo is in progress, note that
21799 for attention of allout-post-command-business.
21800
21801 (allout-post-command-business): If the command we're following was
21802 an undo, check for change in the status of encrypted items and
21803 adjust auto-save inhibitions accordingly.
21804
21805 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21806 according to whether there are or aren't any plain-text topics
21807 pending encryption.
21808
2dcdbdd9 21809 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
21810 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21811 if there are plain-text topics pending encryption.
13aa217b
KM
21812
21813 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21814 buffer-saved-size and some allout state to not inhibit auto-saves
21815 if there are no longer any plain-text topics pending encryption.
21816
0757af94
SM
21817 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21818 No longer provide for exemption of the current topic.
13aa217b 21819
ac89b32c
JL
218202011-07-04 Juri Linkov <juri@jurta.org>
21821
21822 Add 7z operations to delete and save changed members (bug#8968).
21823 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21824 New defcustoms.
21825 (archive-7z-write-file-member): New function.
21826 (archive-7z-summarize): Fix the number of dashes in the
21827 listing output.
21828
8fa39615
SM
218292011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21830
21831 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21832 (bug#8958).
21833
2f11b3f1
CY
218342011-07-04 Chong Yidong <cyd@stupidchicken.com>
21835
d66fef2b
CY
21836 * bindings.el: Ignore next-buffer and previous-buffer in
21837 minibuffer-local-map.
21838
2f11b3f1
CY
21839 * font-lock.el (font-lock-builtin-face): Change light background
21840 color to dark slate blue (Bug#6693).
21841
f932a347
WD
218422011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21843
21844 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21845
c8af70e1
SM
218462011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21847
21848 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21849 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21850 Add switch-to-buffer.
21851
f158badc
LMI
218522011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21853
21854 * isearch.el (isearch-search-fun-function): Clarify further the
21855 meaning of the function returned.
21856
6d95bd46
MA
218572011-07-04 Michael Albinus <michael.albinus@gmx.de>
21858
21859 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21860
21861 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21862 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21863 Use it.
21864 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21865 `tramp-default-remote-path' does not exist.
21866 (tramp-send-command-and-read): New optional argument NOERROR.
21867 (tramp-open-connection-setup-interactive-shell)
21868 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21869 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21870 (tramp-process-sentinel): Flush also process' connection property.
21871 (tramp-sh-handle-start-file-process): Do not set process
21872 sentinel. It is done now ...
21873 (tramp-maybe-open-connection): ... here. (Bug#8929)
21874
909e6b67
MK
218752011-07-04 MON KEY <monkey@sandpframing.com>
21876
21877 * play/animate.el (animate-string): Doc fixes and allow changing
21878 the buffer name (bug#5417).
21879
218802011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21881
c8af70e1 21882 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 21883
f34755dc
PE
218842011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21885
396cec72
PE
21886 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21887 This is simpler and helps future-proof the code.
21888 (timer-until): Use time-subtract and float-time.
08235028 21889 (timer--time-less-p): Use time-less-p.
f34755dc 21890
56e6cc31
JB
218912011-07-04 Juanma Barranquero <lekktu@gmail.com>
21892
3abb79e5
JB
21893 * type-break.el (timep): Use the value of `float-time' to avoid a
21894 byte-compiler warning.
21895
56e6cc31
JB
21896 * server.el (server-eval-and-print): Return any result, even nil.
21897
7b9430b4
PE
218982011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21899
21900 * type-break.el: Accept time formats that the builtins accept.
21901 (timep, type-break-time-difference): Accept any format that
21902 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21903 This is simpler and helps future-proof the code.
21904 (type-break-time-difference): Round rather than ignoring
21905 subseconds components.
21906
3034e9e7
LMI
219072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21908
21909 * info.el (Info-apropos-matches): Make non-interactive, since it
21910 doesn't seem to do anything useful as a command (bug#8829).
21911
1485f4c0
CY
219122011-07-03 Chong Yidong <cyd@stupidchicken.com>
21913
21914 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 21915 Move from faces.el.
1485f4c0
CY
21916 (frame-default-terminal-background): New function.
21917
21918 * custom.el (custom-push-theme): Don't record faces in `changed'
21919 theme; this doesn't work correctly for per-frame face settings.
21920 (disable-theme): Use face-set-after-frame-default to reset faces.
21921 (custom--frame-color-default): New function.
21922
9fa3dd45
LMI
219232011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21924
c8af70e1 21925 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
21926 (bug#8769).
21927
6cbbc20c
KR
219282011-03-29 Kevin Ryde <user42@zip.com.au>
21929
21930 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21931 `perl-Test2' extend to match possible "fail #N" rep count
21932 (bug#8377).
21933
c7f98048
LMI
219342011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21935
65676592
LMI
21936 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21937 `smtpmail-via-smtp' now returns the error instead of nil.
21938
c7f98048
LMI
21939 * isearch.el (isearch-search-fun-function): Clarify the doc string
21940 (bug#8101).
21941
56e6cc31 219422011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
21943
21944 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21945 unnecessary spaces (bug#8987).
21946
2b216704
LMI
219472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21948
21949 * net/network-stream.el (open-network-stream): Use the
21950 :end-of-capability command thoughout.
21951
219522011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21953
21954 * net/network-stream.el (open-network-stream): Add the
21955 :end-of-capability command parameter, used by pop3.el.
21956
36adf6ce
LMI
219572011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21958
1ca0da0e
LMI
21959 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21960
fc00f69c
LMI
21961 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21962 for list)" (bug#6475).
21963
28fd8759 21964 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 21965 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
21966 an error (bug#6297).
21967
0dd8b6da
LMI
21968 * man.el (Man-reference-regexp): Allow matching possible
21969 word-wrapped references (bug#6289).
21970
ce1438d6
LMI
21971 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21972 for consistency with the other vc buffers (bug#6197).
21973 (vc-checkin): Ditto.
21974
21975 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21976
36adf6ce
LMI
21977 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21978
e83cc1f7
LMI
219792011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21980
8a20ca4c
LMI
21981 * custom.el (defcustom): Clarify that :set is only used in the
21982 Customize user interface (bug#6089).
21983
83319045
LMI
21984 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21985 associated with a file, refuse to run instead of erroring out
21986 (bug#6084).
21987
a8392169
LMI
21988 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21989 the doc string, since it appears that using `fill-column' always
21990 controls the width (bug#7845).
21991
e83cc1f7
LMI
21992 * simple.el (shell-command-on-region): Say where the error output
21993 went if `shell-command-default-error-buffer' is set (bug#6857).
21994
e47ca23b
KM
219952011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21996
21997 * allout.el (allout-yank-processing): Adjust cursor position for
21998 backwards-deleted space.
21999
22000 (allout-rebullet-heading): Register changes with
22001 allout-exposure-changed-hook, so the modified topic is properly
22002 decorated.
22003
5cf56143
LMI
220042011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22005
08549772
LMI
22006 * minibuffer.el (completion-in-region): Document PREDICATE
22007 (bug#7136).
22008
48e96771
LMI
22009 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22010 of keyword/argument pairs (bug#6904).
22011
c8af70e1
SM
22012 * replace.el (multi-occur):
22013 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 22014
e17d05e2
LMI
220152011-07-02 Drew Adams <drew.adams@oracle.com>
22016
22017 * dired.el (dired-mark-if): Make the message about whether it's
22018 marking or unmarking clearer (bug#8523).
22019
063b0e45
LMI
220202011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22021
22022 * disp-table.el (display-table-print-array): New function.
22023 (describe-display-table): Use it to print the vectors more pretty
22024 (Bug#8859).
22025
28545e04
MR
220262011-07-02 Martin Rudalics <rudalics@gmx.at>
22027
22028 * window.el (window-state-get-1): Don't assign clone numbers.
22029 Add clone-of item to list of window parameters.
22030 (window-state-put-2): Don't process clone numbers.
22031 (display-buffer-alist): Fix doc-string.
22032
3349e122
SM
220332011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22034
22035 * subr.el (remq): Don't allocate if it's not needed.
22036 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22037 (keymap--merge-bindings): New functions.
22038 (keymap-canonicalize): Use them to refine the canonicalization.
22039 * minibuffer.el (minibuffer-local-completion-map)
22040 (minibuffer-local-must-match-map): Move initialization from C.
22041 (minibuffer-local-filename-completion-map): Move initialization from C;
22042 don't inherit from anything here.
22043 (minibuffer-local-filename-must-match-map): Make obsolete.
22044 (completing-read-default): Use make-composed-keymap to combine
22045 minibuffer-local-filename-completion-map with either
22046 minibuffer-local-must-match-map or
22047 minibuffer-local-filename-completion-map.
22048
d224ac83
GM
220492011-07-01 Glenn Morris <rgm@gnu.org>
22050
3de63bf8
GM
22051 * type-break.el (type-break-time-sum): Use dolist.
22052
d224ac83
GM
22053 * textmodes/flyspell.el (flyspell-word-search-backward):
22054 Replace CL function.
22055
1a1e3f32
SM
220562011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22057
fe3f64d5
SM
22058 * mouse.el (mouse--strip-first-event): New function.
22059 (function-key-map): Use it to map fringe clicks to normal clicks
22060 by default.
22061
eb604e34
SM
22062 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22063 (vc-bzr-revision-completion-table): Add support for annotate and date.
22064
1a1e3f32
SM
22065 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22066 inherit from parent.
22067
5bd35902
LMI
220682011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22069
ace6c69c 22070 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 22071 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 22072
191e2bed
LMI
22073 * dired.el (dired-mode): Fix up the doc string as suggested by
22074 Drew Adams (bug#8817).
22075
5bd35902
LMI
22076 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22077 cookie, since the manual says that it should be possible to add
22078 this function to `find-file-hook' (bug#8709).
22079
eee8207a
TZ
220802011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22081
22082 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22083 here. Noted Ted Zlatanov as the maintainer.
22084 (cfengine-common-settings, cfengine-common-syntax): New functions
22085 to set up common things between `cfengine-mode' and
22086 `cfengine3-mode'.
22087 (cfengine3-mode): New mode.
22088 (cfengine3-defuns cfengine3-defuns-regex
22089 (cfengine3-class-selector-regex cfengine3-category-regex)
22090 (cfengine3-vartypes cfengine3-font-lock-keywords)
22091 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 22092 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 22093
36b148cf
MA
220942011-07-01 Michael Albinus <michael.albinus@gmx.de>
22095
22096 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22097
22098 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22099
0bf4ba9a
MR
221002011-07-01 Martin Rudalics <rudalics@gmx.at>
22101
22102 * window.el (same-window-buffer-names, same-window-regexps)
22103 (same-window-p, special-display-frame-alist)
22104 (special-display-popup-frame, special-display-function)
22105 (special-display-buffer-names, special-display-regexps)
22106 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22107 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22108 (split-window-preferred-function, split-height-threshold)
22109 (split-width-threshold, even-window-heights)
22110 (display-buffer-mark-dedicated, window-splittable-p)
22111 (split-window-sensibly, window-safely-shrinkable-p):
22112 Un-obsolete.
22113 (display-buffer): Don't spread args with function specifier
22114 because special-display-popup-frame won't like it.
22115
35837f51
PE
221162011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22117
d0672f86
PE
22118 Time-stamp simplifications and fixes.
22119 These improve accuracy slightly, and future-proof the code
22120 against some potential changes to current-time format.
22121
b9444d97
PE
22122 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22123 by using time-since and float-time.
22124
0ef923dc
PE
22125 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22126 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22127 + NNN microseconds".
22128
2f81380d
PE
22129 * type-break.el (type-break-time-sum): Rewrite using time-add.
22130
845b5c3e
PE
22131 * play/hanoi.el (hanoi-current-time-float): Remove.
22132 All uses replaced by float-time.
22133
ee6f1be0
PE
22134 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22135 This yields a more-accurate answer.
22136 (rng-time-to-float): Remove; no longer needed.
22137
fe955043
PE
22138 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22139
5777162a
PE
22140 * calendar/timeclock.el (timeclock-seconds-to-time):
22141 Defalias to seconds-to-time, since they're the same thing.
22142
3103f8b6 22143 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 22144 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
22145 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22146
0e61a35f
SM
221472011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22148
22149 * window.el (bury-buffer): Don't iconify the only frame.
22150 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22151 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22152
ddd63a1e
CY
221532011-07-01 Chong Yidong <cyd@stupidchicken.com>
22154
0e61a35f
SM
22155 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22156 Add mouse-yank-primary.
ddd63a1e 22157
055f4923
TZ
221582011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22159
22160 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22161
6a2fb145
SM
221622011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22163
22164 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22165 (find-library-name): Use it to find relative load names when provided
22166 absolute file name (bug#8803).
22167
fd4983f2
LMI
221682011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22169
887d14ad
LMI
22170 * textmodes/flyspell.el (flyspell-word): Consider words that
22171 differ only in case as potential doublons (bug#5687).
22172
c53dc7fc
LMI
22173 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22174 Remove two rather uninteresting debugging-like messages to make
22175 debbugs.el more silent.
22176
fd4983f2
LMI
22177 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22178 a password-like phrase.
22179
7a71b18d 221802011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
22181
22182 * progmodes/cc-guess.el: New file.
22183
6a2fb145 22184 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
22185
22186 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22187 derived from `c-basic-common-init'.
22188
22189 * progmodes/cc-mode.el (top-level): Require cc-guess.
22190 (c-basic-common-init): Use `cc-choose-style-for-mode'.
22191
1fa280a3
LM
221922011-06-30 Lawrence Mitchell <wence@gmx.li>
22193
22194 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
22195
e6597158
AM
221962011-06-30 Alan Mackenzie <acm@muc.de>
22197
1fa280a3
LM
22198 * progmodes/cc-engine.el (c-guess-continued-construct):
22199 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
22200 lock is disabled. Name this case as "CASE G".
22201
68ba37fb
KM
222022011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
22203
22204 * allout.el (allout-yank-processing): Fix injection of extra space
22205 between bullet and non-whitespace character in first topic when
22206 pasting, ensuring that the actual spacing in the pasted topic
22207 following the bullet char is preserved. This extra space was
22208 causing pasted encrypted topics to get a decrypted status even
22209 when the content was actually still encrypted. Now the decryption
22210 status from before the paste is preserved.
22211
22212 (allout-flag-region): Set all allout overlays so they evaporate
22213 when reduced to zero length (evanescent), to prevent overlay
22214 leakage.
22215
887a0b34
GM
222162011-06-30 Glenn Morris <rgm@gnu.org>
22217
94b9acce
GM
22218 * w32-fns.el (w32-charset-info-alist): Declare.
22219
1d9b46d4
GM
22220 * find-dired.el (find-grep-options): Simplify.
22221
cc232200
GM
22222 * term/ns-win.el (ns-set-resource): Declare.
22223
28e77c46
GM
22224 * ses.el (row, col): Declare dynamic variables honestly.
22225
887a0b34
GM
22226 * textmodes/reftex-parse.el (index-tags): Declare.
22227
658d8eb8
CY
222282011-06-30 Chong Yidong <cyd@stupidchicken.com>
22229
22230 * cus-edit.el (customize-push-and-save): New function.
22231
22232 * files.el (hack-local-variables-confirm): Use it.
22233
1fa280a3
LM
22234 * custom.el (load-theme): New arg NO-CONFIRM.
22235 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
22236 (custom-enabled-themes): Doc fix.
22237
22238 * cus-theme.el (customize-create-theme)
22239 (custom-theme-merge-theme): Callers to load-theme changed.
22240
bb617717
LMI
222412011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22242
d61bdd5d
LMI
22243 * thingatpt.el (thing-at-point-short-url-regexp): Require that
22244 short URLs have at least one dot in them (bug #7614).
22245
bb617717
LMI
22246 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
22247 nil, because using a pty is apparently too slow (bug #895).
22248
2f31f37a
LMI
222492011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
22250
22251 * mail/sendmail.el (sendmail-query-once): New function.
22252 (sendmail-query-once-function): New variable.
22253
3076b24e
GM
222542011-06-29 Glenn Morris <rgm@gnu.org>
22255
faf2a174
GM
22256 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
22257
3076b24e
GM
22258 * ses.el (top-level): Require cl when compiling.
22259 (ses-set-localvars): Fix error statement.
22260 Call it at compile time to silence a storm of warnings.
22261
5386012d
MR
222622011-06-29 Martin Rudalics <rudalics@gmx.at>
22263
22264 * window.el (normalize-live-buffer): Rename to
22265 window-normalize-buffer.
22266 (normalize-live-frame): Rename to window-normalize-frame.
22267 (normalize-any-window): Rename to window-normalize-any-window.
22268 (normalize-live-window): Rename to window-normalize-live-window.
22269 (make-window-atom): Rename to window-make-atom.
22270 (window-resize-reset): Rename to window--resize-reset.
22271 (window-resize-reset-1): Rename to window--resize-reset-1.
22272 (resize-mini-window): Rename to window--resize-mini-window.
22273 (resize-subwindows-skip-p): Rename to
22274 window--resize-subwindows-skip-p.
22275 (resize-subwindows-normal): Rename to
22276 window--resize-subwindows-normal.
22277 (resize-subwindows): Rename to window--resize-subwindows.
22278 (resize-other-windows): Rename to window--resize-siblings.
22279 (resize-this-window): Rename to window--resize-this-window.
22280 (resize-root-window): Rename to window--resize-root-window.
22281 (resize-root-window-vertically): Rename to
22282 window--resize-root-window-vertically.
22283 (normalize-buffer-to-display): Rename to
22284 window-normalize-buffer-to-display.
22285 (normalize-buffer-to-switch-to): Rename to
22286 window-normalize-buffer-to-switch-to.
22287 Correspondingly update all callers of the functions listed
22288 above.
22289 (display-buffer-alist, display-buffer-normalize-arguments)
22290 (display-buffer-normalize-options, display-buffer)
22291 (display-buffer-alist-set): Use "function" instead of
22292 "fun-with-args".
22293
1176868d
CY
222942011-06-28 Chong Yidong <cyd@stupidchicken.com>
22295
22296 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
22297 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
22298 debbugs.gnu.org. Mention acknowledgment email.
22299
20a7a65f
LMI
223002011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
22301
22302 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
22303 buffer multibyteness, since it shouldn't matter.
22304
5f45cca5
MR
223052011-06-28 Martin Rudalics <rudalics@gmx.at>
22306
22307 * window.el (display-buffer-in-side-window): Handle dedicated
22308 windows as in display-buffer-reuse-window.
22309 (display-buffer-normalize-alist): Use value of override
22310 specifier.
22311 (display-buffer-normalize-specifiers): Use value of
22312 other-window-means-other-frame specifier.
22313 (display-buffer-alist): Rewrite some texts in widgets.
22314 (display-buffer): Spread arguments when calling function
22315 specified by fun-with-args.
22316
ad85fe1f
DD
223172011-06-28 Deniz Dogan <deniz@dogan.se>
22318
1fa280a3
LM
22319 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
22320 Unnest `let'.
da68c4c8 22321
ad85fe1f
DD
22322 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
22323 selectors (Bug#5732).
ec49bd31 22324 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 22325
a08cc025
JA
223262011-06-27 Jari Aalto <jari.aalto@cante.net>
22327
22328 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
22329 (eshell-ls-date-format): New defcustom.
22330 (eshell-ls-file): Use it.
22331
e2b551c5
SM
223322011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22333
22334 * help-fns.el (describe-variable): Fix message for terminal-local vars.
22335
8982b231
KY
223362011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
22337
22338 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
22339 (ange-ftp-make-tmp-name): New arg.
22340 (ange-ftp-file-local-copy): Use it.
22341
36c9fa27
J
223422011-06-27 Jambunathan K <kjambunathan@gmail.com>
22343
22344 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
22345 no-conversion (Bug#8870).
22346
d68443dc
MR
223472011-06-27 Martin Rudalics <rudalics@gmx.at>
22348
22349 * window.el (window-right, window-left, window-child)
22350 (window-child-count, window-last-child)
22351 (window-iso-combination-p, walk-window-tree-1)
22352 (window-atom-check-1, window-tree-1, delete-window)
22353 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
22354 new naming conventions - window-vchild, window-hchild,
22355 window-next and window-prev are now called window-top-child,
22356 window-left-child, window-next-sibling and window-prev-sibling
22357 respectively.
d615d6d2
MR
22358 (resize-window-reset): Rename to window-resize-reset.
22359 (resize-window-reset-1): Rename to window-resize-reset-1.
22360 (resize-window): Rename to window-resize.
22361 (window-min-height, window-min-width)
22362 (resize-mini-window, resize-this-window, resize-root-window)
22363 (resize-root-window-vertically, adjust-window-trailing-edge)
22364 (enlarge-window, shrink-window, maximize-window)
22365 (minimize-window, delete-window, quit-restore-window)
22366 (split-window, balance-windows, balance-windows-area-adjust)
22367 (balance-windows-area, window-state-put-2)
22368 (display-buffer-even-window-sizes, display-buffer-set-height)
22369 (display-buffer-set-width, set-window-text-height)
22370 (fit-window-to-buffer): Rename all "resize-window" prefixed
22371 calls to use the "window-resize" prefix convention.
22372 (display-buffer-alist): Fix symbol for label specifier.
22373 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
22374 corresponding specifier.
22375 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 22376
b6458526
VB
223772011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22378
22379 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
22380 convention.
22381 (ses-call-printer): Does not pass an empty string to formatter when the
22382 cell is empty to keep from barking printer Calc math-format-value.
22383
d31fd9ac
RS
223842011-06-27 Richard Stallman <rms@gnu.org>
22385
43d5bf84
RS
22386 * battery.el (battery-mode-line-limit): New variable.
22387 (battery-update): Handle it.
22388
d31fd9ac
RS
22389 * mail/rmailmm.el (rmail-mime-process-multipart):
22390 Handle truncated messages.
22391
819a6054
GM
223922011-06-27 Glenn Morris <rgm@gnu.org>
22393
22394 * progmodes/flymake.el (flymake-err-line-patterns):
22395 Allow for column numbers in the ant/javac pattern. (Bug#8866)
22396
cedc73f2
VB
223972011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
22398
819a6054 22399 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
22400 (ses--clean-!, ses--clean-_): New functions.
22401 (ses-range): Add configurability of readout order, and conversion
22402 to Calc vector.
22403
5e5d49b6
VB
22404 * ses.el (ses-repair-cell-reference-all): New function.
22405 (ses-cell-symbol): Set macro as safe, so that it can be used in
22406 formulas.
22407
56e6cc31 22408 * ses.el: Update cycle detection algorithm.
90ca8b49 22409 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 22410 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
22411 (ses-set-localvars): New function.
22412 (ses-make-cell): Add property-list as a cell element.
22413 (ses-cell-property-get-fun, ses-cell-property-get)
22414 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
22415 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
22416 New functions.
90ca8b49
VB
22417 (ses-cell-property-set, ses-cell-property-pop)
22418 (ses-cell-property-get-handle): New macro.
22419 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
22420 New aliases, used for code readability.
22421 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
22422 cycle detection.
22423 (ses-self-reference-early-detection): New defcustom.
fac916bf 22424 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
22425 (ses-mode): Use ses-set-localvars.
22426 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22427 before lauching the update processing.
22428 (ses-initialize-Dijkstra-attempt): New function.
22429 (ses-recalculate-cell): Update for cycle detection based on
22430 Dijkstra algorithm.
22431
2bb63e81
VB
22432 * ses.el: Fix commenting and indenting convention.
22433
c9d29fb8
SM
224342011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22435
22436 * bs.el (bs-cycle-next): Complete last change.
22437
d8e4b68b
JB
224382011-06-27 Drew Adams <drew.adams@oracle.com>
22439
22440 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22441
40098786
LMI
224422011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
22443
c9d29fb8
SM
22444 * net/network-stream.el (network-stream-open-starttls):
22445 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
22446 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22447
40098786
LMI
22448 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22449 to binary to possibly avoid line encoding issues on Windows (among
22450 other things).
22451
468d09d4
LMI
224522011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22453
22454 * net/network-stream.el (open-network-stream): Return an :error
22455 saying what the problem was, if possible.
22456
22457 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22458 server.
22459
22460 * net/network-stream.el (network-stream-open-starttls): If we
22461 wanted to use STARTTLS, and the server offered it, but we weren't
22462 able to because we had no STARTTLS support, then close the connection.
22463 (open-network-stream): Return an :error element, if present.
22464
16f07dd7
CY
224652011-06-26 Chong Yidong <cyd@stupidchicken.com>
22466
88821ca0
CY
22467 * hl-line.el (hl-line-sticky-flag): Doc fix.
22468 (global-hl-line-sticky-flag): New option (Bug#8323).
22469 (global-hl-line-highlight): Obey it.
22470
16f07dd7
CY
22471 * vc/vc.el (vc-revert-show-diff): Default to t.
22472
6b5ccddf
KM
224732011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
22474
c9d29fb8
SM
22475 * allout-widgets.el (allout-widgets-post-command-business):
22476 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
22477 undecorated when an isearch is continued past, and isearch
22478 automatically collapses them. This leads to "widget leaks", where
22479 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
22480 hidden widgets can slow down cursor travel, substantially.
22481 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
22482 so we're doing without this nicety.
22483
22484 (allout-widgets-tally-string): Don't try to do a hash-table-count
22485 of allout-widgets-tally when it's nil. This eliminates spurious "Error
22486 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22487 *Messages* when allout-widgets-maintain-tally is t.
22488
355f2e07
MR
224892011-06-26 Martin Rudalics <rudalics@gmx.at>
22490
22491 * window.el (display-buffer-normalize-argument): Rename to
22492 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
22493 LABEL argument. Respect special-display-function when popping up
22494 a new frame. Fix code searching for a window showing the buffer
22495 on another frame.
c9d29fb8
SM
22496 (display-buffer-normalize-specifiers):
22497 Call display-buffer-normalize-arguments.
355f2e07
MR
22498 (display-buffer-in-window): Don't undedicate the window if its
22499 buffer remains the same.
22500 Reported by Drew Adams <drew.adams@oracle.com>.
22501 (display-buffer-alist): Add choice for same-window macro
22502 specfier.
22503 (display-buffer): Mention special meaning of LABEL argument in
22504 doc-string. Fix quoting. Don't pop up a new frame even as
22505 fallback.
22506
7ca8fc42
JB
225072011-06-26 Juanma Barranquero <lekktu@gmail.com>
22508
22509 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22510 avoid deleting the current window in some cases (bug#8911).
22511
bc312254
AS
225122011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22513
22514 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22515 (Bug#8934)
22516
2db18f3f
LMI
225172011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22518
c9d29fb8
SM
22519 * net/network-stream.el (network-stream-open-starttls):
22520 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
22521 (network-stream-open-tls): Ditto.
22522
6302e0d3
LL
225232011-06-26 Leo Liu <sdl.web@gmail.com>
22524
22525 * register.el (registerv): New struct.
22526 (registerv-make): New function.
c9d29fb8
SM
22527 (jump-to-register, describe-register-1, insert-register):
22528 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
22529 struct. (Bug#8415)
22530
5fdd4046
CY
225312011-06-26 Chong Yidong <cyd@stupidchicken.com>
22532
2afef60a
CY
22533 * vc/vc.el (vc-revert-show-diff): New defcustom.
22534 (vc-diff-internal): New arg specifying diff buffer.
22535 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22536 reuse an existing *vc-diff* buffer (Bug#8927).
22537
5fdd4046
CY
22538 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22539
e93db24a
GM
225402011-06-26 Glenn Morris <rgm@gnu.org>
22541
22542 * progmodes/f90.el (f90-critical-indent): New option.
22543 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22544 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22545 (f90-mode): Doc fix.
22546 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22547 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22548 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22549 (f90-match-end): Handle block, critical.
22550
eefff499
GM
225512011-06-25 Glenn Morris <rgm@gnu.org>
22552
f6ba4cc9
GM
22553 * calendar/diary-lib.el (diary-included-files): Doc fix.
22554 (diary-include-files): New function, extracted from
22555 diary-include-other-diary-files and diary-mark-included-diary-files.
22556 (diary-include-other-diary-files, diary-mark-included-diary-files):
22557 Just call diary-include-files.
22558 (diary-mark-entries): Reset diary-included-files on first call.
22559
16712304
GM
22560 * calendar/diary-lib.el (diary-mark-entries)
22561 (diary-mark-included-diary-files):
22562 Visit included diary-files in temp buffers.
22563
5d8e0d43
GM
22564 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22565 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22566 (f90-start-block-re, f90-imenu-generic-expression)
22567 (f90-looking-at-program-block-start, f90-no-block-limit):
22568 Add support for submodules.
22569
ccf7a5d5
GM
22570 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22571 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 22572
11fdef7d 225732011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
22574
22575 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22576 buffer-file-type before setting its value, to avoid disastrous
eefff499 22577 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 22578
74f53697
JB
225792011-06-25 Juanma Barranquero <lekktu@gmail.com>
22580
22581 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22582
22583 * ses.el (ses-unload-function):
22584 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22585
22586 * proced.el (proced-unload-function):
22587 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22588
18a4ce5e
AR
225892011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22590
22591 * server.el (server-create-window-system-frame): Add parameters arg.
22592 (server-process-filter): Doc fix. Handle frame-parameters.
22593
519d22cc
JB
225942011-06-25 Juanma Barranquero <lekktu@gmail.com>
22595
22596 Fix bug#8730, bug#8781.
22597
22598 * loadhist.el (unload--set-major-mode): New function.
22599 (unload-feature): Use it.
22600
22601 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22602 (python-unload-function): New function.
22603
c206f5b0
SM
226042011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22605
22606 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22607
f9ad64f3
GS
226082011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22609
22610 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22611 the candidates list.
22612
7d0da90e
JB
226132011-06-24 Juanma Barranquero <lekktu@gmail.com>
22614
22615 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22616
14b4e83d
RS
226172011-06-23 Richard Stallman <rms@gnu.org>
22618
22619 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22620 (rmail-variables): Set next-error-move-function.
22621 (rmail-what-message): Take argument POS.
22622 (rmail-next-error-move): New function.
22623
273d2baf
SM
226242011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22625
22626 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22627 messages for adjacent non-terminals.
22628
56c2cc9a
RS
226292011-06-23 Richard Stallman <rms@gnu.org>
22630
22631 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 22632 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
22633 (rmail-start-mail): Don't specify use of rmail-mail-return;
22634 that's done by mail-bury now.
22635 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 22636
d59eb518
MA
226372011-06-23 Michael Albinus <michael.albinus@gmx.de>
22638
22639 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22640 SIZE is a number.
22641
02cfc6d6
MR
226422011-06-23 Martin Rudalics <rudalics@gmx.at>
22643
22644 * window.el (get-lru-window, get-mru-window)
22645 (get-largest-window): Never return a minibuffer window.
22646 (display-buffer-pop-up-window): Fix a bug that could lead to
22647 reusing the minibuffer window.
22648 (display-buffer): Pass original specifier argument to
22649 display-buffer-function instead of the normalized one.
22650 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22651
4e323265
LL
226522011-06-22 Leo Liu <sdl.web@gmail.com>
22653
22654 * minibuffer.el (completing-read-function)
1f9f395d 22655 (completing-read-default): Move from minibuf.c.
4e323265 22656
7a70468f
RS
226572011-06-22 Richard Stallman <rms@gnu.org>
22658
50718fc2
RS
22659 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22660 to Rmail even if not started by a special Rmail command.
22661
7a70468f
RS
22662 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22663 Copy the buffer currently showing just one message.
22664
297dde5a
RW
226652011-06-22 Roland Winkler <winkler@gnu.org>
22666
22667 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22668 (bibtex-clean-entry): First delete the old key so that a
22669 customized algorithm for generating the new key does not get
22670 confused by the old key.
22671 (bibtex-url): Obey regexp of first step.
22672 (bibtex-search-entries): Do not use add-to-list with local
22673 list-var.
22674
97bb1093
LMI
226752011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22676
22677 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22678 stored a user name, then query for the password first, instead of
22679 waiting for SMTP to give an error message and the trying again.
22680
1c0f1a19
JD
226812011-06-22 Lawrence Mitchell <wence@gmx.li>
22682
22683 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22684 BUFFER in call-process.
22685
396f7c9d
LMI
226862011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22687
22688 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22689 QUIT twice.
ddb7ffee
LMI
22690 (smtpmail-try-auth-methods): Require user name and password from
22691 auth-source.
396f7c9d 22692
8998d1b3
MR
226932011-06-22 Martin Rudalics <rudalics@gmx.at>
22694
22695 * window.el (display-buffer-default-specifiers)
22696 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22697 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 22698 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
22699
22700 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22701 (special-display-frame-alist, special-display-popup-frame):
22702 Remove duplicate declarations. These are now in window.el.
22703
4ea31e07
LMI
227042011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22705
c9d29fb8
SM
22706 * mail/smtpmail.el (smtpmail-via-smtp):
22707 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
22708 server supports it. SMTP servers that support STARTTLS commonly
22709 require it.
22710
22711 * net/network-stream.el (network-stream-open-starttls): Support
22712 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 22713 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 22714
95f41d9a
LMI
22715 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22716 upgrades with `open-network-stream', and rely solely on
22717 auth-source for all credentials. Big changes throughout the file,
22718 but in particular:
c9d29fb8
SM
22719 (smtpmail-auth-credentials): Remove.
22720 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
22721 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22722 MAIL FROM, too.
95f41d9a 22723
c9d29fb8
SM
22724 * net/network-stream.el (network-stream-open-starttls):
22725 Provide support for client certificates both for external and built-in
4ea31e07
LMI
22726 STARTTLS.
22727 (auth-source): Require.
22728 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
22729 (network-stream-certificate): Change cert-cert to cert and
22730 cert-key to key.
4ea31e07 22731
065ec2c7
MA
227322011-06-21 Michael Albinus <michael.albinus@gmx.de>
22733
22734 * net/tramp-cache.el (top): Don't load the persistency file when
22735 "emacs -Q" has been called.
22736
cd93b359
DR
227372011-06-21 Tim Harper <timcharper@gmail.com>
22738
d8e4b68b
JB
22739 * term/ns-win.el (ns-initialize-window-system):
22740 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
22741 resource to NO as it is not yet supported by the NS port.
22742
ae9c0411
JB
227432011-06-21 Juanma Barranquero <lekktu@gmail.com>
22744
22745 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22746 (list-dynamic-libraries): ...not here.
22747
7f3f739f
LL
227482011-06-21 Leo Liu <sdl.web@gmail.com>
22749
22750 * subr.el (sha1): Implement sha1 using secure-hash.
22751
327c8fb1
MR
227522011-06-21 Martin Rudalics <rudalics@gmx.at>
22753
22754 * window.el (display-buffer-alist): In default value do not
22755 enforce searching a window on any but the selected frame.
22756 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22757 (display-buffer-select-window): Remove function.
22758 (display-buffer-in-window): When a window on another frame gets
22759 reused, do not select it any more but just raise its frame if
22760 necessary (Bug#8851) and (Bug#8856).
22761 (display-buffer-normalize-options): Handle pop-up-frames related
22762 options more faithfully.
22763 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22764 window if it is on another frame.
c9d29fb8
SM
22765 (display-buffer-alist, display-buffer-default-specifiers):
22766 Don't make new frame unsplittable by default.
9e9de014
MR
22767 (display-buffer-normalize-argument): Fix doc-string typo and use
22768 'same-frame-other-window instead of 'other-window when associating
22769 with display-buffer-macro-specifiers.
327c8fb1 22770
7cf3f556
VB
227712011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22772
22773 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22774 New functions.
22775 (5x5-mode-map, 5x5-mode-menu): Bind them.
22776 (5x5-draw-grid): Tweak the solver's rendering.
22777
60a406cf
SM
227782011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22779
22780 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22781 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22782
d8e4b68b 227832011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
22784
22785 * menu-bar.el: Use function variable instead of switch-to-buffer.
22786 (menu-bar-select-buffer-function): New variable.
60a406cf 22787 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 22788
478d6f95
SM
227892011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22790
22791 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22792 variable's status.
22793
ca530739
JD
227942011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22795
22796 * x-dnd.el (x-dnd-version-from-flags)
22797 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22798 and long as number (Bug#8899).
22799 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22800
bcd70d97
SM
228012011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22802
60a406cf 22803 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
22804 (completion-try-completion, completion-all-completions): Compute the
22805 metadata argument if it's missing; make it optional (bug#8795).
22806
60a406cf 22807 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
22808 (widget-complete): Use new :completion-function property.
22809 (widget-completions-at-point): New function.
22810 (default): Use :completion-function instead of :complete.
60a406cf
SM
22811 (widget-default-completions): Rename from widget-default-complete;
22812 Rewrite.
bcd70d97
SM
22813 (widget-string-complete, widget-file-complete, widget-color-complete):
22814 Remove functions.
22815 (file, symbol, function, variable, coding-system, color):
22816 * international/mule-cmds.el (default-input-method, charset)
22817 (language-info-custom-alist):
22818 * cus-edit.el (face): Use new property :completions.
22819
22820 * progmodes/pascal.el (pascal-completions-at-point): New function.
22821 (pascal-mode): Use it.
22822 (pascal-mode-map): Use completion-at-point.
22823 (pascal-toggle-completions): Make obsolete.
22824 (pascal-complete-word, pascal-show-completions):
22825 * progmodes/octave-mod.el (octave-complete-symbol):
22826 Redefine as obsolete alias.
22827 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22828 Signal absence of completion info for old Octave,
22829 (inferior-octave-complete): Redefine as obsolete alias.
22830 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22831 (meta-completions-at-point): Rename from meta-complete-symbol and
22832 adapt it for use on completion-at-point-functions.
22833 (meta-common-mode): Use it.
22834 (meta-looking-at-backward, meta-match-buffer): Remove.
22835 (meta-complete-symbol): Redefine as obsolete alias.
22836 (meta-common-mode-map): Use completion-at-point.
22837 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22838 (makefile-mode-map): Use completion-at-point.
22839 (makefile-completions-at-point): Rename from makefile-complete and
22840 adapt it for use on completion-at-point-functions.
22841 (makefile-mode): Use it.
22842 (makefile-complete): Redefine as obsolete alias.
22843
aebf69c8
DD
228442011-06-20 Deniz Dogan <deniz@dogan.se>
22845
22846 * net/rcirc.el: Delete trailing whitespaces once and for all.
22847
bfbbb27d
DC
228482011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22849
22850 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22851
d264a46b
CY
228522011-06-19 Chong Yidong <cyd@stupidchicken.com>
22853
4ca009e5
CY
22854 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22855
d264a46b
CY
22856 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22857
fbf5b3ce
MR
228582011-06-19 Martin Rudalics <rudalics@gmx.at>
22859
22860 * window.el (display-buffer-other-window-means-other-frame):
22861 Call display-buffer-normalize-alist.
22862 (display-buffer-normalize-specifiers-1): Rename to
22863 display-buffer-normalize-argument. New argument other-frame.
22864 Rewrite.
22865 (display-buffer-normalize-specifiers-2): Rename to
22866 display-buffer-normalize-options.
22867 (display-buffer-normalize-alist-1): New function.
22868 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
22869 display-buffer-normalize-alist.
22870 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
22871 (display-buffer-normalize-options-inhibit): New variable.
22872 (display-buffer-normalize-specifiers): Rewrite calling
22873 display-buffer-normalize-alist,
22874 display-buffer-normalize-argument, and
22875 display-buffer-normalize-options. Don't call the latter if
22876 display-buffer-normalize-options-inhibit is non-nil.
22877 (frame-auto-delete): New option.
22878 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
22879 (window-list-no-nils, window-state-ignored-parameters)
22880 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
22881 (window-state-put-1, window-state-put-2, window-state-put):
22882 New functions.
9a028c23
MR
22883 (display-buffer-normalize-options): Move special-display-p group
22884 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 22885
6d10d800
CY
228862011-06-18 Chong Yidong <cyd@stupidchicken.com>
22887
6420d28b
CY
22888 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22889 groups (Bug#8776).
22890 (rx-submatch-n): New function.
22891 (rx): Document it.
22892
ddb8b596
CY
22893 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22894 (Bug#8768).
22895
22896 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22897
77080289
CY
22898 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22899
61dfb316
CY
22900 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22901 anytime existing face settings are present (Bug#8889).
22902
6d10d800
CY
22903 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22904 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22905 Remove unused argument.
22906
be3fb2b8
MR
229072011-06-18 Martin Rudalics <rudalics@gmx.at>
22908
bcd70d97
SM
22909 * window.el (display-buffer-default-specifiers):
22910 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
22911 pop-up-window-min-width, and another reuse-window specifier
22912 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
22913 (display-buffer-normalize-specifiers-2):
22914 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
22915 pop-up-windows is unset. Add a reuse-window specifier for the
22916 case popping up a new window fails.
22917 (special-display-popup-frame): Remove double quoting.
28dec25a 22918 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 22919
1c6d8c76
SM
229202011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22921
22922 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22923 according to comint-completion-addsuffix.
22924
22925 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22926 (pcomplete-suffix-list): Mark as obsolete.
22927 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22928 pcomplete-seen in the closure.
22929 (pcomplete-comint-setup): Setup completion-at-point as well.
22930 (pcomplete--entries): New function.
22931 (pcomplete--env-regexp): New var.
22932 (pcomplete-entries): Rewrite to work with partial-completion and
22933 without relying on pcomplete-suffix-list.
22934 (pcomplete-pare-list): Remove, unused.
22935
25aef8b8
MR
229362011-06-17 Martin Rudalics <rudalics@gmx.at>
22937
22938 * window.el (display-buffer-alist): Set pop-up-window-min-height
22939 and pop-up-window-min-width in default value. Reported by
22940 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22941 other-window-means-other-frame.
22942 (display-buffer-macro-specifiers): Comment out entry for
22943 other-window specifier.
22944 (display-buffer-other-window-means-other-frame): New function.
22945 (display-buffer-normalize-specifiers-1): New arguments
22946 buffer-name and label. Treat other-window case specially.
22947 (display-buffer-normalize-specifiers-2): Treat other-window case
22948 specially.
22949 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
22950 (display-buffer-normalize-specifiers):
22951 Call display-buffer-normalize-specifiers-3.
25aef8b8 22952
dbad4f69
MR
229532011-06-17 Martin Rudalics <rudalics@gmx.at>
22954
22955 * window.el (same-window-p): Fix two typos introduced when
22956 adding with-no-warnings.
d1067961
MR
22957 (display-buffer-normalize-specifiers-1): Don't check
22958 pop-up-frames for 'unset initialization.
22959 (display-buffer-normalize-specifiers-2): Major rewrite using
22960 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22961 (pop-up-frames, display-buffer-reuse-frames)
22962 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22963 Suggested by David Engster <deng@randomsample.de>.
22964 (even-window-heights): Initialize to 'unset.
22965 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
22966 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22967 other window case.
dbad4f69 22968
9b9c9e3a
MR
229692011-06-16 Martin Rudalics <rudalics@gmx.at>
22970
bcd70d97
SM
22971 * window.el (display-buffer-normalize-specifiers-1):
22972 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 22973 second argument of display-buffer (Bug#8865).
981d5c09
MR
22974 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22975 (switch-to-buffer-other-window-same-frame)
22976 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22977 Adams (Bug#8875).
9c2755e9
MR
22978 (display-buffer): Don't check noninteractive when calling
22979 display-buffer-pop-up-frame.
22980 (display-buffer-pop-up-frame): Never pop up a frame in
22981 noninteractive mode (Bug#8857).
67222e1d
MR
22982 (enlarge-window, shrink-window): Don't report an error when the
22983 window can't be resized as requested (Bug#8862).
9b9c9e3a 22984
2b75be67
SM
229852011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22986
9ffdd3ba
SM
22987 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22988
cb581a67
SM
22989 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22990
2b75be67
SM
22991 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22992
8c0e3589
AM
229932011-06-15 Alan Mackenzie <acm@muc.de>
22994
cb581a67
SM
22995 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22996 for declarators, disable knr checking to speed up for normal files.
22997 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 22998
b96e6cde
LMI
229992011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23000
4bba86e6
LMI
23001 * net/network-stream.el (open-network-stream): Add the keyword
23002 :always-query-capabilities for the case where you want to force a
23003 `plain' network connection, but the protocol still requires the
23004 capabilitiy command (i.e., SMTP and EHLO).
23005
2b75be67 23006 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
23007 consistency with other `-live-p' functions.
23008
efdcdbf8
SM
230092011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23010
23011 * window.el (same-window-buffer-names, same-window-regexps)
23012 (special-display-frame-alist, special-display-popup-frame)
23013 (special-display-function, special-display-buffer-names)
23014 (special-display-regexps, pop-up-frame-alist)
23015 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23016 (pop-up-windows, split-window-preferred-function)
23017 (split-height-threshold, split-width-threshold, even-window-heights)
23018 (display-buffer-mark-dedicated): Don't encourage the use of
23019 display-buffer-alist from Elisp code.
23020
c5cde042
DN
230212011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23022
23023 * progmodes/python.el (python-mode): Derive from prog-mode.
23024 * progmodes/ps-mode.el (ps-mode):
23025 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 23026 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
23027 * progmodes/ld-script.el (ld-script-mode): Likewise.
23028
baa1c9ab
MR
230292011-06-15 Martin Rudalics <rudalics@gmx.at>
23030
23031 * window.el (display-buffer-alist): Trim default value to avoid
23032 popping up a new frame (Bug#8857) or reusing an arbitrary window
23033 on another frame.
23034 (display-buffer): Do not fall back on popping up a new frame in
23035 batch mode (Bug#8857).
23036
c5dd5a51
CY
230372011-06-14 Chong Yidong <cyd@stupidchicken.com>
23038
23039 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23040 (custom-theme-summary): New function.
23041 (customize-themes): Use it.
23042
d647b7c4
GM
230432011-06-13 Glenn Morris <rgm@gnu.org>
23044
23045 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23046
9481c002
MR
230472011-06-13 Martin Rudalics <rudalics@gmx.at>
23048
357f93d2
MR
23049 * help.el (help-window): Remove variable.
23050 (help-window-point-marker, temp-buffer-max-height)
23051 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23052 (help-print-return-message): Don't set help-window.
23053 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23054 (help-window-setup-finish): Remove.
23055 (help-window-display-message, help-window-setup)
23056 (with-help-window): Major rewrite based on new
23057 display-buffer-window variable.
23058
23059 * help-mode.el (help-mode-finish): Remove help-window related
23060 code.
23061
23062 * view.el (view-exits-all-viewing-windows): Remove reference to
23063 view-return-to-alist in doc-string.
23064 (view-return-to-alist): Make obsolete.
23065 (view-buffer): Call pop-to-buffer-same-window and remove
23066 undo-window code.
23067 (view-buffer-other-window): Call pop-to-buffer-other-window and
23068 simplify code. Ignore second argument.
23069 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23070 simplify code. Ignore second argument.
23071 (view-return-to-alist-update): Make obsolete.
23072 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23073 Rewrite using quit-restore window parameters.
2b75be67
SM
23074 (view-mode-exit): Rename second argument to EXIT-ONLY.
23075 Rewrite using quit-restore-window.
357f93d2
MR
23076 (View-exit, View-exit-and-edit, View-leave, View-quit)
23077 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23078 appropriate arguments.
23079 (view-end-message): Use quit-restore window parameter.
23080
9481c002
MR
23081 * window.el (display-buffer-function): Rewrite doc-string.
23082 (display-buffer-window, display-buffer-alist): New variables.
23083 (display-buffer-split-specifiers)
23084 (display-buffer-side-specifiers)
23085 (display-buffer-macro-specifiers): New constants.
23086 (display-buffer-even-window-sizes, display-buffer-set-height)
23087 (display-buffer-set-width, display-buffer-select-window)
23088 (display-buffer-in-window, display-buffer-reuse-window)
23089 (display-buffer-split-window-1, display-buffer-split-window)
23090 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23091 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23092 (display-buffer-in-side-window, normalize-buffer-to-display)
23093 (display-buffer-normalize-specifiers-1)
23094 (display-buffer-normalize-specifiers-2)
2b75be67
SM
23095 (display-buffer-normalize-specifiers, display-buffer-frame):
23096 New functions.
9481c002
MR
23097 (display-buffer): Major rewrite.
23098 (display-buffer-other-window, display-buffer-other-frame)
23099 (pop-to-buffer, switch-to-buffer-other-window)
23100 (switch-to-buffer-other-frame): Rewrite.
23101 (display-buffer-same-window, display-buffer-same-frame)
23102 (display-buffer-same-frame-other-window)
23103 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23104 (pop-to-buffer-other-window)
23105 (pop-to-buffer-same-frame-other-window)
23106 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23107 (switch-to-buffer-other-window-same-frame): New functions.
23108 (same-window-p, special-display-p): Rewrite disabling warnings.
23109 Make obsolete.
23110 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23111 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23112 Make obsolete
23113 (same-window-buffer-names, same-window-regexps)
23114 (special-display-frame-alist, special-display-popup-frame)
23115 (special-display-function, special-display-buffer-names)
23116 (special-display-regexps, pop-up-frame-alist)
23117 (pop-up-frame-function, split-window-preferred-function)
23118 (split-height-threshold, split-width-threshold)
23119 (even-window-heights): Make obsolete.
23120
9db51aca
GM
231212011-06-12 Glenn Morris <rgm@gnu.org>
23122
23123 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 23124 Misc simplifications.
9db51aca 23125
39cffb44
MR
231262011-06-12 Martin Rudalics <rudalics@gmx.at>
23127
23128 * window.el (window-safely-shrinkable-p): Restore function which
23129 was inadvertently removed in change from 2011-06-11. Declare as
23130 obsolete.
23131
2b75be67
SM
23132 * calendar/calendar.el (calendar-generate-window):
23133 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
23134 window-safely-shrinkable-p.
23135
a8955be7
GM
231362011-06-12 Glenn Morris <rgm@gnu.org>
23137
23138 * progmodes/fortran.el (fortran-mode-syntax-table):
23139 * progmodes/f90.el (f90-mode-syntax-table):
23140 Set % to punctuation. (Bug#8820)
23141 (f90-find-tag-default): Remove, no longer needed.
23142
f0d4059d
DC
231432011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23144
23145 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23146
1100a63c
CY
231472011-06-11 Chong Yidong <cyd@stupidchicken.com>
23148
23149 * image.el (image-animated-p): Return animation delay in seconds.
23150 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23151 (image-animate-timeout): Remove DELAY argument. Don't assume
23152 every subimage has the same delay; get it from image-animated-p.
23153 (image-animate): Caller changed.
23154
def722bf
MA
231552011-06-11 Michael Albinus <michael.albinus@gmx.de>
23156
23157 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23158 to ignored backtrace functions.
23159
0a2bb1a9
GM
231602011-06-11 Glenn Morris <rgm@gnu.org>
23161
23162 * calendar/appt.el (appt-disp-window-function): Doc fix.
23163 (appt-check): Handle overlapping appointments. (Bug#8337)
23164
6198ccd0
MR
231652011-06-11 Martin Rudalics <rudalics@gmx.at>
23166
23167 * window.el (window-tree-1, window-tree): New functions, moving
23168 the latter to window.el.
23169 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23170 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23171 (bw-refresh-edges): Remove.
23172 (balance-windows-1, balance-windows-2): New functions.
23173 (balance-windows): Rewrite in terms of window tree functions,
23174 balance-windows-1 and balance-windows-2.
23175 (bw-adjust-window): Remove.
23176 (balance-windows-area-adjust): New function with functionality of
23177 bw-adjust-window but using resize-window.
2b75be67
SM
23178 (set-window-text-height): Rewrite doc-string.
23179 Use normalize-live-window and resize-window.
23180 (enlarge-window-horizontally, shrink-window-horizontally):
23181 Rename argument to DELTA.
6198ccd0
MR
23182 (window-buffer-height): New function.
23183 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23184 Rewrite using new window resize routines.
2b75be67
SM
23185 (kill-buffer-and-window, mouse-autoselect-window-select):
23186 Use ignore-errors instead of condition-case.
6198ccd0
MR
23187 (quit-window): Call delete-frame instead of delete-windows-on
23188 for the only buffer on frame.
23189
9397e56f
MR
231902011-06-10 Martin Rudalics <rudalics@gmx.at>
23191
23192 * loadup.el (top-level): Load window before files for the sake
23193 of replace-buffer-in-windows.
23194
23195 * files.el (read-buffer-to-switch)
23196 (switch-to-buffer-other-window)
2b75be67
SM
23197 (switch-to-buffer-other-frame, display-buffer-other-frame):
23198 Move to window.el.
9397e56f
MR
23199
23200 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
23201 (previous-buffer): Move to window.el.
23202
23203 * bindings.el (unbury-buffer): Move to window.el.
23204
23205 * window.el (delete-other-windows-vertically): Move after
23206 definition of delete-other-windows.
23207 (other-window, delete-windows-on, replace-buffer-in-windows):
23208 Move here from window.c.
23209 (record-window-buffer, unrecord-window-buffer)
23210 (set-window-buffer-start-and-point, switch-to-prev-buffer)
23211 (switch-to-next-buffer): New functions.
23212 (get-next-valid-buffer, last-buffer, next-buffer): Move here
23213 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
23214 (previous-buffer): Move here from simple.el.
23215 Call switch-to-prev-buffer.
9397e56f
MR
23216 (bury-buffer): Move here from buffer.c. Switch to previous
23217 buffer when window cannot be deleted.
23218 (unbury-buffer): Move here from bindings.el.
23219 (ctl-x-map): Move binding for other-window from window.c to
23220 here.
23221 (read-buffer-to-switch, switch-to-buffer-other-window)
23222 (switch-to-buffer-other-frame): Move here from files.el.
23223 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
23224 (switch-to-buffer): Move here from buffer.c.
23225 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 23226
562dd5e9
MR
232272011-06-10 Martin Rudalics <rudalics@gmx.at>
23228
23229 * window.el (window-min-height, window-min-width): Move here
23230 from window.c. Add defcustoms and rewrite doc-strings.
23231 (resize-mini-window, resize-window): New functions.
23232 (adjust-window-trailing-edge, enlarge-window, shrink-window):
23233 Move here from window.c.
23234 (maximize-window, minimize-window): New functions.
23235 (delete-window, delete-other-windows, split-window): Move here
23236 from window.c.
23237 (window-split-min-size): New function.
23238 (split-window-keep-point): Mention split-window-above-each-other
23239 instead of split-window-vertically.
2b75be67 23240 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
23241 Rename split-window-vertically to split-window-above-each-other
23242 and provide defalias for old definition.
23243 (split-window-side-by-side, split-window-horizontally):
23244 Rename split-window-horizontally to split-window-side-by-side
23245 and provide defalias for the old definition.
562dd5e9
MR
23246 (ctl-x-map): Move bindings for delete-window,
23247 delete-other-windows and enlarge-window here from window.c.
23248 Replace bindings for split-window-vertically and
23249 split-window-horizontally by bindings for
23250 split-window-above-each-other and split-window-side-by-side.
23251
23252 * cus-start.el (all): Remove entries for window-min-height and
23253 window-min-width. Add entries for window-splits and
23254 window-nest.
23255
f0da764a
GM
232562011-06-09 Glenn Morris <rgm@gnu.org>
23257
80675c21
GM
23258 * calendar/appt.el (appt-mode-line): New function.
23259 (appt-check, appt-disp-window): Use it.
23260
f0da764a
GM
23261 * files.el (hack-one-local-variable-eval-safep):
23262 Allow minor-modes with explicit +/-1 arguments.
23263
59f623b7
TZ
232642011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
23265
23266 * term/xterm.el (xterm): Add defgroup.
23267 (xterm-extra-capabilities): Add defcustom to supply known xterm
23268 capabilities, skip querying them, or query them (default).
23269 (terminal-init-xterm): Use it.
23270 (terminal-init-xterm-modify-other-keys): New function to set up
23271 modifyOtherKeys support to simplify `terminal-init-xterm'.
23272
9aab8e0d
MR
232732011-06-09 Martin Rudalics <rudalics@gmx.at>
23274
23275 * window.el (resize-window-reset, resize-window-reset-1)
23276 (resize-subwindows-skip-p, resize-subwindows-normal)
23277 (resize-subwindows, resize-other-windows, resize-this-window)
23278 (resize-root-window, resize-root-window-vertically)
23279 (window-deletable-p, window-or-subwindow-p)
23280 (frame-root-window-p): New functions.
23281
e8b08aee
GM
232822011-06-09 Glenn Morris <rgm@gnu.org>
23283
23284 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
23285 (ange-ftp-get-files): Use it.
23286
254c37a5
AK
232872011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
23288
23289 * mail/sendmail.el (mail-recover-1, mail-recover):
23290 * files.el (recover-file, recover-session):
23291 Handle dired-listing-switches not being just a single short option.
23292
35d7dbd3
GM
232932011-06-09 Glenn Morris <rgm@gnu.org>
23294
23295 * calendar/appt.el (appt-display-message, appt-disp-window):
23296 Handle lists of appointments.
23297
387522b2
MR
232982011-06-08 Martin Rudalics <rudalics@gmx.at>
23299
2b75be67
SM
23300 * window.el (one-window-p): Move down in code.
23301 Rewrite doc-string.
23302 (window-current-scroll-bars): Rewrite doc-string.
23303 Normalize live window argument.
387522b2
MR
23304 (walk-windows, get-window-with-predicate, count-windows):
23305 Rewrite doc-string. Use window-list-1.
23306 (window-in-direction-2, window-in-direction, get-mru-window):
23307 New functions.
23308
d8e4b68b 233092011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
23310
23311 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
23312 Doc fix (Bug#8713).
23313
233142011-06-08 Chong Yidong <cyd@stupidchicken.com>
23315
23316 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
23317
233182011-06-08 Juanma Barranquero <lekktu@gmail.com>
23319
23320 * loadhist.el (unload-feature-special-hooks):
23321 Add `comint-output-filter-functions'.
23322
0de12c52
IK
233232011-06-08 Ivan Kanis <gnu@kanis.fr>
23324
23325 * calendar/appt.el (appt-check): Move some initializations into the let.
23326
f3d1777e
MR
233272011-06-08 Martin Rudalics <rudalics@gmx.at>
23328
23329 * window.el (window-height): Defalias to window-total-height.
23330 (window-width): Defalias to window-body-width.
23331
18af70d0
CY
233322011-06-07 Chong Yidong <cyd@stupidchicken.com>
23333
23334 * image-mode.el (image-toggle-animation): New command.
23335 (image-mode-map): Bind it to RET.
23336 (image-mode): Update message.
23337 (image-toggle-display-image): Avoid a spurious cache flush.
23338 (image-transform-rotation): Doc fix.
23339 (image-transform-properties): Return quickly in the normal case.
23340 (image-animate-loop): Rename from image-animate-max-time.
23341
2b75be67 23342 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
23343 (create-animated-image): Remove unnecessary function.
23344 (image-animate): Rename from image-animate-start. New arg.
2b75be67 23345 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
23346 (image-animate-timer): Use car-safe.
23347 (image-animate-timeout): Rename argument.
23348
190b47e6
MR
233492011-06-07 Martin Rudalics <rudalics@gmx.at>
23350
23351 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
23352 window.c. Rename first argument to ALL-FRAMES.
23353 Rephrase doc-strings.
23354 (get-buffer-window-list): Rewrite using window-list-1.
23355 Rephrase doc-string.
a1511caf
MR
23356 (window-safe-min-height, window-safe-min-width): New constants.
23357 (window-size-ignore, window-min-size, window-min-size-1)
23358 (window-sizable, window-sizable-p, window-size-fixed-1)
23359 (window-size-fixed-p, window-min-delta-1, window-min-delta)
23360 (window-max-delta-1, window-max-delta, window-resizable)
23361 (window-resizable-p, window-total-height, window-total-width)
23362 (window-body-width): New functions.
23363 (window-full-height-p, window-full-width-p): Rewrite using
23364 window-total-size.
23365 (window-body-height): Rewrite using window-body-size.
190b47e6 23366
85cc1f11
MR
233672011-06-06 Martin Rudalics <rudalics@gmx.at>
23368
23369 * window.el (window-right, window-left, window-child)
23370 (window-child-count, window-last-child, window-any-p)
23371 (normalize-live-buffer, normalize-live-frame)
23372 (normalize-any-window, normalize-live-window)
23373 (window-iso-combination-p, window-iso-combined-p)
23374 (window-iso-combinations)
23375 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
23376 (windows-with-parameter, window-with-parameter)
23377 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
23378 (window-atom-check, window-side-check, window-check):
23379 New functions.
85cc1f11
MR
23380 (ignore-window-parameters, window-sides, window-sides-vertical)
23381 (window-sides-slots): New variables.
23382 (window-size-fixed): Move down in code. Minor doc-string fix.
23383
e7156492
AS
233842011-06-05 Andreas Schwab <schwab@linux-m68k.org>
23385
23386 * comint.el (comint-dynamic-complete-as-filename)
23387 (comint-dynamic-complete-filename): Correctly call
23388 completion-in-region.
23389
7e821d0d
DD
233902011-06-05 Deniz Dogan <deniz@dogan.se>
23391
23392 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
23393 in last change.
23394
ac09b8a1
DD
233952011-06-05 Deniz Dogan <deniz@dogan.se>
23396
23397 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
23398 (rcirc): Use it to prompt for encryption.
23399
34699b85
RW
234002011-06-05 Roland Winkler <winkler@gnu.org>
23401
23402 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
23403 (bibtex-search-entries): New command bound to C-c C-a.
23404 (bibtex-display-entries): New function.
23405
004dedd3
RW
234062011-06-05 Roland Winkler <winkler@gnu.org>
23407
23408 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
23409 (bibtex-insert-kill): After yanking insert newline if necessary.
23410 (bibtex-initialize): Call bibtex-string-files-init only once.
23411 (bibtex-mode): Do not call easy-menu-add.
23412 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
23413 (bibtex-yank): Set arg properly if nil.
23414
022fe7ce
RW
234152011-06-05 Roland Winkler <winkler@gnu.org>
23416
2b75be67
SM
23417 * textmodes/bibtex.el (bibtex-search-entry-globally):
23418 New variable.
022fe7ce
RW
23419 (bibtex-search-entry): Use it.
23420
b7c3692a
RW
234212011-06-05 Roland Winkler <winkler@gnu.org>
23422
23423 * textmodes/bibtex.el (bibtex-entry-format): New option
23424 sort-fields.
23425 (bibtex-format-entry, bibtex-reformat): Honor this option.
23426 (bibtex-parse-entry): Return fields in proper order.
23427
8eda563d
JB
234282011-06-05 Juanma Barranquero <lekktu@gmail.com>
23429
23430 * doc-view.el (doc-view-remove-if): Move computation of result out
23431 of `dolist' to silence misleading lexical-binding warning.
23432
7dbe3dbc
CY
234332011-06-04 Chong Yidong <cyd@stupidchicken.com>
23434
23435 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23436 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23437
0c33dd17
MA
234382011-06-04 Michael Albinus <michael.albinus@gmx.de>
23439
23440 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23441 "SunOS 5.10".
23442
f8f91c2b
MA
234432011-06-04 Michael Albinus <michael.albinus@gmx.de>
23444
23445 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23446 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23447 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23448 (tramp-parse-putty):
23449 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23450 (tramp-completion-function-alist-ssh)
23451 (tramp-completion-function-alist-telnet)
23452 (tramp-completion-function-alist-su)
23453 (tramp-completion-function-alist-putty): Set `tramp-autoload'
23454 cookie.
23455
23456 * net/tramp-ftp.el:
23457 * net/tramp-sh.el:
23458 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23459 load "tramp.el" `tramp-set-completion-function'.
23460
e17d9003
SM
234612011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
23462
23463 * shell.el: Require and use pcomplete.
23464 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23465 (shell-completion-vars): Set pcomplete-default-completion-function.
23466
6c4cab03
DD
234672011-06-04 Deniz Dogan <deniz@dogan.se>
23468
23469 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23470 `memq' (Bug#8799).
23471
ea9fafe0
SM
234722011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23473
23474 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23475
b3e945d3
JB
234762011-06-02 Juanma Barranquero <lekktu@gmail.com>
23477
23478 * bs.el (bs--mark-unmark, bs--nth-wrapper):
23479 * mpc.el (mpc-select-extend, mpc-songpointer-context):
23480 * vc/log-view.el (log-view-beginning-of-defun):
23481 * vc/smerge-mode.el (smerge-apply-resolution-patch)
23482 (smerge-refine-forward, smerge-refine-chopup-region):
23483 Silence warning for unused `dotimes' counter variables.
23484
7d520089
SM
234852011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23486
23487 * net/tramp.el (tramp-with-progress-reporter): Rename from
23488 with-progress-reporter. Use `declare'.
23489 * net/tramp-smb.el:
23490 * net/tramp-sh.el:
23491 * net/tramp-gvfs.el: Update all uses.
23492
a1c2400f
JB
234932011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23494
23495 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23496 buffer isn't killed before making it current.
23497
2403c841
SM
234982011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23499
23500 Silence various byte-compiler warnings.
23501 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23502 `access-type' and new obsolescence format.
23503 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23504 new format.
23505 (byte-compile-check-variable): New `access-type' argument.
23506 Only warn if the access-type is obsolete.
23507 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23508 (byte-compile-variable-set): Adjust callers.
23509 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23510 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23511 setting it as obsolete.
23512 * simple.el (minibuffer-completing-symbol):
23513 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23514 access as obsolete.
23515 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23516 obsolete yet.
23517 * international/quail.el (quail-mouse-choose-completion): Remove unused
23518 code referring to obsolete var.
23519 (quail-choose-completion-string): Remove.
23520 * server.el (server-clients-with, server-kill-buffer-query-function)
23521 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23522 * proced.el (proced-send-signal):
23523 * emacs-lisp/lisp.el (lisp-complete-symbol):
23524 Replace completion-annotate-function with completion-extra-properties.
23525
2462470b
SM
235262011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23527
fb5b2591
SM
23528 * simple.el (goto-line): Use read-number.
23529 (overriding-map-is-bound): Remove.
23530 (saved-overriding-map): Change default.
23531 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23532 Take the map as argument.
23533 (universal-argument, negative-argument, digit-argument): Use it.
23534 (restore-overriding-map): Adjust.
23535 (do-auto-fill): Use fill-forward-paragraph.
23536 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23537
fd6fa53f
SM
23538 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23539 (minibuffer-inactive-mode): New major mode.
23540 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23541 the *Messages* buffer" hack.
23542 (mouse-popup-menubar): Don't burp if the event is a normal key.
23543
2462470b
SM
23544 Miscellaneous tweaks.
23545 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23546 lexical scoping as in subr.el's dolist and dotimes.
23547 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23548 Silence compiler warning.
23549 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23550 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23551 * international/ccl.el (ccl-compile): Trivial simplification.
23552 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23553 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23554 `printflag' argument.
23555 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23556 Purecopy the whole obsolescence data.
23557
108bf785
LL
235582011-06-01 Leo Liu <sdl.web@gmail.com>
23559
23560 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23561 improve doc-string as suggested by Marco Pessotto
23562 <melmothx@gmail.com>.
23563 (rcirc-print): Fix last change.
23564
30a23501
SM
235652011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23566
23567 * minibuffer.el (complete-with-action): Return nil for the metadata and
23568 boundaries of non-functional tables.
23569 (completion-table-dynamic): Return nil for the metadata.
23570 (completion-table-with-terminator): Add default case, using
23571 complete-with-action.
23572 (completion--metadata): New function.
23573 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23574 to try and avoid pathological performance problems.
23575 (completion--embedded-envvar-table): Return `category' metadata.
23576
bcd54f83
LMI
235772011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23578
23579 * subr.el (process-alive-p): New tiny convenience function.
23580
e227544d
SM
235812011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23582
23583 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23584 content but also its previous major mode.
23585
e8296fdc
HE
235862011-05-31 Helmut Eller <eller.helmut@gmail.com>
23587
4d61f28d 23588 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
23589 *Backtrace* buffer when we exit with C-M-c.
23590
620c53a6
SM
235912011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23592
23593 * minibuffer.el: Add metadata method to completion tables.
23594 (completion-category-overrides): New defcustom.
23595 (completion-metadata, completion--field-metadata)
23596 (completion-metadata-get, completion--styles)
23597 (completion--cycle-threshold): New functions.
23598 (completion-try-completion, completion-all-completions):
23599 Add `metadata' argument to choose completion-styles.
23600 (completion--do-completion): Use metadata to choose cycling.
23601 (completion-all-sorted-completions): Use metadata for sorting.
23602 Remove :completion-cycle-penalty which is not needed any more.
23603 (completion--try-word-completion): Add `metadata' argument.
23604 (minibuffer-completion-help): Check metadata for annotation function
23605 and sorting.
23606 (completion-file-name-table): Return `category' metadata.
23607 (minibuffer-completing-file-name): Make obsolete.
23608 * simple.el (minibuffer-completing-symbol): Make obsolete.
23609 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23610 completion-try-completion.
23611
1257e755
SM
236122011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23613
23614 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23615
3767e706
LL
236162011-05-30 Leo Liu <sdl.web@gmail.com>
23617
23618 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
23619 (rcirc-print): Decode all incoming messages (bug#8744).
23620 (rcirc-decode-coding-system): Allow value nil for automatic coding
23621 system detection.
3767e706 23622
d1a5d56a
GM
236232011-06-01 Glenn Morris <rgm@gnu.org>
23624
23625 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23626
e8cbec34
CY
236272011-05-29 Chong Yidong <cyd@stupidchicken.com>
23628
23629 * image.el (image-animate-max-time): Allow nil and t values.
23630 Default to nil.
23631 (create-animated-image): Doc fix.
23632 (image-animate-start): Remove second arg; just use
23633 image-animate-max-time.
23634 (image-animate-timeout): Doc fix. Args changed.
23635
23636 * image-mode.el (image-toggle-display-image): Ensure that the
23637 image spec passed to the animate timer is the same object as in
58179cce 23638 the buffer's display property (Bug#6981).
e8cbec34
CY
23639 (image-transform-properties): Doc fix.
23640
23641 * image.el (image-animate-max-time): Default to nil.
23642
159daf87
MR
236432011-05-29 Martin Rudalics <rudalics@gmx.at>
23644
23645 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23646 entire buffer list (Bug#8184).
23647
d66c4c7c
CY
236482011-05-29 Chong Yidong <cyd@stupidchicken.com>
23649
23650 * image.el (imagemagick-types-inhibit)
23651 (imagemagick-register-types): Doc fix.
23652
80aec780
DD
236532011-05-29 Deniz Dogan <deniz@dogan.se>
23654
23655 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23656 default.
23657
1dd3c2d9
CY
236582011-05-29 Chong Yidong <cyd@stupidchicken.com>
23659
23660 * select.el: Don't perform clipboard-manager saving in hooks;
23661 leave the hooks empty.
23662
60e56523
LL
236632011-05-28 Leo Liu <sdl.web@gmail.com>
23664
23665 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23666 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23667 (occur-edit-mode): New major mode (Bug#8463).
23668 (occur-after-change-function): New function.
23669 (occur-engine): Give Occur tags a read-only property.
23670
2b1e1a22
KR
236712011-05-28 Kevin Ryde <user42@zip.com.au>
23672
23673 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23674
5d344e88
CY
236752011-05-28 Chong Yidong <cyd@stupidchicken.com>
23676
8e6ca83d
CY
23677 * bindings.el (help-echo): Make the initial non-indicator dash
23678 empty on graphical terminals (Bug#7295).
23679
5d344e88
CY
23680 * files.el (auto-mode-alist): Move config rule after the
23681 in-stripping one (Bug#8547).
23682
bfbbace7
CY
23683 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23684
fbeba6e2
CY
23685 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23686 setting (Bug#8740).
23687
60ed8c72
AA
236882011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23689
4ac619f0
AA
23690 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23691 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23692 (Bug#8539).
60ed8c72 23693
23db196e
CY
236942011-05-28 Chong Yidong <cyd@stupidchicken.com>
23695
23696 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23697
5012f24c
DK
236982011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23699
23700 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23701 (hs-hide-block-at-point, hs-find-block-beginning)
23702 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23703 (Bug#8279).
23704
6a639b16
GM
237052011-05-28 Glenn Morris <rgm@gnu.org>
23706
23707 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23708
d43eaf2c
CY
237092011-05-28 Chong Yidong <cyd@stupidchicken.com>
23710
5199bde1
CY
23711 * help-fns.el (describe-function-1): If the function is a derived
23712 major mode, print the parent mode.
23713
d43eaf2c
CY
23714 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23715 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23716
423428a8
SM
237172011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23718
0ff8e1ba 23719 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 23720 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
23721 * progmodes/etags.el (tags-completion-at-point-function):
23722 * info-look.el (info-lookup-completions-at-point): Mark as
23723 non-exclusive.
23724 (info-complete): Adjust accordingly.
23725
423428a8
SM
23726 * info-look.el: Convert to lexical-binding and completion-at-point.
23727 (info-lookup-completions-at-point): New function.
23728 (info-complete): Use it and completion-in-region.
23729
b74aa22b
DA
237302011-05-28 Drew Adams <drew.adams@oracle.com>
23731
23732 * isearch.el: Let M-e start with point at the first mismatched char.
23733 (isearch-fail-pos): New function.
23734 (isearch-edit-string): Use it.
23735
66e2e71d
DK
237362011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23737
23738 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23739
b1890b0f 237402011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
23741
23742 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23743 traversal functions for avl-trees.
23744 (avl-tree--stack): New struct.
23745 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23746 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
23747 (avl-tree--do-enter): Add optional `updatefun' arg.
23748 Change return value.
eb95d01d 23749 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
23750 (avl-tree--do-delete): Add `test' and `nilflag' args.
23751 Change return value.
eb95d01d
TC
23752 (avl-tree-member): Add optional `nilflag'
23753 (avl-tree-member-p): New function.
23754 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23755 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23756 (avl-tree-stack-empty-p): New functions.
23757
3769ddcf
TC
23758 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23759 avl-tree--del-balance1 and make it work both ways.
23760 (avl-tree--del-balance2): Remove.
23761 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23762 make it work both ways.
23763 (avl-tree--enter-balance2): Remove.
23764 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23765 New macros.
23766 (avl-tree--mapc, avl-tree-map): Add direction argument.
23767
eb95d01d 237682011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
23769
23770 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23771
a9f737ee
CY
237722011-05-27 Chong Yidong <cyd@stupidchicken.com>
23773
23774 * select.el: Support clipboard managers with built-in function
23775 x-clipboard-manager-save, via delete-frame-functions and
23776 kill-emacs-hook.
23777 (xselect-convert-to-targets): Add MULTIPLE target to list.
23778 (xselect-convert-to-save-targets): New function.
23779
c92a1e54
KH
237802011-05-27 Kenichi Handa <handa@m17n.org>
23781
23782 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23783 let-binding rfc2047-encode-encoded-words to nil.
23784
e145f188
GM
237852011-05-27 Glenn Morris <rgm@gnu.org>
23786
5ec8a862
GM
23787 * mail/emacsbug.el: Don't require url-util.
23788
4b29d9fb
GM
23789 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23790
e145f188
GM
23791 * files.el (set-auto-mode):
23792 Also respect mode: entries at the end of the file. (Bug#8586)
23793
7d15102b
GM
237942011-05-26 Glenn Morris <rgm@gnu.org>
23795
98f593b8
GM
23796 * files.el (hack-local-variables-prop-line, hack-local-variables):
23797 Downcase mode names, as seems to be traditional.
27b48e63 23798 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 23799
7d15102b
GM
23800 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23801 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23802
51d5b4ec
JD
238032011-05-25 Julien Danjou <julien@danjou.info>
23804
23805 * textmodes/rst.el (rst-define-level-faces): Do not define face
23806 symbol if it is already defined.
23807
91513f63
VB
238082011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23809
23810 * play/5x5.el (5x5-new-game, 5x5-randomize):
23811 Reset 5x5-solver-output to nil when a new grid is cast.
23812 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23813 these debugging traces, as defmacro breaks the compiled code.
23814
4d90d6d0
DK
238152011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23816
23817 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23818
e1b90ef6
LL
238192011-05-24 Leo Liu <sdl.web@gmail.com>
23820
23821 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23822 (vc-bzr-sha1): Adapt.
23823
d8e4b68b 23824 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
23825
23826 * bindings.el: Provide sha1 feature.
23827
db0406bb 238282011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
23829
23830 * mail/sendmail.el: Require `rfc2047'.
23831 (mail-insert-from-field): Do not perform RFC2047 encoding.
23832 (mail-encode-header): New function.
23833 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
23834 buffer to the return value of select-message-coding-system.
23835 Call mail-encode-header.
b8d747b9
KH
23836
23837 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23838
db0406bb 238392011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 23840
4d90d6d0
DK
23841 * mail/supercite.el (sc-default-cite-frame):
23842 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 23843
eb8a5e9b
GM
238442011-05-24 Glenn Morris <rgm@gnu.org>
23845
f8630703
GM
23846 * progmodes/python.el (brm-menu): Declare.
23847
8831bbed
GM
23848 * emulation/viper.el (viper-set-hooks): Declare.
23849
eb8a5e9b
GM
23850 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23851 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23852 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23853 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23854 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23855 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23856
a2a25d24
SM
238572011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23858
23859 Add an :exit-function for completion-at-point.
23860
23861 * minibuffer.el (completion--done): New fun.
23862 (completion--do-completion): Use it. New arg `expect-exact'.
23863 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23864 since completion--do-completion does it for us now.
23865 (minibuffer-force-complete): Use completion--done and
23866 completion--replace. Handle sole-completion case with more care.
23867 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23868 (completion-extra-properties): New var.
23869 (completion-annotate-function): Make obsolete.
23870 (minibuffer-completion-help): Adjust accordingly.
23871 Use completion-list-insert-choice-function.
23872 (completion-at-point, completion-help-at-point):
23873 Bind completion-extra-properties.
23874 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23875 * simple.el (completion-list-insert-choice-function): New var.
23876 (completion-setup-function): Preserve it.
23877 (choose-completion): Pay attention to it, shuffle the code a bit.
23878 (choose-completion-string): New arg `insert-function'.
23879
23880 * textmodes/bibtex.el: Convert to lexical binding.
23881 (bibtex-mode-map): Use completion-at-point.
23882 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23883 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23884 (bibtex-complete): Define as obsolete alias.
23885 (bibtex-complete-internal): Remove.
23886 (bibtex-format-entry): Remove unused sub-group in regexp.
23887 * shell.el (shell--command-completion-data)
23888 (shell-environment-variable-completion):
23889 * pcomplete.el (pcomplete-completions-at-point):
23890 * comint.el (comint--complete-file-name-data): Use :exit-function
23891 instead of completion-table-with-terminator so it also works for
23892 choose-completion.
23893
e44e373d
SM
238942011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23895
4f91a816
SM
23896 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23897
782fc819
SM
23898 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23899 (bug#8710).
23900
e44e373d
SM
23901 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23902
381987c3
KM
239032011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23904
23905 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23906 customization variable and implement: If non-nil, auto-fill will
23907 be inhibited while on topic's header line.
23908
b776bc70
VB
239092011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23910
23911 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 23912 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
23913 always have a solution in grid size = 5 cases.
23914 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23915 (5x5-solver-output, 5x5-log-buffer): New vars.
23916 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23917 Make these variables buffer local to achieve 5x5 multi-session-ness.
23918 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23919 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23920 (5x5-solve-suggest): New funs.
23921 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23922 randomize a grid so that we ensure that there is always a solution.
23923 (5x5-make-random-grid): Allow other movement than flipping.
23924
7de88b6e
KR
239252011-05-23 Kevin Ryde <user42@zip.com.au>
23926
23927 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 23928 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
23929 advice and passes PREDICATE.
23930
b1ef1257
SM
239312011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23932
bbca48fe
SM
23933 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23934 byte-compile-lambda if it's actually a lambda.
23935
b1ef1257
SM
23936 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23937 Fix function quoting. Use backquote better.
23938
92a9cc65
YS
239392011-05-22 Yuanle Song <sylecn@gmail.com>
23940
23941 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23942 matching (Bug#8516).
23943
fe93f41a 239442011-05-22 Jari Aalto <jari.aalto@cante.net>
f0fb8059
JA
23945
23946 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23947 different face (Bug#8178).
23948
d5b44c93
CY
239492011-05-22 Chong Yidong <cyd@stupidchicken.com>
23950
23951 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23952 defface (Bug#8144).
23953
79106a44
SM
239542011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23955
9c848d8a
SM
23956 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23957 funcall as well (bug#8712). Warn when performing those conversions.
23958 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23959
79106a44
SM
23960 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23961
88dfa756
GM
239622011-05-22 Glenn Morris <rgm@gnu.org>
23963
23964 * files.el (hack-local-variables-prop-line): Small simplifications.
23965 (hack-local-variables, hack-local-variables-prop-line):
23966 If MODE-ONLY, return the mode, rather than just `t'.
23967
b7cf2c79
SM
239682011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23969
23970 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23971
3f1a8558
GM
239722011-05-21 Glenn Morris <rgm@gnu.org>
23973
7e4ccca3
GM
23974 * files.el (hack-local-variables-prop-line, hack-local-variables):
23975 If only interested in the mode, don't bother doing the other stuff.
23976
637d46ca
GM
23977 * image-mode.el (image-after-revert-hook):
23978 Redraw all frames on which the image is visible. (Bug#8567)
23979
973d955b
GM
23980 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23981
3f1a8558
GM
23982 * wid-edit.el (widget-checklist-match-inline):
23983 Fix 2011-04-19 change. (Bug#8649)
23984
96479927
SM
239852011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23986
1dcf791f
SM
23987 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23988 Also allow singlespace after single-letter capitals followed by a dot.
23989
96479927
SM
23990 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23991 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23992
35fd0881
N
239932011-05-20 Nix <nix@esperi.org.uk>
23994
23995 * files.el (basic-save-buffer-2):
23996 Fix handling of break-hardlink-on-save with non-existent files.
23997
82745640
DD
239982011-05-19 Deniz Dogan <deniz@dogan.se>
23999
24000 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 24001 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 24002
4a720484
GM
240032011-05-19 Glenn Morris <rgm@gnu.org>
24004
d1f21341
GM
24005 * progmodes/f90.el (f90-type-def-re):
24006 Handle "type, bind(c)". (Bug#8691)
24007
4a720484
GM
24008 * emacs-lisp/autoload.el (batch-update-autoloads):
24009 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24010
2fb0a219
MA
240112011-05-18 Michael Albinus <michael.albinus@gmx.de>
24012
24013 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24014 property for the correct connection in case of multihops.
24015
e565dd37
GM
240162011-05-18 Glenn Morris <rgm@gnu.org>
24017
c2571358 24018 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
24019 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24020
e565dd37
GM
24021 Rationalize calendar handling of day and month abbrev-arrays.
24022 * calendar/calendar.el (calendar-customized-p): New function.
24023 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24024 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24025 Add :set function.
24026 (calendar-abbrev-length, calendar-day-abbrev-array)
24027 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24028 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24029 Elements may no longer be nil.
24030 (calendar-day-name, calendar-month-name):
24031 Update for changed nature of abbrev arrays.
24032 * calendar/diary-lib.el (diary-name-pattern):
24033 Update for changed nature of abbrev arrays.
24034 (diary-mark-entries-1): Update calendar-make-alist calls.
24035 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24036 * calendar/cal-html.el (cal-html-day-abbrev-array):
24037 Simply inherit from calendar-day-abbrev-array.
24038
1d99a745
SM
240392011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24040
24041 * progmodes/grep.el (grep-mode): Disable default
24042 compilation-directory-matcher setting (bug#8684).
24043
7c1d9aa0
MA
240442011-05-17 Michael Albinus <michael.albinus@gmx.de>
24045
24046 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24047 instead of "head" and "tail". There were problems with SunOS 5.9,
24048 and it performs better.
24049
3952e9d8
GM
240502011-05-17 Glenn Morris <rgm@gnu.org>
24051
2dd12e7f
GM
24052 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24053
e4157b9c
GM
24054 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24055 Replace obsolete function.
24056
8e249bbd
GM
24057 * shell.el (pcomplete-parse-arguments-function): Declare.
24058
3952e9d8
GM
24059 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24060 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24061 (appt-check): Doc fixes.
24062 (appt-disp-window-function, appt-delete-window-function):
24063 Remove needless special case in custom :type.
24064 (appt-display-count): Default to 0, not nil.
24065 (appt-check): Reset appt-display-count to 0, not nil.
24066
c71a0d48 240672011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 24068
c71a0d48
GM
24069 * progmodes/python.el (python-font-lock-keywords):
24070 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 24071
31d55be9
SM
240722011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24073
24074 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24075
3bfacb2f
KR
240762011-05-16 Kevin Ryde <user42@zip.com.au>
24077
24078 * info-look.el (makefile-automake-mode): New setups, looking in
24079 automake manual, then makefile-mode.
24080 (makefile-mode): Remove automake manual, have it just in
24081 makefile-automake-mode since there's various things different or
24082 not relevant to plain make.
24083 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24084 believe a hypothetical automake-mode would go to makefile-mode,
24085 not the other way around.
24086
c8e83751
CY
240872011-05-15 Chong Yidong <cyd@stupidchicken.com>
24088
5e9e35cd
CY
24089 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24090 hunk-end tags (Bug#8672).
24091
c8e83751
CY
24092 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24093 vc-annotate-show-diff-revision-at-line (Bug#8671).
24094
50b23e5a
GM
240952011-05-14 Glenn Morris <rgm@gnu.org>
24096
7210a739
GM
24097 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24098 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
24099 (change-log-font-lock-keywords): Also handle multiple author lines
24100 with leading tabs. (Bug#8644)
7210a739 24101
4691905a
GM
24102 * calendar/appt.el (appt-check): Rename some local variables.
24103 Some simplification/reordering.
24104
50b23e5a
GM
24105 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24106 (feedmail-sendmail-f-doesnt-sell-me-out)
24107 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24108 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24109 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
24110 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24111 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
24112 (feedmail-binmail-gnulinuxish-template):
24113 Rename from feedmail-binmail-linuxish-template.
24114 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24115 Use insert-buffer-substring.
24116
215cda7c
BC
241172011-05-14 Bill Carpenter <bill@carpenter.org>
24118
24119 * mail/feedmail.el (feedmail-patch-level): Increase.
24120 (feedmail-debug): New custom group.
24121 (feedmail-confirm-outgoing-timeout)
24122 (feedmail-sendmail-f-doesnt-sell-me-out)
24123 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24124 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24125 (feedmail-sender-line, feedmail-from-line)
24126 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 24127 (feedmail-spray-this-address)
215cda7c
BC
24128 (feedmail-spray-address-fiddle-plex-list)
24129 (feedmail-queue-use-send-time-for-date)
24130 (feedmail-queue-use-send-time-for-message-id)
24131 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24132 (feedmail-buffer-eating-function):
24133 Doc fixes.
24134 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24135 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24136 (feedmail-message-action-scroll-down): New functions.
24137 (feedmail-queue-directory, feedmail-queue-draft-directory):
24138 Use expand-file-name.
24139 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24140 Remove C-v help entry.
24141 (feedmail-queue-buffer-file-name): New variable.
24142 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24143 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24144 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24145 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24146 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24147 (feedmail-message-action-toggle-spray)
24148 (feedmail-run-the-queue-no-prompts)
24149 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24150 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24151 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24152 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24153 (feedmail-envelope-deducer, feedmail-fiddle-from)
24154 (feedmail-fiddle-sender, feedmail-default-date-generator)
24155 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24156 (feedmail-fiddle-spray-address)
24157 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24158 (feedmail-fiddle-list-of-fiddle-plexes)
24159 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24160 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24161 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24162 Change default. Doc fix.
24163 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24164 (feedmail-binmail-linuxish-template): New constant.
24165 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24166 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24167 (feedmail-send-it): Add debug call.
24168 Use feedmail-queue-buffer-file-name, and
24169 feedmail-send-it-immediately-wrapper.
24170 (feedmail-message-action-send): Add debug call.
24171 Use feedmail-send-it-immediately-wrapper.
24172 (feedmail-queue-express-to-queue): Add debug call.
24173 Run feedmail-queue-express-hook.
24174 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24175 (feedmail-message-action-help-blat):
24176 Rename from feedmail-queue-send-edit-prompt-help-first.
24177 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24178 Check line-endings. Handle errors better.
24179 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24180 Doc fix. Add debug call.
24181 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24182 Use feedmail-queue-send-edit-prompt-inner.
24183 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24184 (feedmail-queue-send-edit-prompt-inner): New function, extracted
24185 from feedmail-queue-send-edit-prompt.
24186 (feedmail-queue-send-edit-prompt-help)
24187 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
24188 (feedmail-tidy-up-slug): Add debug call.
24189 Respect feedmail-queue-slug-suspect-regexp.
24190 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
24191 (feedmail-dump-message-to-queue): Add debug call.
24192 Expand queue-directory.
24193 (feedmail-dump-message-to-queue): Change message slightly.
24194 Use feedmail-say-chatter.
24195 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
24196 (feedmail-send-it-immediately-wrapper): New function.
24197 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
24198 Insert empty string rather than newline. Handle full-frame case.
24199 Use catch/throw. Use feedmail-say-chatter.
24200 (feedmail-fiddle-from): Try mail-host-address.
24201 (feedmail-default-message-id-generator): Doc fix.
24202 Bind system-time-locale. Handle missing end.
24203 (feedmail-fiddle-x-mailer): Add debug call.
24204 Handle feedmail-x-mailer-line being nil.
24205 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
24206 Add debug call. Use buffer-substring-no-properties.
24207 (feedmail-say-debug, feedmail-say-chatter): New functions.
24208 (feedmail-find-eoh): Give an explicit error.
24209
42c7e61e
UJ
242102011-05-13 Ulf Jasper <ulf.jasper@web.de>
24211
c2571358 24212 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 24213 family from helvetica to sans.
c2571358 24214 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
24215 etc/images/newsticker.
24216
c2571358 24217 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
24218 family from helvetica to sans.
24219
24220 * net/newst-plainview.el (newsticker-new-item-face)
24221 (newsticker-old-item-face, newsticker-immortal-item-face)
24222 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 24223 (newsticker-statistics-face): Change default family from
42c7e61e 24224 helvetica to sans.
c2571358 24225 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
24226 etc/images/newsticker.
24227
5d3385a0
JB
24228 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
24229 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
24230 auto-marking.
24231
8497a297
DV
242322011-05-13 Didier Verna <didier@xemacs.org>
24233
24234 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
24235 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
24236 TODO entries.
8497a297
DV
24237 (lisp-lambda-list-keyword-parameter-indentation)
24238 (lisp-lambda-list-keyword-parameter-alignment)
24239 (lisp-lambda-list-keyword-alignment): New customizable user options.
24240 (lisp-indent-defun-method): Improve docstring.
24241 (extended-loop-p): Fix comment.
24242 (lisp-indent-lambda-list-keywords-regexp): New variable.
24243 (lisp-indent-lambda-list): New function.
24244 (lisp-indent-259): Use it.
24245 (lisp-indent-defmethod): Support for more than one
24246 method qualifier and properly indent methods lambda-lists.
24247 (defgeneric): Provide a missing common-lisp-indent-function property.
24248
f278f87f
SM
242492011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
24250
24251 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
24252 bounds for the empty string (bug#8667).
24253
5233edd7
GM
242542011-05-13 Glenn Morris <rgm@gnu.org>
24255
5237a44f
GM
24256 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
24257
8340026c 24258 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 24259 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 24260
5233edd7 24261 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 24262 (appt-time-msg-list): Doc fix.
a5464014 24263 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 24264
92d10796
AS
242652011-05-12 Andreas Schwab <schwab@linux-m68k.org>
24266
24267 * progmodes/ld-script.el (ld-script-keywords)
24268 (ld-script-builtins): Update keywords list.
24269
914a0ae1
SM
242702011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24271
c89be45f
SM
24272 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
24273
914a0ae1
SM
24274 * shell.el (shell-completion-vars): New function.
24275 (shell-mode):
24276 * simple.el (read-shell-command): Use it.
24277 (blink-matching-open): No need for " [...]" in minibuffer-message.
24278
98dc3df3
GM
242792011-05-12 Glenn Morris <rgm@gnu.org>
24280
24281 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
24282 (appt-check): Simplify.
24283
d2fc7e3d 242842011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 24285
4d61f28d 24286 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
24287 literal "/dev/null".
24288
d2fc7e3d 242892011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
24290
24291 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
24292 Fix typo.
24293
d2fc7e3d 242942011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 24295
3f254caa
SM
24296 * progmodes/which-func.el (which-function):
24297 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
24298 which might not be defined (Bug#8260).
24299
d45885f7
GM
243002011-05-12 Glenn Morris <rgm@gnu.org>
24301
24302 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
24303 Let byte-compile-initial-macro-environment always take precedence.
24304
488086f4
SM
243052011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24306
24307 * net/rcirc.el: Add support for SSL/TLS connections.
24308 (rcirc-server-alist): New field `encryption'.
24309 (rcirc): Check `encryption' settings.
24310 (rcirc-connect): New arg `encryption'. Use open-network-stream.
24311 Merge make-local-variable into `set'.
24312 (rcirc--connection-open-p): New function.
24313 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
24314 the process is not a network process (e.g. running gnutls-cli).
24315 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
24316 Make rcirc-(en|de)code-coding-system local here.
24317 (rcirc-mode): Merge make-local-variable into `set'.
24318 (rcirc-parent-buffer): Make permanent buffer-local.
24319 (rcirc-multiline-minor-mode): Don't do it here.
24320 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
24321 there's no server buffer.
24322
7d3b9d44
GM
243232011-05-11 Glenn Morris <rgm@gnu.org>
24324
f64049c6
GM
24325 * newcomment.el (comment-kill): Prefix "unused" local.
24326
93c9df73
GM
24327 * term/w32console.el (get-screen-color): Declare.
24328
7d3b9d44
GM
24329 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
24330 Handle symbol elements of byte-compile-initial-macro-environment.
24331
9e2dd53f
LL
243322011-05-10 Leo Liu <sdl.web@gmail.com>
24333
488086f4
SM
24334 * bookmark.el (bookmark-bmenu-mode-map):
24335 Bind bookmark-bmenu-search to `/'.
8b340240 24336
9e2dd53f 24337 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
24338 (footnote-unicode-string, footnote-unicode-regexp): New variable.
24339 (Footnote-unicode): New function.
24340 (footnote-style-alist): Add unicode style to the list.
24341 (footnote-style): Doc fix.
9e2dd53f 24342
79b70037
GM
243432011-05-10 Jim Meyering <meyering@redhat.com>
24344
24345 Fix doubled-word typos.
24346 * international/quail.el (quail-insert-kbd-layout): and and -> and
24347 * kermit.el: and and -> and
24348 * net/ldap.el (ldap-search-internal): to to -> to
24349 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
24350 * progmodes/js.el (js-mode): and and -> and
24351 * textmodes/artist.el (artist-move-to-xy): at at -> at
24352 (artist-draw-region-trim-line-endings): if if -> if
24353 And Safetyc -> Safety.
24354 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
24355
b8f82dc1 243562011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 24357 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
24358
24359 * files.el (hack-one-local-variable-eval-safep):
24360 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
24361
4f99f44b
GM
243622011-05-10 Glenn Morris <rgm@gnu.org>
24363
24364 * calendar/diary-lib.el (diary-list-entries-hook)
24365 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
24366 (diary-nongregorian-marking-hook, diary-list-entries)
24367 (diary-include-other-diary-files, diary-mark-entries)
24368 (diary-mark-included-diary-files): Doc fixes.
24369
84f29e6b
JB
243702011-05-09 Juanma Barranquero <lekktu@gmail.com>
24371
24372 * misc.el: Require tabulated-list.el during compilation.
24373
9bedd73a
CY
243742011-05-09 Chong Yidong <cyd@stupidchicken.com>
24375
488086f4
SM
24376 * progmodes/compile.el (compilation-start):
24377 Run compilation-filter-hook for the async case too.
9bedd73a
CY
24378 (compilation-filter-hook): Doc fix.
24379
797c735c
DD
243802011-05-09 Deniz Dogan <deniz@dogan.se>
24381
24382 * wdired.el: Remove outdated installation comment. Fix usage
24383 comment.
24384
5f4b1dfe
JB
243852011-05-09 Juanma Barranquero <lekktu@gmail.com>
24386
24387 * misc.el: Implement new command `list-dynamic-libraries'.
24388 (list-dynamic-libraries--loaded-only-p): New variable.
24389 (list-dynamic-libraries--refresh): New function.
24390 (list-dynamic-libraries): New command.
24391
4c44026c
CY
243922011-05-09 Chong Yidong <cyd@stupidchicken.com>
24393
488086f4
SM
24394 * progmodes/compile.el (compilation-error-regexp-alist-alist):
24395 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
24396 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
24397 higher priority to avoid clobbering by gnu.
24398
027f966d
CY
243992011-05-08 Chong Yidong <cyd@stupidchicken.com>
24400
24401 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
24402 if the face has existing theme settings (Bug#8454).
24403
085f5d7d
CY
244042011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
24405
488086f4
SM
24406 * progmodes/perl-mode.el (perl-imenu-generic-expression):
24407 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 24408
2a86a00c
RS
24409 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
24410 special file names `.' and `..' (Bug#8259).
24411
d9c54a06
CY
244122011-05-08 Chong Yidong <cyd@stupidchicken.com>
24413
488086f4
SM
24414 * progmodes/grep.el (grep-mode-font-lock-keywords):
24415 Remove buffer-changing entries.
d9c54a06
CY
24416 (grep-filter): New function.
24417 (grep-mode): Add it to compilation-filter-hook.
24418
24419 * progmodes/compile.el (compilation-filter-hook)
24420 (compilation-filter-start): New defvars.
24421 (compilation-filter): Call compilation-filter-hook prior to
24422 updating the process mark.
24423
c4662635
SM
244242011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24425
24426 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24427
b0512a1d
EZ
244282011-05-07 Eli Zaretskii <eliz@gnu.org>
24429
605c9376
EZ
24430 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24431 mailclient-send-it even if window-system is nil. (Bug#8595)
24432
c4662635
SM
24433 * term/w32console.el (terminal-init-w32console):
24434 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
24435 background-mode. (Bug#8597)
24436
d1dc2cc2
SM
244372011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24438
24439 Make bytecomp.el understand that defmethod defines funs (bug#8631).
24440 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24441 New functions.
24442 (defgeneric, eieio--defmethod): Use them.
24443 (eieio-defgeneric): Remove.
24444 (defmethod): Call defgeneric in a way visible to the byte-compiler.
24445
915d1300
GM
244462011-05-07 Glenn Morris <rgm@gnu.org>
24447
a3961c3e
GM
24448 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24449 Use let rather than let*.
24450 (timeclock-find-discrep): Remove unused local.
24451
314347b9
GM
24452 * calendar/diary-lib.el (diary-comment-start): Doc fix.
24453
915d1300
GM
24454 * calendar/appt.el (appt-time-msg-list): Doc fix.
24455
275b59b0
NF
244562011-05-06 Noah Friedman <friedman@splode.com>
24457
24458 * apropos.el (apropos-print-doc): Only use
24459 emacs-lisp-docstring-fill-column when it is bound to an integer,
24460 per that variable's documentation.
24461
6c19f744
SM
244622011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24463
24464 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 24465 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 24466
60f884b2
GM
244672011-05-06 Glenn Morris <rgm@gnu.org>
24468
5006e634
GM
24469 * calendar/appt.el (appt-message-warning-time): Doc fix.
24470 (appt-warning-time-regexp): New option.
24471 (appt-make-list): Respect appt-message-warning-time.
24472
548d0a63
GM
24473 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24474 New options.
24475 (diary-add-to-list): Strip comments from the displayed string.
24476 (diary-mode): Set comment-start and comment-end.
24477
60f884b2
GM
24478 * vc/diff-mode.el (smerge-refine-subst): Declare.
24479 (diff-refine-hunk): Don't require smerge-mode when compiling.
24480
989681bb
JB
244812011-05-06 Juanma Barranquero <lekktu@gmail.com>
24482
24483 * simple.el (list-processes): Return nil as the docstring says.
24484
a6bc05e1
MA
244852011-05-05 Michael Albinus <michael.albinus@gmx.de>
24486
24487 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24488 to "".
24489 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24490 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24491 determining of binary transfer. (Bug#7383)
24492
23c22e9a
MA
244932011-05-05 Michael Albinus <michael.albinus@gmx.de>
24494
c4662635
SM
24495 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24496 Fix port computation bug. (Bug#8618)
23c22e9a 24497
0bff894f
GM
244982011-05-05 Glenn Morris <rgm@gnu.org>
24499
b8296902
GM
24500 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24501
1f522ce8
GM
24502 * simple.el (shell-dynamic-complete-functions)
24503 (comint-dynamic-complete-functions): Declare.
24504
cf5bee67
GM
24505 * net/network-stream.el (gnutls-negotiate):
24506 * simple.el (tabulated-list-print): Fix declarations.
24507
24508 * progmodes/gud.el (syntax-symbol, syntax-point):
24509 Remove unnecessary and incorrect declarations.
24510
0bff894f 24511 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 24512 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 24513
9869b3ae
SM
245142011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24515
24516 Fix earlier half-done eieio-defmethod change (bug#8338).
24517 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24518 Streamline and change calling convention.
24519 (defmethod): Adjust accordingly and simplify.
24520 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24521 new eieio--defmethod.
24522 (slot-boundp): Minor CSE simplification.
24523
9c1d5ac5
MZ
245242011-05-05 Milan Zamazal <pdm@zamazal.org>
24525
24526 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24527 (glasses-make-readable): Use glasses-separate-capital-groups.
24528
455c834e
JB
245292011-05-05 Juanma Barranquero <lekktu@gmail.com>
24530
24531 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24532 (warning-series): Doc fix.
24533 (display-warning): Don't try to create the buffer if we just found it.
24534
9ed7c8cb
CY
245352011-05-04 Chong Yidong <cyd@stupidchicken.com>
24536
24537 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24538 (autoload-find-generated-file): New function.
24539 (generate-file-autoloads): Bind generated-autoload-file to
24540 buffer-file-name.
9869b3ae
SM
24541 (update-file-autoloads, update-directory-autoloads):
24542 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
24543 output file (Bug#7989).
24544 (batch-update-autoloads): Doc fix.
24545
0898ca10
JB
245462011-05-04 Juanma Barranquero <lekktu@gmail.com>
24547
24548 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24549
31dfb76c
GM
245502011-05-04 Glenn Morris <rgm@gnu.org>
24551
f330b642
GM
24552 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24553 function, so it follows changes in calendar-date-style.
24554 (diary-fancy-date-matcher): New function.
24555 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24556 (diary-fancy-font-lock-fontify-region-function):
24557 Use diary-fancy-date-pattern as a function.
24558
31dfb76c
GM
24559 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24560 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24561
48e79d6a
TZ
245622011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24563
24564 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24565 instead of positional arguments. Allow :keylist and :crlfiles
24566 arguments.
24567 (open-gnutls-stream): Call it.
24568
24569 * net/network-stream.el (network-stream-open-starttls): Adjust to
24570 call `gnutls-negotiate' with :process and :hostname arguments.
24571
dd5a5ee0
SM
245722011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24573
ef80fc09
SM
24574 * minibuffer.el (completion--message): New function.
24575 (completion--do-completion, minibuffer-complete)
24576 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24577 (completion--do-completion): Don't ignore completion-auto-help when in
24578 icomplete-mode.
24579
dd5a5ee0
SM
24580 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24581 internal encoding (e.g. tibetan zero is not whitespace).
24582 (global-whitespace-mode): Prefer save-current-buffer.
24583 (whitespace-trailing-regexp): Remove useless save-match-data.
24584 (whitespace-empty-at-bob-regexp): Minor simplification.
24585
b7d22a83
CY
245862011-05-03 Chong Yidong <cyd@stupidchicken.com>
24587
24588 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24589
5192af46
AM
245902011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24591
24592 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 24593 Use `concat' to create string for insertion.
5192af46 24594
5767d190
SM
245952011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24596
24597 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24598 Avoid open-line which runs post-self-insert-hook.
24599 (bibtex-fill-entry): Remove unused `end' var.
24600
bf242939
AM
246012011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24602
5767d190
SM
24603 * textmodes/ispell.el (ispell-add-per-file-word-list):
24604 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 24605
25666126
LL
246062011-05-03 Leo Liu <sdl.web@gmail.com>
24607
24608 * isearch.el (isearch-yank-pop): New command.
5767d190 24609 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
24610 (isearch-forward): Mention it.
24611
52d3c2d0
SM
246122011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24613
1bcace58
SM
24614 * simple.el (minibuffer-complete-shell-command): Remove.
24615 (minibuffer-local-shell-command-map): Use completion-at-point.
24616 (read-shell-command): Setup completion vars here instead.
24617 (read-expression-map): Bind TAB to symbol completion.
24618
52d3c2d0
SM
24619 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24620 error directly rather via storing it into `results'.
24621
35813471
LL
246222011-05-02 Leo Liu <sdl.web@gmail.com>
24623
24624 * vc/diff.el: Fix description.
24625
e793a940
LMI
246262011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24627
24628 * server.el (server-eval-at): New function.
24629
8de66e05
LMI
246302011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24631
24632 * net/network-stream.el (open-network-stream): Take a :nowait
24633 parameter and pass it on to `make-network-process'.
24634 (network-stream-open-plain): Ditto.
24635
dcb79f20
AS
246362011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24637
24638 * faces.el (face-spec-set-match-display): Don't match toolkit
24639 options on terminal frames.
24640
14a7fbd8
SM
246412011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24642
7eabc1be
SM
24643 * progmodes/pascal.el: Use lexical binding.
24644 (pascal-mode-map): Remove author preferences.
24645
14a7fbd8
SM
24646 * pcomplete.el (pcomplete-std-complete): Don't abuse
24647 completion-at-point.
24648
50f84510
JB
246492011-04-28 Juanma Barranquero <lekktu@gmail.com>
24650
6e087a44
JB
24651 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24652 removing code that has been dead since 1991 or so.
24653
50f84510
JB
24654 * startup.el (command-line): When warning about "_emacs", use a
24655 delayed warning to allow the user to filter it out.
24656
0ba690bd
DD
246572011-04-28 Deniz Dogan <deniz@dogan.se>
24658
24659 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24660 user has not joined.
24661
08abfaad
SM
246622011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24663
24664 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24665 aren't any completions at point.
24666
638f053a
JB
246672011-04-28 Juanma Barranquero <lekktu@gmail.com>
24668
24669 * subr.el (display-delayed-warnings): New function.
24670 (delayed-warnings-hook): New variable.
24671
8fff8daa
SM
246722011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24673
08abfaad
SM
24674 * minibuffer.el (completion-at-point, completion-help-at-point):
24675 Don't presume that a given completion-at-point-function will always
24676 use the same calling convention.
24677
8fff8daa
SM
24678 * pcomplete.el (pcomplete-completions-at-point):
24679 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24680 pcomplete-seen is non-nil.
24681 (pcomplete-comint-setup): Also recognize the new comint/shell
24682 completion functions.
24683 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24684 pcomplete-seen is non-nil.
24685
841a1577 246862011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 24687
841a1577 24688 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 24689 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 24690 the first character in the entry. This allows for code to add its
211ec907
UJ
24691 own uid to the entry.
24692 (icalendar--convert-float-to-ical): Add export of
24693 `diary-float'-entries save for those with the optional DAY
24694 argument.
24695
2a782793
DC
246962011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24697
24698 * subr.el (shell-quote-argument): Use alternate escaping strategy
24699 when we spot a variable reference in a string.
24700
0438ce91
DC
247012011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24702
24703 * cus-start.el (all): Define customization for debug-on-event.
24704
841a1577 247052011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
24706
24707 * subr.el (shell-quote-argument): Escape correctly under Windows.
24708
d090ed6c
SM
247092011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24710
24711 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24712
bfd31217
MA
247132011-04-25 Michael Albinus <michael.albinus@gmx.de>
24714
d090ed6c
SM
24715 * net/tramp.el (tramp-process-actions): Add POS argument.
24716 Delete region between POS and (pos).
bfd31217 24717
d090ed6c
SM
24718 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24719 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
24720 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24721
24722 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24723 position in `tramp-process-actions' call.
24724
24725 * net/trampver.el: Update release number.
24726
e92f3bd3
SM
247272011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24728
850256b5
SM
24729 * custom.el (defcustom): Obey lexical-binding.
24730
e92f3bd3
SM
24731 Fix octave-inf completion problems reported by Alexander Klimov.
24732 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24733 Inherit from octave-mode-syntax-table.
24734 (inferior-octave-mode): Set info-lookup-mode.
24735 (inferior-octave-completion-at-point): New function.
24736 (inferior-octave-complete): Use it and completion-in-region.
24737 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24738 comint-filename-completion.
24739 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24740 symbol elements which shouldn't be word elements.
24741 (octave-font-lock-keywords, octave-beginning-of-defun)
24742 (octave-function-header-regexp): Adjust regexps accordingly.
24743 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24744
cd22b309
JB
247452011-04-25 Juanma Barranquero <lekktu@gmail.com>
24746
24747 * net/gnutls.el (gnutls-errorp): Declare before first use.
24748
8b492194
TZ
247492011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24750
24751 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24752 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 24753 default trustfile exists before going to use it. Add missing
5a5fa834 24754 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
24755 Reported by Claudio Bley <claudio.bley@gmail.com>.
24756 (open-gnutls-stream): Add usage example.
24757
24758 * net/network-stream.el (network-stream-open-starttls): Give host
24759 parameter to `gnutls-negotiate'.
24760 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 24761 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 24762
841a1577 247632011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 24764
cd22b309
JB
24765 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24766 Use correct match group (bug#8438).
05842630 24767
3ba7869c
CY
247682011-04-24 Chong Yidong <cyd@stupidchicken.com>
24769
512e3ae1
CY
24770 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24771 (package-menu--generate): New arg specifying packages to show.
24772 (package-menu-refresh, package-menu-execute, list-packages):
24773 Callers changed.
24774 (package-show-package-list): New function, replacing deleted
24775 package--list-packages (renamed because it is non-internal).
24776
24777 * finder.el (finder-list-matches): Use package-show-package-list
24778 instead of deleted package--list-packages.
24779
e92f3bd3
SM
24780 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24781 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
24782 (vc-annotate-mode-map): Bind it to RET.
24783
7031be6d
UR
247842011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24785
24786 * progmodes/etags.el (next-file): Don't use set-buffer to change
24787 buffers (Bug#8478).
24788
4ef177aa
CY
247892011-04-24 Chong Yidong <cyd@stupidchicken.com>
24790
c8d173eb
CY
24791 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24792
4ef177aa
CY
24793 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24794 (apropos-accumulator): Doc fix.
24795 (apropos-function, apropos-macro, apropos-command)
24796 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24797 (apropos-plist): Add face property.
24798 (apropos-symbols-internal): Fix indentation.
24799 (apropos-print): Simplify help, and recognize apropos-multi-type.
24800 (apropos-print-doc): Use button-type-get to extract the button's
24801 face property. Fill docstring (Bug#8352).
24802
4ffd0d6b 248032011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
24804
24805 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24806
c6c32125 24807 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 24808 (mpuz-mode-map): Use mapc.
c6c32125
JB
24809 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24810 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24811 Fix typos in docstrings.
24812
58d468b4
JB
24813 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24814 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24815
6470c3c6
JB
24816 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24817
4ffd0d6b 248182011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
24819
24820 * minibuffer.el (completion--do-completion): Avoid the "Next char
24821 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24822
3ad8bad0
CY
24823 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24824 mouse-2 into unread-command-events, it is interpreted correctly.
24825
71d73c9c 24826 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 24827 (image-toggle-display): Doc fix.
71d73c9c 24828
841a1577 248292011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 24830
4ffd0d6b
GM
24831 * textmodes/page.el (what-page): Use line-number-at-pos to
24832 calculate line number (Bug#6825).
6e1dbaa9 24833
c2fb1b60
JB
248342011-04-22 Juanma Barranquero <lekktu@gmail.com>
24835
24836 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24837 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24838 Pass argument NO-DEFAULT to `find-tag-interactive'.
24839
e02f48d7
JB
248402011-04-22 Juanma Barranquero <lekktu@gmail.com>
24841
24842 Lexical-binding cleanup.
24843
24844 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24845 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24846 * progmodes/ada-prj.el (ada-prj-initialize-values)
24847 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24848 (ada-prj-show-value):
24849 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24850 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24851 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24852 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24853 * progmodes/bug-reference.el (bug-reference-push-button):
24854 * progmodes/fortran.el (fortran-line-length):
24855 * progmodes/glasses.el (glasses-change):
24856 * progmodes/octave-mod.el (octave-fill-paragraph):
24857 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24858 (python-pdbtrack-grub-for-buffer, python-sentinel):
24859 * progmodes/sql.el (sql-save-connection):
24860 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24861 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24862 Mark unused parameters.
24863
24864 * progmodes/compile.el (compilation--flush-directory-cache)
24865 (compilation--flush-parse, compile-internal): Mark unused parameters.
24866 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24867 (compilation-next-error-function): Remove unused variable `timestamp'.
24868
24869 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24870 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24871
24872 * progmodes/dcl-mode.el (dcl-end-of-command):
24873 Remove unused variable `start'.
24874 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24875 (dcl-option-value-basic, dcl-option-value-offset)
24876 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24877 Mark unused parameters.
24878 (dcl-save-local-variable): Remove unused variable `val'.
24879 (mode): Declare.
24880
24881 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24882 Mark unused parameters.
24883 (delphi-ignore-changes): Move before first use.
24884 (delphi-charset-token-at): Remove unused variable `start'.
24885 (delphi-else-start): Remove unused variable `if-count'.
24886 (delphi-comment-block-start, delphi-comment-block-end):
24887 Remove unused variable `kind'.
24888 (delphi-indent-line): Remove unused variable `new-point'.
24889
24890 * progmodes/ebrowse.el (ebrowse-files-list)
24891 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24892 Mark unused parameters. Don't quote `lambda'.
24893 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24894 Don't quote `lambda'.
24895 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24896 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24897 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24898 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24899 Use `ignore-errors'.
24900 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24901 (ebrowse-view/find-file-and-search-pattern)
24902 (ebrowse-view/find-member-declaration/definition):
24903 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24904 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24905 Rename parameter PREFIX-ARG to PREFIX.
24906 (ebrowse-tags-read-name): Remove unused variables `start' and
24907 `member-info'.
24908 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24909 to `tags-file'.
24910
24911 * progmodes/etags.el (local-find-tag-hook): Declare.
24912 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24913 Mark unused parameters.
24914
24915 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24916 (executable-interpret): Mark unused parameter.
24917
24918 * progmodes/flymake.el (flymake-process-sentinel)
24919 (flymake-after-change-function)
24920 (flymake-create-temp-with-folder-structure)
24921 (flymake-get-include-dirs-dot): Mark unused parameters.
24922 (flymake-safe-delete-directory): Remove unused variable `err'.
24923
24924 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24925 (speedbar-timer-fn, speedbar-line-text)
24926 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24927 (speedbar-center-buffer-smartly): Declare functions.
24928 (gdb-find-watch-expression): Remove unused variable `array'.
24929 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24930 (gdb-starting): Mark unused parameters.
24931 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24932 (gdb-table-string): Remove unused variable `res'.
24933 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24934 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24935 (gdb-display-buffer): Remove unused variable `cur-size'.
24936
24937 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24938 allow lexical-binding compilation.
24939 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24940 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24941 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24942 Mark unused parameters.
24943 (gud-gdb-marker-filter): Remove unused variable `match'.
24944 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24945 lambda expressions and funcall them, instead of using `fset'.
24946
24947 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24948 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24949
24950 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24951 variable `header-beg'; use `let'.
24952
24953 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24954 `restart', `last-sexp' and `at-do'.
24955
24956 * progmodes/js.el (js--debug): Mark unused parameter.
24957 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24958 (js--splice-into-items): Remove unused variable `item'.
24959 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24960
24961 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24962 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24963 (makefile-complete): Remove unused variable `try'.
24964 (makefile-fill-paragraph, makefile-match-function-end):
24965 Mark unused parameters.
24966
24967 * progmodes/octave-inf.el (inferior-octave-complete):
24968 Remove unused variable `proc'.
24969 (inferior-octave-output-digest): Mark unused parameter.
24970
24971 * progmodes/perl-mode.el (perl-calculate-indent):
24972 Remove unused variable `err'.
24973
24974 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24975 (prolog-indent-line): Mark unused parameters.
24976 (prolog-indent-line): Remove unused variable `beg'.
24977
24978 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24979 (reporter-dont-compact-list): Declare.
24980
24981 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24982 Remove unused variable `char'.
24983 (sh-debug): Mark unused parameter.
24984 (sh-get-indent-info): Remove unused variable `start'.
24985 (sh-calculate-indent): Remove unused variable `var'.
24986
24987 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24988 (simula-electric-keyword): Remove unused variable `null'.
24989 (simula-search-backward, simula-search-forward): Remove unused
24990 variables `begin' and `end'.
24991
24992 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24993 Remove unused variable `pos'.
24994 (vera-electric-tab, vera-comment-uncomment-region):
24995 Mark unused parameters.
24996 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24997
7ede3b65
CY
249982011-04-22 Chong Yidong <cyd@stupidchicken.com>
24999
25000 * emacs-lisp/package.el (package--builtins, package-alist)
25001 (package-load-descriptor, package-built-in-p, package-activate)
25002 (define-package, package-installed-p)
25003 (package-compute-transaction, package-buffer-info)
25004 (package--push): Doc fix. Distinguish more clearly between
25005 version strings and version lists.
25006
121656e9
JB
250072011-04-21 Juanma Barranquero <lekktu@gmail.com>
25008
25009 Lexical-binding cleanup.
25010
25011 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25012 (5x5-make-mutate-best):
25013 * play/fortune.el (fortune-in-buffer):
25014 * play/gomoku.el (gomoku-init-display):
25015 * play/solitaire.el (solitaire, solitaire-do-check):
25016 * play/tetris.el (tetris-default-update-speed-function):
25017 Mark unused parameters.
25018
25019 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25020 (bubbles--shift): Remove unused variable `char-org'.
25021 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25022 (bubbles--show-images): Remove unused variable `char'.
25023
25024 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25025 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25026 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25027 (decipher-analyze-buffer): Use ?\s.
25028 (decipher-make-checkpoint): Remove unused variable `mapping'.
25029
25030 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25031
25032 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25033 Remove unused variable `result'; use `let'.
25034
25035 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25036 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25037 (gametree-children-shown-p, gametree-compute-reduced-score):
25038 Use `ignore-errors'.
25039
25040 * play/handwrite.el (ps-lpr-switches): Declare.
25041 (handwrite): Remove unused variables `pmin' and `lastp'.
25042
25043 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25044
25045 * play/landmark.el (landmark-init-display)
25046 (landmark-update-naught-weights): Mark unused parameters.
25047 (landmark-y): Remove unused variable `noise'. Simplify.
25048 (landmark-human-plays): Remove unused variable `score'.
25049
25050 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25051 (mpuz-try-proposal): Remove unused variable `game'.
25052
25053 * play/zone.el (life-patterns): Declare.
25054
80f499c7
JB
250552011-04-20 Juanma Barranquero <lekktu@gmail.com>
25056
25057 * vc/vc.el (ediff-vc-internal): Declare function.
25058
024ff170
SM
250592011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25060
c0a193ea
SM
25061 * shell.el: Use lexical-binding and std completion UI.
25062 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25063 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25064 comint-preoutput-filter-functions rather than on
25065 comint-output-filter-functions.
25066 (shell-command-completion, shell--command-completion-data)
25067 (shell-filename-completion, shell-environment-variable-completion)
25068 (shell-c-a-p-replace-by-expanded-directory): New functions.
25069 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25070 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25071 (shell-dynamic-complete-environment-variable): Use them.
25072 (shell-dynamic-complete-as-environment-variable)
25073 (shell-dynamic-complete-as-command): Remove.
25074 (shell-match-partial-variable): Match past point.
25075 * comint.el: Clean up use of completion-at-point-functions.
25076 (comint-completion-at-point): New function.
25077 (comint-mode): Use it completion-at-point-functions.
25078 (comint-dynamic-complete): Make it obsolete.
25079 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25080 (comint-c-a-p-replace-by-expanded-history): New function.
25081 (comint-dynamic-complete-functions)
25082 (comint-replace-by-expanded-history): Use it.
25083 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25084 termination strings. Try harder to avoid second try-completion.
25085 (completion-in-region-mode-map): Disable bindings that don't work yet.
25086
2dbaa080
SM
25087 * comint.el: Use lexical-binding. Require CL.
25088 (comint-dynamic-complete-functions): Use comint-filename-completion.
25089 (comint-completion-addsuffix): Tweak custom type.
25090 (comint-filename-completion, comint--common-suffix)
25091 (comint--common-quoted-suffix, comint--table-subvert)
25092 (comint--complete-file-name-data): New functions.
25093 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25094 (comint-dynamic-list-filename-completions): Use them.
25095 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 25096
2dbaa080
SM
25097 * minibuffer.el (completion-in-region-mode):
25098 Keep completion-in-region-mode--predicate global.
25099 (completion-in-region--postch):
25100 Assume completion-in-region-mode--predicate is not null.
25101
c79a6f38
SM
25102 * progmodes/flymake.el (flymake-start-syntax-check-process):
25103 Obey `dir'. Simplify.
25104
024ff170
SM
25105 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25106 we're in VC after all.
25107
1c6c854e
CS
251082011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25109
25110 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 25111 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
25112 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25113
bed7f140
SM
251142011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25115
332e62ab
SM
25116 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25117 add sanity check.
25118
bed7f140
SM
25119 * obsolete/erc-hecomplete.el: Make obsolete.
25120 * obsolete/: Standardize obsolescence info in the header.
25121
f195c582
GM
251222011-04-20 Glenn Morris <rgm@gnu.org>
25123
25124 * calendar/solar.el (solar-horizontal-coordinates):
25125 Use the longitude argument rather than `calendar-longitude'.
25126 (solar-date-next-longitude): Remove unused locals.
25127
cb79b8c0
VJL
251282011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25129
25130 * whitespace.el: New version 13.2.1.
25131
251322011-04-20 felix <EmacsWiki> (tiny change)
25133
d8e4b68b 25134 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
25135 switching between major modes on a file.
25136
602ea69d
SM
251372011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25138
25139 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25140 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25141 multi-line comments as well.
25142
06b60517
JB
251432011-04-19 Juanma Barranquero <lekktu@gmail.com>
25144
25145 Lexical-binding cleanup.
25146
25147 * arc-mode.el (archive-mode-revert):
25148 * cmuscheme.el (scheme-interactively-start-process):
25149 * custom.el (custom-initialize-delay):
25150 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25151 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25152 * emacs-lock.el (emacs-lock-clear-sentinel):
25153 * ezimage.el (defezimage):
25154 * follow.el (follow-avoid-tail-recenter):
25155 * fringe.el (set-fringe-mode-1):
25156 * generic-x.el (bat-generic-mode-compile):
25157 * help-mode.el (help-info-variable, help-do-xref)
25158 (help-mode-revert-buffer):
25159 * help.el (view-emacs-todo):
25160 * iswitchb.el (iswitchb-completion-help):
25161 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25162 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25163 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25164 * locate.el (locate-update):
25165 * longlines.el (longlines-encode-region)
25166 (longlines-after-change-function):
25167 * outline.el (outline-isearch-open-invisible):
25168 * ps-def.el (declare-function, charset-dimension, char-width)
25169 (encode-char):
25170 * ps-mule.el (ps-mule-plot-string):
25171 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25172 (recentf-edit-list-select, recentf-edit-list-validate)
25173 (recentf-open-files-action):
25174 * rect.el (delete-whitespace-rectangle-line)
25175 (rectangle-number-line-callback):
25176 * register.el (window-configuration-to-register)
25177 (frame-configuration-to-register):
25178 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25179 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25180 (xselect-convert-to-targets, xselect-convert-to-delete)
25181 (xselect-convert-to-filename, xselect-convert-to-charpos)
25182 (xselect-convert-to-lineno, xselect-convert-to-colno)
25183 (xselect-convert-to-os, xselect-convert-to-host)
25184 (xselect-convert-to-user, xselect-convert-to-class)
25185 (xselect-convert-to-name, xselect-convert-to-integer)
25186 (xselect-convert-to-atom, xselect-convert-to-identity):
25187 * subr.el (declare, ignore, process-kill-without-query)
25188 (text-clone-maintain):
25189 * terminal.el (te-get-char, te-tic-sentinel):
25190 * tool-bar.el (tool-bar-make-keymap):
25191 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
25192 * type-break.el (type-break-mode, type-break-noninteractive-query):
25193 * view.el (View-back-to-mark):
25194 * wid-browse.el (widget-browse-action, widget-browse-widget)
25195 (widget-browse-widgets, widget-browse-sexp):
25196 * widget.el (define-widget-keywords):
25197 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
25198 Mark unused parameters.
25199
25200 * align.el (align-adjust-col-for-rule): Mark unused parameter.
25201 (align-areas): Remove unused variable `look'.
25202 (align-region): Remove unused variables `real-end' and `pos-list'.
25203
25204 * apropos.el (apropos-score-doc): Remove unused variable `i'.
25205
25206 * bindings.el (mode-line-modified, mode-line-remote):
25207 Mark unused parameters.
25208 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
25209
25210 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
25211 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
25212
25213 * comint.el (comint-history-isearch-pop-state)
25214 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
25215 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
25216 (comint-substitute-in-file-name): Doc fix.
25217
25218 * completion.el (cmpl-statistics-block): Mark unused parameter.
25219 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
25220 (save-completions-to-file, load-completions-from-file):
25221 Remove unused local variable `e'.
25222
25223 * composite.el (compose-chars): Remove unused variable `len'.
25224 (lgstring-insert-glyph): Remove unused variable `g'.
25225 (compose-glyph-string): Remove unused variables `ascent',
25226 `descent', `lbearing' and `rbearing'.
25227 (compose-glyph-string-relative): Remove unused variables
25228 `lbearing', `rbearing' and `wadjust'.
25229 (compose-gstring-for-graphic): Remove unused variables `header',
25230 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
25231 (compose-gstring-for-terminal): Remove unused variables `header'
25232 and `nchars'. Use `let', not `let*'.
25233
25234 * cus-edit.el (Custom-set, Custom-save, custom-reset)
25235 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
25236 (Custom-buffer-done, custom-buffer-create-internal)
25237 (custom-browse-visibility-action, custom-browse-group-tag-action)
25238 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
25239 (widget-magic-mouse-down-action, custom-toggle-parent)
25240 (custom-add-parent-links, custom-toggle-hide-variable)
25241 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
25242 (custom-toggle-hide-face, face, hook, custom-group-link-action)
25243 (custom-face-menu-create, custom-variable-menu-create, get)
25244 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
25245 (custom-reset-standard-save-and-update): Remove unused variable `value'.
25246 (customize-apropos): Remove unused variable `tests'.
25247 (custom-group-value-create): Remove unused variable `hidden-p'.
25248 (sort-fold-case): Declare.
25249
25250 * cus-theme.el (custom-reset-standard-faces-list)
25251 (custom-reset-standard-variables-list): Declare.
25252 (customize-create-theme, custom-theme-revert, custom-theme-write)
25253 (custom-theme-choose-mode, customize-themes, custom-theme-save):
25254 Mark unused parameters.
25255
25256 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
25257
25258 * delim-col.el (delimit-columns-max): Move defvar before first use.
25259
25260 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 25261 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
25262
25263 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
25264 (auto-insert): Declare.
25265 (desktop-restore-file-buffer): Rename desktop-* parameters;
25266 mark unused ones.
25267 (desktop-create-buffer): Rename desktop-* parameters and bind them.
25268 (desktop-buffer): Rename desktop-* parameters.
25269
25270 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
25271 (dframe-reposition-frame-xemacs, dframe-help-echo)
25272 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
25273 Mark unused parameters.
25274
25275 * dired-aux.el (backup-extract-version-start, overwrite-query)
25276 (overwrite-backup-query, rename-regexp-query)
25277 (rename-non-directory-query): Declare.
25278 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
25279 (dired-add-entry): Remove unused variable `orig-file-name'.
25280 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
25281 Use parameter PRESERVE-TIME instead of accessing dynamic variable
25282 `dired-copy-preserve-time' directly.
25283 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
25284 (dired-insert-subdir-newpos): Rename unused variable `pos'.
25285
25286 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
25287 (dired-virtual-revert, dired-make-relative-symlink):
25288 Mark unused parameters.
25289 (manual-program): Declare.
25290 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
25291 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
25292 wrapped in `with-no-warnings' to avoid replacing one warning by another.
25293
25294 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
25295
25296 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
25297
25298 * echistory.el (electric-history-in-progress, Helper-return-blurb):
25299 Declare.
25300
25301 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
25302
25303 * electric.el (Electric-command-loop): Rename parameter
25304 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
25305
25306 * expand.el (expand-in-literal): Remove unused variable `here'.
25307
25308 * facemenu.el (facemenu-add-new-color):
25309 Remove unused variable `docstring'.
25310
25311 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
25312 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
25313 (face-attr-construct): Mark unused parameter. Doc fix.
25314 (read-color): Remove unused variable `hex-string'.
25315
25316 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
25317 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
25318 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
25319 (display-buffer-other-frame): Remove unused variable `old-window'.
25320 (kill-buffer-hook): Declare.
25321 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
25322 Mark unused parameters.
25323 (after-find-file): Pass 1 to `auto-save-mode', not t.
25324
25325 * files-x.el (auto-insert): Declare.
25326 (modify-file-local-variable-prop-line): Remove unused variable `val'.
25327
25328 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 25329 variable `buf'. Mark unused parameter.
06b60517
JB
25330 (find-lisp-insert-directory): Mark unused parameter.
25331
25332 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
25333 (format-encode-region): Remove unused variables `cur-buf' and `result'.
25334 (format-common-tail): Remove, unused.
25335 (format-deannotate-region): Remove unused variable `loc'.
25336 (format-annotate-region): Remove unused variable `p'.
25337 (format-annotate-single-property-change): Remove unused variables
25338 `default' and `tail'.
25339
25340 * forms.el (read-file-filter): Declare.
25341 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
25342
25343 * frame.el (frame-creation-function-alist): Mark unused parameter.
25344 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
25345
25346 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
25347 Remove unused parameters.
25348 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
25349 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
25350
25351 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
25352 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
25353 (hfy-prepare-tag-map): Mark unused parameters.
25354 (htmlfontify-buffer): Use `called-interactively-p'.
25355
25356 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
25357 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
25358 (ibuffer-do-occur): Mark unused parameters.
25359 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
25360 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
25361
25362 * ibuffer.el: Don't quote `lambda'.
25363 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
25364 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
25365 Mark unused parameters.
25366
25367 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
25368 (ido-completing-read): Mark unused parameters.
25369 (ido-copy-current-word): Mark unused parameters;
25370 remove unused variable `name'.
25371 (ido-sort-merged-list): Remove unused parameter `dirs'.
25372
25373 * ielm.el (ielm-input-sender): Mark unused parameter.
25374 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
25375 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
25376 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
25377 `ielm-string' as a dynamic variable accessible from the IELM prompt.
25378 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
25379
25380 * image-dired.el (image-dired-display-thumbs): Remove unused
25381 variables `curr-file' and `count'.
25382 (image-dired-remove-tag): Remove unused variable `start'.
25383 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
25384 variable `curr-file'
25385 (image-dired-rotate-original): Remove unused variable `temp-file'.
25386 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
25387 Remove unused variable `file'.
25388 (image-dired-gallery-generate): Remove unused variable `curr'.
25389 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
25390
25391 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
25392
25393 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
25394
25395 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
25396
25397 * isearch.el (minibuffer-history-symbol): Declare.
25398 (isearch-edit-string): Remove unused variable `err'.
25399 (isearch-message-prefix, isearch-message-suffix):
25400 Mark unused parameters.
25401
25402 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
25403
25404 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
25405
25406 * makesum.el (double-column): Remove unused variable `cnt'.
25407
25408 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
25409 (ido-ignore-item-temp-list): Declare.
25410
25411 * mouse-drag.el (mouse-drag-throw): Remove unused variables
25412 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
25413 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
25414 (mouse-drag-drag): Remove unused variables `mouse-delta' and
25415 `mouse-col-delta'.
25416
25417 * mouse-sel.el (mouse-extend-internal):
25418 Remove unused variable `orig-window-frame'.
25419
25420 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
25421 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
25422 Move declarations before first use.
25423 (pcomplete-opt): Mark unused parameters; doc fix.
25424
25425 * proced.el (proced-revert): Mark unused parameter.
25426 (proced-send-signal): Remove unused variable `err'.
25427
25428 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25429 Rename parameter PREFIX-ARG to ARG.
25430 (ps-basic-plot-string, ps-basic-plot-whitespace):
25431 Mark unused parameters.
25432
25433 * replace.el (replace-count): Define.
25434 (occur-revert-function): Mark unused parameters.
25435 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25436 (isearch-case-fold-search, isearch-string): Declare.
25437 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25438 bind `case-fold-search'. Remove unused variables `beg' and `end',
25439 and simplify.
25440 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25441 COUNT and bind `replace-count'.
25442 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25443 to COUNT.
25444
25445 * savehist.el (print-readably, print-string-length): Declare.
25446
25447 * shadowfile.el (shadow-expand-cluster-in-file-name):
25448 Remove unused variable `cluster'.
25449 (shadow-copy-file): Remove unused variable `i'.
25450 (shadow-noquery, shadow-clusters, shadow-site-cluster)
25451 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25452 (shadow-define-literal-group, shadow-define-regexp-group)
25453 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25454
25455 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25456 (shell): Use `called-interactively-p'.
25457 (shell-directory-tracker): Remove unused variable `chdir-failure'.
25458
25459 * simple.el (compilation-context-lines, comint-file-name-quote-list)
25460 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25461 (delete-backward-char): Remove unused variable `ocol'.
25462 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25463 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25464 (event-apply-hyper-modifier, event-apply-shift-modifier)
25465 (event-apply-control-modifier, event-apply-meta-modifier):
25466 Mark unused parameters.
25467 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25468 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25469
25470 * speedbar.el (speedbar-ignored-directory-expressions)
25471 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25472 (speedbar-find-file, speedbar-dir-follow)
25473 (speedbar-directory-buttons-follow, speedbar-tag-find)
25474 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25475 (speedbar-buffers-line-directory, speedbar-buffer-click):
25476 Mark unused parameters.
25477 (speedbar-tag-file): Remove unused variable `mode'.
25478 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25479
25480 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25481
25482 * talk.el (talk): Remove unused variable `display'.
25483
25484 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25485 (tar-write-region-annotate): Mark unused parameter.
25486
25487 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25488 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25489 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25490 warning by another.
25491
25492 * time-stamp.el (time-stamp-string-preprocess):
25493 Remove unused variable `require-padding'.
25494
25495 * tree-widget.el (widget-glyph-enable): Declare.
25496 (tree-widget-action): Mark unused parameter.
25497
25498 * w32-fns.el (x-get-selection): Mark unused parameter.
25499 (autoload-make-program, generated-autoload-file): Declare.
25500
25501 * wdired.el (wdired-revert): Mark unused parameters.
25502 (wdired-xcase-word): Remove unused variable `err'.
25503
25504 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25505 (whitespace-help-scroll): Remove unused variable `data-help'.
25506
25507 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25508 (widget-image-insert, widget-after-change, default)
25509 (widget-default-format-handler, widget-default-notify)
25510 (widget-default-prompt-value, widget-info-link-action)
25511 (widget-url-link-action, widget-function-link-action)
25512 (widget-variable-link-action, widget-file-link-action)
25513 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25514 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25515 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25516 (widget-insert-button-action, widget-delete-button-action, visibility)
25517 (widget-documentation-link-action, widget-documentation-string-action)
25518 (widget-const-prompt-value, widget-regexp-match, symbol)
25519 (widget-coding-system-prompt-value)
25520 (widget-key-sequence-value-to-external, sexp)
25521 (widget-sexp-value-to-internal, character, vector, cons)
25522 (widget-choice-prompt-value, widget-boolean-prompt-value)
25523 (widget-color--choose-action): Mark unused parameters.
25524 (widget-item-match-inline, widget-choice-match-inline)
25525 (widget-checklist-match, widget-checklist-match-inline)
25526 (widget-group-match): Rename parameter VALUES to VALS.
25527 (widget-field-value-set): Remove unused variable `size'.
25528 (widget-color-action): Remove unused variables `value' and `start'.
25529
25530 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 25531 variable `dir'. Doc fix.
06b60517
JB
25532 (windmove-find-other-window): Don't pass it.
25533
25534 * window.el (count-windows): Mark unused parameter.
25535 (bw-adjust-window): Remove unused variable `err'.
25536
25537 * woman.el (woman-file-name): Remove unused variable `default'.
25538 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25539 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25540 (global-font-lock-mode): Declare.
25541 (woman-decode-region): Mark unused parameter.
25542 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25543
25544 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25545 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25546 (x-dnd-handle-moz-url): Remove unused variable `title'.
25547 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25548
25549 * xml.el (xml-parse-tag, xml-parse-attlist):
25550 Remove unused variable `pos'.
25551
bc4f7f3d
GM
255522011-04-19 Glenn Morris <rgm@gnu.org>
25553
25554 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25555 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25556 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25557 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25558 * calendar/cal-html.el (cal-html-insert-minical):
25559 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25560 (calendar-mark-date-pattern):
25561 Prefix "unused" locals.
25562
25563 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25564 optional argument `style'.
25565
25566 * calendar/appt.el (appt-make-list):
25567 * calendar/cal-china.el (calendar-chinese-date-string):
25568 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25569 (diary-hebrew-yahrzeit):
25570 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25571 * calendar/calendar.el (calendar-generate-window):
25572 * calendar/time-date.el (time-to-days):
25573 Remove unused local variables.
25574
16a43933
CY
255752011-04-18 Chong Yidong <cyd@stupidchicken.com>
25576
25577 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25578 glyphless-char-display table.
25579 (tabulated-list-glyphless-char-display): New var.
25580
7eed1860
SS
255812011-04-18 Sam Steingold <sds@gnu.org>
25582
25583 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25584 to acknowledgments.
25585
4d2d1ccd
GM
255862011-04-17 Glenn Morris <rgm@gnu.org>
25587
25588 * calendar/diary-lib.el (diary-sexp-entry):
25589 * calendar/holidays.el (holiday-sexp):
25590 Set debug-on-error rather than the removed stack-trace-on-error.
25591
239da61d
GM
255922011-04-16 Glenn Morris <rgm@gnu.org>
25593
25594 * progmodes/f90.el: Use lexical-binding.
25595 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25596
8b05752a
SM
255972011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25598
daca8ba5
SM
25599 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25600 (mail-mode): Setup mailalias completion here instead.
25601 * mail/mailalias.el: Use lexical-binding.
25602 (pattern, mailalias-done): Declare dynamic.
25603 (mail-completion-at-point-function): New function, from mail-complete.
25604 (mail-complete): Use it.
25605 (mail-completion-expand): New function.
25606 (mail-get-names): Use it.
25607 (mail-directory, mail-directory-process, mail-directory-stream):
25608 Don't use `pattern' for lexically bound arg.
25609
6f542485
SM
25610 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25611
037e7c3f
SM
25612 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25613 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25614 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25615
8b05752a
SM
25616 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25617 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25618 (byte-interactive-p): Define them again, for use when inlining
25619 old code.
25620
49093f60
JB
256212011-04-15 Juanma Barranquero <lekktu@gmail.com>
25622
25623 * loadup.el: Use `string-to-number', not `string-to-int'.
25624
b5b8e7de
SM
256252011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25626
25627 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25628 gud-gdb-complete-command.
25629 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25630 (gud-gdb-completion-at-point): New function.
25631 (gud-gdb-completions): Remove.
25632
f42efeb5
MA
256332011-04-14 Michael Albinus <michael.albinus@gmx.de>
25634
49093f60
JB
25635 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25636 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25637 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25638 whether `executable-find' is bound.
f42efeb5
MA
25639
25640 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25641
e240cc21
SM
256422011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25643
25644 * minibuffer.el (completion-in-region-mode-predicate)
25645 (completion-in-region-mode--predicate): New vars.
25646 (completion-in-region, completion-in-region--postch)
25647 (completion-in-region-mode): Use them.
25648 (completion--capf-wrapper): Also return the hook function.
25649 (completion-at-point, completion-help-at-point):
25650 Adjust and provide a predicate.
c2bd2ab0
SM
25651
25652 Preserve arg names for advice of subr and lexical functions (bug#8457).
25653 * help-fns.el (help-function-arglist): Consolidate the subr and
25654 new-byte-code cases. Add argument `preserve-names' to extract names
25655 from the docstring when needed.
25656 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25657 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25658 (ad-arglist): Use help-function-arglist's new arg.
25659 (ad-definition-type): Use cond.
25660
c183f693
JB
256612011-04-13 Juanma Barranquero <lekktu@gmail.com>
25662
06641a47
JB
25663 * autorevert.el (auto-revert-handler):
25664 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25665 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25666 Don't quote lambda.
25667
c183f693
JB
25668 * image-mode.el (image-transform-set-scale):
25669 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25670
1e3b6001
G
256712011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25672
25673 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 25674 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
25675 Upgrades via gnutls-cli are too slow to be done opportunistically.
25676
2d6af8dd
JB
256772011-04-12 Juanma Barranquero <lekktu@gmail.com>
25678
25679 * dframe.el (dframe-current-frame): Remove spurious quote.
25680
c0749a51
GM
256812011-04-12 Glenn Morris <rgm@gnu.org>
25682
088d0d61
GM
25683 * calendar/cal-tex.el (cal-tex-end-document):
25684 Try to automatically use latin1 input if needed.
25685
c0749a51
GM
25686 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25687 Don't try to cons a mark onto an empty element.
25688
5c90fde0
LL
256892011-04-11 Leo Liu <sdl.web@gmail.com>
25690
25691 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25692 buffers.
25693 (ido-kill-buffer-at-head): Support killing virtual buffers.
25694
369e974d
CY
256952011-04-10 Chong Yidong <cyd@stupidchicken.com>
25696
25697 * minibuffer.el (completion-show-inline-help): New var.
25698 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
25699 (minibuffer-force-complete, minibuffer-complete-word):
25700 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
25701
25702 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25703 to avoid interference from inline help (Bug#5849).
25704
37f1c930
LL
257052011-04-10 Leo Liu <sdl.web@gmail.com>
25706
099c39a4
JB
25707 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25708 Fix typo.
37f1c930 25709
a32d4040
CY
257102011-04-09 Chong Yidong <cyd@stupidchicken.com>
25711
25712 * image-mode.el (image-toggle-display-image): Signal an error if
25713 not in Image mode.
25714 (image-transform-mode, image-transform-resize)
25715 (image-transform-set-rotation): Doc fix.
daca8ba5 25716 (image-transform-set-resize): Delete.
a32d4040
CY
25717 (image-transform-set-scale, image-transform-fit-to-height)
25718 (image-transform-fit-to-width): Handle image-toggle-display-image
25719 and image-transform-resize directly.
25720
099c39a4 257212011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
25722
25723 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
25724 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25725 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
25726 (doc-view-mode-map): Add bindings for the new functions.
25727
099c39a4 257282011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 25729
4d61f28d 25730 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
25731 Fix typo in docstring.
25732
3726838a
EZ
257332011-04-08 Eli Zaretskii <eliz@gnu.org>
25734
04f33f1e
EZ
25735 * files.el (file-size-human-readable): Produce one digit after
25736 decimal, like "ls -lh" does.
25737
25738 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25739 the file size representation.
25740
3726838a
EZ
25741 * simple.el (list-processes): If async subprocesses are not
25742 available, error out with a clear error message.
25743
cbb59342
CY
257442011-04-08 Chong Yidong <cyd@stupidchicken.com>
25745
25746 * help.el (help-form-show): New function, to be called from C.
25747 Put help-form output in a buffer named differently than *Help*.
25748
e3971c44
EZ
257492011-04-08 Eli Zaretskii <eliz@gnu.org>
25750
25751 * files.el (file-size-human-readable): New function.
25752
25753 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25754 computing the representation inline. Don't require `cl'.
25755
12544bbe
GM
257562011-04-08 Glenn Morris <rgm@gnu.org>
25757
a1de6c6a
GM
25758 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25759
3c4671f4
GM
25760 * net/browse-url.el (browse-url-firefox):
25761 Test system-type, not system-configuration.
25762
b605679c
GM
25763 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25764 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25765 Use log-edit-empty-buffer-p. (Bug#7598)
25766
56442f0c
GM
25767 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25768 (rlogin-mode-map): Initialize in the defvar.
25769 (rlogin): Use ignore-errors.
25770
12544bbe
GM
25771 * replace.el (occur-mode-map): Some fixes for menu items.
25772
eb237b0f
AH
257732011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25774
25775 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25776
7d668f2c
CY
257772011-04-06 Chong Yidong <cyd@stupidchicken.com>
25778
e67a13ab
CY
25779 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25780 issuing unused warnings.
25781
25782 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25783 macro directly.
25784
7d668f2c
CY
25785 * simple.el: Lisp reimplement of list-processes. Based on an
25786 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25787 (process-menu-mode): New major mode.
25788 (list-processes--refresh, list-processes):
25789 (process-menu-visit-buffer): New functions.
25790
25791 * files.el (save-buffers-kill-emacs): Don't assume any return
25792 value of list-processes, which is undocumented anyway.
25793
a83ec3c9
CY
257942011-04-06 Chong Yidong <cyd@stupidchicken.com>
25795
25796 * emacs-lisp/tabulated-list.el: New file.
25797
e91a96fe
CY
25798 * emacs-lisp/package.el: Use Tabulated List mode.
25799 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25800 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25801 table format using Tabulated List mode variables.
25802 (package--push): New macro, replacing package-list-maybe-add.
25803 (package-menu--generate): Use package--push. Renamed from
25804 package--generate-package-list.
25805 (package-menu-refresh, list-packages): Use it.
daca8ba5 25806 (package-menu--print-info): Rename from package-print-package.
e91a96fe 25807 Return insertion data instead of inserting it directly.
099c39a4
JB
25808 (package-menu-describe-package, package-menu-execute):
25809 Use tabulated-list-get-id.
e91a96fe
CY
25810 (package-menu-mark-delete, package-menu-mark-install)
25811 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
25812 (package-menu-mark-obsolete-for-deletion):
25813 Use tabulated-list-put-tag.
e91a96fe
CY
25814 (package--list-packages, package-menu-revert)
25815 (package-menu-get-package, package-menu-get-version)
25816 (package-menu-sort-by-column): Functions deleted.
25817 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25818 (package-menu--status-predicate, package-menu--version-predicate)
25819 (package-menu--name-predicate)
25820 (package-menu--description-predicate): Handle arguments in the
25821 Tabulated List format.
25822 (package-list-packages-no-fetch): Call list-packages.
25823
3e214b50
JB
258242011-04-06 Juanma Barranquero <lekktu@gmail.com>
25825
25826 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 25827 (after-find-file): Don't bind it.
3e214b50
JB
25828 (revert-buffer-in-progress-p): New variable.
25829 (revert-buffer): Bind it.
25830 Pass nil for `after-find-file-from-revert-buffer'.
25831
25832 * saveplace.el (save-place-find-file-hook): Use new variable
25833 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25834
3f0f1700
GM
258352011-04-06 Glenn Morris <rgm@gnu.org>
25836
c0274801
GM
25837 * Makefile.in (AUTOGEN_VCS): New variable.
25838 (autoloads): Use $AUTOGEN_VCS.
25839
3f0f1700
GM
25840 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25841 * calendar/calendar.el (calendar-mode-map):
25842 Check for toolkit scroll bars. (Bug#8305)
25843
41ea9e48
CY
258442011-04-05 Chong Yidong <cyd@stupidchicken.com>
25845
25846 * minibuffer.el (completion-in-region--postch)
25847 (completion-in-region-mode): Remove unnecessary messages.
25848
6194c800
JB
258492011-04-05 Juanma Barranquero <lekktu@gmail.com>
25850
33256f14
JB
25851 * font-lock.el (font-lock-refresh-defaults):
25852 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25853 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25854
6194c800
JB
25855 * info.el (Info-directory-list, Info-read-node-name-2)
25856 (Info-split-parameter-string): Doc fixes.
25857 (Info-virtual-nodes): Reflow docstring.
25858 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25859 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25860 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25861 Fix typos in docstrings.
25862 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25863 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25864 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25865 (Info-restore-desktop-buffer): Mark unused parameters.
25866 (Info-directory-find-file, Info-directory-find-node)
25867 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25868 (Info-virtual-index-find-node, Info-apropos-find-file)
25869 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 25870 Mark unused parameters; fix typos in docstrings.
6194c800
JB
25871 (Info-virtual-index): Remove unused local variable `nodename'.
25872
b87a8200 258732011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 25874
b87a8200
DD
25875 * net/rcirc.el: Update my e-mail address.
25876 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 25877
3b2ff876
CY
258782011-04-05 Chong Yidong <cyd@stupidchicken.com>
25879
25880 * startup.el (command-line): Save the cursor's theme-face
25881 directly, instead of using face-override-spec.
25882
25883 * custom.el (load-theme): Minor optimization in assigning faces.
25884
8d17e7ca
JB
258852011-04-04 Juanma Barranquero <lekktu@gmail.com>
25886
25887 * help-fns.el (describe-variable): Complete all variables having
25888 documentation, including keywords.
25889 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25890
2fbc1934
JB
258912011-04-04 Juanma Barranquero <lekktu@gmail.com>
25892
25893 Convert to lexical-binding.
25894
25895 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25896 (bs--get-marked-string, bs--get-modified-string)
25897 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25898 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25899 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25900
25901 * ehelp.el (electric-help-execute-extended)
25902 (electric-help-ctrl-x-prefix):
25903 * hexl.el (hexl-revert-buffer-function):
25904 * linum.el (linum-after-change, linum-after-scroll):
25905 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25906
25907 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25908
74f50695
DU
259092011-04-04 Daiki Ueno <ueno@unixuser.org>
25910
25911 * epa-dired.el:
25912 * epa-mail.el:
25913 * epa-hook.el:
25914 * epa-file.el:
25915 * epa.el:
25916 * epg.el: Use lexical binding.
25917
c11325f7
CY
259182011-04-03 Chong Yidong <cyd@stupidchicken.com>
25919
0d9e9a12
CY
25920 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25921
c11325f7 25922 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
25923 dictionary case for flyspell-mark-duplications-exceptions.
25924 Use regexp matching for languages.
c11325f7
CY
25925 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25926 default dictionary (Bug#7926).
25927
da91b5f2
CY
259282011-04-02 Chong Yidong <cyd@stupidchicken.com>
25929
099c39a4
JB
25930 * emacs-lisp/package.el (package--with-work-buffer):
25931 Recognize https URLs.
da91b5f2 25932
099c39a4
JB
25933 * net/network-stream.el: Move from gnus/proto-stream.el.
25934 Change prefix to network-stream throughout.
da91b5f2
CY
25935 (open-protocol-stream): Merge into open-network-stream, leaving
25936 open-protocol-stream as an alias. Handle nil BUFFER args.
25937
25938 * subr.el (open-network-stream): Move to net/network-stream.el.
25939
afa8e9f6
GM
259402011-04-02 Glenn Morris <rgm@gnu.org>
25941
1d2e369d
GM
25942 * find-dired.el (find-exec-terminator): New option.
25943 (find-ls-option): Test for -ls support.
25944 (find-ls-subdir-switches): Test for -b in find-ls-option.
25945 (find-dired, find-grep-dired): Doc fixes.
25946 (find-dired): Use find-exec-terminator.
25947
8abb7da8 25948 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
25949 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25950 (find-name-arg): Remove purecopy.
8abb7da8 25951
f3ca7378
GM
25952 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25953 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25954 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25955 accordingly. Don't add the null-device if not needed.
25956
afa8e9f6
GM
25957 * files.el (save-some-buffers): Doc fix.
25958
35eae264
EZ
259592011-04-02 Eli Zaretskii <eliz@gnu.org>
25960
25961 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25962
26b51db5
JB
259632011-04-01 Juanma Barranquero <lekktu@gmail.com>
25964
25965 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25966 Use `dolist' rather than `mapcar'.
25967
7200d79c
SM
259682011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25969
03408648 25970 Add lexical binding.
7200d79c 25971
03408648
SM
25972 * subr.el (apply-partially): Use new closures rather than CL.
25973 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25974 (dolist, dotimes): Use slightly different expansion for lexical code.
25975 (functionp): Move to C.
25976 (letrec): New macro.
25977 (with-wrapper-hook): Use it and apply-partially instead of CL.
25978 (eval-after-load): Preserve lexical-binding.
25979 (save-window-excursion, with-output-to-temp-buffer): Turn them
25980 into macros.
7200d79c 25981
03408648
SM
25982 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25983
25984 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25985 than the arglist.
25986 (help-add-fundoc-usage): Don't add `Not documented'.
25987 (help-function-arglist): Handle closures, subroutines, and new
25988 byte-code-functions.
25989 (help-make-usage): Remove leading underscores.
25990 (describe-function-1): Handle closures.
25991 (describe-variable): Use special-variable-p for completion.
25992
25993 * files.el (lexical-binding): Declare safe.
f488fb65 25994
03408648
SM
25995 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25996 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25997 (pcase): Add `let' pattern.
25998 Change memoization so it actually works.
25999 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26000 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26001 <let>: New case.
f488fb65 26002
03408648
SM
26003 * emacs-lisp/macroexp.el: Use lexical binding.
26004 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26005 Don't convert ' to #' without checking that it's indeed quoting
26006 a lambda.
26007
26008 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 26009 Use eval-sexp-add-defvars.
03408648
SM
26010 (eval-sexp-add-defvars): New fun.
26011
26012 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26013
26014 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26015 Don't autoload.
26016 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26017 than the internal `byte-compile-lambda'.
26018 (defmethod): Don't hide code under quotes.
26019 (eieio-defmethod): New `code' argument.
26020
26021 * emacs-lisp/eieio-comp.el: Remove.
26022
26023 * emacs-lisp/edebug.el (edebug-eval-defun)
26024 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26025 (edebug-toggle): Avoid `eval'.
26026
26027 * emacs-lisp/disass.el (disassemble-internal): Handle new
26028 `closure' objects.
26029 (disassemble-1): Handle new byte codes.
26030
26031 * emacs-lisp/cl.el (pushnew): Silence warning.
26032
26033 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26034 (cl-byte-compile-throw): Remove.
26035 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26036
26037 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26038 closures.
26039
26040 * emacs-lisp/cconv.el: New file.
26041
26042 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26043 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26044 (byte-compile-initial-macro-environment):
26045 Handle declare-function here.
26046 (byte-compile--lexical-environment): New var.
26047 (byte-stack-ref, byte-stack-set, byte-discardN)
26048 (byte-discardN-preserve-tos): New lap codes.
26049 (byte-interactive-p): Don't use any more.
26050 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26051 New macros.
26052 (byte-compile-lapcode): Use them and handle new lap codes.
26053 (byte-compile-obsolete): Remove.
26054 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26055 (byte-compile-arglist-warn): Check late def of inlinable funs.
26056 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26057 since they should have been expanded by now.
26058 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26059 (byte-compile-from-buffer): Remove unused second arg.
26060 (byte-compile-preprocess): New function.
26061 (byte-compile-toplevel-file-form): New function to distinguish
26062 file-form calls from outside from file-form calls from hunk-handlers.
26063 (byte-compile-file-form): Simplify.
26064 (byte-compile-file-form-defsubst): Remove.
26065 (byte-compile-file-form-defmumble): Simplify now that
26066 byte-compile-lambda always returns a byte-code-function.
26067 (byte-compile): Preprocess.
26068 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26069 Remove, not used any more.
26070 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26071 (byte-compile-make-args-desc): New funs.
26072 (byte-compile-lambda): Handle lexical functions. Always return
26073 a byte-code-function.
26074 (byte-compile-reserved-constants): New var, to make up room for
26075 closed-over variables.
26076 (byte-compile-constants-vector): Obey it.
26077 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26078 (byte-compile-macroexpand-declare-function): New function.
26079 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26080 byte-code-functions.
26081 (byte-compile-form): Check obsolescence here.
26082 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26083 (byte-compile-variable-ref): Remove.
26084 (byte-compile-dynamic-variable-op): New fun.
26085 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26086 (byte-compile-variable-set): New funs.
26087 (byte-compile-discard): Add 2 args.
26088 (byte-compile-stack-ref, byte-compile-stack-set)
26089 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26090 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26091 macroexpand-all instead.
26092 (byte-compile-quote-form): Remove.
26093 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26094 (byte-compile-bind, byte-compile-unbind): New funs.
26095 (byte-compile-let): Handle let* and lexical binding.
26096 (byte-compile-let*): Remove.
26097 (byte-compile-catch, byte-compile-unwind-protect)
26098 (byte-compile-track-mouse, byte-compile-condition-case):
26099 Handle a new :fun-body form, used for lexical scoping.
26100 (byte-compile-save-window-excursion)
26101 (byte-compile-with-output-to-temp-buffer): Remove.
26102 (byte-compile-defun): Simplify.
26103 (byte-compile-stack-adjustment): New fun.
26104 (byte-compile-out): Use it.
26105 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26106
26107 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26108 handler any more.
26109
26110 * emacs-lisp/byte-opt.el: Use lexical binding.
26111 (byte-inline-lapcode): Remove (to bytecomp).
26112 (byte-compile-inline-expand): Pay attention to inlining to/from
26113 lexically bound code.
26114 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26115 any more.
26116 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26117 any more and don't call compiler-macros.
26118 (byte-compile-splice-in-already-compiled-code): Remove.
26119 (byte-code): Don't inline any more.
26120 (disassemble-offset): Receive `bytes' as argument rather than via
26121 dynamic scoping.
26122 (byte-compile-tag-number): Declare before first use.
26123 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26124 `return' even if make-spliceable.
26125 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26126 obsolete interactive-p.
26127 (byte-optimize-lapcode): Optimize new lap-codes.
26128 Don't trip up on new form of `byte-constant' lap code.
26129
26130 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26131
26132 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26133
26134 * custom.el (custom-initialize-default, custom-declare-variable):
26135 Use `defvar'.
26136
26137 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26138 New variables.
26139 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26140 (COMPILE_FIRST): Add macroexp and cconv.
26141 * makefile.w32-in: Mirror changes in Makefile.in.
26142
26143 * vc/cvs-status.el:
26144 * vc/diff-mode.el:
26145 * vc/log-edit.el:
26146 * vc/log-view.el:
26147 * vc/smerge-mode.el:
26148 * textmodes/bibtex-style.el:
090bd7cb 26149 * textmodes/css-mode.el:
03408648
SM
26150 * startup.el:
26151 * uniquify.el:
da91b5f2
CY
26152 * minibuffer.el:
26153 * newcomment.el:
26154 * reveal.el:
26155 * server.el:
26156 * mpc.el:
26157 * emacs-lisp/smie.el:
26158 * doc-view.el:
26159 * dired.el:
03408648
SM
26160 * abbrev.el: Use lexical binding.
26161
0f0c1f27
EZ
261622011-04-01 Eli Zaretskii <eliz@gnu.org>
26163
26164 * info.el (info-display-manual): New function.
26165
c82b2579
SM
261662011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26167
26168 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26169
221ddf68
TH
261702011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26171
26172 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 26173 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 26174
cba6e77e
GM
261752011-03-31 Glenn Morris <rgm@gnu.org>
26176
e040639f
GM
26177 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26178
cba6e77e
GM
26179 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26180
6d0f1c9e
CS
261812011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26182
26183 * progmodes/python.el (python-default-interpreter)
26184 (python-python-command-args, python-jython-command-args)
26185 (python-which-shell, python-which-args, python-which-bufname)
26186 (python-file-queue, python-comint-output-filter-function)
26187 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
26188 variables and functions.
26189
3e2d70fd
SM
261902011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
26191
26192 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
26193 (completion-in-region-mode): New minor mode.
26194 (completion-in-region): Use it.
26195 (completion-in-region--data, completion-in-region-mode-map): New vars.
26196 (completion-in-region--postch): New function.
26197 (completion--capf-misbehave-funs, completion--capf-safe-funs):
26198 New vars.
26199 (completion--capf-wrapper): New function.
26200 (completion-at-point): Use it to track well-behavedness of
26201 hook functions.
26202 (completion-help-at-point): New command.
26203
f3e4086c
JM
262042011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
26205
26206 * vc/add-log.el (add-change-log-entry): Don't use whitespace
26207 syntax class to search for whitespace on a single line
26208 (Message-ID: <4D938140.4030905@redhat.com>).
26209
eb7ffc14
LL
262102011-03-30 Leo Liu <sdl.web@gmail.com>
26211
26212 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
26213 New commands.
26214 (edit-abbrevs-map): Bind them here.
26215 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
26216
d806ab68
KM
262172011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
26218
26219 * allout.el (allout-hide-by-annotation, allout-flag-region):
26220 Reduce possibility of overlay leakage by making them volatile.
26221
26222 * allout-widgets.el (allout-widgets-tally): Define as nil so the
26223 hash is not shared between buffers. Mode initialization is
26224 responsible for giving it a useful starting value.
26225 (allout-item-span): Reduce possibility of overlay leakage by
26226 making them volatile.
26227 (allout-widgets-count-buttons-in-region): Add diagnostic function
26228 for tracking down button overlay leaks.
26229
ea622834
LL
262302011-03-29 Leo Liu <sdl.web@gmail.com>
26231
26232 * ido.el (ido-read-internal): Use the default history var
26233 minibuffer-history if no HISTORY is specified.
26234
b62f8267
G
262352011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
26236
03408648
SM
26237 * net/imap.el (imap-shell-open, imap-process-connection-type):
26238 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
26239 Kerberos, SSL, other subprocesses.
26240
947b6566
LL
262412011-03-28 Leo Liu <sdl.web@gmail.com>
26242
26243 * abbrev.el (abbrev-table-empty-p): New function.
26244 (prepare-abbrev-list-buffer): Place empty abbrev tables after
26245 nonempty ones. (Bug#5937)
26246
5ffb62aa
JD
262472011-03-27 Jan Djärv <jan.h.d@swipnet.se>
26248
26249 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
26250
7a097943
LL
262512011-03-27 Leo Liu <sdl.web@gmail.com>
26252
26253 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
26254 for foreground and background colors.
26255 (ansi-color-make-color-map): Adapt.
26256
c5b40130
LL
262572011-03-25 Leo Liu <sdl.web@gmail.com>
26258
1f48f7d2
LL
26259 * midnight.el (midnight-time-float): Remove. Note it calculates
26260 the microsecond component incorrectly and seconds-to-time does the
26261 same job.
625897ec 26262 Remove redundant (require 'timer).
1f48f7d2 26263
c5b40130
LL
26264 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
26265 (ido-completions): Remove unused arguments. (Bug#8329)
26266
d86d2721
SM
262672011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
26268
26269 * minibuffer.el (completion--flush-all-sorted-completions):
26270 Remove itself from hook.
26271 (completion-at-point): Let the functions perform the completion
26272 immediately and return nil or t.
26273 * comint.el (comint-dynamic-complete-functions): Now identical to
26274 completion-at-point-functions.
26275 (comint-dynamic-list-input-ring): Remove unused var `index'.
26276 (comint--match-partial-filename, comint--unquote&expand-filename):
26277 New funs, split from comint-match-partial-filename.
26278 (comint-dynamic-complete): Use completion-at-point.
26279 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
26280
e8974c48
DA
262812011-03-24 Drew Adams <drew.adams@oracle.com>
26282
26283 * thingatpt.el: Support `defun'.
26284
def71b5e
LL
262852011-03-23 Leo Liu <sdl.web@gmail.com>
26286
cb5af48e
LL
26287 * abbrevlist.el: Move to obsolete/abbrevlist.el.
26288
def71b5e
LL
26289 * help-mode.el (help-mode-finish): Tweak regexp.
26290
927c53e7
GM
262912011-03-23 Glenn Morris <rgm@gnu.org>
26292
18d05bed
GM
26293 * eshell/esh-opt.el (eshell-eval-using-options):
26294 Do not bind unused local variable `eshell-option-stub'.
26295
927c53e7
GM
26296 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
26297
9d0da923
JB
262982011-03-22 Juanma Barranquero <lekktu@gmail.com>
26299
26300 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
26301 keymap variable in `with-no-warnings' to avoid a warning when the
26302 keymap has been already `defconst'ed.
26303
4b978a67
LL
263042011-03-22 Leo Liu <sdl.web@gmail.com>
26305
26306 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
26307 encode all chars in abbrevs; otherwise use emacs-mule or
26308 utf-8-emacs. (Bug#8308)
26309
5fd62452
JB
263102011-03-22 Juanma Barranquero <lekktu@gmail.com>
26311
0b1596c6
JB
26312 * simple.el (backward-delete-char-untabify):
26313 Avoid warning about using `delete-backward-char'.
26314
5fd62452
JB
26315 * image.el (image-type-file-name-regexps): Make it variable.
26316 `imagemagick-register-types' modifies it, and the user may want
26317 to add new extensions for known image types.
26318 (imagemagick-register-types): Throw error if not using ImageMagick.
26319
0b4e93f1
LL
263202011-03-22 Leo Liu <sdl.web@gmail.com>
26321
26322 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
26323 located before rcirc-prompt-end-marker.
26324 (rcirc-complete): Error if point is not after rcirc prompt.
26325 Handle the case when table is nil.
9882e214 26326 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 26327
fccee4ab
CY
263282011-03-22 Chong Yidong <cyd@stupidchicken.com>
26329
26330 * custom.el (custom--inhibit-theme-enable): Make it affect only
26331 custom-theme-set-variables and custom-theme-set-faces.
26332 (provide-theme): Ignore custom--inhibit-theme-enable.
26333 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
26334 (custom-enabling-themes): Delete variable.
d86d2721
SM
26335 (enable-theme): Accept only loaded themes as arguments.
26336 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
26337 (custom-enabled-themes): Forbid themes from setting this.
26338 Eliminate use of custom-enabling-themes.
26339 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 26340
af896da6
LL
263412011-03-21 Leo Liu <sdl.web@gmail.com>
26342
26343 * ido.el (ido-read-internal): Add ido-selected to history instead
26344 of user input.
26345
78f64af0
SM
263462011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
26347
26348 * subr.el (deferred-action-list, deferred-action-function):
26349 Mark obsolete.
26350
b16ac1ec
LL
263512011-03-21 Leo Liu <sdl.web@gmail.com>
26352
810f7698
LL
26353 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
26354 change on 2011-02-13 (bug#8309).
26355
b16ac1ec
LL
26356 * minibuffer.el (read-file-name-function): Change default value.
26357 (read-file-name--defaults): Rename from read-file-name-defaults.
26358 (read-file-name-default): Rename from read-file-name.
26359 (read-file-name): Call read-file-name-function.
26360
4e05e67e
GM
263612011-03-21 Glenn Morris <rgm@gnu.org>
26362
26363 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
26364 Doc fixes.
26365
4359915b
CY
263662011-03-21 Chong Yidong <cyd@stupidchicken.com>
26367
26368 * cus-theme.el: Add missing provide statement.
26369 (customize-create-theme): Extract theme value correctly.
26370 (custom-theme-visit-theme): Autoload.
26371 (customize-create-theme): Prompt before inserting default faces.
26372
1fe275ee
JB
263732011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
26374
26375 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
26376 units and musical notes.
26377
cd394be1 263782011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
26379
26380 * ido.el (ido-read-internal): Use completing-read-default.
26381 (ido-completing-read): Fix compatibility with completing-read.
26382
7d476bde
CO
263832011-03-20 Christian Ohler <ohler@gnu.org>
26384
26385 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
26386 (ert-delete-all-tests): Use `called-interactively-p' rather than
26387 `interactive-p'.
26388 (ert--make-xrefs-region): Respect END.
26389
fe0fb33e
CY
263902011-03-19 Chong Yidong <cyd@stupidchicken.com>
26391
ff854b0b
CY
26392 * dired-aux.el (dired-create-directory): Signal an error if the
26393 directory already exists (Bug#8246).
26394
fe0fb33e
CY
26395 * facemenu.el (list-colors-display): Call list-faces-display
26396 inside with-help-window.
26397 (list-colors-print): Use display property to align the final
26398 column, instead of checking window-width.
26399
576bce32
EZ
264002011-03-19 Eli Zaretskii <eliz@gnu.org>
26401
4d61f28d 26402 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
26403 windows-nt systems.
26404 (emerge-protect-metachars): Quote correctly for ms-dos and
26405 windows-nt systems.
26406
89c41d68 264072011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
26408
26409 * info.el (info-initialize): Replace all uses of `:' with
26410 path-separator for compatibility with non-Unix systems.
26411 Cache quoting of path-separator. (Bug#8258)
26412
b14e3e21 264132011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
26414
26415 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
26416 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
26417 (mouse-avoidance-mode): Fix typos in docstrings.
26418
4525ce3e
CY
264192011-03-19 Chong Yidong <cyd@stupidchicken.com>
26420
26421 * startup.el (package-subdirectory-regexp): Move from package.el.
26422 Omit \\` and \\', and let callers add them.
26423
26424 * emacs-lisp/package.el (package-strip-version)
26425 (package-load-all-descriptors): Add \\` and \\' to
26426 package-subdirectory-regexp before using it.
26427 (package-untar-buffer): New arg DIR; ensure that file untars only
26428 into this expected directory. Remove superfluous delete-region.
26429 (package-unpack): Caller changed.
26430 (package-tar-file-info): Use package-subdirectory-regexp.
26431
a904a09a 264322011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 26433
a904a09a
SM
26434 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26435 diff-mode-shared-map (bug#8284).
26436 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
26437
264382011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
26439
26440 * calendar/time-date.el (format-seconds): Use assoc instead of
26441 assoc-string, since assoc-string doesn't exist in XEmacs.
26442
171fc304
JB
264432011-03-17 Juanma Barranquero <lekktu@gmail.com>
26444
26445 * custom.el (custom-known-themes): Reflow docstring.
26446 (custom-theme-load-path): Fix typo in docstring.
26447 (load-theme): Fix typo in error message.
26448 (custom-available-themes, custom-variable-theme-value):
26449 Use `let', not `let*'.
26450
d71990a1
JB
264512011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26452
26453 * calc/README: Mention inclusion of musical notes.
26454
26455 * calc/calc-units.el (calc-lu-quant): Rename from
26456 `calc-logunits-quantity'.
26457 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26458 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26459 (calc-db): Rename from `calc-dblevel'.
26460 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26461 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26462 (calc-np): Rename from `calc-nplevel'.
26463 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26464 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26465 (calc-lu-plus): Rename from `calc-logunits-add'.
26466 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26467 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26468 (calc-lu-minus): Rename from `calc-logunits-sub'.
26469 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26470 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26471 (calc-lu-times): Rename from `calc-logunits-mul'.
26472 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26473 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26474 (calc-lu-divide): Rename from `calc-logunits-div'.
26475 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26476 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26477
26478 * calc/calc-ext.el (calc-init-extensions): Update the names of the
26479 functions being autoloaded.
26480
26481 * calc/calc.el (calc-lu-power-reference): Rename from
26482 `calc-logunits-power-reference'.
26483 (calc-lu-field-reference): Rename from
26484 `calc-logunits-field-reference'.
26485
7a71b18d
GM
26486 * calc/calc-help.el (calc-l-prefix-help):
26487 Mention musical note functions.
d71990a1 26488
40c2934b
SM
264892011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26490
26491 * minibuffer.el (completion-all-sorted-completions):
26492 Use :completion-cycle-penalty text property if present.
26493
b0911414
KM
264942011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26495
26496 * allout.el (allout-yank-processing): Adjust for new rebulleting
26497 regime so bullet being yanked is used without prompting the user
26498 for a choice.
26499
8a05b668
JB
265002011-03-16 Juanma Barranquero <lekktu@gmail.com>
26501
26502 * startup.el (command-line): Warn the user that _emacs is deprecated.
26503
5ba5fb81
JB
265042011-03-16 Juanma Barranquero <lekktu@gmail.com>
26505
26506 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26507 (delphi-verbose, delphi-comment-face, delphi-string-face)
26508 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26509 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26510 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26511 (delphi-new-comment-line, delphi-font-lock-defaults)
26512 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26513 Fix typos in docstrings.
26514
2dab465b
KM
265152011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26516
5ba5fb81 26517 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
26518 Invert the roles of character and string values for INSTEAD, so a
26519 string is used for the more common case of a defaulting prompt.
26520
0adf5618
SM
265212011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26522
26523 * progmodes/ruby-mode.el (ruby-backward-sexp):
26524 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26525 * play/gamegrid.el (gamegrid-make-face):
26526 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26527 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26528 * notifications.el (notifications-notify):
26529 * net/xesam.el (xesam-search-engines):
26530 * net/quickurl.el (quickurl-list-insert):
26531 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26532
d72700e5
CY
265332011-03-15 Chong Yidong <cyd@stupidchicken.com>
26534
26535 * startup.el (command-line): Update package subdirectory regexp.
26536
49c5410a
SM
265372011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26538
c6eee9aa
SM
26539 * allout.el (allout-abbreviate-flattened-numbering)
26540 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26541
49c5410a
SM
26542 * subr.el (read-char-choice): Only show the cursor after the prompt,
26543 not after the answer.
26544
047b2bb9
KR
265452011-03-15 Kevin Ryde <user42@zip.com.au>
26546
26547 * help-fns.el (variable-at-point): Skip leading quotes, if any
26548 (bug#8253).
26549
0a57d256
SM
265502011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26551
26552 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26553 warning message.
26554
77c992bc
MA
265552011-03-14 Michael Albinus <michael.albinus@gmx.de>
26556
26557 * shell.el (shell): When called interactively, offer to change the
26558 shell file name on remote hosts.
26559
eebc475d
TZ
265602011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26561
26562 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26563 integration for LDAP parameters. The host, base, user or binddn,
26564 and secret tokens can be specified in a netrc file, for instance.
26565 This is optional because an `auth-source' parameter must be
26566 specified in the search attributes.
26567
9d05d1ba
JB
265682011-03-13 Juanma Barranquero <lekktu@gmail.com>
26569
26570 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26571
09d9db2c
GM
265722011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26573
26574 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26575 into declaration. Remove redundant and harmful binding.
26576
265772011-03-12 Eli Zaretskii <eliz@gnu.org>
26578
26579 * files.el (file-ownership-preserved-p): Pass `integer' as an
26580 explicit 2nd argument to `file-attributes'. If the file's owner
26581 is the Administrators group on Windows, and the current user is
26582 Administrator, consider that a match.
26583
26584 * server.el (server-ensure-safe-dir): Consider server directory
26585 safe on MS-Windows if its owner is the Administrators group while
26586 the current Emacs user is Administrator. Use `=' to compare
26587 numerical UIDs, since they could be integers or floats.
26588
219bd536
JB
265892011-03-12 Juanma Barranquero <lekktu@gmail.com>
26590
26591 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26592
f3afd36b
MA
265932011-03-12 Michael Albinus <michael.albinus@gmx.de>
26594
26595 Sync with Tramp 2.2.1.
26596
26597 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26598
26599 * net/trampver.el: Update release number.
26600
3aaaa6f1
SM
266012011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26602
94642599
SM
26603 * progmodes/compile.el (compilation--previous-directory): Fix up
26604 various nil/dead-marker mismatches (bug#8014).
26605 (compilation-directory-properties, compilation-error-properties):
26606 Don't call it at a position past the one we're about to change.
26607
3aaaa6f1
SM
26608 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26609 Disable obsolescence warnings in the file that declares it.
26610
14239447
KM
266112011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26612
099c39a4
JB
26613 * allout-widgets.el (allout-widgets-tally):
26614 Initialize allout-widgets-tally as a hash table rather than nil to
26615 prevent mode-line redisplay warnings. Also, clarify the module
26616 description and fix a comment typo.
14239447 26617
135e287c
JB
266182011-03-11 Juanma Barranquero <lekktu@gmail.com>
26619
26620 * help-fns.el (describe-variable): Don't complete keywords.
26621 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26622
ffbf300e
CY
266232011-03-10 Chong Yidong <cyd@stupidchicken.com>
26624
ba08b241
CY
26625 * emacs-lisp/package.el (package-version-join): Impose a standard
26626 string representation for pre/alpha/beta version lists.
26627 (package-unpack-single): Standardize the directory name by passing
26628 it through package-version-join.
26629 (package-strip-rcs-id): Accept any version string that does not
26630 signal an error in version-to-list.
ffbf300e 26631
f346fd6b
MA
266322011-03-10 Michael Albinus <michael.albinus@gmx.de>
26633
26634 * simple.el (delete-trailing-whitespace): Return nil for the
26635 benefit of `write-file-functions'.
26636
ccb55d27
GM
266372011-03-10 Glenn Morris <rgm@gnu.org>
26638
5ceaac0c
GM
26639 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26640
02da65ff
GM
26641 * vc/vc-git.el (vc-git-program): New option.
26642 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26643 (vc-git--call): Use it.
26644
b2f603cc
GM
26645 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26646
5772caab
GM
26647 * cus-edit.el (Custom-newline): If no button at point, look
26648 for a subgroup button at start-of-line. (Bug#2298)
26649
ccb55d27
GM
26650 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26651
ec6ecaed
JD
266522011-03-10 Julien Danjou <julien@danjou.info>
26653
26654 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26655 `cursor-type' is nil.
26656
9d5aa01d
JB
266572011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26658
26659 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26660
b6a5875b
KM
266612011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26662
7a71b18d 26663 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
26664 preserves the existing header prefix, rebulleting it if necessary,
26665 rather than replacing it. This is necessary for proper operation
26666 of cooperative addons like allout-widgets.
1154d12e
JB
26667 (allout-make-topic-prefix, allout-rebullet-heading):
26668 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26669 value as alternate bullet to be used, instead of prompting the user
26670 for a bullet character.
b6a5875b 26671
ee545c35
MA
266722011-03-09 Michael Albinus <michael.albinus@gmx.de>
26673
d86d2721
SM
26674 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26675 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
26676 `tramp-default-port'.
26677
c47971d7
DD
266782011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26679
26680 * net/rcirc.el (rcirc-handler-001): Remove useless
26681 with-rcirc-process-buffer.
26682 (rcirc-check-auth-status): Swap arguments to string-match.
26683
13522cb4
GM
266842011-03-09 Glenn Morris <rgm@gnu.org>
26685
0be6f4f1
GM
26686 * shell.el (shell-mode):
26687 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26688
13522cb4
GM
26689 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26690 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26691
515de2e3
CY
266922011-03-08 Chong Yidong <cyd@stupidchicken.com>
26693
26694 * emacs-lisp/package.el (package-refresh-contents)
26695 (package-menu-execute): Use condition-case-no-debug.
26696
b511b994
MA
266972011-03-08 Michael Albinus <michael.albinus@gmx.de>
26698
26699 * simple.el (shell-command-to-string): Use `process-file'.
26700
26701 * emacs-lisp/package.el (package-tar-file-info): Handle also
26702 remote files.
26703
d86d2721
SM
26704 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26705 Use `equal' for upload base check.
b511b994 26706
25bbfb31
AM
267072011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26708
26709 * textmodes/texinfo.el (texinfo-environments):
26710 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26711
be996521
GM
267122011-03-08 Glenn Morris <rgm@gnu.org>
26713
e9c8529f
GM
26714 * cus-start.el (cursor-in-non-selected-windows):
26715 Fix :set quoting oddness. (Bug#8192)
26716
be996521
GM
26717 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26718 in some setf expressions. (Bug#2159)
26719
2bb5649e
CY
267202011-03-08 Chong Yidong <cyd@stupidchicken.com>
26721
26722 * custom.el (custom-available-themes): Return themes in
26723 alphabetical order.
26724
33383987 26725See ChangeLog.15 for earlier changes.
e3d51b27
MR
26726
26727;; Local Variables:
26728;; coding: utf-8
e3d51b27
MR
26729;; End:
26730
ab422c4d 26731 Copyright (C) 2011-2013 Free Software Foundation, Inc.
e3d51b27
MR
26732
26733 This file is part of GNU Emacs.
26734
26735 GNU Emacs is free software: you can redistribute it and/or modify
26736 it under the terms of the GNU General Public License as published by
26737 the Free Software Foundation, either version 3 of the License, or
26738 (at your option) any later version.
26739
26740 GNU Emacs is distributed in the hope that it will be useful,
26741 but WITHOUT ANY WARRANTY; without even the implied warranty of
26742 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26743 GNU General Public License for more details.
26744
26745 You should have received a copy of the GNU General Public License
26746 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.