m4-mode misc small cleanup
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-08 Glenn Morris <rgm@gnu.org>
2
3 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
4 (m4-mode-syntax-table): Init in the defvar.
5 (m4-mode-abbrev-table): Let define-derived-mode define it.
6
7 2013-05-08 Tom Tromey <tromey@redhat.com>
8
9 * progmodes/m4-mode.el (m4-mode-syntax-table):
10 Do not treat "_" as word constituent. (Bug#14167)
11
12 2013-05-07 Glenn Morris <rgm@gnu.org>
13
14 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15 Remove explicit eshell-isearch-cancel-map.
16
17 * progmodes/f90.el (f90-smart-end-names): New option.
18 (f90-smart-end): Doc fix.
19 (f90-end-block-optional-name): New constant.
20 (f90-block-match): Respect f90-smart-end-names.
21
22 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * progmodes/octave.el (octave-smie-forward-token): Be more careful
25 about implicit semi-colons (bug#14218).
26
27 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
28
29 * frame.el (display-monitor-attributes-list)
30 (frame-monitor-attributes): New functions.
31
32 2013-05-06 Leo Liu <sdl.web@gmail.com>
33
34 * progmodes/octave.el (octave-syntax-propertize-function): Change
35 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
36 (octave-font-lock-keywords): Use octave-operator-regexp.
37 (octave-completion-at-point): Renamed from
38 octave-completion-at-point-function.
39 (inferior-octave-directory-tracker): Robustify.
40 (octave-text-functions): Remove and fix its uses. No such things
41 any more.
42
43 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
44
45 * emacs-lisp/trace.el (trace--display-buffer): New function.
46 (trace-make-advice): Use it.
47
48 2013-05-06 Juri Linkov <juri@jurta.org>
49
50 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
51 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
52 Doc fix.
53 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
54 in the help string. (Bug#12985)
55
56 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
57
58 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
59
60 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
61
62 * progmodes/perl-mode.el: Add support for here documents.
63 (perl-syntax-propertize-function): Match here-doc markers.
64 (perl-syntax-propertize-special-constructs): Find their end.
65 (perl-imenu-generic-expression): Use [:alnum:].
66
67 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
68 (advice--add-function): Refresh the advice if already present
69 (bug#14317).
70
71 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
72
73 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
74
75 2013-05-06 Glenn Morris <rgm@gnu.org>
76
77 * w32-fns.el (w32-charset-info-alist): Declare.
78
79 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
80 of its defcustom properties.
81 (eshell-cmpl-initialize): No need to load pcomplete.
82
83 * generic-x.el: No need to require comint when compiling.
84
85 * net/eudc-export.el: Make it loadable without bbdb.
86 (top-level): Use require rather than load-library.
87 (eudc-create-bbdb-record, eudc-bbdbify-phone)
88 (eudc-batch-export-records-to-bbdb)
89 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
90 Require bbdb.
91
92 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
93
94 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
95 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
96 some tweaks, instead.
97
98 2013-05-05 Leo Liu <sdl.web@gmail.com>
99
100 * progmodes/octave.el (octave-font-lock-keywords)
101 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
102 (inferior-octave-send-list-and-digest): Improve error message.
103 (octave-mode, inferior-octave-mode): Use setq-local.
104 (octave-help): Set info-lookup-mode.
105
106 2013-05-05 Richard Stallman <rms@gnu.org>
107
108 * vc/compare-w.el (compare-windows-whitespace):
109 Treat no-break space as whitespace.
110
111 * mail/rmailsum.el (rmail-summary-rmail-update):
112 Detect empty summary and don't change selected message.
113 (rmail-summary-goto-msg): Likewise.
114
115 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
116 Doc fixes, rename args.
117
118 2013-05-05 Alan Mackenzie <acm@muc.de>
119
120 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
121
122 2013-05-05 Juri Linkov <juri@jurta.org>
123
124 * info.el (Info-read-subfile): Use (point-min) instead of (point)
125 to not add the length of the summary segment to the return value.
126 (Bug#14125)
127
128 2013-05-05 Leo Liu <sdl.web@gmail.com>
129
130 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
131 (inferior-octave-output-filter): Remove.
132 (octave-send-region, inferior-octave-startup): Fix callers.
133 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
134 (octave-binary-file-extensions): New user variable.
135 (octave-find-definition): Confirm if opening binary files.
136 (octave-help-file): Use octave-find-definition to get the binary
137 confirmation.
138 (octave-help): Adjust for octave-help-file change.
139
140 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
141
142 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
143 Merge the two entries that handle function definitions.
144 (pascal--syntax-propertize): New const.
145 (pascal-mode): Use it. Use setq-local.
146
147 2013-05-04 Glenn Morris <rgm@gnu.org>
148
149 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
150 (diary-from-outlook): Respect diary-from-outlook-function.
151
152 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
153
154 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
155 Move the declaration from C.
156 (read-minibuffer, eval-minibuffer): Move from C.
157 (completion-setup-function): Avoid minibuffer-completion-contents.
158
159 2013-05-03 Leo Liu <sdl.web@gmail.com>
160
161 * progmodes/octave.el (octave-font-lock-keywords): Do not
162 dehighlight 'end' in comments or strings.
163 (octave-completing-read, octave-goto-function-definition):
164 New helpers.
165 (octave-help-buffer): New user variable.
166 (octave-help-file, octave-help-function): New button types.
167 (octave-help): New command and bind it to C-h ;.
168 (octave-find-definition): New command and bind it to M-.
169 (user-error): Alias to error if not defined.
170
171 2013-05-02 Leo Liu <sdl.web@gmail.com>
172
173 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
174 for \. (bug#14332)
175 (octave-font-lock-keywords): Include [ and {.
176
177 2013-05-02 Leo Liu <sdl.web@gmail.com>
178
179 * progmodes/octave.el (inferior-octave-startup-file): Change default.
180 (inferior-octave): Remove calling comint-mode and return the buffer.
181 (inferior-octave-startup): Cosmetic changes.
182
183 2013-05-02 Leo Liu <sdl.web@gmail.com>
184
185 * progmodes/octave.el (octave-syntax-propertize-function):
186 Include the case when ' is at line beginning. (Bug#14336)
187
188 2013-05-02 Glenn Morris <rgm@gnu.org>
189
190 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
191 * desktop.el (vc-dir-mode): Just autoload it here.
192
193 2013-05-02 Alan Mackenzie <acm@muc.de>
194
195 Eliminate variable c-standard-font-lock-fontify-region-function.
196 * progmodes/cc-mode.el
197 (c-standard-font-lock-fontify-region-function): Remove.
198 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
199
200 2013-05-01 Leo Liu <sdl.web@gmail.com>
201
202 * progmodes/octave.el: Compatible with older emacs-24 releases.
203 (inferior-octave-has-built-in-variables): Remove. Built-in
204 variables were removed from Octave in 2007.
205 (inferior-octave-startup): Fix uses.
206 (comint-line-beginning-position): Remove compatibility code for
207 emacs 21.
208
209 2013-05-01 Juri Linkov <juri@jurta.org>
210
211 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
212
213 2013-05-01 Juri Linkov <juri@jurta.org>
214
215 * comint.el (comint-previous-matching-input): Don't print message
216 "History item: %d" when `isearch-mode' is active.
217 (comint-history-isearch-message): Print message "History item: %d"
218 when `comint-input-ring-index' is not empty and this function is
219 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
220
221 2013-05-01 Leo Liu <sdl.web@gmail.com>
222
223 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
224 definitions. Use completion-at-point to insert keywords.
225 (octave-abbrev-start): Remove.
226 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
227
228 2013-04-30 Leo Liu <sdl.web@gmail.com>
229
230 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
231 change.
232
233 2013-04-30 Alan Mackenzie <acm@muc.de>
234
235 Handle arbitrarily long C++ member initialisation lists.
236 * progmodes/cc-engine.el (c-back-over-member-initializers):
237 new function.
238 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
239 (most) member init lists.
240
241 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
242
243 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
244 variable.
245
246 2013-04-30 Leo Liu <sdl.web@gmail.com>
247
248 * progmodes/octave.el (octave-variables): Remove. No builtin
249 variables any more. All converted to functions.
250 (octave-font-lock-keywords, octave-completion-at-point-function):
251 Fix uses.
252 (octave-font-lock-texinfo-comment): New user variable.
253 (octave-texinfo-font-lock-keywords): New variable for texinfo
254 comment block.
255 (octave-function-comment-block): New face.
256 (octave-font-lock-texinfo-comment): New function.
257 (octave-mode): Font lock texinfo comment block.
258
259 2013-04-29 Leo Liu <sdl.web@gmail.com>
260
261 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
262 indexing expression.
263 (octave-continuation-string): Do not use \.
264 (inferior-octave-complete-impossible): Remove.
265 (inferior-octave-completion-table)
266 (inferior-octave-completion-at-point): Remove its uses.
267 (inferior-octave-startup): completion_matches was introduced to
268 Octave in 1996 so safe to assume it.
269 (octave-function-file-comment): Improve to follow how Octave does it.
270 (octave-update-function-file-comment): Tweak.
271
272 2013-04-29 Leo Liu <sdl.web@gmail.com>
273
274 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
275 (inferior-octave-startup): Remove inferior-octave-startup-hook.
276 (octave-function-file-comment): Fix typo.
277 (octave-sync-function-file-names): Use read-char-choice.
278
279 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
280
281 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
282 to t for the less important warnings.
283
284 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
285
286 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
287
288 2013-04-27 Glenn Morris <rgm@gnu.org>
289
290 * vc/log-view.el (log-view-current-entry):
291 Treat "---" separator lines as part of the following rev. (Bug#14169)
292
293 2013-04-27 Juri Linkov <juri@jurta.org>
294
295 * subr.el (read-number): Doc fix about using it by interactive
296 code letter `n'. (Bug#14254)
297
298 2013-04-27 Juri Linkov <juri@jurta.org>
299
300 * desktop.el (desktop-auto-save-timeout): New option.
301 (desktop-file-checksum): New variable.
302 (desktop-save): Add optional arg `auto-save' and don't auto-save
303 if nothing changed.
304 (desktop-auto-save-timer): New variable.
305 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
306 (after-init-hook): Call `desktop-auto-save-set-timer'.
307 Suggested by Reuben Thomas <rrt@sc3d.org> in
308 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
309
310 2013-04-27 Leo Liu <sdl.web@gmail.com>
311
312 * progmodes/octave.el (octave-function-file-p)
313 (octave-skip-comment-forward, octave-function-file-comment)
314 (octave-update-function-file-comment): New functions.
315 (octave-mode-map): Bind C-c ; to
316 octave-update-function-file-comment.
317 (octave-mode-menu): Add octave-update-function-file-comment.
318 (octave-mode, inferior-octave-mode): Fix doc-string.
319 (octave-insert-defun): Conform to Octave's coding convention.
320 (Bug#14285)
321
322 * files.el (basic-save-buffer): Don't let errors in
323 before-save-hook prevent saving buffer.
324
325 2013-04-20 Roland Winkler <winkler@gnu.org>
326
327 * faces.el (read-face-name): Use completing-read if arg multiple
328 is nil.
329
330 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
331
332 * ls-lisp.el (ls-lisp-insert-directory): If no files are
333 displayed, move point to after the totals line.
334 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
335 for the details.
336
337 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
338
339 * emacs-lisp/package.el (package-autoload-ensure-default-file):
340 Add current dir to the load-path.
341 (package-generate-autoloads): Don't rely on
342 autoload-ensure-default-file.
343
344 2013-04-26 Reuben Thomas <rrt@sc3d.org>
345
346 * textmodes/remember.el (remember-store-in-files): Document that
347 the file name format is passed to `format-time-string'.
348
349 2013-04-26 Leo Liu <sdl.web@gmail.com>
350
351 * progmodes/octave.el (octave-sync-function-file-names): New function.
352 (octave-mode): Use it in before-save-hook.
353
354 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
355
356 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
357 (bug#14274).
358
359 * progmodes/octave.el (octave-smie-forward-token): Properly skip
360 \n and comment, even if it's not an implicit ; (bug#14218).
361
362 2013-04-26 Glenn Morris <rgm@gnu.org>
363
364 * subr.el (read-number): Once more use `read' rather than
365 `string-to-number', to trap non-numeric input. (Bug#14254)
366
367 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
368
369 * emacs-lisp/syntax.el (syntax-propertize-multiline):
370 Use `syntax-multiline' text property consistently instead of
371 `font-lock-multiline'. (bug#14237).
372
373 2013-04-26 Glenn Morris <rgm@gnu.org>
374
375 * emacs-lisp/shadow.el (list-load-path-shadows):
376 No longer necessary to check for duplicate simple.el, since
377 2012-07-07 change to init_lread to not include installation lisp
378 directories in load-path when running uninstalled. (Bug#14270)
379
380 2013-04-26 Leo Liu <sdl.web@gmail.com>
381
382 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
383 (octave-mode, inferior-octave-mode): Use setq-local.
384 (octave-not-in-string-or-comment-p): Rename to
385 octave-in-string-or-comment-p.
386 (octave-in-comment-p, octave-in-string-p)
387 (octave-in-string-or-comment-p): Replace defsubst with defun.
388
389 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
390
391 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
392
393 2013-04-25 Bastien Guerry <bzg@gnu.org>
394
395 * textmodes/remember.el (remember-data-directory)
396 (remember-directory-file-name-format): Fix custom types.
397
398 2013-04-25 Leo Liu <sdl.web@gmail.com>
399
400 * progmodes/octave.el (octave-completion-at-point-function):
401 Make use of inferior octave process.
402 (octave-initialize-completions): Remove.
403 (inferior-octave-completion-table): New function.
404 (inferior-octave-completion-at-point): Use it.
405 (octave-completion-alist): Remove.
406
407 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
408
409 * progmodes/opascal.el: Use font-lock and syntax-propertize.
410 (opascal-mode-syntax-table): New var.
411 (opascal-literal-kind, opascal-is-literal-end)
412 (opascal-literal-token-at): Rewrite.
413 (opascal--literal-start-re, opascal-font-lock-keywords)
414 (opascal--syntax-propertize): New constants.
415 (opascal-font-lock-defaults): Adjust.
416 (opascal-mode): Use them. Set comment-<foo> variables as well.
417 (delphi-comment-face, opascal-comment-face, delphi-string-face)
418 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
419 (delphi-other-face, opascal-other-face): Remove face variables.
420 (opascal-save-state): Remove macro.
421 (opascal-fontifying-progress-step): Remove constant.
422 (opascal--ignore-changes): Remove var.
423 (opascal-set-token-property, opascal-parse-next-literal)
424 (opascal-is-stable-literal, opascal-complete-literal)
425 (opascal-is-literal-start, opascal-face-of)
426 (opascal-parse-region, opascal-parse-region-until-stable)
427 (opascal-fontify-region, opascal-after-change)
428 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
429 (opascal-debug-parse-region, opascal-debug-parse-window)
430 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
431 (opascal-debug-fontify-buffer): Remove.
432 (opascal-debug-mode-map): Adjust accordingly.
433
434 2013-04-25 Leo Liu <sdl.web@gmail.com>
435
436 Merge octave-mod.el and octave-inf.el into octave.el with some
437 cleanups.
438 * progmodes/octave.el: New file renamed from octave-mod.el.
439 * progmodes/octave-inf.el: Merged into octave.el.
440 * progmodes/octave-mod.el: Renamed to octave.el.
441
442 2013-04-25 Tassilo Horn <tsdh@gnu.org>
443
444 * textmodes/reftex-vars.el
445 (reftex-label-ignored-macros-and-environments): New defcustom.
446
447 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
448
449 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
450
451 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
452 (smie-indent-keyword): Improve the check to ensure that the next
453 comment is really on the same line.
454 (smie-indent-comment): Don't align with a subsequent closer (or eob).
455
456 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
457 semi-colons if the line is not otherwise empty (bug#14218).
458
459 2013-04-25 Glenn Morris <rgm@gnu.org>
460
461 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
462
463 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
464
465 * progmodes/opascal.el (opascal-set-token-property): Rename from
466 opascal-set-text-properties and only set `token' (bug#14134).
467 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
468 (opascal-literal-text-properties): Remove.
469 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
470 Adjust callers.
471
472 2013-04-24 Reuben Thomas <rrt@sc3d.org>
473
474 * textmodes/remember.el (remember-handler-functions): Add an
475 option for a new handler `remember-store-in-files'.
476 (remember-data-directory, remember-directory-file-name-format):
477 New options.
478 (remember-store-in-files): New function to store remember notes
479 as separate files within a directory.
480
481 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
482
483 * progmodes/compile.el (compilation-next-error-function):
484 Pass "formats" to compilation-find-file (bug#11777).
485
486 2013-04-24 Glenn Morris <rgm@gnu.org>
487
488 * vc/vc-bzr.el (vc-bzr-print-log):
489 * vc/vc-hg.el (vc-hg-print-log):
490 * vc/vc-svn.el (vc-svn-print-log):
491 Fix START-REVISION with LIMIT != 1. (Bug#14168)
492
493 * vc/vc-bzr.el (vc-bzr-print-log):
494 * vc/vc-cvs.el (vc-cvs-print-log):
495 * vc/vc-git.el (vc-git-print-log):
496 * vc/vc-hg.el (vc-hg-print-log):
497 * vc/vc-mtn.el (vc-mtn-print-log):
498 * vc/vc-rcs.el (vc-rcs-print-log):
499 * vc/vc-sccs.el (vc-sccs-print-log):
500 * vc/vc-svn.el (vc-svn-print-log):
501 * vc/vc.el (vc-print-log-internal): Doc fixes.
502
503 2013-04-23 Glenn Morris <rgm@gnu.org>
504
505 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
506 Remove venerable code attempting to avoid substitute-command-keys.
507
508 2013-04-23 Tassilo Horn <tsdh@gnu.org>
509
510 * textmodes/reftex-vars.el (reftex-label-regexps):
511 Call `reftex-compile-variables' after changes to this variable.
512
513 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
514
515 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
516 Use lexical-binding.
517 (jit-lock-force-redisplay): Use markers, check buffer's continued
518 existence and beware narrowed buffers.
519 (jit-lock-fontify-now): Adjust call accordingly.
520
521 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
522
523 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
524 to avoid misleading the user.
525
526 2013-04-22 Leo Liu <sdl.web@gmail.com>
527
528 * info-look.el: Prefer latex2e.info. (Bug#14240)
529
530 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
531
532 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
533
534 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
535 * net/tramp.el (tramp-call-process): ... here
536 (tramp-set-completion-function, tramp-parse-putty):
537 * net/tramp-adb.el (tramp-adb-execute-adb-command):
538 * net/tramp-gvfs.el (tramp-gvfs-send-command):
539 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
540 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
541 (tramp-call-local-coding-command): Use `tramp-call-process'
542 instead of `tramp-compat-call-process'.
543
544 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
545 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
546 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
547 (tramp-find-inline-compress):Improve traces.
548 (tramp-maybe-send-script): Check for Perl binary.
549 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
550
551 2013-04-22 Daiki Ueno <ueno@gnu.org>
552
553 * epg.el (epg-context-pinentry-mode): New function.
554 (epg-context-set-pinentry-mode): New function.
555 (epg--start): Pass --pinentry-mode option to gpg command.
556
557 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
558
559 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
560 `comint-dynamic-complete' is obsolete since 24.1, replaced by
561 `completion-at-point'. (Bug#13774)
562
563 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
564 default key binding for `describe-distribution' has been moved to
565 `C-h C-o'. (Bug#13970)
566
567 2013-04-21 Glenn Morris <rgm@gnu.org>
568
569 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
570 Add doc strings.
571 (vc-print-log): Clarify interactive prompt.
572
573 2013-04-20 Glenn Morris <rgm@gnu.org>
574
575 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
576 No longer include timestamp etc information.
577
578 2013-04-20 Roland Winkler <winkler@gnu.org>
579
580 * faces.el (read-face-name): Bug fix, return just one face if arg
581 multiple is nil. (Bug#14209)
582
583 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
584
585 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
586 (remove-function): Autoload.
587
588 * comint.el (comint-redirect-original-filter-function): Remove.
589 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
590 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
591 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
592 * progmodes/prolog.el (prolog-consult-compile):
593 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
594 Use add/remove-function instead.
595 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
596 (gud-tooltip-process-output, gud-tooltip-tips):
597 Use add/remove-function instead.
598 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
599 (scheme-interaction-mode, exit-scheme-interaction-mode):
600 Use add/remove-function instead.
601
602 * vc/vc-dispatcher.el: Use lexical-binding.
603 (vc--process-sentinel): Rename from vc-process-sentinel.
604 Change last arg to be the code to run. Don't use vc-previous-sentinel
605 and vc-sentinel-commands any more.
606 (vc-exec-after): Allow code to be a function. Use add/remove-function.
607 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
608
609 2013-04-19 Masatake YAMATO <yamato@redhat.com>
610
611 * progmodes/sh-script.el (sh-imenu-generic-expression):
612 Handle function names with a single character. (Bug#14111)
613
614 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
615
616 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
617 for subroutines defined in an eval (bug#14182).
618
619 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
620
621 * bookmark.el (bookmark-completing-read): Improve handling of empty
622 string (bug#14176).
623
624 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
627
628 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
629
630 New faster Imenu implementation (bug#14058).
631 * progmodes/python.el:
632 (python-imenu-prev-index-position):
633 (python-imenu-format-item-label-function)
634 (python-imenu-format-parent-item-label-function)
635 (python-imenu-format-parent-item-jump-label-function):
636 New vars.
637 (python-imenu-format-item-label)
638 (python-imenu-format-parent-item-label)
639 (python-imenu-format-parent-item-jump-label)
640 (python-imenu--put-parent, python-imenu--build-tree)
641 (python-imenu-create-index, python-imenu-create-flat-index)
642 (python-util-popn): New functions.
643 (python-mode): Set imenu-create-index-function to
644 python-imenu-create-index.
645
646 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
647
648 * winner.el (winner-active-region): Use region-active-p, activate-mark
649 and deactivate-mark (bug#14225).
650
651 * simple.el (deactivate-mark): Don't inline it.
652
653 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
654
655 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
656
657 2013-04-18 Tassilo Horn <tsdh@gnu.org>
658
659 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
660 file extensions from the archive-mode entry in order to prefer
661 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
662
663 2013-04-18 Leo Liu <sdl.web@gmail.com>
664
665 * bindings.el (help-event-list): Add ?\?.
666
667 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
668
669 * subr.el (with-wrapper-hook): Declare obsolete.
670 * simple.el (filter-buffer-substring-function): New hook.
671 (filter-buffer-substring): Use it.
672 (filter-buffer-substring-functions): Mark obsolete.
673 * minibuffer.el (completion-in-region-function): New hook.
674 (completion-in-region): Use it.
675 (completion-in-region-functions): Mark obsolete.
676 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
677 * abbrev.el (abbrev-expand-function): New hook.
678 (expand-abbrev): Use it.
679 (abbrev-expand-functions): Mark obsolete.
680 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
681 and :filter-return.
682
683 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
684
685 * progmodes/python.el (python-nav--syntactically): Fix cornercases
686 and do not care about match data.
687
688 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
689
690 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
691 completion tables when completing error conditions and
692 `declare' arguments.
693 (lisp-complete-symbol, field-complete): Mark as obsolete.
694 (check-parens): Unmatched parens are user errors.
695 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
696
697 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
698
699 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
700 command changed buffer (ie. `flyspell-pre-buffer' is not current
701 buffer), which prevents making decisions based on invalid value of
702 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
703 cause an error when `flyspell-pre-point' was nil after switching
704 buffers.
705 (flyspell-post-command-hook): No longer needs to change buffers when
706 checking pre-word. While at it remove unnecessary progn.
707
708 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
709
710 * textmodes/ispell.el (ispell-add-per-file-word-list):
711 Fix `flyspell-correct-word-before-point' error when accepting
712 words and `coment-padding' is an integer by using
713 `comment-normalize-vars' (Bug #14214).
714
715 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
716
717 New defun movement commands.
718 * progmodes/python.el (python-nav--syntactically)
719 (python-nav--forward-defun, python-nav-backward-defun)
720 (python-nav-forward-defun): New functions.
721
722 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
723
724 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
725 (python-syntax-context): Use named compiler-macro for backwards
726 compatibility with Emacs 24.x.
727
728 2013-04-17 Leo Liu <sdl.web@gmail.com>
729
730 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
731 octave-hide-process-buffer.
732
733 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
734
735 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
736 (bug#14216).
737
738 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
739
740 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
741 Fix adjustment of offset when receiving incomplete responses from GDB
742 (bug#14129).
743
744 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
745
746 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
747 python-mode-abbrev-table.
748 (python-skeleton-define): Adjust accordingly.
749 (python-mode-abbrev-table): New table that inherits from it so that
750 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
751
752 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
753 (abbrev-symbol): Use it.
754 (abbrev--before-point): Use it since we already handle inheritance.
755
756 2013-04-16 Leo Liu <sdl.web@gmail.com>
757
758 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
759 binding to info-lookup-symbol.
760
761 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
762
763 * minibuffer.el (completion--twq-all):
764 * term/ns-win.el (ns-initialize-window-system):
765 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
766
767 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
768
769 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
770 global bindings.
771
772 * doc-view.el (doc-view-start-process): Handle url-handler directories.
773
774 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
775
776 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
777 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
778 to nil.
779 (ruby-end-of-defun): Remove the unused arg, change the docstring
780 to reflect that this function is only used as the value of
781 `end-of-defun-function'.
782 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
783 to reflect an earlier change that beginning/end-of-defun functions
784 jump between methods in a class definition, as well as top-level
785 functions.
786
787 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
788
789 * minibuffer.el (minibuffer-complete): Don't just scroll
790 a *Completions* that's been iconified.
791 (minibuffer-force-complete): Make sure repetitions do cycle when going
792 through completion-in-region -> minibuffer-complete.
793
794 2013-04-15 Alan Mackenzie <acm@muc.de>
795
796 Correct the placement of c-cpp-delimiters when there're #s not at
797 col 0.
798
799 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
800 place a submatch around the #.
801 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
802 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
803 on the #, not BOL.
804
805 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
806
807 * emacs-lisp/nadvice.el: Properly test names when adding advice.
808 (advice--member-p): New arg `name'.
809 (advice--add-function, advice-member-p): Use it (bug#14202).
810
811 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
812
813 Reformulate java imenu-generic-expression.
814 The old expression contained ill formed regexps.
815
816 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
817 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
818 (cc-imenu-java-method-arg-regexp): New defconsts.
819 (cc-imenu-java-build-type-args-regex): New defun.
820 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
821 handling of spaces in the regexp.
822
823 2013-03-15 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
824
825 * textmodes/ispell.el (ispell-command-loop): Remove
826 flyspell highlight of a word when ispell accepts it (bug #14178).
827
828 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
829
830 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
831 uses code from the previous `ange-ftp-run-real-handler'.
832 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
833 only in case that function exist. This is needed for proper
834 unloading of Tramp.
835
836 2013-04-15 Tassilo Horn <tsdh@gnu.org>
837
838 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
839
840 * textmodes/reftex.el (reftex-compile-variables): Use it.
841
842 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
843
844 * files.el (normal-mode): Only use default major-mode if no other mode
845 was specified.
846
847 * emacs-lisp/trace.el (trace-values): New function.
848
849 * files.el: Allow : in local variables (bug#14089).
850 (hack-local-variable-regexp): New var.
851 (hack-local-variables-prop-line, hack-local-variables): Use it.
852
853 2013-04-13 Roland Winkler <winkler@gnu.org>
854
855 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
856 data before it gets modified by bibtex-beginning-of-entry.
857
858 2013-04-13 Roland Winkler <winkler@gnu.org>
859
860 * textmodes/bibtex.el (bibtex-url): Doc fix.
861
862 2013-04-13 Roland Winkler <winkler@gnu.org>
863
864 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
865 does not visit a BibTeX file, exclude it from the list of buffers
866 returned by bibtex-initialize.
867
868 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
869
870 * window.el (split-window): Remove interactive form, since as a
871 command this function is a special case of split-window-below.
872 Correct doc string.
873
874 2013-04-12 Roland Winkler <winkler@gnu.org>
875
876 * faces.el (read-face-name): Do not override value of arg default.
877 Allow single faces and strings as default values. Remove those
878 elements from return value that are not faces.
879 (describe-face): Simplify.
880 (face-at-point): New optional args thing and multiple so that this
881 function can provide the same functionality previously provided by
882 read-face-name.
883 (make-face-bold, make-face-unbold, make-face-italic)
884 (make-face-unitalic, make-face-bold-italic, invert-face)
885 (modify-face, read-face-and-attribute): Use face-at-point.
886
887 * cus-edit.el (customize-face, customize-face-other-window)
888 * cus-theme.el (custom-theme-add-face)
889 * face-remap.el (buffer-face-set)
890 * facemenu.el (facemenu-set-face): Use face-at-point.
891
892 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
893
894 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
895
896 2013-04-10 Tassilo Horn <tsdh@gnu.org>
897
898 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
899 off leading { and trailing } from field values.
900
901 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
902
903 * emacs-lisp/timer.el (timer--check): New function.
904 (timer--time, timer-set-function, timer-event-handler): Use it.
905 (timer-set-idle-time): Simplify.
906 (timer--activate): CSE.
907 (timer-event-handler): Give more info in error message.
908 (internal-timer-start-idle): New function, moved from C.
909
910 * mpc.el (mpc-proc): Add `restart' argument.
911 (mpc-proc-cmd): Use it.
912 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
913 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
914 less often.
915
916 2013-04-10 Masatake YAMATO <yamato@redhat.com>
917
918 * progmodes/sh-script.el: Implement `sh-mode' own
919 `add-log-current-defun-function' (bug#14112).
920 (sh-current-defun-name): New function.
921 (sh-mode): Use the function.
922
923 2013-04-09 Bastien Guerry <bzg@gnu.org>
924
925 * simple.el (choose-completion-string): Fix docstring (bug#14163).
926
927 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
928
929 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
930
931 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
932 timer (bug#14156).
933
934 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
935
936 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
937 declaration.
938
939 2013-04-07 Leo Liu <sdl.web@gmail.com>
940
941 * pcmpl-x.el: New file.
942
943 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
944
945 Do not set x-display-name until X connection is established.
946 This is needed to prevent from weird situation described at
947 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
948 * frame.el (make-frame): Set x-display-name after call to
949 window system initialization function, not before.
950 * term/x-win.el (x-initialize-window-system): Add optional
951 display argument and use it.
952 * term/w32-win.el (w32-initialize-window-system):
953 * term/ns-win.el (ns-initialize-window-system):
954 * term/pc-win.el (msdos-initialize-window-system):
955 Add compatible optional display argument.
956
957 2013-04-06 Eli Zaretskii <eliz@gnu.org>
958
959 * files.el (normal-backup-enable-predicate): On MS-Windows and
960 MS-DOS compare truenames of temporary-file-directory and of the
961 file, so that 8+3 aliases (usually found in $TEMP on Windows)
962 don't fail comparison by compare-strings. Also, compare file
963 names case-insensitively on MS-Windows and MS-DOS.
964
965 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
966
967 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
968 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
969
970 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
971
972 * whitespace.el (whitespace-color-on, whitespace-color-off):
973 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
974
975 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
976
977 * ispell.el (ispell-set-spellchecker-params):
978 Really set `ispell-args' for all equivs.
979
980 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 * ido.el (ido-completions): Use extra elements of ido-decorations
983 (bug#14143).
984 (ido-decorations): Update docstring.
985
986 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
987
988 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
989 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
990 nil during initialization, in order not to miss changes since the
991 file was opened. (Bug#14140)
992
993 2013-04-05 Leo Liu <sdl.web@gmail.com>
994
995 * kmacro.el (kmacro-call-macro): Fix bug#14135.
996
997 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
998
999 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1000
1001 2013-04-04 Glenn Morris <rgm@gnu.org>
1002
1003 * electric.el (electric-pair-inhibit-predicate): Add :version.
1004
1005 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1006
1007 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1008 when a package is required several times (bug#14082).
1009
1010 2013-04-04 Roland Winkler <winkler@gnu.org>
1011
1012 * faces.el (read-face-name): Behave as promised by the docstring.
1013 Assume that arg default is a list of faces.
1014 (describe-face): Call read-face-name with list of default faces.
1015
1016 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1017
1018 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1019 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1020 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1021 the header.
1022 (bookmark-exit-hook-internal): Save even if list is empty.
1023
1024 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1025
1026 * emacs-lisp/package.el (package-pinned-packages): New var.
1027 (package--add-to-archive-contents): Obey it (bug#14118).
1028
1029 2013-04-03 Alan Mackenzie <acm@muc.de>
1030
1031 Handle `parse-partial-sexp' landing inside a comment opener
1032 (Bug#13244). Also adapt to the new values of element 7 of a parse
1033 state.
1034
1035 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1036 parameter `not-in-delimiter'. Handle being inside comment opener.
1037 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1038 character in case we're typing a '*' after a '/'.
1039 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1040 instead by passing the parameter to c-state-pp-to-literal.
1041
1042 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1043 for elt. 7 of a parse state.
1044
1045 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1046
1047 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1048 * international/latin1-disp.el, international/mule-util.el:
1049 * language/cyril-util.el, language/european.el, language/ind-util.el:
1050 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1051 * language/tibetan.el, language/viet-util.el:
1052 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1053
1054 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1055
1056 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1057 (electric-pair-post-self-insert-function): Use it.
1058 (electric-pair-default-inhibit): New function, extracted from
1059 electric-pair-post-self-insert-function.
1060
1061 2013-03-31 Roland Winkler <winkler@gnu.org>
1062
1063 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1064
1065 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1066
1067 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1068
1069 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
1070
1071 Un-indent after "pass" and "return" statements (Bug#13888)
1072 * progmodes/python.el (python-indent-block-enders): New var.
1073 (python-indent-calculate-indentation): Use it.
1074
1075 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
1076
1077 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1078 defun. Defining it as defalias could introduce too eager
1079 byte-compiler optimization. (Bug#14030)
1080
1081 2013-03-30 Chong Yidong <cyd@gnu.org>
1082
1083 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1084
1085 2013-03-30 Leo Liu <sdl.web@gmail.com>
1086
1087 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1088 (kmacro-execute-from-register): Pass the keyboard macro to
1089 kmacro-call-macro or repeating won't work correctly.
1090
1091 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1092
1093 * progmodes/subword.el: Back to using `forward-symbol'.
1094
1095 * subr.el (forward-whitespace, forward-symbol)
1096 (forward-same-syntax): Move from thingatpt.el.
1097
1098 2013-03-29 Leo Liu <sdl.web@gmail.com>
1099
1100 * kmacro.el (kmacro-to-register): New command.
1101 (kmacro-execute-from-register): New function.
1102 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1103
1104 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1105
1106 * mpc.el: Use defvar-local and setq-local.
1107 (mpc--proc-connect): Connection failures are not bugs.
1108 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1109 (mpc-volume-map): Bind to the up-events.
1110
1111 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1112
1113 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1114 instead of `forward-symbol'.
1115
1116 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1119 (edebug--recursive-edit): Use it.
1120 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1121 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1122
1123 2013-03-28 Leo Liu <sdl.web@gmail.com>
1124
1125 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1126
1127 2013-03-27 Eli Zaretskii <eliz@gnu.org>
1128
1129 * facemenu.el (list-colors-callback): New defvar.
1130 (list-colors-redisplay): New function.
1131 (list-colors-display): Install list-colors-redisplay as the
1132 revert-buffer-function. (Bug#14063)
1133
1134 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1135
1136 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1137 and suffixes don't overlap (bug#14061).
1138
1139 * case-table.el: Use lexical-binding.
1140 (case-table-get-table): New function.
1141 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1142
1143 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1144
1145 * progmodes/subword.el: Add `superword-mode' to do word motion
1146 over symbol_words (parallels and leverages `subword-mode' which
1147 does word motion inside MixedCaseWords).
1148
1149 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1150
1151 * eshell/em-unix.el: Move su and sudo to...
1152 * eshell/em-tramp.el: ...Eshell tramp module.
1153
1154 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1155
1156 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
1157 Change return value to be a sexp. Delay `get-buffer' to after
1158 restoring the desktop (bug#13951).
1159
1160 2013-03-26 Leo Liu <sdl.web@gmail.com>
1161
1162 * register.el: Move semantic tag handling back to
1163 cedet/semantic/senator.el. (Bug#14052)
1164
1165 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1166
1167 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
1168 into the prompt either (bug#13963).
1169
1170 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
1173 part of "(error-foo)".
1174
1175 2013-03-24 Juri Linkov <juri@jurta.org>
1176
1177 * replace.el (list-matching-lines-prefix-face): New defcustom.
1178 (occur-1): Pass `list-matching-lines-prefix-face' to the function
1179 `occur-engine' if `face-differs-from-default-p' returns t.
1180 (occur-engine): Add `,' inside backquote construct to evaluate
1181 `prefix-face'. Propertize the prefix with the `prefix-face' face.
1182 Pass `prefix-face' to the functions `occur-context-lines' and
1183 `occur-engine-add-prefix'.
1184 (occur-engine-add-prefix, occur-context-lines): Add optional arg
1185 `prefix-face' and propertize the prefix with `prefix-face'.
1186 (Bug#14017)
1187
1188 2013-03-24 Leo Liu <sdl.web@gmail.com>
1189
1190 * nxml/rng-valid.el (rng-validate-while-idle)
1191 (rng-validate-quick-while-idle): Guard against deleted buffer.
1192 (Bug#13999)
1193
1194 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
1195 is the last entry in kill-buffer-hook.
1196
1197 * files.el (kill-buffer-hook): Doc fix.
1198
1199 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
1200
1201 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
1202 Make it safe-local.
1203
1204 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
1205
1206 2013-03-23 Leo Liu <sdl.web@gmail.com>
1207
1208 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
1209 Remove.
1210
1211 * nxml/rng-valid.el (rng-validate-mode)
1212 (rng-after-change-function, rng-do-some-validation):
1213 * nxml/rng-maint.el (rng-validate-buffer):
1214 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
1215 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
1216 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
1217 (nxml-extend-after-change-region): Use with-silent-modifications.
1218
1219 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
1220 timer-idle-list.
1221
1222 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
1223 (rng-next-error-1, rng-previous-error-1): Do not let-bind
1224 timer-idle-list. (Bug#13999)
1225
1226 2013-03-23 Juri Linkov <juri@jurta.org>
1227
1228 * info.el (info-index-match): New face.
1229 (Info-index, Info-apropos-matches): Add a nested subgroup to the
1230 main pattern and add text properties with the new face to matches
1231 in index entries relative to the beginning of the index entry.
1232 (Bug#14015)
1233
1234 2013-03-21 Eric Ludlam <zappo@gnu.org>
1235
1236 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
1237 Inhibit read only while inserting objects.
1238
1239 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
1240
1241 * progmodes/cfengine.el: Update docs to mention
1242 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
1243 symbol motion. Remove "_" from the word syntax.
1244
1245 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
1246
1247 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
1248 syntax for both `cfengine2-mode' and `cfengine3-mode'.
1249
1250 2013-03-20 Juri Linkov <juri@jurta.org>
1251
1252 * info.el (Info-next-reference-or-link)
1253 (Info-prev-reference-or-link): New functions.
1254 (Info-next-reference, Info-prev-reference): Use them.
1255 (Info-try-follow-nearest-node): Handle footnote navigation.
1256 (Info-fontify-node): Fontify footnotes. (Bug#13989)
1257
1258 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1259
1260 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
1261 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
1262
1263 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
1264
1265 Suppress unnecessary non-ASCII chatter during build process.
1266 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
1267 (batch-skkdic-convert): Suppress most of the chatter.
1268 It's not needed so much now that machines are faster,
1269 and its non-ASCII component was confusing; see Dmitry Gutov in
1270 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
1271
1272 2013-03-20 Leo Liu <sdl.web@gmail.com>
1273
1274 * ido.el (ido-chop): Fix bug#10994.
1275
1276 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1277
1278 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
1279 Remove vars.
1280 (whitespace-color-on, whitespace-color-off):
1281 Use `font-lock-fontify-buffer' (Bug#13817).
1282
1283 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
1284
1285 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
1286 remapping in mode-line.
1287 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
1288
1289 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
1290
1291 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
1292 value for `whitespace-line' face (Bug#13875).
1293 (whitespace-font-lock-keywords): Change description.
1294 (whitespace-color-on): Don't save `font-lock-keywords' value, save
1295 the constructed keywords instead.
1296 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
1297
1298 2013-03-19 Leo Liu <sdl.web@gmail.com>
1299
1300 * progmodes/compile.el (compilation-display-error): New command.
1301 (compilation-mode-map, compilation-minor-mode-map): Bind it to
1302 C-o. (Bug#13992)
1303
1304 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1305
1306 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
1307
1308 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
1309
1310 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
1311
1312 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
1313
1314 * net/tramp-compat.el (tramp-compat-user-error): New defun.
1315
1316 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1317 * net/tramp-gvfs.el (top):
1318 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
1319 (tramp-handle-shell-command): Use it.
1320 (tramp-dissect-file-name): Raise an error when hostname is a
1321 method name, and neither method nor user is specified.
1322
1323 * net/trampver.el: Update release number.
1324
1325 2013-03-18 Leo Liu <sdl.web@gmail.com>
1326
1327 Make sure eldoc can be turned off properly.
1328 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
1329 eldoc-mode.
1330 (eldoc-display-message-p): Revert last change.
1331 (eldoc-display-message-no-interference-p)
1332 (eldoc-print-current-symbol-info): Tweak.
1333
1334 2013-03-18 Tassilo Horn <tsdh@gnu.org>
1335
1336 * doc-view.el (doc-view-new-window-function): Check the new window
1337 overlay's display property instead the char property of the
1338 buffer's first char. Use `with-selected-window' instead of
1339 `save-window-excursion' with `select-window'.
1340 (doc-view-document->bitmap): Check the current doc-view overlay's
1341 display property instead the char property of the buffer's first char.
1342
1343 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
1344
1345 Automate the build of ja-dic.el (Bug#13984).
1346 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
1347 from the input, rather than assume that it's been done for us by the
1348 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
1349 the current date into a ja-dic.el comment, as that complicates
1350 regression testing.
1351
1352 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1353
1354 * whitespace.el: Fix double evaluation.
1355 (whitespace-space, whitespace-hspace, whitespace-tab)
1356 (whitespace-newline, whitespace-trailing, whitespace-line)
1357 (whitespace-space-before-tab, whitespace-indentation)
1358 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
1359 obsolete defvars.
1360 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
1361 (whitespace-color-on): Use a single font-lock-add-keywords call.
1362 Fix double-evaluation of face variables.
1363
1364 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
1365
1366 * net/tramp-adb.el (tramp-adb-parse-device-names):
1367 Use `start-process' instead of `call-process'. Otherwise, the
1368 function might be blocked under MS Windows. (Bug#13299)
1369
1370 2013-03-17 Leo Liu <sdl.web@gmail.com>
1371
1372 Extend eldoc to display info in the mode-line. (Bug#13978)
1373 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
1374 (eldoc-mode-line-string): New variable.
1375 (eldoc-minibuffer-message): New function.
1376 (eldoc-message-function): New variable.
1377 (eldoc-message): Use it.
1378 (eldoc-display-message-p)
1379 (eldoc-display-message-no-interference-p):
1380 Support eldoc-post-insert-mode.
1381
1382 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
1383 (eval-expression): Run it.
1384
1385 2013-03-17 Roland Winkler <winkler@gnu.org>
1386
1387 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
1388 strings in the list of return values.
1389
1390 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
1391
1392 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1393 radix before checking for HMS forms.
1394
1395 2013-03-16 Leo Liu <sdl.web@gmail.com>
1396
1397 * progmodes/scheme.el: Add indentation and font-locking for λ.
1398 (Bug#13975)
1399
1400 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
1401
1402 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1403 token before point (bug#13942).
1404
1405 2013-03-16 Leo Liu <sdl.web@gmail.com>
1406
1407 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
1408
1409 2013-03-16 Eli Zaretskii <eliz@gnu.org>
1410
1411 * startup.el (command-line-normalize-file-name): Fix handling of
1412 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
1413 <xfq.free@gmail.com> in
1414 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1415
1416 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
1417
1418 Sync with Tramp 2.2.7.
1419
1420 * net/trampver.el: Update release number.
1421
1422 2013-03-14 Tassilo Horn <tsdh@gnu.org>
1423
1424 * doc-view.el Fix bug#13887.
1425 (doc-view-insert-image): Don't modify overlay associated to
1426 non-live windows, and implement horizontal centering of image in
1427 case it's smaller than the window.
1428 (doc-view-new-window-function): Force redisplay of new windows on
1429 doc-view buffers.
1430
1431 2013-03-13 Karl Fogel <kfogel@red-bean.com>
1432
1433 * saveplace.el (save-place-alist-to-file): Don't sort
1434 `save-place-alist', just pretty-print it (bug#13882).
1435
1436 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
1437
1438 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1439 whether `default-file-name-coding-system' is bound. It isn't in
1440 XEmacs.
1441
1442 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
1443
1444 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1445 backquotes for `obsolete' (bug#13929).
1446
1447 * international/mule.el (find-auto-coding): Include file name in
1448 obsolescence warning (bug#13922).
1449
1450 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1451
1452 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1453 for CFEngine 3-specific indentation.
1454 (cfengine3-indent-line): Use it. Fix up category regex.
1455 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1456
1457 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * type-break.el (type-break-file-name):
1460 * textmodes/remember.el (remember-data-file):
1461 * strokes.el (strokes-file):
1462 * shadowfile.el (shadow-initialize):
1463 * saveplace.el (save-place-file):
1464 * ps-bdf.el (bdf-cache-file):
1465 * progmodes/idlwave.el (idlwave-config-directory):
1466 * net/quickurl.el (quickurl-url-file):
1467 * international/kkc.el (kkc-init-file-name):
1468 * ido.el (ido-save-directory-list-file):
1469 * emulation/viper.el (viper-custom-file-name):
1470 * emulation/vip.el (vip-startup-file):
1471 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1472 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1473
1474 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1475
1476 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1477 * language/thai-word.el: Switch to UTF-8.
1478
1479 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1480
1481 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1482
1483 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1484
1485 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1486 Use with-current-buffer and don't move point.
1487 (net-utils-run-simple): Remove useless code.
1488 (net-utils-remove-ctl-m): Remove unused custom.
1489
1490 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1491
1492 * international/characters.el (glyphless-set-char-table-range): New fun.
1493 (update-glyphless-char-display): Use it (bug#13744).
1494
1495 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1496
1497 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1498 namespaces in the syntax, indent closer for hanging brace
1499 correctly, allow single-quote delimited 'strings', and make
1500 `cfengine3-mode' the default.
1501
1502 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1503
1504 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1505 Use lexical-binding. Fix up docstring according to conventions.
1506 (gdbmi-debug-mode): New var.
1507 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1508 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1509 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1510 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1511 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1512 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1513 (gdbmi-bnf-incomplete-record-result): New functions.
1514 (gdb-car<): Remove function.
1515 (gdbmi-record-list): Remove variable.
1516 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1517 (gdbmi-bnf-result-state-configs): New const.
1518 (gud-gdbmi-marker-filter): Rewrite.
1519 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1520 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1521 Add `token' argument.
1522 (gdb-done, gdb-error): New functions.
1523 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1524
1525 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1526
1527 * term/xterm.el (xterm--report-background-handler): Don't burp
1528 upon timeout.
1529 (xterm--version-handler): Extract from terminal-init-xterm.
1530 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1531 Allow multiple handlers.
1532 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1533
1534 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1535 (xterm--report-background-handler, xterm--query): New functions.
1536 (terminal-init-xterm): Use them.
1537
1538 2013-03-11 Michael R. Mauger <michael@mauger.com>
1539
1540 * progmodes/sql.el Version 3.2
1541 Please note that my address changed to <michael@mauger.com>;
1542 the <mmaug@yahoo.com> address remains active.
1543 (sql-connection-alist): Updates documentation to fix bug#13715.
1544 (sql-connect): Handle missing `sql-connection-alist' correctly.
1545 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1546 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1547 property.
1548 (sql-default-value): New function.
1549 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1550 values were not used.
1551 (sql-rename-buffer): Make sure alternate buffer name has no text
1552 properties.
1553 (sql-input-sender, sql-execute-feature): Fetch variable with
1554 `buffer-local-value' rather than `with-current-buffer'.
1555 (sql-*): Use #' function syntax consistently.
1556 (sql-*): Use message/error/user-error consistently.
1557
1558 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1559
1560 * xt-mouse.el (xterm-mouse-event-read): Remove.
1561 (xterm-mouse--read-event-sequence-1000)
1562 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1563
1564 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1565
1566 * term/xterm.el (xterm-function-map): Support format used with
1567 formatOtherKeys=1 (bug#13839).
1568
1569 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1570 (with-no-warnings): Use `declare'.
1571
1572 * whitespace.el (whitespace-enable-predicate): New variable.
1573 (whitespace-enable-predicate): Use it.
1574
1575 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1576 (comint-output-filter, comint-update-fence):
1577 Use with-silent-modifications.
1578
1579 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
1580
1581 * replace.el (occur-read-regexp-defaults-function): New var.
1582 (occur-read-regexp-defaults): New defun.
1583 (occur-read-primary-args): Propagate above change (bug#13892).
1584
1585 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1586
1587 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1588
1589 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
1590
1591 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1592
1593 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1594 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1595 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1596 New defconst.
1597 (tramp-gvfs-file-name-handler-alist) [directory-files]
1598 [directory-files-and-attributes, file-exists-p, file-modes]:
1599 Use Tramp default handler.
1600 [file-acl, file-selinux-context, process-file, set-file-acl]:
1601 [set-file-modes, set-file-selinux-context, shell-command]:
1602 [start-file-process]: Remove handler.
1603 [verify-visited-file-modtime]: New handler.
1604 (tramp-gvfs-dbus-string-to-byte-array)
1605 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1606 calls of `dbus-string-to-byte-array' and
1607 `tramp-gvfs-dbus-byte-array-to-string'.
1608 (tramp-gvfs-handle-copy-file)
1609 (tramp-gvfs-handle-delete-directory)
1610 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1611 (tramp-gvfs-handle-file-directory-p)
1612 (tramp-gvfs-handle-file-executable-p)
1613 (tramp-gvfs-handle-file-name-all-completions)
1614 (tramp-gvfs-handle-file-readable-p)
1615 (tramp-gvfs-handle-file-writable-p)
1616 (tramp-gvfs-handle-insert-directory)
1617 (tramp-gvfs-handle-insert-file-contents)
1618 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1619 (tramp-gvfs-handle-set-visited-file-modtime)
1620 (tramp-gvfs-handle-write-region): Rewrite.
1621 (tramp-gvfs-handle-file-acl)
1622 (tramp-gvfs-handle-file-selinux-context)
1623 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1624 (tramp-gvfs-handle-set-file-modes)
1625 (tramp-gvfs-handle-set-file-selinux-context)
1626 (tramp-gvfs-handle-shell-command)
1627 (tramp-gvfs-handle-start-file-process)
1628 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1629 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1630 over the symlinks. Fix user handling.
1631 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1632 of the D-Bus signals.
1633 (tramp-gvfs-connection-mounted-p): Handle different names of the
1634 D-Bus methods.
1635 (tramp-gvfs-mount-spec-entry): New defun.
1636 (tramp-gvfs-mount-spec): Use it.
1637 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1638 there is a share name. Handle different names of the D-Bus
1639 signals and methods. Set connection properties needed for
1640 `tramp-check-cached-permissions'.
1641 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1642 Return t or nil.
1643
1644 * net/tramp.el (tramp-backtrace): Move up.
1645 (tramp-error): Dump a backtrace into the debug buffer when
1646 `tramp-verbose > 9.
1647 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1648 (tramp-file-mode-permissions, tramp-get-local-uid)
1649 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1650 tramp-sh.el.
1651
1652 * net/tramp-sh.el (tramp-file-mode-type-map)
1653 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1654 (tramp-file-mode-permissions, tramp-get-local-uid)
1655 (tramp-get-local-gid): Move to tramp.el.
1656
1657 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1658
1659 Separate mouse-1-click-follows-link from mouse-drag-region.
1660 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1661 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1662 (mouse-drag-line, mouse-drag-track):
1663 Remove mouse-1-click-follows-link code.
1664 (mouse--remap-link-click-p): Remove.
1665
1666 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
1667
1668 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1669 (hi-lock-read-regexp-defaults): New defun.
1670 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1671 (hi-lock-face-phrase-buffer): Propagate above change.
1672 Update docstring (bug#13892).
1673
1674 * subr.el (find-tag-default-as-regexp): New defun.
1675 * replace.el (read-regexp): Propagate above change.
1676
1677 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1678
1679 * calc/calc-units.el (calc-convert-units): Fix the way that default
1680 new units are stored.
1681
1682 2013-03-07 Matthias Meulien <orontee@gmail.com>
1683
1684 * bookmark.el: Define a face to highlight bookmark names in
1685 bookmark menu buffers, where the default is a bold face similarly
1686 to buffer names in buffer menu buffers.
1687 (bookmark-menu-bookmark): New face to highlight bookmark names.
1688 (bookmark-insert-location): Remove duplicated text property to
1689 conform to buffer list (see `list-buffers').
1690 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1691 `bookmark-menu-bookmark' to bookmark names.
1692
1693 2013-03-07 Matthias Meulien <orontee@gmail.com>
1694 Karl Fogel <kfogel@red-bean.com>
1695
1696 * bookmark.el: Display the bookmark list header similarly to the
1697 buffer list header (see `list-buffers'), where the default is now
1698 an immovable/immutable header line.
1699 (bookmark-bmenu-use-header-line): New variable.
1700 (bookmark-bmenu-inline-header-height): New name for
1701 `bookmark-bmenu-header-height', to avoid confusion with the code
1702 for the new immovable header. All references changed.
1703 (bookmark-bmenu-set-header): New function.
1704 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1705 Conditionalize header construction accordingly.
1706 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1707 the inline header height.
1708 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1709 Conditionalize the skipping of the inline header height.
1710
1711 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1712
1713 * progmodes/js.el (js--multi-line-declaration-indentation):
1714 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1715
1716 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1717
1718 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1719 Only propertize regexp when not inside a string (Bug#13885).
1720
1721 2013-03-06 Alan Mackenzie <acm@muc.de>
1722
1723 Correct the position of point in some line-up functions.
1724 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1725 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1726 point at column 0 rather than at a random place in the line.
1727
1728 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
1729
1730 * net/tramp-compat.el (tramp-compat-delete-directory):
1731 Implement TRASH argument.
1732
1733 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1734
1735 Keep pre-existing highlighting in completion candidates (Bug#13250).
1736 * minibuffer.el (completions-first-difference): State that the
1737 face is "added" in the docstring.
1738 (completions-common-part): Same. And don't inherit from default.
1739 (completion-hilit-commonality): Prepend 'completions-common-part
1740 and 'completion-first-difference faces to the 'face property,
1741 instead of replacing the value(s).
1742 (completion--insert-strings): Same with 'completions-annotations face.
1743 (completion-hilit-commonality): Use 'face instead of
1744 'font-lock-face, because it gets priority if the completion
1745 strings already have 'face set.
1746
1747 2013-03-04 Alan Mackenzie <acm@muc.de>
1748
1749 Replace `last-command-event' by `last-command-char' in XEmacs.
1750 * progmodes/cc-defs.el (c-last-command-char): New macro.
1751 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1752 (c-semi&comma-no-newlines-before-nonblanks)
1753 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1754 in place of `last-command-event'.
1755 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1756 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1757 (c-electric-paren, c-electric-continued-statement): Use the new
1758 macro in place of `last-command-event'.
1759
1760 2013-03-04 Glenn Morris <rgm@gnu.org>
1761
1762 * files.el (inhibit-local-variables-regexps):
1763 Add .diff and .patch. (Bug#13862)
1764
1765 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1766
1767 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1768 whether the "su" command is available on the device.
1769
1770 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1771
1772 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1773 (tramp-adb-handle-process-file): Remove superfluous setting.
1774 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1775 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1776 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1777
1778 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1779
1780 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1781 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1782 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1783 Use dict-key rather than dict-name for the error message.
1784
1785 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1786
1787 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1788 when reverting (bug#13831).
1789
1790 2013-03-01 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1791
1792 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1793 Always expand affix-file before storing to protect against changed
1794 `default-directory'.
1795 (ispell-print-if-debug): Make sure message is printed at the end
1796 of the debug buffer.
1797
1798 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1799
1800 * net/tramp.el (tramp-obsolete-methods): New defconst.
1801 (tramp-warned-obsolete-methods): New defvar.
1802 (tramp-find-method): Check for obsolete methods. Map them to a
1803 replacement method if appropriate.
1804
1805 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1806 Remove methods.
1807 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1808 "ssh2" and "plink1".
1809
1810 2013-02-28 Dale Sedivec <dale@codefu.org>
1811
1812 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1813 Return valid syntax-table property value when converting
1814 quotes within text from string syntax to punctuation syntax (bug#13844).
1815
1816 2013-02-28 Juri Linkov <juri@jurta.org>
1817
1818 * dired-aux.el (dired-diff): If file at point is a backup file,
1819 use its original as the default value, and reverse the order
1820 of arguments to the `diff' call. Doc fix. (Bug#13772)
1821
1822 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1823
1824 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1825 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1826
1827 2013-02-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1828
1829 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1830
1831 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1832 Ask hunspell about available and default dictionaries.
1833 (ispell-parse-hunspell-affix-file): Extract relevant info from
1834 hunspell affix file.
1835 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1836 `ispell-dictionary-alist' entry for given dictionary after info
1837 provided by `ispell-parse-hunspell-affix-file'.
1838 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1839 of parsed hunspell dicts and associated affix files.
1840 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1841 of parsed hunspell dicts and associated parameters.
1842 (ispell-set-spellchecker-params):
1843 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1844 previously done.
1845 (ispell-start-process):
1846 Call `ispell-hunspell-fill-dictionary-entry' for current
1847 dictionary if it is not initialized.
1848
1849 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * imenu.el: Comment nitpicks.
1852
1853 2013-02-28 Sam Steingold <sds@gnu.org>
1854
1855 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1856 See <http://stackoverflow.com/questions/14720205>.
1857
1858 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1859
1860 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1861 (net-utils-mode): Use it.
1862 (net-utils--revert-cmd): New var.
1863 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1864 (traceroute): Use net-utils-run-simple.
1865
1866 2013-02-28 Glenn Morris <rgm@gnu.org>
1867
1868 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1869
1870 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1871
1872 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1873 (doc-view-fallback-mode): Remove overlays here.
1874 (doc-view-toggle-display): Instead of here. Don't throw away
1875 image-mode-winprops-alist.
1876 (doc-view-goto-page): Don't mess with hscroll.
1877
1878 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1879
1880 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1881 &optional (bug#13819).
1882
1883 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1884
1885 * net/tramp-adb.el (tramp-adb-parse-device-names)
1886 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1887
1888 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1889
1890 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1891 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1892 defined. POSIX environments fall back to the "C" locale then and
1893 emit a warning, which shall be suppressed.
1894
1895 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1896
1897 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1898 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1899
1900 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1901
1902 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1903
1904 2013-02-25 Juri Linkov <juri@jurta.org>
1905
1906 * replace.el (read-regexp): Let-bind `default' to the first
1907 element of `defaults' if it's a list, otherwise it should be
1908 a string or nil. Let-bind `suggestions' to `defaults' if it's
1909 a list, otherwise make a list with the string value. Doc fix.
1910 (Bug#13805)
1911
1912 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1913
1914 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1915 that match "\`\.#", to avoid compiling lock files, even if they
1916 are readable (as they are on MS-Windows).
1917
1918 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1919
1920 * files.el (basic-save-buffer): Remove redundant directory-creation.
1921
1922 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1923
1924 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1925 Add option to force `pi' to remain symbolic.
1926 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1927 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1928 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1929 derivatives, when necessary.
1930
1931 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1932
1933 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1934 (ps-mode-octal-region): Use string-make-unibyte.
1935
1936 2013-02-23 Glenn Morris <rgm@gnu.org>
1937
1938 * emulation/viper-cmd.el (viper-submit-report):
1939 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1940 * progmodes/vera-mode.el (vera-mode-help-address):
1941 * textmodes/artist.el (artist-maintainer-address):
1942 * textmodes/reftex.el (reftex-report-bug):
1943 * vc/ediff-util.el (ediff-submit-report):
1944 Add bug-gnu-emacs to bug report address.
1945
1946 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1947 Remove bug report entries.
1948 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1949
1950 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1951 (byte-compile-file, byte-compile-from-buffer):
1952 Use separate input/output buffers for each level of recursive
1953 byte-compile-file calls. (Bug#13787)
1954
1955 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1956
1957 * net/tramp.el (tramp-methods): Fix docstring.
1958 (tramp-ssh-controlmaster-options): Rename it from
1959 `tramp-ssh-controlmaster-template'. Return a string.
1960 (tramp-default-method): Adapt check for
1961 `tramp-ssh-controlmaster-options'.
1962
1963 * net/tramp-sh.el (tramp-methods):
1964 Replace `tramp-ssh-controlmaster-template' by "%c".
1965 (tramp-do-copy-or-rename-file-out-of-band)
1966 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1967 that it is applied for the first hop only.
1968
1969 2013-02-22 Juri Linkov <juri@jurta.org>
1970
1971 * isearch.el (isearch-lazy-highlight-new-loop):
1972 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1973 to `isearch-other-end' if it is not nil. (Bug#13402)
1974
1975 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1976 to `match-beg'.
1977
1978 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1979 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1980 and `isearch-error' to nil.
1981
1982 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
1983
1984 * progmodes/python.el (python-info-current-defun):
1985 Enhance match-data cluttering prevention.
1986
1987 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1988
1989 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1990
1991 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1992 Handle multibyte file names.
1993
1994 2013-02-22 Glenn Morris <rgm@gnu.org>
1995
1996 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1997 (sgml-transformation-function): Give it a :set function.
1998 (sgml-tag): Doc fix.
1999
2000 * cmuscheme.el (scheme-buffer):
2001 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2002 * progmodes/tcl.el (inferior-tcl-buffer):
2003 * textmodes/tex-mode.el (tex-command): Doc fixes.
2004
2005 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2006
2007 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2008
2009 2013-02-21 Bastien Guerry <bzg@gnu.org>
2010
2011 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2012
2013 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2014
2015 * progmodes/python.el (python-info-current-defun):
2016 Enhance match-data cluttering prevention.
2017
2018 2013-02-21 Glenn Morris <rgm@gnu.org>
2019
2020 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2021 loaded while outline-regexp is let bound. (Bug#9584)
2022
2023 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2024
2025 * progmodes/python.el (python-info-current-defun): Fix failed
2026 defun name retrieval because of unwanted match-data cluttering.
2027
2028 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2029
2030 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2031 defconst. Apply independent check for ControlPersist.
2032
2033 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2034 temporarily, via "env".
2035
2036 2013-02-21 Glenn Morris <rgm@gnu.org>
2037
2038 * info.el (Info-enable-edit): Remove.
2039 (Info-edit): Disable it rather than using Info-enable.
2040 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2041 (Info-cease-edit): Make editing of Info files obsolete.
2042
2043 * informat.el (Info-tagify):
2044 Handle buffers not visiting files. (Bug#13763)
2045
2046 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2047
2048 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2049
2050 2013-02-21 Glenn Morris <rgm@gnu.org>
2051
2052 * files.el (basic-save-buffer): Move check for existing parent
2053 directory after hooks. (Bug#13773)
2054
2055 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2056
2057 * simple.el (command-execute): Move from C. Add obsolete check.
2058 (extended-command-history): Move from C.
2059
2060 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
2061
2062 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2063 (jka-compr-mode-alist-additions): Handle .txz suffix for
2064 XZ-compressed tar archives (bug#13770).
2065
2066 2013-02-20 Bastien Guerry <bzg@gnu.org>
2067
2068 * outline.el (outline-regexp, outline-heading-end-regexp):
2069 Make variables, not options (bug#13731).
2070
2071 2013-02-20 Glenn Morris <rgm@gnu.org>
2072
2073 * image.el (image-current-frame): Change from variable to function.
2074 (image-show-frame): Rename from image-nth-frame. Update callers.
2075 * image-mode.el (image-multi-frame): New variable.
2076 (image-mode-map, image-mode, image-goto-frame):
2077 Use image-multi-frame rather than image-current-frame.
2078 (image-mode, image-goto-frame): Use image-current-frame as
2079 function rather than as variable.
2080
2081 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2082 * emacs-lisp/cl-macs.el (cl--make-type-test)
2083 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2084
2085 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2086
2087 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2088 (tramp-get-file-property, tramp-set-file-property)
2089 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2090 (tramp-flush-file-property, tramp-flush-directory-property):
2091 Rename argument to KEY.
2092 (tramp-flush-connection-property): Simplify a little bit.
2093 (tramp-connection-property-p): New defun.
2094 (top): Reapply saved values only if there isn't a corresponding
2095 entry in `tramp-connection-properties'.
2096
2097 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2098
2099 * progmodes/python.el (python-indent-context):
2100 Fix python-info-line-ends-backslash-p call.
2101 (python-info-line-ends-backslash-p)
2102 (python-info-beginning-of-backslash): Respect line-number argument.
2103 (python-info-current-line-comment-p):
2104 Fix behavior when not at beginning-of-line.
2105 (python-util-position): Remove function.
2106 (python-util-goto-line): New function.
2107
2108 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2109
2110 * eshell/em-unix.el (eshell/su): Require tramp.
2111 (eshell/sudo): Require tramp. Remove now unnecessary check.
2112
2113 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2114 `tramp-current-connection' in order to avoid an error when several
2115 commands are invoked in a short time in eshell and friends.
2116
2117 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2118
2119 Cleanup some of EIEIO's namespace.
2120 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2121 Use it to define all the class-* and object-* field accessors (renamed
2122 to eieio--class-* and eieio--object-*). Update all uses.
2123 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2124 class-num-slots and object-num-slots.
2125 (eieio--check-type): New macro.
2126 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2127 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2128 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2129 (object-assoc-list-safe): Use it.
2130 (eieio-defclass): Tighten regexp.
2131 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2132 Remove unreachable code.
2133 (object-class-fast): Declare obsolete.
2134 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2135 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2136 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2137 Rename from class-name, object-name, object-set-name-string,
2138 object-class, object-class-name, class-parents, class-children,
2139 class-precedence-list, class-parent; with obsolete alias.
2140 (class-of, class-direct-superclasses, class-direct-subclasses):
2141 Declare obsolete.
2142 (eieio-defmethod): Use `memq'; remove unreachable code.
2143 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2144 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2145 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2146
2147 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2148
2149 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2150 commentary.
2151
2152 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2153
2154 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2155 Use font-lock-keyword-face for macros and special forms (bug#8345).
2156
2157 2013-02-17 Didier Verna <didier@didierverna.net>
2158
2159 * net/network-stream.el (network-stream-open-starttls):
2160 Check that response to the starttls-command is non-nil. (Bug#13706)
2161
2162 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
2165 Don't assume all identifier chars have syntax word.
2166 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2167 Remove bar-not-symbol. Adjust callers.
2168 (lisp-mode-variables): Don't set a font-lock-syntax-table.
2169
2170 2013-02-17 Leo Liu <sdl.web@gmail.com>
2171
2172 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
2173
2174 2013-02-17 Glenn Morris <rgm@gnu.org>
2175
2176 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
2177
2178 * image-mode.el (image-mode-map): Add image-dired menu entry.
2179
2180 * image-dired.el (tumme): Make this alias obsolete.
2181
2182 2013-02-16 Glenn Morris <rgm@gnu.org>
2183
2184 * image.el (image-animated-types): Remove.
2185 (image-multi-frame-p): Rename from image-animated-p, and generalize.
2186 (image-animated-p): Make obsolete alias.
2187 (image-animate, image-nth-frame, image-animate-timeout):
2188 Use image-multi-frame-p.
2189 (image-animate-timeout): If no delay, use image-default-frame-delay.
2190 * image-mode.el (image-mode, image-toggle-animation):
2191 Use image-multi-frame-p. (Bug#763, bug#10739)
2192 (image-mode): Adjust startup message for a multi-frame image.
2193
2194 * image-mode.el (image-mode-map): Give it a menu.
2195
2196 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
2197
2198 * net/tramp-cache.el (tramp-connection-properties): New customer
2199 option.
2200 (tramp-get-connection-property): Use it.
2201
2202 * net/tramp-compat.el (top): Require 'trampver.
2203
2204 * net/tramp-sh.el (tramp-remote-process-environment):
2205 Set tramp-autoload cookie.
2206
2207 2013-02-16 Kevin Ryde <user42@zip.com.au>
2208
2209 * info-look.el (info-lookup-select-mode): If major-mode has no
2210 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
2211
2212 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
2213
2214 * replace.el (read-regexp): Tighten the regexp that matches tag.
2215 When tag is retrieved with `find-tag-default', use regexp that
2216 matches tag at point. Also update docstring (Bug#13687).
2217
2218 2013-02-16 Eli Zaretskii <eliz@gnu.org>
2219
2220 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
2221 add watch for the file, not its parent directory, since w32notify
2222 sets up the watch for the directory internally. (Bug#13725)
2223
2224 2013-02-16 Glenn Morris <rgm@gnu.org>
2225
2226 * image.el (image-default-frame-delay): New variable.
2227 (image-animated-p): Use image-default-frame-delay.
2228 (image-minimum-frame-delay): New constant.
2229 (image-animate-timeout): Use image-minimum-frame-delay.
2230
2231 * image.el (image-nth-frame): New, split from image-animate-timeout.
2232 (image-animate-timeout): Use image-nth-frame.
2233 * image-mode.el (image-goto-frame, image-next-frame)
2234 (image-previous-frame): New commands.
2235 (image-mode-map): Add new frame commands.
2236
2237 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
2238
2239 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
2240 If col-desc already has help-echo, use it. (Bug#13563)
2241
2242 2013-02-16 Glenn Morris <rgm@gnu.org>
2243
2244 * image.el (image-current-frame): New variable.
2245 (image-animate-timeout): Set image-current-frame.
2246 * image-mode.el (image-mode): For animated images,
2247 display a frame counter via mode-line-process.
2248
2249 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
2250
2251 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2252
2253 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
2254
2255 2013-02-15 Alan Mackenzie <acm@muc.de>
2256
2257 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
2258 global minor mode has been enabled, call the minor mode function
2259 for a new buffer once only, after the major mode hook, whilst
2260 allowing that hook explicitly to disable the minor mode.
2261 (MODE-disable-in-buffer): New (generated) function.
2262 (disable-MODE): New (generated) buffer local variable.
2263
2264 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
2265
2266 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
2267 `iswitchb-next-match' and `iswitchb-prev-match' resply.
2268 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
2269 `ido-next-match' and `ido-prev-match' resply.
2270 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
2271 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
2272 `icomplete-backward-completions' (Bug#13708).
2273
2274 2013-02-15 Glenn Morris <rgm@gnu.org>
2275
2276 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2277
2278 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2279
2280 * net/goto-addr.el (goto-address-fontify): Add start and end args.
2281 (goto-address-fontify-region): Use them instead of narrowing, so
2282 syntax-ppss has access to the whole buffer.
2283
2284 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2285
2286 * progmodes/python.el: Explain how to restore "cc-mode"-like
2287 forward-sexp movement in header documentation (Bug#13642).
2288 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
2289 comments and strings (GH bug 114).
2290
2291 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2292
2293 * progmodes/python.el (python-info-current-defun): Fix current
2294 defun detection (Bug#13618).
2295
2296 2013-02-15 Chong Yidong <cyd@gnu.org>
2297
2298 * xml.el (xml-parse-string): Fix typo in handling of bad character
2299 references.
2300
2301 2013-02-15 Glenn Morris <rgm@gnu.org>
2302
2303 * play/fortune.el (fortune-compile): Simplify and fix previous change.
2304
2305 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
2306
2307 * net/tramp.el (tramp-debug-message):
2308 Add `tramp-condition-case-unless-debug'.
2309 (tramp-debug-on-error): New defvar.
2310 (tramp-condition-case-unless-debug): New defun.
2311 (tramp-file-name-handler): Use it.
2312
2313 2013-02-14 Juri Linkov <juri@jurta.org>
2314
2315 * info.el (Info-isearch-filter): Treat non-nil values of
2316 `search-invisible' including its default value `open'
2317 like the value `t' to match hidden text. (Bug#13402)
2318
2319 2013-02-14 Glenn Morris <rgm@gnu.org>
2320
2321 * help-fns.el (find-lisp-object-file-name): Give special treatment
2322 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
2323
2324 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
2325
2326 * net/quickurl.el (quickurl-save-urls):
2327 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
2328
2329 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
2330
2331 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
2332 depth for unfinished percent literal. Not using it in the caller.
2333 (ruby-move-to-block): Jump over multiline literals of all types,
2334 ignoring code-looking contents inside them.
2335 (ruby-add-log-current-method): Improve performance at the expense
2336 of accuracy. `ruby-block-contains-point' is relatively slow, so
2337 only use it for method and singleton class blocks.
2338
2339 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2340
2341 Use ControlMaster where applicable. (Bug#13677)
2342
2343 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
2344 replacing `tramp-detect-ssh-controlmaster'.
2345 (tramp-default-method): Use it.
2346
2347 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
2348 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
2349 arguments.
2350 [scpc, rsyncc]: Remove methods.
2351 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
2352 and "ssh2_old".
2353 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
2354 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
2355
2356 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2357
2358 * emacs-lisp/package.el (package--initialized): Move before first use.
2359
2360 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
2361
2362 * icomplete.el (icomplete-hide-common-prefix): New user option.
2363 (icomplete-first-match): New face.
2364 (icomplete-completions): Correct handling of "complete but not
2365 unique" (Bug#12638).
2366
2367 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
2368
2369 * descr-text.el (describe-char): Display the script (bug#13698).
2370
2371 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2372
2373 * tmm.el: Use lexical-binding and current-active-maps.
2374 (tmm-menubar): Use map-keymap and pcase.
2375 (tmm--completion-table): New function.
2376 (tmm-prompt): Use it to fix the menu order.
2377 (tmm-get-keybind): Use current-active-maps.
2378
2379 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
2380
2381 Add dired-hide-details-mode. (Bug#6799)
2382
2383 * locate.el (locate-mode): Set parent mode property to dired-mode.
2384
2385 * find-dired.el (find-dired): Call dired-insert-set-properties on
2386 initial information line. Set process mark on end of buffer.
2387 (find-dired-sentinel):
2388 Call dired-insert-set-properties on summary.
2389
2390 * dired.el (dired-hide-details-hide-symlink-targets)
2391 (dired-hide-details-hide-information-lines): New options.
2392 (dired-insert-directory):
2393 Set properties after final treatment of output.
2394 (dired-insert-set-properties):
2395 Set dired-hide-details-* properties.
2396 (dired-mode-map): Bind dired-hide-details-mode.
2397 (dired-mode): Set buffer-invisibility-spec to a list.
2398 (dired-next-line): Skip hidden lines.
2399 (dired-previous-line): Use dired-next-line.
2400 (dired-hide-details-mode): New minor mode.
2401 (dired-hide-details-update-invisibility-spec): New function.
2402
2403 2013-02-13 Glenn Morris <rgm@gnu.org>
2404
2405 * play/yow.el: Move to obsolete/. (Bug#9384)
2406
2407 2013-02-13 Juri Linkov <juri@jurta.org>
2408
2409 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2410 to select `ediff-control-frame' and set input focus correctly on Xfce.
2411 (Bug#12218)
2412
2413 2013-02-13 Juri Linkov <juri@jurta.org>
2414
2415 * image-mode.el (image-mode-map):
2416 * doc-view.el (doc-view-mode-map):
2417 * vc/ediff-util.el (ediff-setup-keymap):
2418 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2419
2420 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2421
2422 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2423 performance. Instead of recalculating indentation fully for each
2424 line, sum up indentation depth based only on visited lines.
2425 (ruby-parse-partial): Increase the depth after "do" even when END
2426 is right after it.
2427 (ruby-parse-partial): When END is in the middle of a percent
2428 literal, increase the depth if the delimiter chars belong to the
2429 paren syntax class.
2430
2431 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2432
2433 * play/fortune.el (fortune-compile): Also make the compiled file
2434 if it does not exist at all, not just if it is old. (Bug#5338)
2435
2436 2013-02-13 Glenn Morris <rgm@gnu.org>
2437
2438 * emacs-lisp/package.el (package-menu-execute): Doc fix.
2439
2440 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
2441
2442 * lisp/emacs-lisp/package.el (package-menu-execute):
2443 Add optional noquery argument. (Bug#13625)
2444
2445 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2446
2447 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2448 if DIR exists and PARENTS is non-nil.
2449
2450 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
2451
2452 * progmodes/js.el (js--multi-line-declaration-indentation):
2453 Silence byte-compiler warning.
2454
2455 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
2456
2457 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2458
2459 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2460 only if it doesn't exist.
2461
2462 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2463 Set process marker.
2464
2465 2013-02-12 Tassilo Horn <tsdh@gnu.org>
2466
2467 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2468 UserInstallation when calling soffice to work around LibreOffice
2469 bug 37531.
2470
2471 2013-02-12 Glenn Morris <rgm@gnu.org>
2472
2473 * files.el (basic-save-buffer):
2474 Offer to create a non-existing directory. (Bug#3016)
2475
2476 * calc/calc-graph.el (calc-graph-show-dumb):
2477 * calendar/calendar.el (calendar-mode-map):
2478 * cus-edit.el (custom-mode-map):
2479 * ehelp.el (electric-help-map):
2480 * emulation/vip.el (vip-mode-map):
2481 * epa.el (epa-key-list-mode-map):
2482 * info.el (Info-mode-map):
2483 * mail/rmail.el (rmail-mode-map):
2484 * mail/rmailsum.el (rmail-summary-mode-map):
2485 * man.el (Man-mode-map):
2486 * net/newst-plainview.el (newsticker-mode-map):
2487 * progmodes/cpp.el (cpp-edit-mode-map):
2488 * progmodes/grep.el (grep-mode-map):
2489 * progmodes/idlw-help.el (idlwave-help-mode-map):
2490 * simple.el (special-mode-map):
2491 * startup.el (splash-screen-keymap):
2492 * view.el (view-mode-map):
2493 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2494
2495 2013-02-11 Elias Pipping <pipping@lavabit.com>
2496
2497 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
2498 (bug#13679).
2499
2500 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2501
2502 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2503
2504 2013-02-11 Glenn Morris <rgm@gnu.org>
2505
2506 * vc/diff.el (diff-use-labels): New variable.
2507 (diff-no-select): Use --label rather than -L, and first
2508 check that it is supported. (Bug#11067)
2509
2510 * files.el (enable-dir-local-variables): New variable.
2511 (hack-dir-local-variables): Respect enable-dir-local-variables.
2512 * tutorial.el (help-with-tutorial):
2513 Ignore directory-local variables. (Bug#11127)
2514
2515 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2516 (vc-svn-global-switches): ... to here. (Bug#13513)
2517
2518 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2519
2520 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2521 Handle "foo (bar, default: xxx): " prompts.
2522
2523 2013-02-10 Chong Yidong <cyd@gnu.org>
2524
2525 * files.el (basic-save-buffer-1): Do not set
2526 buffer-file-coding-system-explicit (Bug#4533).
2527
2528 * mail/emacsbug.el (report-emacs-bug): Change binding of
2529 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2530
2531 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2532
2533 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2534 * calc/calc-units.el (calc-convert-units): Use new variable.
2535
2536 2013-02-09 Eli Zaretskii <eliz@gnu.org>
2537
2538 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2539
2540 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2541 buffer-file-type.
2542
2543 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2544 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2545 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2546 coding-system-for-write instead.
2547
2548 * jka-compr.el (jka-compr-write-region): Don't bind
2549 buffer-file-type.
2550
2551 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2552 buffer-file-type.
2553
2554 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2555 (insert-file-contents-literally): Remove reference to
2556 file-name-buffer-file-type-alist.
2557
2558 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2559 make-obsolete.
2560 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2561 (find-buffer-file-type-coding-system): Remove references to
2562 find-buffer-file-type-match, find-buffer-file-type, and
2563 buffer-file-type.
2564 Don't put find-buffer-file-type-coding-system into
2565 file-coding-system-alist.
2566 (find-file-binary, find-file-text): Bind coding-system-for-read
2567 instead of file-name-buffer-file-type-alist.
2568
2569 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
2570
2571 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2572 converter (Bug#13622).
2573 (doc-view-unoconv-program): Make obsolete alias.
2574 (doc-view-odf->pdf-converter-program): New variable.
2575 (doc-view-odf->pdf-converter-function): New variable.
2576 (doc-view-mode-p): Use it.
2577 (doc-view-odf->pdf-converter-unoconv):
2578 Rename from `doc-view-odf->pdf-converter-unoconv'.
2579 (doc-view-odf->pdf-converter-soffice): New function.
2580 (doc-view-convert-current-doc):
2581 Use `doc-view-odf->pdf-converter-function'.
2582
2583 2013-02-09 Chong Yidong <cyd@gnu.org>
2584
2585 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2586 view-echo-area-messages (Bug#13340).
2587
2588 * help.el (view-echo-area-messages): Use display-buffer.
2589
2590 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2591 (Bug#13561).
2592
2593 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2594
2595 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2596 Eval body right away, now that we do eager macroexpansion (bug#13605).
2597
2598 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2599 (fundamental-mode): Use run-mode-hooks.
2600
2601 * eshell/esh-proc.el (eshell/kill): Fix last change.
2602 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2603
2604 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2605
2606 * eshell/esh-proc.el (eshell/kill): Rewrite.
2607
2608 * eshell/em-ls.el (show-almost-all): Declare.
2609 (eshell-do-ls): Add support for -A argument.
2610
2611 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
2612
2613 * icomplete.el (icomplete-forward-completions)
2614 (icomplete-backward-completions): Handle corner case (bug#13602).
2615
2616 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
2617
2618 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2619 be nil. Handle this. (Bug#13636)
2620
2621 2013-02-07 Richard Stallman <rms@gnu.org>
2622
2623 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2624 `save-buffer-coding-system'.
2625
2626 2013-02-07 Alan Mackenzie <acm@muc.de>
2627
2628 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
2629 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2630 (c-parse-state-get-strategy): Don't return 'BOD any more.
2631 (c-append-lower-brace-pair-to-state-cache):
2632 Extra parameter HERE instead of narrowing.
2633 Widen to top of buffer before searching backwards for a brace pair.
2634 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2635 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2636 Narrow to parameter HERE, in place of being called narrowed.
2637 (c-remove-stale-state-cache): Extra parameter HERE in place of
2638 narrowing. Check there's an open brace in the cache before
2639 searching for its match.
2640 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2641 (c-parse-state-1): Don't narrow here for 'forward strategy,
2642 instead passing extra parameter HERE to several functions.
2643 Remove 'BOD strategy.
2644
2645 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2646
2647 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2648 used to install the package.
2649
2650 2013-02-06 Glenn Morris <rgm@gnu.org>
2651
2652 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2653 if we can't get user input. (Bug#6567)
2654
2655 * startup.el (command-line): If simple.el is missing,
2656 test and warn about for some possible causes.
2657
2658 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2659
2660 * cus-start.el (all): Add ns-use-native-fullscreen.
2661
2662 2013-02-05 Glenn Morris <rgm@gnu.org>
2663
2664 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2665
2666 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2667 Fix directory creation in fallback case.
2668
2669 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2670
2671 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2672 (vc-update-change-log): Use dolist.
2673
2674 2013-02-04 Chong Yidong <cyd@gnu.org>
2675
2676 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2677 code from ffap.el.
2678 (thing-at-point-beginning-of-url-regexp): New var.
2679 (thing-at-point-uri-schemes): Update list of URI schemes.
2680 (thing-at-point-url-regexp): Variable deleted.
2681 (thing-at-point-markedup-url-regexp): Disallow newlines.
2682 (thing-at-point-newsgroup-regexp)
2683 (thing-at-point-newsgroup-heads)
2684 (thing-at-point-default-mail-uri-scheme): New variables.
2685 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
2686 method to find the possible bounds of the URI at point.
2687 New optional argument to find ill-formed URIs.
2688 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2689 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2690 the scheme-adding heuristics from ffap-url-at-point.
2691 (thing-at-point--bounds-of-well-formed-url): New function.
2692 Do parens matching to decide whether to include parens in the URI
2693 (Bug#9153).
2694
2695 * ffap.el: Require thingatpt.
2696 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2697 All URI-valid characters are now recognized (Bug#5673).
2698 (ffap-string-at-point): Use use-region-p.
2699 (ffap-url-regexp): Extra character is handled by thing-at-point.
2700 (ffap-string-at-point-mode-alist): Allow parentheses.
2701 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2702 Convert to aliases; code moved to thingatpt.el.
2703 (ffap-gnus-hook): Use setq-local.
2704
2705 2013-02-04 Glenn Morris <rgm@gnu.org>
2706
2707 * emacs-lisp/ert.el (ert--explain-format-atom):
2708 Don't try to print non-characters as characters. (Bug#13543)
2709
2710 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
2711
2712 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2713 (tramp-backtrace): New defun.
2714 (tramp-handle-insert-file-contents): Use `visit' when inserting
2715 the local copy.
2716
2717 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2718 Use `remote-file-name-inhibit-cache'.
2719
2720 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2721
2722 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2723 (bug#13614).
2724
2725 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2726 current-load-list (bug#13366).
2727
2728 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2729
2730 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2731 Identify g++ template instantiation trace. (Bug#12287)
2732 (compilation-mode-hook, compilation-start-hook)
2733 (compilation-window-height): Simplify docstrings. (Bug#13379)
2734
2735 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2736
2737 * mouse.el (mouse-drag-track): Always deactivate the mark before
2738 running the final event's command since that command is in charge of
2739 activating the mark if needed (bug#13523).
2740
2741 2013-02-02 Juri Linkov <juri@jurta.org>
2742
2743 * replace.el (perform-replace): Move let-bindings of isearch-*
2744 variables deeper to the loop that searches for the next match.
2745 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2746 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2747 (Bug#13579)
2748
2749 * isearch.el (isearch-search-fun-default): Check for null
2750 first element of isearch-cmds as a precaution when it's used
2751 with inactive isearch.
2752
2753 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
2754
2755 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2756 error when buffer in question is narrowed so position 1 is out of
2757 visible part.
2758
2759 2013-02-02 Glenn Morris <rgm@gnu.org>
2760
2761 * textmodes/remember.el (remember-clipboard): Doc fix.
2762
2763 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2764
2765 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2766 properties (bug#13179).
2767
2768 2013-02-02 Juri Linkov <juri@jurta.org>
2769
2770 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2771 instead of hard-coded default face `match'. (Bug#9438)
2772
2773 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2774
2775 * vc/vc-arch.el (vc-arch-registered):
2776 * vc/vc-bzr.el (vc-bzr-registered):
2777 * vc/vc-cvs.el (vc-cvs-registered):
2778 * vc/vc-git.el (vc-git-registered):
2779 * vc/vc-hg.el (vc-hg-registered):
2780 * vc/vc-mtn.el (vc-mtn-registered):
2781 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2782 (Bug#13139)
2783
2784 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2785 prefix argument. (Bug#11656)
2786
2787 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2788
2789 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2790
2791 2013-02-01 Glenn Morris <rgm@gnu.org>
2792
2793 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2794 if the backend is known not to support it.
2795
2796 * imenu.el (imenu-default-create-index-function):
2797 Tweak infinite loop test to check for forward motion as well as none.
2798
2799 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2800
2801 * net/soap-client.el (soap-invoke): Encode the string for
2802 `url-request-data' as UTF-8.
2803 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2804
2805 2013-02-01 Glenn Morris <rgm@gnu.org>
2806
2807 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2808
2809 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2810
2811 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
2812
2813 * net/tramp.el (tramp-tramp-file-p): Comment check for
2814 `string-as-unibyte'. The function does not exist on XEmacs, and
2815 likely we need another approach.
2816
2817 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2818 `tramp-gw-*' variables are bound.
2819
2820 2013-01-31 Glenn Morris <rgm@gnu.org>
2821
2822 * files.el (basic-save-buffer-2): Choose coding system for
2823 writing the file before backing it up, to reduce delay between
2824 backing up and writing the new version. (Bug#13522)
2825
2826 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2827
2828 * simple.el (cycle-spacing): New command.
2829 (just-one-space): Use it.
2830
2831 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2832
2833 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2834 (opascal-newline-always-indents): Remove custom.
2835 (opascal-tab, opascal-newline): Remove commands.
2836 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2837 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2838 (opascal-save-match-data): Remove, use save-match-data instead.
2839 (opascal-save-state): Use with-silent-modifications.
2840
2841 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2842 (bug#13585).
2843
2844 2013-01-30 Juri Linkov <juri@jurta.org>
2845
2846 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2847 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2848 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2849
2850 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2851
2852 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2853 column if we're just deleting the backslashes.
2854 (makefile-fill-paragraph): Use eolp.
2855
2856 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2857
2858 * autorevert.el (auto-revert-use-notify): Fix docstring.
2859
2860 2013-01-30 Leo Liu <sdl.web@gmail.com>
2861
2862 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2863
2864 2013-01-30 Glenn Morris <rgm@gnu.org>
2865
2866 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2867 unread-command-events twice in some cases. This tries to implement
2868 the 2012-07-26 changes in a different way. (Bug#13560)
2869
2870 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2871
2872 * progmodes/python.el
2873 (python-pdbtrack-comint-output-filter-function): Enhancements on
2874 stacktrace detection. (thanks @gnovak)
2875
2876 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2877
2878 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2879 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2880 Use defvar-local.
2881 (jit-lock-register): Use setq-local.
2882
2883 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2884
2885 * calc-units.el (math-default-units-table): Remove initial value.
2886 (calc-convert-units): Treat expressions where all the units cancel as
2887 if they didn't have units.
2888
2889 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2890
2891 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2892 (tramp-completion-reread-directory-timeout): Fix type.
2893 (tramp-connection-min-time-diff): New defcustom.
2894
2895 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2896
2897 2013-01-30 Glenn Morris <rgm@gnu.org>
2898
2899 * imenu.el (imenu-default-create-index-function):
2900 Put back a version of the infinite loop test removed 2013-01-23.
2901
2902 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2903
2904 * progmodes/python.el (python-shell-parse-command):
2905 Find python-shell-interpreter with modified environment.
2906
2907 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2908
2909 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2910
2911 2013-01-29 Alan Mackenzie <acm@muc.de>
2912
2913 Amend to fontify /regexp/s in actions correctly.
2914 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2915 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2916 are no longer included.
2917 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2918 What used to be these variables without "-line" in the name.
2919 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2920 (c-awk-non-arith-op-bra-re): Now also matches {.
2921 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2922 "return", and "case".
2923 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2924 by /.
2925 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2926 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2927
2928 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2929
2930 * autorevert.el (auto-revert-use-notify):
2931 Use `custom-initialize-default' for initialization. (Bug#13583)
2932
2933 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2934
2935 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2936 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2937 in `tramp-file-name-handler'.
2938 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2939 compatibility.
2940 (tramp-compute-multi-hops): Check, whether
2941 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2942
2943 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2944
2945 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2946 (bug#13297).
2947
2948 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2949
2950 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2951 checks made superfluous by the \_< operator.
2952 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2953 temporarily) broken indentation.
2954 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2955 Highlight nested constants, too. \_< broke that.
2956
2957 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2958
2959 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2960 instead of "\\b".
2961
2962 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2963
2964 * autorevert.el (auto-revert-handler): Notifications which result
2965 from a saved file shall not be taken into account. (Bug#13557)
2966
2967 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2968
2969 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2970 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2971 (lisp-mode): Pass t for it. (Bug#13556)
2972
2973 2013-01-25 Alan Mackenzie <acm@muc.de>
2974
2975 AWK Mode: Fix indentation bug at top level. Bug #12274.
2976
2977 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2978 just before CASE 5D.
2979
2980 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2981
2982 * net/socks.el (socks-nslookup-host): Use string-to-number.
2983
2984 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2985
2986 * autorevert.el (auto-revert-remote-files)
2987 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2988 (auto-revert-notify-enabled, auto-revert-use-notify)
2989 (auto-revert-notify-watch-descriptor-hash-list)
2990 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2991 (auto-revert-notify-event-descriptor)
2992 (auto-revert-notify-event-action)
2993 (auto-revert-notify-event-file-name): Doc fix.
2994 (global-auto-revert-mode): Reorder checks.
2995 (auto-revert-notify-rm-watch): Respect changed values of
2996 `auto-revert-notify-watch-descriptor-hash-list'.
2997 (auto-revert-notify-add-watch): Check for
2998 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2999 `inotify-add-watch'. Watch `default-directory' instead of
3000 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3001 has a changed meaning now. (Bug#13540)
3002 (auto-revert-notify-handler): Change implementation wrt events
3003 returning from a directory.
3004 (auto-revert-handler): Reorder implementation for checks of remote
3005 files.
3006 (auto-revert-buffers): Fix parentheses error.
3007
3008 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3009
3010 * progmodes/python.el: Enhancements to header documentation about
3011 skeletons. (Bug#5716)
3012
3013 * imenu.el (imenu-default-create-index-function): Remove useless
3014 infinite loop check. (Bug#13438)
3015
3016 2013-01-25 Alan Mackenzie <acm@muc.de>
3017
3018 Fix a bug in the state cache mechanism. Refactor this a bit.
3019
3020 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3021 `cache-pos' element from the return value.
3022 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3023 buffer to enable proper searching from beyond HERE. Amend the
3024 test for detecting the sought brace pair. Amend the value written
3025 to the "brace desert cache" when the brace isn't found.
3026 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3027 and several other variables analogously.
3028 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3029 parameter to a locally calculated variable.
3030 (c-parse-state-1): Change the calling conventions to the two
3031 defuns involving `cache-pos'.
3032
3033 2013-01-25 Chong Yidong <cyd@gnu.org>
3034
3035 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3036
3037 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3038
3039 * paren.el (show-paren-function): Make sure to set 'priority and
3040 'face only if the overlay does exist.
3041
3042 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3043
3044 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3045
3046 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3047 basic attributes.
3048 (tramp-sh-handle-set-file-acl): Improve error checking.
3049
3050 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3051
3052 * doc-view.el (doc-view-display): Force mode line update until all
3053 document is converted. Suggested by Stefan Monnier (Bug#13164).
3054
3055 2013-01-23 Bastien Guerry <bzg@gnu.org>
3056
3057 * paren.el (show-paren-function): Make sure an overlay exists
3058 before trying to delete it. Also use `pos' as a position only
3059 when it is an integer.
3060
3061 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3062
3063 * play/gametree.el (gametree-break-line-here): Use point-marker.
3064
3065 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
3066
3067 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3068 Mark descriptive parts with `display' property.
3069
3070 2013-01-21 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3071
3072 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3073 New variable to map standard dict names to hunspell ones.
3074 (ispell-set-spellchecker-params): Make sure specific dict names
3075 are used for standard dicts with hunspell.
3076
3077 2013-01-21 Tassilo Horn <tsdh@gnu.org>
3078
3079 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3080 chars for note (%N) and url (%U).
3081 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3082
3083 2013-01-21 Juri Linkov <juri@jurta.org>
3084
3085 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3086 in addition to existing separate binding `meta f10' in `global-map'.
3087 (Bug#13484)
3088
3089 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
3090
3091 Improve XEmacs compatibility.
3092
3093 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3094
3095 * net/tramp-adb.el (top): Require `time-date'.
3096 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3097 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3098 Use `tramp-file-name-handler'.
3099 (tramp-adb-maybe-open-connection):
3100 Use `tramp-compat-set-process-query-on-exit-flag'.
3101
3102 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3103 Use `tramp-compat-funcall'.
3104
3105 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3106 `tramp-compat-funcall'.
3107
3108 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
3109
3110 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3111 reimplementation using "adb shell command ..." instead of running
3112 remote shell interactively.
3113
3114 2013-01-20 Glenn Morris <rgm@gnu.org>
3115
3116 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3117 Add native profiler menu entries.
3118
3119 * profiler.el (profiler-running-p): New function.
3120 (profiler-cpu-profile): Use profiler-running-p.
3121 (profiler-report-mode-map): Add some more menu entries.
3122
3123 2013-01-19 Glenn Morris <rgm@gnu.org>
3124
3125 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3126 fixes 2012-12-07 change. (Bug#13499)
3127
3128 2013-01-19 Leo Liu <sdl.web@gmail.com>
3129
3130 * dired.el (dired-get-marked-files): Prune erroneous values due to
3131 last change. (Bug#13152)
3132
3133 2013-01-19 Glenn Morris <rgm@gnu.org>
3134
3135 * progmodes/etags.el (tags-table-check-computed-list):
3136 Preserve point in tags buffer. (Bug#13412)
3137
3138 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3139
3140 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3141 Chong Yidong <cyd@gnu.org>
3142
3143 * image-mode.el (image-next-file, image-previous-file):
3144 New commands (Bug#8453).
3145 (image-mode-map): Bind them to n and p.
3146 (image-mode--images-in-directory): New helper function.
3147
3148 2013-01-19 Chong Yidong <cyd@gnu.org>
3149
3150 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3151 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3152 save and restore the old window configuration.
3153
3154 2013-01-18 Leo Liu <sdl.web@gmail.com>
3155
3156 * progmodes/js.el: Tweak autoload cookie for alias.
3157
3158 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3159
3160 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
3161 buffer local, again. This was lost with the fix on 2013-01-12.
3162
3163 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
3164
3165 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
3166 order to support several eshell buffers in parallel.
3167
3168 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3169
3170 * autorevert.el (auto-revert-use-notify): In the :set function, do
3171 not modify `kill-buffer-hook'.
3172 (auto-revert-notify-rm-watch):
3173 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
3174 (auto-revert-notify-add-watch): Do not call
3175 `auto-revert-notify-rm-watch', but add it to a buffer local
3176 `kill-buffer-hook'.
3177
3178 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3179
3180 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
3181 call to `eval' rather than a backquoted lambda.
3182
3183 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3184
3185 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
3186 to return an explicit nil.
3187 (advice--remove-function): Change accordingly.
3188
3189 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
3190 the use of nadvice.el.
3191
3192 * progmodes/which-func.el (which-function): Silence imenu errors
3193 (bug#13433).
3194
3195 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3196
3197 * progmodes/sql.el (sql-imenu-generic-expression):
3198 (sql-mode-font-lock-object-name): Match schema qualified names.
3199 (sql-connect): Use string keys.
3200 (sql-product-interactive): Wait for interpreter prompt.
3201 (sql-comint-oracle): Set process coding based on NLS_LANG.
3202
3203 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3204
3205 * progmodes/sql.el (sql-output-to-send): Remove, unused.
3206 (sql-interactive-remove-continuation-prompt):
3207 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
3208
3209 2013-01-14 Leo Liu <sdl.web@gmail.com>
3210
3211 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
3212 (Bug#13420)
3213
3214 2013-01-14 Glenn Morris <rgm@gnu.org>
3215
3216 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3217 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
3218
3219 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3220
3221 * progmodes/python.el (python-nav-end-of-statement):
3222 Fix cornercase when handling multiline strings.
3223
3224 2013-01-13 Richard Stallman <rms@gnu.org>
3225
3226 * mail/sendmail.el (mail-position-on-field): Add doc string.
3227
3228 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3229 Get current message boundaries and pass them to
3230 message-forward-make-body-mime. Minor style changes.
3231
3232 2013-01-13 Eli Zaretskii <eliz@gnu.org>
3233
3234 * cus-start.el (all): Avoid warnings about
3235 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
3236
3237 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
3238
3239 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
3240
3241 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3242
3243 * jit-lock.el (jit-lock-debug-mode): New minor mode.
3244 (jit-lock--debug-fontifying): New var.
3245 (jit-lock--debug-fontify): New function.
3246 * subr.el (condition-case-unless-debug): Don't prevent catching the
3247 error, just let the debbugger run.
3248 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
3249 timer code and don't drop errors silently.
3250
3251 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
3252
3253 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
3254 `permanent-local' property.
3255 (auto-revert-notify-handler): Use `file-equal-p'.
3256
3257 2013-01-12 Eli Zaretskii <eliz@gnu.org>
3258
3259 * autorevert.el (auto-revert-notify-handler): Fix filtering of
3260 file notification by ACTION. For filtering by file name, compare
3261 only the non-directory part of the file name.
3262
3263 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3264
3265 * autorevert.el: Use cl-lib instead of cl.
3266
3267 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
3268 (vc-bzr-checkin): Use it.
3269 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
3270 will preserve match-data.
3271
3272 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
3273
3274 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
3275 (js--declaration-keyword-re): New var.
3276 (js--multi-line-declaration-indentation): New function.
3277 (js--proper-indentation): Use it.
3278
3279 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
3280
3281 * calc/calc.el (calc-highlight-selections-with-faces)
3282 (calc-dispatch):
3283 * comint.el (comint-history-isearch-message):
3284 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
3285 * ffap.el (ffap-string-at-point-region, ffap-next)
3286 (ffap-string-at-point, ffap-string-around)
3287 (ffap-copy-string-as-kill, ffap-highlight-overlay)
3288 (ffap-literally):
3289 * font-lock.el (font-lock-keywords-alist)
3290 (font-lock-removed-keywords-alist):
3291 * help-mode.el (help-xref-symbol-regexp):
3292 * info.el (Info-find-emacs-command-nodes):
3293 * international/mule.el (add-to-coding-system-list):
3294 * isearch.el (isearch-message-function, isearch-fail-pos):
3295 * misearch.el (multi-isearch-next-buffer-function):
3296 * newcomment.el (comment-box):
3297 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
3298 (pr-setting-database):
3299 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
3300 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
3301 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
3302 (pike-font-lock-keywords-3):
3303 * progmodes/compile.el (compile):
3304 * progmodes/etags.el (tags-table-files)
3305 (tags-table-files-function, tags-included-tables-function):
3306 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
3307 (gdb-restore-windows):
3308 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
3309 (ps-n-up-filling-database):
3310 * server.el (server-buffer, server-log):
3311 * simple.el (newline, delete-backward-char, delete-forward-char)
3312 (minibuffer-history-isearch-message, kill-line, track-eol)
3313 (temporary-goal-column):
3314 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
3315 (flyspell-default-deplacement-commands):
3316 * textmodes/ispell.el (ispell-accept-output):
3317 * textmodes/sgml-mode.el (html-tag-help):
3318 * vc/compare-w.el (compare-ignore-whitespace)
3319 (compare-ignore-case, compare-windows-dehighlight):
3320 * vc/diff.el (diff):
3321 * whitespace.el (whitespace-point)
3322 (whitespace-font-lock-refontify, whitespace-bob-marker)
3323 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
3324
3325 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
3326
3327 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
3328 (auto-revert-notify-rm-watch): Ignore errors.
3329 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
3330 inotify, and '(size last-write-time) for w32notify.
3331 Set buffer-local `auto-revert-use-notify' to nil when adding a file
3332 watch fails - this is a fallback to the file modification check.
3333 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
3334 (auto-revert-notify-event-action)
3335 (auto-revert-notify-event-file-name): New defuns.
3336 (auto-revert-notify-handler): Use them. Implement first
3337 plausibility checks.
3338 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
3339
3340 2013-01-11 Julien Danjou <julien@danjou.info>
3341
3342 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
3343 max are almost equal. Also return the correct value for V which is
3344 already between 0 and 1.
3345
3346 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
3347
3348 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
3349
3350 2013-01-11 Eli Zaretskii <eliz@gnu.org>
3351
3352 * autorevert.el (auto-revert-notify-rm-watch)
3353 (auto-revert-notify-add-watch): Fix typos in w32notify function
3354 names.
3355
3356 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3357
3358 * autorevert.el (auto-revert-notify-enabled): Move up.
3359 (auto-revert-use-notify): New defcustom.
3360 (auto-revert-mode, global-auto-revert-mode)
3361 (auto-revert-notify-add-watch, auto-revert-handler)
3362 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
3363 `auto-revert-notify-enabled'.
3364
3365 2013-01-10 Elias Pipping <pipping@exherbo.org>
3366
3367 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
3368 * doc-view.el (doc-view-document->bitmap):
3369 Use doc-view-single-page-converter-function instead of
3370 single-page-converter arg; adjust callers.
3371
3372 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
3373
3374 * progmodes/which-func.el (which-function): Understand Semantic's use
3375 of overlays in imenu--index-alist.
3376
3377 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
3378
3379 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
3380 (Man-man-k-use-anchor): New var.
3381 (Man-parse-man-k): New function.
3382 (Man-completion-table): Use it.
3383 (man): Flush the completion cache between uses.
3384
3385 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
3386
3387 * autorevert.el: Add file watch support.
3388 (auto-revert-notify-enabled): New defconst.
3389 (auto-revert-notify-watch-descriptor-hash-list)
3390 (auto-revert-notify-watch-descriptor)
3391 (auto-revert-notify-modified-p): New defvars.
3392 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3393 (auto-revert-notify-handler): New defuns.
3394 (auto-revert-mode, global-auto-revert-mode): Remove file watches
3395 when mode is disabled.
3396 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3397 (auto-revert-buffers): Add file watches for active buffers.
3398
3399 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
3400
3401 * cus-start.el (toplevel): Only allow float values for
3402 scroll-up-aggressively and scroll-down-aggressively.
3403 Allow any number for line-spacing.
3404
3405 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3406
3407 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3408 (doc-view-pdf->png-converter-function): Use mupdf if available.
3409 (doc-view-djvu->png-converter-function)
3410 (doc-view-ps->png-converter-function): Remove.
3411 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3412 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3413 (doc-view-already-converted-p): Adjust accordingly.
3414 (doc-view-mode-p): Simplify.
3415 (doc-view-enlarge): Use setq-local.
3416 (doc-view-pdf->png-converter-ghostscript)
3417 (doc-view-djvu->png-converter-ddjvu)
3418 (doc-view-pdf->png-converter-mupdf): Rework to call
3419 doc-view-start-process directly.
3420 (doc-view-pdf/ps->png): Simplify accordingly.
3421 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3422 (doc-view-document->bitmap): Rename from doc-view-document->png.
3423 (doc-view-convert-current-doc): Merge pdf and djvu cases.
3424 (doc-view-set-slice-from-bounding-box): Fix completion table.
3425 (doc-view-mode): Use add-hook for after-revert-hook.
3426
3427 2013-01-10 Glenn Morris <rgm@gnu.org>
3428
3429 * emacs-lisp/authors.el (authors-ignored-files)
3430 (authors-valid-file-names, authors-renamed-files-alist):
3431 Add some more entries.
3432
3433 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3434
3435 * image-mode.el (image-mode-winprops): Don't throw away the fallback
3436 `t' pseudo-window entry.
3437
3438 2013-01-10 Alan Mackenzie <acm@muc.de>
3439
3440 Fix bugs in the c-parse-state mechanism. Reuse some markers
3441 instead of continually generating new ones.
3442
3443 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3444 (c-state-old-cpp-end-marker): New variables.
3445 (c-append-lower-brace-pair-to-state-cache): Start a backward
3446 search for "}" definitively outside CPP constructs.
3447 (c-remove-stale-state-cache): Inform the caller of a need to
3448 search back for a brace pair in certain circumstances.
3449 (c-state-maybe-marker): New macro.
3450 (c-parse-state): Reuse markers when appropriate.
3451
3452 2013-01-10 Glenn Morris <rgm@gnu.org>
3453
3454 * simple.el (execute-extended-command): Doc fix.
3455 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
3456
3457 2013-01-10 Chong Yidong <cyd@gnu.org>
3458
3459 * faces.el (read-face-name): Doc fix.
3460
3461 2013-01-10 Roland Winkler <winkler@gnu.org>
3462
3463 * emacs-lisp/crm.el: Allow any regexp for separators.
3464 (crm-default-separator): All spaces around the default comma separator.
3465 (crm--completion-command): New macro.
3466 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3467 (crm-complete-and-exit): Handle non-single-char separators.
3468
3469 2013-01-09 Elias Pipping <pipping@lavabit.com>
3470
3471 * doc-view.el: Add support for DjVu (bug#13164).
3472 (doc-view-djvu->png-converter-function): New config var.
3473 (doc-view-single-page-converter-function, doc-view--image-type)
3474 (doc-view--image-file-extension): New vars.
3475 (doc-view-mode): Initialize them.
3476 (doc-view-goto-page): Use them.
3477 (doc-view-mode-p): Add support for ddjvu.
3478 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3479 (doc-view-set-up-single-converter): New funs.
3480 (doc-view-pdf/ps->png): Extend for djvu.
3481 (doc-view-document->png): Rename from doc-view-pdf->png.
3482 (doc-view-convert-current-doc): Handle djvu.
3483 (doc-view-insert-image, doc-view-display)
3484 (doc-view-already-converted-p): Don't hardcode png.
3485 (doc-view-set-doc-type): Recognize djvu docs.
3486
3487 2013-01-09 Elias Pipping <pipping@lavabit.com>
3488
3489 * doc-view.el: Add support for mupdf converter (bug#13164).
3490 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3491 (doc-view-ps->png-converter-function): New config vars.
3492 (doc-view-pdf->png-converter-ghostscript)
3493 (doc-view-ps->png-converter-ghostscript)
3494 (doc-view-pdf->png-converter-mupdf): New functions.
3495 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3496
3497 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
3498
3499 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3500 first in session cache: When `tramp-own-remote-path' is in
3501 `tramp-remote-path', the remote path is only set in the session
3502 cache.
3503
3504 2013-01-09 Glenn Morris <rgm@gnu.org>
3505
3506 * emacs-lisp/trace.el (trace-function-foreground)
3507 (trace-function-background): Doc fix.
3508
3509 2013-01-09 Juri Linkov <juri@jurta.org>
3510
3511 * international/mule-cmds.el (read-char-by-name): Move let-binding
3512 of completion-ignore-case around completing-read to fix regression
3513 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3514 `string-match-p' using the nil value of `case-fold-search' and
3515 `completion-ignore-case' in `completion-pcm--all-completions'.
3516 (Bug#12615).
3517
3518 2013-01-09 Glenn Morris <rgm@gnu.org>
3519
3520 * progmodes/compile.el (compilation-parse-errors):
3521 Fix typo. (Bug#13369)
3522
3523 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3524
3525 * comint.el (comint-send-input): Check size of buffer before
3526 waiting for process output, in case already accepted. (Bug#13290)
3527
3528 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3529
3530 Spelling fixes.
3531 * net/tramp-adb.el (tramp-adb-get-toolbox):
3532 Fix misspelling of 'unknown'.
3533
3534 2013-01-08 Juri Linkov <juri@jurta.org>
3535
3536 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3537 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3538 Use underline style wave on terminals that support it. (Bug#13000)
3539
3540 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3541
3542 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3543 the predicate returns nil.
3544
3545 * simple.el: Use lexical-binding.
3546 (primitive-undo): Use pcase.
3547 (minibuffer-history-isearch-push-state): Use a closure.
3548
3549 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3550
3551 * simple.el (primitive-undo): Move from undo.c.
3552
3553 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3554
3555 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3556 (cvs-mode-remove-handled): Use it (bug#13380).
3557
3558 * emacs-lisp/nadvice.el (advice--tweak): New function.
3559 (advice--remove-function, advice--subst-main): Use it.
3560
3561 * emacs-lisp/advice.el: Update commentary.
3562
3563 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
3564
3565 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3566 Remove spurious entry.
3567
3568 2013-01-08 Glenn Morris <rgm@gnu.org>
3569
3570 * net/tramp.el (tramp-default-host-alist): Add :version.
3571
3572 2013-01-08 Juri Linkov <juri@jurta.org>
3573
3574 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3575 single completion. (Bug#12456)
3576 (info--manual-names): Expand node completions into an explicit list
3577 before appending it to another list. Filter out internal buffers
3578 with the leading space in the buffer name. (Bug#10771)
3579
3580 2013-01-08 Juri Linkov <juri@jurta.org>
3581
3582 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3583 that defaults to the Top node.
3584 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3585 the short format (FILENAME) goes to the Top node.
3586 (Info-build-node-completions): Rename arg `file' to `filename'.
3587 (Bug#13365)
3588
3589 2013-01-07 Bastien Guerry <bzg@gnu.org>
3590
3591 * menu-bar.el (menu-bar-search-documentation-menu):
3592 Use `apropos-user-option' and fix the help message.
3593
3594 2013-01-07 Bastien Guerry <bzg@gnu.org>
3595
3596 * apropos.el (apropos-do-all): Update docstring.
3597 (apropos-user-option-button): New face.
3598 (apropos-user-option): Rename from `apropos-variable' and update
3599 docstring.
3600 (apropos-variable): Rewrite, now show all variables by default.
3601 (apropos-print): Mention "User option" instead of "Variable" when
3602 printing doc for user options. (Bug#13276)
3603
3604 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
3605
3606 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3607 Handle filename correctly, when parsing "source -> target" symlink
3608 output.
3609 (tramp-adb-handle-set-file-times): New defun.
3610
3611 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3612
3613 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3614 advice list when the interactive-spec of ad-Advice-* changes.
3615
3616 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3617
3618 * wid-edit.el (widget-default-get): Work for inlined elements.
3619 (Bug#12670)
3620
3621 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
3622
3623 * net/tramp.el (tramp-default-host-alist): New defcustom.
3624 (tramp-find-host): Use it.
3625 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
3626 `eshell-directory-change-hook'.
3627
3628 * net/tramp-adb.el (top): Add adb specific entry in
3629 `tramp-default-host-alist'.
3630 (tramp-adb-file-name-host): Remove function.
3631 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3632 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3633
3634 * net/tramp-sh.el: Move eshell integration code to tramp.el.
3635
3636 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
3637
3638 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3639
3640 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
3641
3642 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
3643 consist of more than one digit.
3644 (tramp-adb-file-name-handler-alist):
3645 Use `tramp-handle-file-exists-p' consistently.
3646 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3647 (tramp-adb-handle-file-exists-p): Remove function.
3648 (tramp-adb-file-name-host): New defun.
3649 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3650 Use it.
3651 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3652
3653 2013-01-06 Chong Yidong <cyd@gnu.org>
3654
3655 * vc/vc.el (vc-next-action): Detect buffer modifications
3656 conflicting with locking VCS operation (Bug#11490).
3657
3658 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3659
3660 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
3661
3662 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3663 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3664
3665 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
3666
3667 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3668 parsing of ls output using regular expression (handle filenames
3669 with spaces). Use virtual device number.
3670 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3671 cleanup).
3672
3673 2013-01-04 Daiki Ueno <ueno@gnu.org>
3674
3675 * epg.el: Silence byte-compiler warnings.
3676 (epg--start): Use delete-char instead of delete-backward-char.
3677 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3678
3679 2013-01-04 Daiki Ueno <ueno@gnu.org>
3680
3681 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3682 Suggested by Eli Zaretskii <eliz@gnu.org>.
3683
3684 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
3685
3686 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3687 non-negative integers. Otherwise, the default values are used.
3688 (tramp-convert-file-attributes): Convert uid and gid to integers.
3689
3690 2013-01-04 Glenn Morris <rgm@gnu.org>
3691
3692 * term.el (term-handle-colors-array): Ensure face attributes
3693 are fully specified, not nil. (Bug#13337)
3694
3695 * term.el (term-default-fg-color, term-default-bg-color):
3696 Fix custom type.
3697
3698 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3699 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3700 rather than 'jka-compr being loaded. (Bug#13338)
3701
3702 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3703
3704 * icomplete.el (icomplete-completions):
3705 Honor icomplete-prospects-height once more following
3706 2012-11-29 changes. (Bug#13224)
3707
3708 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3709
3710 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3711 of called-interactively-p as well (bug#13237).
3712
3713 * view.el (view--enable, view--disable): Rename from view-mode-enable
3714 and view-mode-disable and assume it's called from view-mode.
3715 (view-mode-enable, view-mode-disable): Redefine as obsolete
3716 compatibility layer above view-mode.
3717 (view-mode-enter): Call `view-mode'.
3718
3719 * files.el (after-find-file): Call `view-mode'.
3720
3721 * doc-view.el (doc-view-scale-internally): New var.
3722 (doc-view-enlarge, doc-view-insert-image): Obey it.
3723
3724 2013-01-03 Daiki Ueno <ueno@gnu.org>
3725
3726 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3727 exist. (Bug#13344)
3728
3729 2013-01-03 Glenn Morris <rgm@gnu.org>
3730
3731 * mail/rmail.el (rmail-set-header-1): Ignore case.
3732 Handle multi-line headers. (Bug#13330)
3733
3734 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3735 Handle paragraph starting at beginning of buffer.
3736
3737 * subr.el (eval-after-load): Don't purecopy the form, so that it
3738 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3739
3740 * emacs-lisp/byte-run.el (defun): Place cl declarations
3741 after any interactive spec. (Bug#13265)
3742
3743 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3744
3745 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3746 defun. Don't check for DECL if DOCSTRING isn't a string.
3747 (defun): Likewise.
3748
3749 2013-01-02 Glenn Morris <rgm@gnu.org>
3750
3751 * eshell/em-cmpl.el (eshell-pcomplete):
3752 More thoroughly imitate pcomplete. (Bug#13293)
3753
3754 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3755 Return nil for empty path elements. (Bug#13296)
3756
3757 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3758
3759 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3760 order to improve efficiency (Based on Daniel Colascione's
3761 <dancol@dancol.org> patch). (Bug#13182)
3762
3763 2013-01-02 Glenn Morris <rgm@gnu.org>
3764
3765 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3766
3767 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3768
3769 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3770 neither DOCSTRING nor DECL was given. (Bug#13316)
3771
3772 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3773
3774 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3775 `error' call.
3776 (tramp-do-copy-or-rename-file): Ignore errors when calling
3777 `set-file-extended-attributes'.
3778
3779 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3780 Add handler for `file-acl'.
3781 (tramp-smb-handle-file-acl): New defun.
3782
3783 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3784
3785 * calc/README: Mention ISO 8601 week-numbering dates.
3786
3787 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3788
3789 * view.el (view-mode-enable): New argument run-view-mode-hook.
3790 Run view-mode-hook only when it's non-nil (Bug#13315).
3791 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3792 argument t.
3793
3794 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
3795
3796 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3797 (No device connected, invalid device name). (Bug #13299)
3798
3799 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3800
3801 * window.el (window-resizable--p): Rename to window-resizable-p.
3802 (window-resize-no-error): New function.
3803
3804 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3805 broken in fix from 2012-12-28.
3806
3807 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3808
3809 * subr.el (special-form-p): Don't signal errors on undef aliases.
3810
3811 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3812
3813 * calc/calc-forms.el (math-parse-date): Try using
3814 `math-parse-iso-date' when it looks like it might be needed.
3815 Allow times of 24:00.
3816 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3817 of 24:00.
3818
3819 2012-12-30 Glenn Morris <rgm@gnu.org>
3820
3821 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3822 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3823 (rmail-summary-displayed, rmail-summary): Declare.
3824 (mairix-rmail-display): Just require rmail.
3825
3826 2012-12-30 Chong Yidong <cyd@gnu.org>
3827
3828 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3829 check for the tarball contents.
3830
3831 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3832
3833 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3834 tarfile content listings (Bug#13136).
3835
3836 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3837
3838 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3839 Insert the undecoded text of the message being forwarded. (Bug#9521)
3840
3841 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3842
3843 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3844 integers, if they are real numbers. (Bug#13282)
3845
3846 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3847 Return `t' on success.
3848
3849 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3850 Add handler for `set-file-selinux-context'.
3851
3852 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3853
3854 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3855 (tramp-sh-handle-set-file-acl): Return `t' on success.
3856
3857 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3858
3859 * files.el (backup-buffer-copy, basic-save-buffer-2):
3860 If set-file-extended-attributes fails, fall back on set-file-modes
3861 instead of signaling an error. (Bug#13298)
3862 (basic-save-buffer): Likewise.
3863
3864 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3865
3866 * progmodes/python.el: Support other commands triggering
3867 python-indent-line so indentation cycling continues to work.
3868 (python-indent-trigger-commands): New defcustom.
3869 (python-indent-line): Use it.
3870
3871 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3872
3873 * progmodes/python.el (python-shell-send-region): Add blank lines
3874 for non sent code so backtraces remain correct.
3875
3876 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3877
3878 * progmodes/python.el: Remove cl dependency.
3879 (python-syntax-count-quotes): Replace incf call.
3880 (python-fill-string): Replace setf call.
3881
3882 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3883
3884 * info.el (info-other-window): New arg, for consistency with info.
3885
3886 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3887
3888 * mail/rmail.el (rmail-maybe-display-summary):
3889 Rewrite (Bug#13066).
3890
3891 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3892
3893 * epg.el (epg--start): Modify process-environment locally.
3894
3895 2012-12-28 Daiki Ueno <ueno@gnu.org>
3896
3897 * epg.el: Support pinentry-curses.
3898 Suggested by Werner Koch in
3899 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3900 (epg-agent-file, epg-agent-mtime): New variable.
3901 (epg--start): Record the modified time of gpg-agent socket file,
3902 to restore Emacs frame after pinentry-curses termination.
3903 (epg-wait-for-completion): Restore Emacs frame here.
3904
3905 2012-12-27 Juri Linkov <juri@jurta.org>
3906
3907 * info.el (Info-file-completions): New variable.
3908 (Info-read-node-name-1): Complete node names in the Info file
3909 when a file name is given. Call `Info-build-node-completions'
3910 with a file name.
3911 (Info-build-node-completions): Add new arg `file'. When it is
3912 non-nil, visit it in a temporary buffer and cache its completions in
3913 `Info-current-file-completions'. Move most of the function body to
3914 `Info-build-node-completions-1'.
3915 (Info-build-node-completions-1): New function with the body from
3916 `Info-build-node-completions'. (Bug#12456)
3917
3918 2012-12-27 Juri Linkov <juri@jurta.org>
3919
3920 * frame.el (frame-maximization-style): Remove user option.
3921 (cycle-frame-maximized): Remove function.
3922 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3923 (toggle-frame-fullscreen): New command bound to <f11> instead of
3924 `toggle-frame-maximized'.
3925 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3926
3927 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3928
3929 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3930
3931 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3932 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3933 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3934 for `file-accessible-directory-p'. (Bug#13275)
3935
3936 2012-12-27 Sam Steingold <sds@gnu.org>
3937
3938 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3939 continuations, see <http://stackoverflow.com/questions/3582436>.
3940
3941 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3942
3943 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3944 "module" and "def" to have indentation before them.
3945 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3946
3947 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3948
3949 2012-12-27 Alan Mackenzie <acm@muc.de>
3950
3951 Speed up fontification where there's large brace blocks.
3952 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3953 to a call of c-beginning-of-decl-1.
3954
3955 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3956
3957 * comint.el (comint-adjust-window-point): New function.
3958 (comint-postoutput-scroll-to-bottom):
3959 Call comint-adjust-window-point (Bug#13248).
3960
3961 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3962
3963 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3964 Rakefile regexp.
3965 (auto-mode-alist): Associate .gemspec files with ruby-mode
3966 (https://bugs.ruby-lang.org/issues/5453).
3967
3968 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
3969
3970 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3971 Suppress coloring, if possible (required for BusyBox based systems like
3972 CyanogenMod).
3973 (tramp-adb-handle-file-attributes)
3974 (tramp-adb-handle-insert-directory)
3975 (tramp-adb-handle-file-name-all-completions): Use it.
3976 (tramp-adb-get-toolbox): New defun. Check for remote shell
3977 implementation (BusyBox or Toolbox).
3978
3979 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3980
3981 * startup.el (initial-buffer-choice): Allow function as value
3982 (Bug#13251).
3983 (command-line-1): Handle case where initial-buffer-choice
3984 specifies a function.
3985 * server.el (server-execute): Handle case where
3986 initial-buffer-choice specifies a function.
3987
3988 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3989
3990 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3991 its own function.
3992 (smtpmail-try-auth-methods): Forget the user name/password if the
3993 login is unsuccessful (bug#12424).
3994
3995 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3996
3997 * notifications.el (notifications-notify): Protect body with
3998 `with-demoted-errors'.
3999
4000 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4001 Check properties of remote device. Restart connection, if there is a
4002 change.
4003
4004 2012-12-21 Chong Yidong <cyd@gnu.org>
4005
4006 * sort.el (sort-subr): Doc fix (Bug#13056).
4007
4008 2012-12-21 Bastien Guerry <bzg@gnu.org>
4009
4010 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4011
4012 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4013
4014 * simple.el (process-file): Overwrite stderr file, if exists.
4015
4016 2012-12-21 Daiki Ueno <ueno@gnu.org>
4017
4018 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4019 (epg-error): Set `error-message' property.
4020
4021 2012-12-21 Chong Yidong <cyd@gnu.org>
4022
4023 * international/mule-cmds.el (read-char-by-name): Signal an error
4024 if the user does not supply a valid character (Bug#13177).
4025
4026 * simple.el (transpose-subr-1): Preserve marker positions by
4027 changing the insertion sequence (Bug#13122).
4028
4029 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4030
4031 * simple.el (kill-region): Deactivate mark even for empty regions
4032 (Bug#13169).
4033
4034 2012-12-21 Chong Yidong <cyd@gnu.org>
4035
4036 * help-fns.el (describe-variable): Make sure we get the right
4037 buffer name (Bug#13105). Suggested by Kelly Dean.
4038
4039 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4040
4041 * comint.el (comint-redirect-previous-input-string): New variable.
4042 (comint-redirect-setup, comint-redirect-cleanup)
4043 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4044 (comint-redirect-preoutput-filter): Fix verbose message.
4045
4046 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4047
4048 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4049 is too long for Tramp. See discussion in
4050 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4051
4052 * progmodes/compile.el (compilation-start): Remove line escape
4053 template.
4054
4055 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4056
4057 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4058 Adjust comment.
4059
4060 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4061
4062 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4063 following non-comment text (bug#13207).
4064 (lm-header-multiline): Continuation lines need to be indented more than
4065 the first line.
4066 (lm-homepage): New function.
4067 (lm-with-file): Don't be confused if narrowing is in effect.
4068
4069 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4070
4071 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4072 very beginning of a hunk (e.g. killing the first line).
4073
4074 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
4075
4076 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4077 and text properties from returned ACL string.
4078 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4079 for "setfacl" command.
4080
4081 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
4082
4083 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4084 `tramp-cleanup-this-connection', when the process has died.
4085 (Bug#13151)
4086
4087 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4088
4089 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4090
4091 2012-12-17 Kevin Ryde <user42@zip.com.au>
4092
4093 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4094
4095 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
4096
4097 Add support for preserving ACL entries of files.
4098
4099 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4100 `set-file-acl' handlers.
4101
4102 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4103 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4104
4105 * net/tramp-compat.el (tramp-compat-copy-file):
4106 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4107
4108 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4109 Add `file-acl' and `set-file-acl' handlers.
4110 (tramp-gvfs-handle-copy-file):
4111 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4112 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4113 New defuns.
4114
4115 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4116 Add `file-acl' and `set-file-acl' handlers.
4117 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4118 (tramp-sh-handle-set-file-acl): New defuns.
4119 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4120 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4121
4122 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4123 Add `file-acl' and `set-file-acl' handlers.
4124 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4125
4126 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4127
4128 * help-macro.el (make-help-screen): Instead of switch-to-buffer
4129 use pop-to-buffer with NORECORD argument t. As buffer name, use
4130 *Metahelp* with a leading space (Bug#13190).
4131
4132 2012-12-16 Romain Francoise <romain@orebokech.com>
4133
4134 * files.el (file-extended-attributes)
4135 (set-file-extended-attributes): New functions.
4136 (backup-buffer): Use them to handle both SELinux context and ACL
4137 entries.
4138 (backup-buffer-copy): Work with an alist of extended attributes,
4139 rather than an SELinux context.
4140 (basic-save-buffer-2): Ditto.
4141
4142 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4143
4144 * battery.el (battery-bsd-apm): New function.
4145
4146 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4147
4148 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4149 standard date formats.
4150
4151 2012-12-15 Juri Linkov <juri@jurta.org>
4152
4153 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4154 `isearch-insert-char-by-name'.
4155 (with-isearch-suspended): New defmacro with body mostly from
4156 `isearch-edit-string' except the part that sets
4157 `isearch-new-string' and `isearch-new-message'.
4158 (isearch-edit-string): Use new macro `with-isearch-suspended' with
4159 body that sets `isearch-new-string' and `isearch-new-message'.
4160 (isearch-insert-char-by-name): New command.
4161 * international/mule-cmds.el (read-char-by-name): Let-bind
4162 `enable-recursive-minibuffers' to t.
4163 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
4164
4165 2012-12-15 Juri Linkov <juri@jurta.org>
4166
4167 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4168 (Bug#13175)
4169
4170 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
4171
4172 * dired-x.el (dired-guess-shell-command): Put colon at the end of
4173 the prompt. (Bug#13045)
4174
4175 2012-12-14 Glenn Morris <rgm@gnu.org>
4176
4177 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
4178 Try to include filename in non-bytecomp warning. (Bug#13132)
4179
4180 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
4181
4182 Fix permissions bugs with setgid directories etc. (Bug#13125)
4183 * files.el (backup-buffer): Don't rely on 9th output of
4184 file-attributes, as it's now a placeholder. Instead, use the new
4185 optional arg of file-ownership-preserved-p.
4186 (file-ownership-preserved-p): New optional arg GROUP.
4187 Fix mishandling of setuid directories that would cause this
4188 function to return t when it should have returned nil.
4189 Document what happens if the file does not exist, and when
4190 it's not known whether the ownership will be preserved.
4191 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
4192 Likewise.
4193 (tramp-get-local-gid): Use group-gid for integer, as that's
4194 faster and more reliable.
4195
4196 2012-12-14 Julien Danjou <julien@danjou.info>
4197
4198 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
4199 Update keywords list, data type and PL/pgSQL.
4200
4201 2012-12-14 Dave Abrahams <dave@boostpro.com>
4202
4203 * vc/ediff-util.el (ediff-buffer-type): New function.
4204 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
4205 rather than taking it as as argument.
4206 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
4207
4208 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
4209
4210 * json.el: Add pretty-print option (bug#12634).
4211 (json-encoding-separator, json-encoding-default-indentation)
4212 (json--encoding-current-indentation, json-encoding-pretty-print)
4213 (json-encoding-lisp-style-closings): New vars.
4214 (json--with-indentation): New macro.
4215 (json-encode-hash-table, json-encode-alist, json-encode-plist)
4216 (json-encode-array): Use it to obey json-encoding-pretty-print.
4217 (json-pretty-print-buffer, json-pretty-print): New commands.
4218
4219 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
4220
4221 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4222 Extract `ruby-syntax-propertize-expansions'.
4223 (ruby-syntax-propertize-expansions): Only change syntax on
4224 certain string delimiters, to punctuation. This way the common
4225 functions like forward-word and thing-at-point still work.
4226 (ruby-match-expression-expansion): Improve readability.
4227 (ruby-block-contains-point): New function.
4228 (ruby-add-log-current-method): Handle several edge cases.
4229
4230 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4231
4232 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
4233 unload-feature finishes even when aborting an ongoing edebug session.
4234 Also, do not worry about edebug-mode, unload-feature takes care of it.
4235
4236 2012-12-13 Andreas Schwab <schwab@suse.de>
4237
4238 * net/tls.el (tls-program): Update customize type.
4239
4240 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
4241
4242 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
4243 (edebug-setup-hook, cl-read-load-hooks): Use it.
4244 (edebug-unload-function): New function. (Bug#13163)
4245
4246 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
4247
4248 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
4249 Otherwise, there could be errors in autoloading. (Bug#13151)
4250
4251 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
4252
4253 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
4254 sequences.
4255
4256 2012-12-13 Alan Mackenzie <acm@muc.de>
4257
4258 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
4259 * progmodes/cc-engine.el (c-backward-comments): Add code to work
4260 around `forward-comment' not recognizing ^M as whitespace.
4261
4262 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4263
4264 * progmodes/python.el (python-skeleton-class)
4265 (python-skeleton-def): Do not add space after defun name.
4266
4267 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4268
4269 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
4270 (cl--symbol-function): Remove (now that funbound is like nil).
4271
4272 2012-12-12 Glenn Morris <rgm@gnu.org>
4273
4274 * button.el (button--area-button-p): Fix typo.
4275
4276 2012-12-12 Sam Steingold <sds@gnu.org>
4277
4278 * frame.el (frame-maximization-style): New user option.
4279 (toggle-frame-maximized): Toggle frame maximization according to
4280 `frame-maximization-style', bound to <f11>.
4281 (cycle-frame-maximized): Cycle between all maximization styles and
4282 non-maximized frame, bound to shift-<f11>.
4283
4284 2012-12-12 David Cadé <codename68@gmail.com>
4285
4286 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
4287
4288 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
4289
4290 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
4291 (eieio-override-prin1): Don't quote kewords and booleans.
4292 (object-write) <eieio-default-superclass>: Don't put closing parens
4293 on new line, avoid needless empty lines, align values that are objects
4294 with the slot keyword (instead of beginning on the same line).
4295 (eieio-list-prin1): Align value with slot keyword; increase
4296 eieio-print-depth before printing members of the list.
4297
4298 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4299
4300 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
4301 a display text-property.
4302 (report-emacs-bug-hook): Don't bother deleting it any more.
4303
4304 * hilit-chg.el (highlight-save-buffer-state): Delete.
4305 Use with-silent-modifications instead.
4306 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
4307
4308 * button.el: Handle buttons in display text-properties.
4309 (button--area-button-p, button--area-button-string):
4310 Use (STRING . STRING-POS) representation instead of just STRING.
4311
4312 2012-12-11 Eli Zaretskii <eliz@gnu.org>
4313
4314 * makefile.w32-in (compile4-SH): Fix a typo that caused term
4315 subdirectory be skipped.
4316
4317 2012-12-11 Glenn Morris <rgm@gnu.org>
4318
4319 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
4320
4321 * progmodes/f90.el (f90-line-continued, f90-indent-region):
4322 Treat preprocessor lines embedded in continuations like comments.
4323 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
4324
4325 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
4326
4327 * calc/calc.el (calc-standard-date-formats): Add more date
4328 formats.
4329 * calc/calc-forms.el (math-parse-iso-date): New function.
4330 (math-parse-date): Use `math-parse-iso-date' when appropriate.
4331 (math-parse-iso-date-validate): Add extra error checking.
4332 (calc-date-notation): Add ability to access new date formats.
4333
4334 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4335
4336 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
4337 font-lock as well as when there's no text-property.
4338
4339 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
4340
4341 * hi-lock.el: Refine the choice of default face.
4342 (hi-lock-keyword->face): New function. Use it wherever we used
4343 cadadadr instead.
4344 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
4345 (hi-lock--last-face): Remove var.
4346 (hi-lock--unused-faces): New var to replace it.
4347 (hi-lock-read-face-name): Use/maintain it.
4348 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
4349 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
4350 if it has another face.
4351
4352 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4353
4354 * subr.el (w32notify-handle-event): New function.
4355 (inotify-handle-event): Doc fix.
4356
4357 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
4358
4359 * subr.el (inotify-event-p, inotify-handle-event): New functions.
4360
4361 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
4362
4363 * simple.el (just-one-space): Doc fix.
4364
4365 2012-12-10 Eli Zaretskii <eliz@gnu.org>
4366
4367 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
4368
4369 2012-12-10 Le Wang <l26wang@gmail.com>
4370
4371 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
4372 narrowed buffer (bug#12361).
4373
4374 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
4375
4376 * vc/vc-hooks.el (vc-state): Doc fix.
4377
4378 2012-12-10 Glenn Morris <rgm@gnu.org>
4379
4380 * mail/rmail.el (rmail-maybe-display-summary):
4381 Preserve buffer, in case select-window changes it. (Bug#13066)
4382
4383 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4384
4385 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
4386 cl-load-hook where they belong.
4387
4388 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4389
4390 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
4391
4392 2012-12-09 Eli Zaretskii <eliz@gnu.org>
4393
4394 Parallelize byte compilation on MS-Windows.
4395 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
4396 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
4397 (WINS_BASIC): Define as concatenation of the above.
4398 (compile): Subdivide into 4 separate and independent jobs that can
4399 be run in parallel.
4400 (compile0-CMD, compile0-SH): New targets for compiling
4401 COMPILE_FIRST files, which are prerequisites for the rest of the
4402 byte-compilation.
4403 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4404 New targets for parallel compilation with cmd.exe.
4405 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4406 compiling under a Unixy shell.
4407
4408 2012-12-09 Chong Yidong <cyd@gnu.org>
4409
4410 * simple.el (set-mark-default-inactive): Delete this
4411 accidentally-introduced option.
4412 (set-mark-command, exchange-point-and-mark): Remove calls.
4413
4414 2012-12-09 Glenn Morris <rgm@gnu.org>
4415
4416 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4417 Respect a defcustom's :set function, if appropriate. (Bug#109)
4418 (eval-defun): Doc fix.
4419
4420 2012-12-08 Juri Linkov <juri@jurta.org>
4421
4422 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4423 (Info-fontify-node, Info-bookmark-make-record): Remove the
4424 file extension from Info-current-file (Bug#13016).
4425
4426 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4427
4428 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4429 point, still provide some default.
4430 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4431 names, since we don't use it right now. Actually return the list.
4432 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4433
4434 2012-12-07 Chong Yidong <cyd@gnu.org>
4435
4436 * novice.el (disabled-command-function): Remove a spurious help
4437 xref (Bug#13043). Suggested by Kelly Dean.
4438
4439 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4440 syntax is specified (Bug#13025).
4441
4442 * info.el (Info-set-mode-line): Remove the file extension from
4443 Info-current-file if there is one (Bug#13016).
4444
4445 2012-12-07 Glenn Morris <rgm@gnu.org>
4446
4447 * mail/rmail.el (rmail-mime-decoded): New permanent local.
4448 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4449 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4450 and rmail-mime-decoded. (Bug#9841)
4451
4452 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
4453 (batch-unrmail, unrmail): Doc fixes.
4454 (unrmail): Respect unrmail-mbox-format.
4455 * mail/rmail.el (rmail-mbox-format): New option.
4456 (rmail-show-message-1): Respect rmail-mbox-format.
4457
4458 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4459
4460 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4461
4462 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4465 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4466 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4467 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4468 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4469 (cl-progv): Don't rely on dynamic scoping to find the body.
4470 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4471 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4472 (cl-declaim): Use backquotes.
4473 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4474 Use "cl--" prefix for the object's tag.
4475
4476 * ses.el: Use advice-add/remove.
4477 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4478 (copy-region-as-kill, yank): Use advice-add.
4479 (ses-unload-function): Use advice-remove.
4480
4481 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4482
4483 * button.el: Make them work in header-lines (bug#12817).
4484 (button-map): Add bindings for header-line and mode-line use.
4485 (button-get, button-put, button-label): `button' may now be a string.
4486 (button-activate): Don't make it a defsubst.
4487 (button--area-button-p, button--area-button-string): New functions.
4488 (make-text-button): Fix the return value when `beg' was a string.
4489 (push-button): Handle the mode-line case.
4490
4491 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4492
4493 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4494 (sql-signum): Remove. Use `cl-signum' instead.
4495 (sql-read-passwd): Remove; use read-passwd instread.
4496 (sql-get-login-ext): Use read-string.
4497 (sql-get-login): Use dolist and pcase.
4498 (sql--completion-table): Rename from sql-try-completion.
4499 Use complete-with-action.
4500 (sql-mode): Don't change abbrev-all-caps globally.
4501 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4502 (sql-postgres-completion-object): Initialize vars in their `let'.
4503 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4504 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4505 (sql-comint-interbase): Use a single append, without setq.
4506 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4507
4508 * hi-lock.el: Rework the default face and the serialize regexp code.
4509 (hi-lock--auto-select-face-defaults): Remove.
4510 (hi-lock-string-serialize-serial): Remove.
4511 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4512 make weak.
4513 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4514 equal string.
4515 (hi-lock-set-pattern): Adjust accordingly.
4516 (hi-lock--regexps-at-point): Simplify accordingly.
4517 (hi-lock--auto-select-face-defaults): Remove.
4518 (hi-lock--last-face): New var to replace it.
4519 (hi-lock-read-face-name): Rewrite (bug#11095).
4520 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4521
4522 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
4523
4524 * net/tramp.el (tramp-replace-environment-variables):
4525 Hide compiler warning.
4526 (tramp-file-name-for-operation): Remove `executable-find',
4527 `start-process', `call-process' and `call-process-region'.
4528
4529 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4530
4531 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4532 compatibility.
4533
4534 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4535
4536 2012-12-06 Chong Yidong <cyd@gnu.org>
4537
4538 * ffap.el (ffap-replace-file-component): Fix typo.
4539
4540 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4541
4542 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4543 fix open-paren-like token test (bug#12785).
4544
4545 2012-12-06 Glenn Morris <rgm@gnu.org>
4546
4547 * mail/rmailsum.el (rmail-new-summary): Tweak for
4548 rmail-maybe-display-summary changing buffer. (Bug#13066)
4549
4550 2012-12-06 Juri Linkov <juri@jurta.org>
4551
4552 * info.el (Info-fontify-node): Don't hide the last newline.
4553 (Bug#12272)
4554
4555 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4556
4557 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4558 so as to enable message-read-from-minibuffer to expand mail aliases.
4559
4560 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4561
4562 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4563 the `intangible' property.
4564 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4565
4566 2012-12-05 Deniz Dogan <deniz@dogan.se>
4567
4568 * net/rcirc.el (rcirc-urls): Update documentation.
4569 (rcirc-condition-filter): New function.
4570 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4571 and exclude consecutive duplicate URLs (Bug#6082).
4572
4573 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
4574
4575 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4576 Check return code of copy command.
4577
4578 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4579 Use group `tramp'. Add version.
4580
4581 2012-12-05 Chong Yidong <cyd@gnu.org>
4582
4583 * ffap.el (ffap-url-regexp): Don't require matching at front of
4584 string (Bug#4952).
4585 (ffap-url-p): If only a substring matches, return that.
4586 (ffap-url-at-point): Use the return value of ffap-url-p.
4587 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4588 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4589 (ffap-guess-file-name-at-point): Likewise.
4590 (ffap-replace-file-component): Fix typo.
4591
4592 * info.el (info-display-manual): Add existing Info buffers, whose
4593 files may not be in Info-directory-list, to the completion.
4594 (info--manual-names): New helper function.
4595
4596 2012-12-05 Glenn Morris <rgm@gnu.org>
4597
4598 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4599 New functions, for detecting and resolving conflicts. (Bug#10709)
4600
4601 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
4602
4603 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4604 (hi-lock-auto-select-face-defaults): New buffer local variable.
4605 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4606 (hi-lock-unface-buffer): Prompt user with useful defaults.
4607 With prefix arg, unhighlight all hi-lock patterns in buffer.
4608
4609 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4612
4613 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
4614
4615 * Makefile.in (TRAMP_SRC):
4616 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4617
4618 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4619
4620 * net/tramp-adb.el: New package.
4621
4622 2012-12-04 Chong Yidong <cyd@gnu.org>
4623
4624 * terminal.el: Move to obsolete/.
4625
4626 * longlines.el: Move to obsolete/.
4627
4628 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4629 Remove code referring to longlines mode.
4630
4631 2012-12-03 Juri Linkov <juri@jurta.org>
4632
4633 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4634
4635 2012-12-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
4636
4637 * textmodes/ispell.el (ispell-init-process)
4638 (ispell-start-process, ispell-internal-change-dictionary):
4639 Make sure personal dictionary name is expanded after initial
4640 `default-directory' value. Use expanded strings for
4641 keep/restart checks and for value (Bug#13019).
4642
4643 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4644
4645 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4646
4647 2012-12-03 Leo Liu <sdl.web@gmail.com>
4648
4649 * files.el (dir-locals-read-from-file): Check file non-empty
4650 before reading. (Bug#13038)
4651
4652 2012-12-03 Glenn Morris <rgm@gnu.org>
4653
4654 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4655 Remove any version extension before checking filename. (Bug#13006)
4656 (jka-compr-compression-info-list): Belated :version bump.
4657
4658 2012-12-03 Chong Yidong <cyd@gnu.org>
4659
4660 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4661
4662 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4663 (buffer-menu): Doc fix (Bug#12294).
4664
4665 2012-12-03 Roland Winkler <winkler@gnu.org>
4666
4667 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4668 of diary-show-all-entries in the diary buffer (Bug#12994).
4669
4670 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
4671
4672 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4673 "<STDIN>". This is binary safe.
4674
4675 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4676
4677 * calc/calc-forms.el (math-absolute-from-iso-dt)
4678 (math-date-to-iso-dt, math-parse-iso-date-validate)
4679 (math-iso-dt-to-date): New functions.
4680 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4681 (math-fd-isoweekday): New variables.
4682 (calc-date-notation, math-parse-standard-date, math-format-date)
4683 (math-format-date-part): Add support for more formatting codes.
4684
4685 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4686
4687 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4688 current buffer's file name when called interactively (Bug#12488).
4689
4690 2012-12-02 Juri Linkov <juri@jurta.org>
4691
4692 * info.el (info-display-manual): Don't clobber an existing Info
4693 buffer (Bug#10770). Add completion (Bug#10771).
4694
4695 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4696
4697 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4698 before using it for comparison (Bug#5297).
4699
4700 2012-12-01 Jari Aalto <jari.aalto@cante.net>
4701
4702 * textmodes/css-mode.el (css-current-defun-name): New function.
4703 (css-mode): Use it.
4704
4705 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4706 (html-mode): Use it.
4707
4708 2012-12-01 Chong Yidong <cyd@gnu.org>
4709
4710 Modularize add-log-current-defun (Bug#2224).
4711 Suggested by Jari Aalto.
4712
4713 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4714 (add-log-current-defun): Move mode-specific code to other files.
4715 (add-log-lisp-like-modes, add-log-c-like-modes)
4716 (add-log-tex-like-modes): Variables deleted.
4717
4718 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4719 (lisp-mode-variables): Use it.
4720
4721 * progmodes/cc-mode.el (c-common-init):
4722 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4723 add-log-current-defun-function.
4724
4725 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4726 (m4-mode): Use it.
4727
4728 * progmodes/perl-mode.el (perl-current-defun-name): New.
4729 (perl-mode): Use it.
4730
4731 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4732 Use lisp-current-defun-name.
4733
4734 * textmodes/tex-mode.el (tex-current-defun-name): New.
4735 (tex-common-initialization): Use it.
4736
4737 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4738 (texinfo-mode): Use it.
4739
4740 2012-12-01 Chong Yidong <cyd@gnu.org>
4741
4742 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4743 * progmodes/autoconf.el (autoconf-mode):
4744 * progmodes/js.el (js-mode):
4745 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4746 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4747 * progmodes/perl-mode.el (perl-mode):
4748 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4749 * textmodes/css-mode.el (css-mode):
4750 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4751 (sgml-tags-invisible, sgml-guess-indent):
4752 * textmodes/tex-mode.el (tex-common-initialization)
4753 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4754 (doctex-mode, plain-tex-mode, latex-mode):
4755 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4756
4757 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4758
4759 * vc/vc-hg.el (vc-hg-next-revision):
4760 Ensure use of default "tip" output format. (Bug#6968)
4761
4762 2012-12-01 Kim F. Storm <storm@cua.dk>
4763
4764 * startup.el (fancy-startup-tail): Add a clickable link
4765 (Bug#2176).
4766
4767 2012-12-01 Chong Yidong <cyd@gnu.org>
4768
4769 * startup.el (fancy-startup-tail): Improve the message about
4770 auto-save files (Bug#2176).
4771
4772 * files.el (recover-session): Improve the descriptive message, and
4773 use substitute-command-keys.
4774
4775 2012-12-01 Glenn Morris <rgm@gnu.org>
4776
4777 * ido.el (ido-file-internal):
4778 Handle other-window, other-frame for dired. (Bug#13036)
4779
4780 2012-11-30 Glenn Morris <rgm@gnu.org>
4781
4782 * icomplete.el (icomplete-separator): Fix :version.
4783
4784 2012-11-30 Chong Yidong <cyd@gnu.org>
4785
4786 * shell.el (shell): For C-u M-x shell, use an inactive shell
4787 buffer as the default (Bug#1975).
4788 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4789 (shell-mode): Use them to reapply ansi colorization if Shell mode
4790 is re-enabled.
4791
4792 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4793
4794 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4795
4796 2012-11-30 Samuel Bronson <naesten@gmail.com>
4797
4798 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4799 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4800
4801 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4802
4803 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4804 by move-to-column (Bug#3234).
4805
4806 2012-11-30 Chong Yidong <cyd@gnu.org>
4807
4808 * longlines.el (longlines-wrap-line, longlines-encode-region):
4809 Preserve text properties (Bug#1425).
4810
4811 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4812
4813 * vc/vc.el (vc-register): Allow registering a file which is
4814 already registered with a different backend (Bug#10589).
4815
4816 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
4817 Stefan Monnier <monnier@iro.umontreal.ca>
4818
4819 * icomplete.el: Change separator; add ido-style commands.
4820 (icomplete-show-key-bindings): Remove custom var.
4821 (icomplete-get-keys): Remove function.
4822 (icomplete-forward-completions, icomplete-backward-completions):
4823 New commands.
4824 (icomplete-minibuffer-map): New var.
4825 (icomplete-minibuffer-setup): Use it.
4826 (icomplete-exhibit): Don't delay if the list of completions is known.
4827 (icomplete-separator): New custom.
4828 (icomplete-completions): Use it.
4829 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4830 (minibuffer-force-complete-and-exit): New command.
4831 (minibuffer--complete-and-exit): New function extracted from
4832 minibuffer-complete-and-exit.
4833 (minibuffer-complete-and-exit): Use it.
4834
4835 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4836 error message when the file doesn't exist (bug#12974).
4837
4838 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4839
4840 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4841
4842 2012-11-29 Glenn Morris <rgm@gnu.org>
4843
4844 * files.el (hack-dir-local-variables): Warn if try to set
4845 coding via dir-locals, since it doesn't work. (Bug#7169)
4846
4847 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4848 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4849 Set buffer-local value of desktop-save-buffer.
4850 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4851 New functions.
4852 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4853 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4854
4855 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4856 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4857 Doc fix.
4858 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4859 Doc fixes.
4860
4861 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4862
4863 * calc/calc-forms.el (calc-date-notation): Fix regexp
4864 used to find time codes. Fix symbol for seconds.
4865
4866 2012-11-27 Glenn Morris <rgm@gnu.org>
4867
4868 * emacs-lisp/derived.el (derived-mode-make-docstring):
4869 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4870
4871 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4872
4873 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4874 lexically scoped variables (bug#13005).
4875
4876 2012-11-27 Glenn Morris <rgm@gnu.org>
4877
4878 * vc/vc-hooks.el (vc-mistrust-permissions):
4879 Default to t, to avoid data-loss. (Bug#11490)
4880
4881 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4882
4883 * progmodes/python.el (python-indent-guess-indent-offset):
4884 If indentation is guessed make python-indent-offset buffer-local.
4885
4886 Fix Imenu regression.
4887 * progmodes/python.el (python-nav-beginning-of-defun):
4888 Fix forward movement when statement(s) separates point from defun.
4889 (python-imenu-prev-index-position): New function.
4890
4891 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4892
4893 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4894
4895 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4896 Don't set buffer-file-type. Return nil. (Bug#12989)
4897
4898 2012-11-27 Glenn Morris <rgm@gnu.org>
4899
4900 * hippie-exp.el (hippie-expand-try-functions-list):
4901 Re-autoload it. (Bug#12982)
4902
4903 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4904
4905 * descr-text.el (describe-char-padded-string):
4906 Call internal-char-font only on GUI frames. (Bug#11964)
4907
4908 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4909
4910 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4911 and obsoletion message.
4912
4913 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4914
4915 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4916 the constructs to keep outside of the `cl-block' (bug#12977).
4917
4918 2012-11-27 Chong Yidong <cyd@gnu.org>
4919
4920 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4921 keep reading until we get the up-event anyway, in order to process
4922 the up-event for mouse-1-click-follows-link (Bug#12971).
4923
4924 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4925
4926 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4927 base function is not yet defined (bug#12965).
4928 (ad-activate-advised-definition): Use ad-compile-function.
4929 (ad-activate): Use cond.
4930
4931 2012-11-25 Leo Liu <sdl.web@gmail.com>
4932
4933 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4934 (Bug#12979)
4935
4936 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4937
4938 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4939 reftex-section-info-function in order to be compatible with
4940 Texinfo integration.
4941
4942 * textmodes/reftex.el (reftex-section-pre-regexp)
4943 (reftex-section-post-regexp, reftex-section-info-function):
4944 New variable.
4945 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4946 reftex-section-post-regexp, and reftex-section-info-function in order
4947 to be compatible with Texinfo integration.
4948
4949 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4950 use reftex-section-pre-regexp variable in order to be compatible with
4951 Texinfo integration.
4952
4953 2012-11-25 Chong Yidong <cyd@gnu.org>
4954
4955 * faces.el: Make face-spec-set more analogous to setq.
4956 (face-spec-set): Change the third arg to specify whether this
4957 function is being called via defface, customize, or a third party.
4958 Set the appropriate symbol properties. Clear the override spec if
4959 setting via Custom. Initialize face if necessary. (Bug#4988)
4960 (face-spec-recalc): Allow theme faces to completely replace the
4961 defface spec, in the same way as custom faces (Bug#8454).
4962
4963 * cus-face.el (custom-declare-face): Move face initialization to
4964 face-spec-set.
4965 (custom-theme-set-faces): Don't initialize the face name here, as
4966 that is now done in face-spec-set.
4967
4968 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4969 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4970 Simplify by using the new arg to face-spec-set.
4971
4972 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4973 reset face-override-spec too, and use custom-declare-face.
4974
4975 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4976
4977 * term/ns-win.el (ns-initialize-window-system): Move creation of
4978 fontsets here (Bug#11964).
4979
4980 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
4981
4982 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4983 cell renaming.
4984
4985 2012-11-24 Chong Yidong <cyd@gnu.org>
4986
4987 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4988 obsolete.
4989
4990 * custom.el (custom-theme-set-variables): Use a topological sort
4991 for ordering by custom dependencies (Bug#12952).
4992 (custom--sort-vars, custom--sort-vars-1): New functions.
4993
4994 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4995
4996 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4997 lexical-binding (bug#12938).
4998
4999 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5000
5001 * image-mode.el (image-transform-check-size): Use assertions only
5002 for images of type imagemagick.
5003
5004 Otherwise no error, image-transform-fit-to-{width,height} is
5005 silently ignored, as before. Doc fix.
5006
5007 2012-11-24 Chong Yidong <cyd@gnu.org>
5008
5009 * faces.el (color-defined-p): Doc fix (Bug#12853).
5010
5011 2012-11-24 Juri Linkov <juri@jurta.org>
5012
5013 * dired.el (dired-mark): Add optional arg `interactive'.
5014 Check for `use-region-p' if `interactive' is non-nil.
5015 (dired-unmark, dired-flag-file-deletion): Add optional arg
5016 `interactive'. Call `dired-mark' with the arg `interactive'.
5017 (Bug#10624)
5018
5019 * wdired.el: Revert 2012-10-17 change partly and replace it with
5020 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5021 (wdired-finish-edit): Add marks for new file names to
5022 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5023 after `revert-buffer'.
5024 (wdired-do-renames): Remove calls to `dired-remove-file',
5025 `dired-add-file', `dired-add-entry'. (Bug#11795)
5026
5027 2012-11-24 Alan Mackenzie <acm@muc.de>
5028
5029 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5030
5031 Fix bugs in the state cache. Enhance a debugging mechanism.
5032 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5033 "brace at column zero" strategy for C++.
5034 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5035 (c-parse-state-point): New variable.
5036 (c-record-parse-state-state): Record old parse state with
5037 `copy-tree'. Record previous value of point.
5038 (c-debug-parse-state-double-cons): New debugging function.
5039 (c-debug-parse-state): Call the above new function.
5040 (c-toggle-parse-state-debug): Output a confirmatory message.
5041
5042 * progmodes/cc-mode.el (c-before-change, c-after-change):
5043 Call c-invalidate-state-cache from `c-before-change' instead of
5044 `c-after-change'.
5045
5046 2012-11-23 Chong Yidong <cyd@gnu.org>
5047
5048 * find-cmd.el (find-constituents): Add executable, ipath,
5049 readable, samefile, writable, daystart, regextype (Bug#12856).
5050
5051 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5052
5053 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5054
5055 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5056
5057 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5058 definition. This fixes a bootstrap failure.
5059 (calc-gregorian-switch): In menu, put dates before regions.
5060 This is easier to follow, lines up better in the menu, and lets us
5061 coalesce regions that switch at the same time. Give country
5062 names, not "Vatican", as that's better for non-expert users.
5063 Use names that are stable between the date of switch and now, e.g.,
5064 Bohemia and Moravia (which existed then and now) and not
5065 Czechoslovakia (which didn't exist then and doesn't exist now).
5066 What is now the U.S. mostly did not switch at the same time as
5067 Britain, so omit the U.S. Correct spelling of "Britain".
5068 Catholic Switzerland was too much of a mess, so omit it.
5069
5070 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5071
5072 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5073 after the variable is changed.
5074
5075 2012-11-21 Daniel Colascione <dancol@dancol.org>
5076
5077 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5078 in SQL declarations for font-lock.
5079 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5080
5081 2012-11-21 Glenn Morris <rgm@gnu.org>
5082
5083 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5084 (face-italic-p): Add optional argument "inherit".
5085
5086 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5087 Remove -p suffix from names, for consistency with other set-face-*.
5088 (set-face-inverse-video): Fix interactive spec.
5089 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5090 * textmodes/table.el (table--update-cell-face):
5091 Use set-face-inverse-video rather than now obsolete alias.
5092
5093 2012-11-21 Eli Zaretskii <eliz@gnu.org>
5094
5095 * simple.el (line-move): Don't call line-move-partial if
5096 scroll-conservatively is in effect. (Bug#12927)
5097
5098 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5099
5100 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5101 Fallback on completion-at-point rather than
5102 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5103 (eshell-cmpl-initialize): Setup completion-at-point.
5104
5105 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5106
5107 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5108
5109 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
5110
5111 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5112 are remote, check out-of-band property for both.
5113
5114 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5115
5116 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5117 code rewrite.
5118
5119 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
5120
5121 More minor time fixes.
5122 * calendar/time-date.el: Commentary fix.
5123 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5124 too much other code depends on (0 0) time stamps.
5125 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5126 Add a couple of FIXME comments.
5127
5128 Minor cleanup for times as lists of four integers.
5129 * files.el (dir-locals-directory-cache):
5130 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5131 Doc fixes.
5132 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5133 * ps-bdf.el (bdf-file-newer-than-time):
5134 Process four-integers time stamps, not two. Doc fixes.
5135
5136 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5137
5138 * uniquify.el (uniquify-managed): Use defvar-local.
5139 (rename-buffer, create-file-buffer): Advise with advice-add.
5140 (uniquify-unload-function): Unadvise accordingly.
5141
5142 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5143 (trace-buffer): Don't purecopy.
5144 (trace-entry-message, trace-exit-message): Add `context' arg.
5145 (trace--timer): New var.
5146 (trace-make-advice): Adjust for use in nadvice.
5147 Add `context' argument. Delay `display-buffer' via a timer.
5148 (trace-function-internal): Use advice-add.
5149 (trace--read-args): New function.
5150 (trace-function-foreground, trace-function-background): Use it.
5151 (trace-function): Rename to trace-function-foreground and redefine as
5152 an alias to that new name.
5153 (untrace-function, untrace-all): Adjust to the use of nadvice.
5154
5155 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5156
5157 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
5158
5159 * subr.el (called-interactively-p-functions): New var.
5160 (internal--called-interactively-p--get-frame): New macro.
5161 (called-interactively-p, interactive-p): Rewrite in Lisp.
5162 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
5163 (called-interactively-p-functions): Use it.
5164 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
5165 (called-interactively-p-functions): Use it.
5166 * allout.el (allout-called-interactively-p): Don't assume
5167 called-interactively-p is a subr.
5168
5169 2012-11-20 Glenn Morris <rgm@gnu.org>
5170
5171 * profiler.el (profiler-report-mode-map): Add a menu.
5172 No need to bind `q' because we derive from special-mode.
5173 (profiler-report-find-entry): Handle calls from the menu-bar.
5174
5175 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5176
5177 * emacs-lisp/byte-run.el (defun-declarations-alist):
5178 Allow a compiler-macro to be a lambda expression.
5179
5180 * progmodes/python.el: Use cl-lib. Move var declarations outside of
5181 eval-when-compile.
5182 (python-syntax-context): Add compiler-macro.
5183 (python-font-lock-keywords): Simplify with De Morgan.
5184
5185 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
5186
5187 * files.el (load-file): Require match in minibuffer selection, as was
5188 the case in Emacs-20 before we changed the spec to allow .elc files
5189 (bug#12935).
5190
5191 * json.el: Don't require cl since we don't use it.
5192 * color.el: Don't require cl.
5193 (color-complement): `caddr' -> `nth 2'.
5194
5195 * calendar/time-date.el (time-to-seconds): De-obsolete.
5196
5197 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
5198
5199 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
5200 year numbers.
5201 (math-date-to-julian-dt): Adjust the initial approximation for the
5202 year to deal with the new definition of the DATE.
5203
5204 2012-11-19 Daniel Colascione <dancol@dancol.org>
5205
5206 * term/w32-win.el (cygwin-convert-path-from-windows):
5207 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
5208
5209 2012-11-18 Chong Yidong <cyd@gnu.org>
5210
5211 * filecache.el (file-cache--read-list): New function.
5212 (file-cache-add-directory-list, file-cache-add-file-list)
5213 (file-cache-delete-file-list, file-cache-delete-directory-list):
5214 Use it to read a list of files or directories (Bug#12846).
5215 (file-cache-add-file, file-cache-add-directory)
5216 (file-cache-delete-file-list, file-cache-delete-file-regexp)
5217 (file-cache-delete-directory): Print an message.
5218
5219 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
5220
5221 * calc/calc-forms.el (math-date-to-dt): Use integer date when
5222 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
5223
5224 2012-11-18 Glenn Morris <rgm@gnu.org>
5225
5226 * image.el (insert-image, insert-sliced-image): Doc fix.
5227
5228 2012-11-18 Chong Yidong <cyd@gnu.org>
5229
5230 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
5231 (Bug#12810).
5232
5233 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5234
5235 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
5236 response when the target file is in a subdirectory (Bug#12757).
5237
5238 2012-11-18 Chong Yidong <cyd@gnu.org>
5239
5240 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
5241
5242 2012-11-18 Glenn Morris <rgm@gnu.org>
5243
5244 * emacs-lisp/cl-lib.el (face-underline-p):
5245 Use set-face-underline rather than the alias set-face-underline-p.
5246
5247 * window.el (with-temp-buffer-window): Doc fix.
5248 * subr.el (with-output-to-temp-buffer):
5249 Add doc xref to with-temp-buffer-window.
5250
5251 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
5252
5253 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
5254 * calc/calc.el (math-format-date-cache): Declare.
5255
5256 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
5257
5258 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
5259 It also uses January 1, 1 AD as its day number 1.
5260 * calc/calc-forms.el (math-julian-date-beginning)
5261 (math-julian-date-beginning-int): Implement this.
5262
5263 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
5264
5265 * descr-text.el (quail-find-key):
5266 * dired.el (desktop-file-name):
5267 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
5268 * generic-x.el (comint-mode, comint-exec):
5269 * image-dired.el (widget-forward):
5270 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
5271 (speedbar-change-expand-button-char)
5272 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
5273 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
5274 * printing.el (easy-menu-add-item, easy-menu-remove-item)
5275 (widget-field-action, widget-value-set):
5276 * speedbar.el (imenu--make-index-alist):
5277 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
5278 (ring-length, ring-insert):
5279 * vcursor.el (compare-windows-skip-whitespace):
5280 * woman.el (dired-get-filename):
5281 Declare functions.
5282
5283 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
5284
5285 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5286
5287 * calc/calc.el (calc-gregorian-switch): New variable.
5288
5289 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
5290 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
5291 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
5292 (math-leap-year-p): Add option to distinguish between Julian
5293 and Gregorian calendars.
5294 (math-day-number): Use `math-day-in-year' to do the computations.
5295 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
5296 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
5297 to do the computations.
5298 (math-date-to-dt): Use `math-date-to-julian-dt' and
5299 `math-date-to-gregorian-dt' to do the computations.
5300 (calcFunc-weekday, math-format-date-part): Use the new version of
5301 the DATE to determine the weekday.
5302 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
5303 when necessary.
5304
5305 2012-11-17 Eli Zaretskii <eliz@gnu.org>
5306
5307 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
5308 Cygwin; otherwise use 'file:'. (Bug#12914)
5309 (cygwin-convert-path-from-windows): Declare, to avoid
5310 byte-compiler warnings.
5311
5312 2012-11-17 Andreas Politz <politza@fh-trier.de>
5313
5314 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
5315 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
5316 prefix and negative numeric prefix args (Bug#12795).
5317
5318 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
5319
5320 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
5321 Don't signal an error with a score that is too low to add to the
5322 list of top scores. (Bug#12779)
5323
5324 2012-11-17 Chong Yidong <cyd@gnu.org>
5325
5326 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
5327
5328 * filecache.el (file-cache-add-file): Handle relative file name in
5329 the argument (Bug#12694).
5330
5331 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
5332
5333 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
5334
5335 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5336
5337 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
5338
5339 * emacs-lisp/cl-lib.el: Set more meaningful version number.
5340
5341 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5342
5343 * window.el (enlarge-window, shrink-window): Don't mention return
5344 value in doc-string (Bug#12896).
5345 (window--display-buffer): Don't resize frames - it won't work
5346 with all window managers and defeat pop-up-frame-alist.
5347 (display-buffer-alist): In doc-string explain that CONDITION can
5348 be a function and which arguments are passed to it (Bug#12854).
5349 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
5350 expressions (Bug#12854).
5351 (display-buffer): Pass ACTION argument to
5352 display-buffer-assq-regexp.
5353
5354 2012-11-16 Glenn Morris <rgm@gnu.org>
5355
5356 * window.el (fit-frame-to-buffer-bottom-margin)
5357 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
5358
5359 * faces.el (face-underline-p): Use face-attribute-specified-or.
5360
5361 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
5362
5363 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
5364
5365 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5366
5367 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
5368
5369 2012-11-16 Glenn Morris <rgm@gnu.org>
5370
5371 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
5372 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
5373
5374 * faces.el (face-underline-p): Doc fix. Handle :underline being
5375 things other than `t' (a string, a list).
5376 (face-inverse-video-p): Doc fix.
5377 (set-face-underline): Rename it back from set-face-underline-p.
5378 Doc fix. Allow interactive input of values other than t.
5379 (read-face-attribute): Apply formatting to :underline,
5380 since like :box and :stipple it can take list values.
5381
5382 * term.el (ansi-term): Don't let C-x escape-char binding
5383 clobber the more standard C-c binding. (Bug#12842)
5384
5385 * subr.el (set-temporary-overlay-map): Doc fix.
5386
5387 2012-11-16 Martin Rudalics <rudalics@gmx.at>
5388
5389 * window.el (record-window-buffer)
5390 (display-buffer-record-window): When copying the markers to
5391 window-point preserve window-point-insertion-type. (Bug#12588)
5392
5393 2012-11-16 Glenn Morris <rgm@gnu.org>
5394
5395 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5396 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5397 Use new names for hooks rather than obsolete aliases.
5398
5399 2012-11-15 Daniel Colascione <dancol@dancol.org>
5400
5401 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
5402 prefix instead of "file:" so that when FILE-NAME begins with "//",
5403 as it does when the target file is on a network share, url-handler
5404 isn't confused.
5405
5406 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5407
5408 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5409 a preactivated advice from an old advice.el; they're not compatible!
5410
5411 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
5412
5413 * emacs-lisp/nadvice.el (advice--make-interactive-form):
5414 Fix string-spec case.
5415
5416 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5417
5418 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5419
5420 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5421 (advice--buffer-local-function-sample): New var.
5422 (advice--set-buffer-local, advice--buffer-local): New functions.
5423 (add-function, remove-function): Use them.
5424
5425 2012-11-15 Drew Adams <drew.adams@oracle.com>
5426
5427 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5428
5429 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5432 potential binding of print-gensym to t, and prettify (back)quotes in
5433 case they appear in args's default values (bug#12884).
5434
5435 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5436
5437 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5438 (advice-eval-interactive-spec): New function.
5439 (advice--make-interactive-form): Support around advice (bug#12844).
5440
5441 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
5442
5443 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5444 more strict. Add docstring.
5445 (ruby-expression-expansion-re): Extract from
5446 `ruby-match-expression-expansion'.
5447 (ruby-syntax-propertize-function): After everything else, search
5448 for expansions in string literals, mark their insides as
5449 whitespace syntax and save match data for font-lock.
5450 (ruby-font-lock-keywords): Use the 2nd group from expression
5451 expansion matches.
5452 (ruby-match-expression-expansion): Use the match data saved to the
5453 text property in ruby-syntax-propertize-function.
5454
5455 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5456
5457 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5458 (bug#12879).
5459
5460 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5461
5462 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5463 start/end keyword a bit harder. Works with different values of N.
5464 Add more comments.
5465 (ruby-end-of-block): Update accordingly.
5466
5467 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 * woman.el (woman-file-name): Don't mess with unread-command-events
5470 (bug#12861).
5471
5472 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5473 Remove out of date self-require hack.
5474 (ad-do-advised-functions): Use simple `dolist'.
5475 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5476 (ad-advice-definition): Redefine as functions.
5477 (ad-advice-classes): Move before first use.
5478 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
5479 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5480 (ad--defalias-fset): Remove functions.
5481 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5482 (ad-get-orig-definition): Rewrite.
5483 (ad-make-advised-definition-docstring): Change base docstring.
5484 (ad-real-orig-definition): Rewrite.
5485 (ad-map-arglists): Change name of called function.
5486 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5487 (ad-make-advised-definition): Simplify.
5488 (ad-assemble-advised-definition): Tweak for new calling context.
5489 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
5490 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5491 function and call ad-activate if needed.
5492 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5493 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5494 (ad-compile-function): Compile ad-Advice-*.
5495 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5496 (ad-start-advice, ad-stop-advice): Remove.
5497
5498 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5499
5500 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5501 period before class method names, not after. Remove handling of
5502 one impossible case. Add comments.
5503
5504 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5505
5506 * emacs-lisp/advice.el: Remove support for freezing.
5507 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5508 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5509 Remove support for `freeze'.
5510
5511 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5512 override the default.
5513 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5514 cl--dotimes/dolist.
5515 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5516 `cl' is loaded.
5517
5518 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5519 from add-advice.
5520 (advice--strip-macro): New function.
5521 (advice--defalias-fset): Use them to handle macros.
5522 (advice-add): Use them.
5523 (advice-member-p): Correctly handle macros.
5524
5525 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5526
5527 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5528 Never font-lock the beginning of singleton class as heredoc.
5529
5530 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5531
5532 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5533
5534 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
5535
5536 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5537 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5538 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5539
5540 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5541
5542 Fix end-of-defun misbehavior.
5543 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5544 python-beginning-of-defun-function. Handle nested defuns
5545 correctly.
5546 (python-nav-end-of-defun): Rename from
5547 python-end-of-defun-function. Ensure forward movement.
5548 (python-info-current-defun): Reimplement to work as intended
5549 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5550 parent defuns as soon as possible.
5551
5552 2012-11-13 Glenn Morris <rgm@gnu.org>
5553
5554 * progmodes/flymake.el (flymake-error-bitmap)
5555 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5556 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5557
5558 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5559
5560 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5561 backward, always stop at indentation. Reverts the change from
5562 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5563
5564 2012-11-13 Glenn Morris <rgm@gnu.org>
5565
5566 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5567 Add ibuffer-filter-by-derived-mode.
5568
5569 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5570 the same name shadowing each other.
5571
5572 * window.el (with-temp-buffer-window): Doc tweak.
5573
5574 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5575
5576 * help.el (temp-buffer-max-height):
5577 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5578 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5579
5580 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5581
5582 * emacs-lisp/nadvice.el: New package.
5583 * subr.el (special-form-p): New function.
5584 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5585 (elp-all-instrumented-list): Remove var.
5586 (elp-not-profilable): Remove elp-wrapper.
5587 (elp-profilable-p): Use autoloadp and special-form-p.
5588 (elp--advice-name): New const.
5589 (elp-instrument-function): Use advice-add.
5590 (elp--instrumented-p): New predicate.
5591 (elp-restore-function): Use advice-remove.
5592 (elp-restore-all, elp-reset-all): Use mapatoms.
5593 (elp-set-master): Use elp--instrumented-p.
5594 (elp--make-wrapper): Rename from elp-wrapper, return a function
5595 suitable for advice-add. Use cl-inf.
5596 (elp-results): Use mapatoms+elp--instrumented-p.
5597 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5598 (debug-function-list): Remove var.
5599 (debug): Rename arg, and then let-bind it explicitly inside.
5600 (debugger-setup-buffer): Rename arg.
5601 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5602 (debugger-frame-number): Adjust to new debug-on-entry setup.
5603 (debug--implement-debug-on-entry): Rename from
5604 implement-debug-on-entry, add argument.
5605 (debugger-special-form-p): Remove, use special-form-p instead.
5606 (debug-on-entry): Use advice-add.
5607 (debug--function-list): New function.
5608 (cancel-debug-on-entry): Use it, along with advice-remove.
5609 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5610 (debugger-list-functions): Use debug--function-list instead of
5611 debug-function-list.
5612 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5613 (ad-special-form-p): Remove, use special-form-p instead.
5614 (ad-set-advice-info): Use add-function and remove-function.
5615 (ad--defalias-fset): Adjust accordingly.
5616
5617 2012-11-10 Glenn Morris <rgm@gnu.org>
5618
5619 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5620 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5621 (report-emacs-bug-create-existing-bugs-buffer)
5622 (report-emacs-bug-parse-query-results)
5623 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5624
5625 * term.el (term-default-fg-color, term-default-bg-color):
5626 Make obsolete, rather than just saying "deprecated" in the doc.
5627
5628 * term.el (term): Rename from `term-face'.
5629 (term-current-face, ansi-term-color-vector)
5630 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5631 Update all users.
5632
5633 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
5634
5635 * server.el (server-create-window-system-frame): Handle Nextstep
5636 specially (Bug#12780).
5637
5638 2012-11-10 Glenn Morris <rgm@gnu.org>
5639
5640 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5641 Unautoload, and make obsolete. (Bug#7449)
5642
5643 2012-11-10 Chong Yidong <cyd@gnu.org>
5644
5645 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5646 rename from diff-remove-trailing-whitespace (Bug#12831).
5647
5648 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5649
5650 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5651 miscompilation of trace.el.
5652
5653 2012-11-10 Glenn Morris <rgm@gnu.org>
5654
5655 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5656
5657 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5658
5659 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5660 (bug#12812).
5661
5662 2012-11-10 Chong Yidong <cyd@gnu.org>
5663
5664 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5665 a defcustom with an appropriate :set function.
5666 (minibuffer-default--in-prompt-regexps): New function.
5667
5668 2012-11-10 Glenn Morris <rgm@gnu.org>
5669
5670 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5671 (define-modify-macro): Doc fixes.
5672
5673 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5674 (gv-define-simple-setter): Update doc of `fix-return'.
5675
5676 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5677
5678 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5679 twice when `fix-return' is set (bug#12813).
5680
5681 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5682 gv-define-simple-setter (bug#12812).
5683
5684 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5685 (bug#12756).
5686
5687 2012-11-10 Glenn Morris <rgm@gnu.org>
5688
5689 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5690
5691 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5692 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5693 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5694 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5695
5696 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5697
5698 2012-11-10 Leo Liu <sdl.web@gmail.com>
5699
5700 * ido.el (ido-set-matches-1): Improve flex matching performance by
5701 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5702
5703 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5704
5705 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5706 (ad--defalias-fset): New function.
5707 (ad-safe-fset): Remove.
5708 (ad-make-freeze-definition): Use cl-letf*.
5709
5710 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5711
5712 * subr.el (dolist): Don't bind VAR in RESULT.
5713
5714 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5715 (fset, documentation): Don't save real def since we don't advise.
5716 (ad-do-advised-functions): Remove problematic `result-form'.
5717 (ad-safe-fset): `ad-real-fset' => `fset'.
5718 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5719 uses CL's dolist internally.
5720 (ad-arglist): Remove unused arg `name'.
5721 (ad-docstring, ad-make-advised-docstring):
5722 `ad-real-documentation' => `documentation'.
5723 (warning-suppress-types): Declare.
5724 (ad-set-arguments): Simple CSE.
5725 (ad-recover-normality): Sanity check.
5726
5727 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5728 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5729
5730 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5731
5732 * ses.el: symbol to coordinate mapping is made by symbol property
5733 `ses-cell'. This means that the same mapping is done for all SES
5734 sheets. That is good enough for cells with standard A1 names, but
5735 not for named cell. So a hash map is added for the latter.
5736 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5737 (ses-sym-rowcol): Use hashmap for named cell.
5738 (ses-is-cell-sym-p): New defun.
5739 (ses-decode-cell-symbol): New defun.
5740 (ses-create-cell-variable): Add cell to hashmap when name is not
5741 A1-like.
5742 (ses-rename-cell): Check that cell new name is not already in
5743 spreadsheet with the use of ses-is-cell-sym-p
5744 (ses-rename-cell): Use hash map for named cells, but accept also
5745 renaming back to A1-like.
5746
5747 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5748
5749 * emacs-lisp/advice.el: Use new dynamic docstrings.
5750 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5751 Use dynamic-docstring-function instead of ad-advice-info.
5752 (ad--make-advised-docstring): New function extracted from
5753 ad-make-advised-docstring.
5754 (ad-make-advised-docstring): Use it.
5755 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5756 from sql-help.
5757 (sql-help): Use it with dynamic-docstring-function.
5758
5759 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5760
5761 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5762
5763 * files.el (hack-one-local-variable--obsolete): New function.
5764 (hack-one-local-variable): Use it for obsolete settings.
5765
5766 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5767 the new name.
5768
5769 * progmodes/js.el (js--filling-paragraph): New var.
5770 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5771 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5772 less sneaky.
5773
5774 2012-11-08 Julien Danjou <julien@danjou.info>
5775
5776 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5777 `auto-mode-alist' (Bug#12835).
5778
5779 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5780
5781 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5782 (perl--prettify-symbols-alist): New const.
5783 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5784 New functions.
5785 (perl-font-lock-keywords-2): Use them.
5786 (perl-electric-noindent-p): New function.
5787 (perl-mode): Use it to set up electric-indent-mode.
5788 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5789 (perl-mode-map): Remove bindings for them.
5790 (perl-imenu-generic-expression, perl-outline-level):
5791 Match functions&packages in column>0.
5792
5793 * env.el (env--substitute-vars-regexp): New const.
5794 (substitute-env-vars): Use it. Add `only-defined' arg.
5795 * net/tramp.el (tramp-replace-environment-variables): Use it.
5796
5797 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5798 Byte-compile *before* eval in eval-and-compile.
5799 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5800 (byte-compile-file-form-autoload): Don't hide actual definition.
5801 (byte-compile-maybe-guarded): Accept `functionp' as well.
5802
5803 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5804
5805 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5806
5807 * notifications.el (notifications-get-server-information-method):
5808 New defconst.
5809 (notifications-get-capabilities): Fix docstring.
5810 (notifications-get-server-information): New defun.
5811
5812 2012-11-06 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5813
5814 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5815 readability.
5816
5817 * textmodes/ispell.el: Experimental support for support debugging.
5818 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5819 buffer for ispell.
5820 (ispell-print-if-debug): New function to print stuff to
5821 `ispell-debug-buffer' if debugging is enabled.
5822 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5823 show some debugging info.
5824 (ispell-buffer-with-debug): New function that creates a debugging
5825 buffer and calls `ispell-buffer' with debugging enabled.
5826
5827 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5828 comment in autoconf mode. (Bug#12768)
5829
5830 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5831
5832 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5833 frame-first-window, frame-root-window, frame-selected-window,
5834 minibuffer-selected-window, minibuffer-window,
5835 window-absolute-pixel-edges, window-at, window-body-height,
5836 window-body-width, window-display-table, window-combination-limit,
5837 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5838 window-inside-edges, window-inside-pixel-edges, window-left-child,
5839 window-left-column, window-margins, window-next-buffers,
5840 window-next-sibling, window-new-normal, window-new-total,
5841 window-normal-size, window-parameter, window-parameters, window-parent,
5842 window-pixel-edges, window-point, window-prev-buffers,
5843 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5844 window-start, window-text-height, window-top-child, window-top-line,
5845 window-total-height, window-total-width and window-use-time to the list
5846 of functions without side-effects.
5847 (toplevel): Add window-valid-p to the list of error-free functions
5848 without side-effects.
5849
5850 2012-11-05 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5851
5852 * textmodes/ispell.el (ispell-program-name):
5853 Update spellchecker parameters when customized.
5854
5855 2012-11-04 Glenn Morris <rgm@gnu.org>
5856
5857 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5858
5859 2012-11-04 Chong Yidong <cyd@gnu.org>
5860
5861 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5862 same-window-* variables.
5863
5864 2012-11-04 Juri Linkov <juri@jurta.org>
5865
5866 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5867 (isearch-describe-key, isearch-describe-mode): Use a display
5868 action instead of binding same-window-* variables (Bug#10040).
5869
5870 2012-11-03 Glenn Morris <rgm@gnu.org>
5871
5872 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5873 Rename handler properties back from cl-- to cl-. (Bug#12788)
5874
5875 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5876
5877 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5878
5879 * term/pc-win.el: Don't load term/internal from here.
5880
5881 * loadup.el: Load term/internal from here.
5882
5883 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5884
5885 * progmodes/python.el (inferior-python-mode): Fix hang in
5886 jit-lock (Bug#12645).
5887
5888 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5889
5890 * window.el (switch-to-visible-buffer)
5891 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5892
5893 2012-11-03 Glenn Morris <rgm@gnu.org>
5894
5895 * emacs-lisp/cl-lib.el (cl--random-time):
5896 Rename from cl-random-time. (Bug#12773)
5897 (cl--gensym-counter, cl--random-state): Update callers.
5898 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5899
5900 2012-11-03 Chong Yidong <cyd@gnu.org>
5901
5902 * cus-start.el: Make cursor-type customizable (Bug#11633).
5903
5904 2012-11-02 Glenn Morris <rgm@gnu.org>
5905
5906 * filecache.el: No need to load find-lisp when compiling.
5907 (find-lisp-find-files): Autoload it.
5908 (file-cache-add-directory-recursively): Don't require find-lisp.
5909
5910 * image.el (image-type-from-file-name): Trivial simplification.
5911
5912 * emacs-lisp/bytecomp.el (byte-compile-eval):
5913 Decouple "noruntime" and "cl-functions" warnings.
5914
5915 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5916
5917 * play/gomoku.el (gomoku-display-statistics): Update mode line
5918 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5919
5920 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5921
5922 * window.el (quit-restore-window): If the window has been
5923 created on an existing frame and ended up as the sole window on
5924 that frame, do not delete it (Bug#12764).
5925
5926 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5927
5928 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5929 Rename from sh--inside-arithmetic-expression, handle more cases
5930 (bug#11263).
5931
5932 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5933 (sh-font-lock-open-heredoc): Use it (bug#12770).
5934
5935 2012-10-30 Glenn Morris <rgm@gnu.org>
5936
5937 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5938
5939 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5940
5941 2012-10-29 Chong Yidong <cyd@gnu.org>
5942
5943 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5944 function key is stored in a keyboard macro (Bug#4894).
5945
5946 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5947
5948 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5949
5950 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5951 header comments".
5952 (diff-unified->context, diff-context->unified)
5953 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5954
5955 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5956
5957 * files.el (find-alternate-file): Only ask one question (bug#12487).
5958
5959 2012-10-29 Chong Yidong <cyd@gnu.org>
5960
5961 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5962 Suggested by Dan Nicolaescu (Bug#6326).
5963
5964 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5965
5966 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5967
5968 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5969
5970 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5971
5972 * face-remap.el (face-remap-add-relative): Handle the case where a
5973 face-remapping-alist entry is a cons cell (Bug#12762).
5974
5975 2012-10-29 Kevin Ryde <user42@zip.com.au>
5976
5977 * woman.el (woman-parse-numeric-value): Handle picas correctly
5978 (Bug#12639).
5979
5980 2012-10-29 Glenn Morris <rgm@gnu.org>
5981
5982 * emacs-lisp/cl.el (defsetf): Doc fix.
5983
5984 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5985
5986 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5987 syntax to the matching opener, if any (bug#12547).
5988 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5989 matching open as a "case-(".
5990 (sh-smie-rc-grammar): Add a corresponding rule for it.
5991
5992 2012-10-28 Daniel Hackney <dan@haxney.org>
5993
5994 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5995 "PKGNAME-autoloads.el" in case we created it.
5996
5997 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6000 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6001 (completion--twq-all): Disable too-strict assertions.
6002
6003 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6004
6005 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6006
6007 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6008 text to match the real keybindings.
6009
6010 2012-10-27 Juri Linkov <juri@jurta.org>
6011
6012 * wdired.el (wdired-keep-marker-rename): New defcustom.
6013 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6014 (Bug#11795)
6015
6016 * dired.el (dired-keep-marker-rename): Add reference to
6017 `wdired-keep-marker-rename' in the docstring.
6018 Add default character value ?R to display initially in
6019 Customization UI instead of ?@.
6020
6021 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6022
6023 * window.el (display-buffer): In doc-string describe
6024 window-height and window-width alist entries.
6025
6026 * time.el (display-time-world): Restore fit-window-to-buffer
6027 behavior.
6028
6029 2012-10-27 Chong Yidong <cyd@gnu.org>
6030
6031 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6032
6033 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6034
6035 * minibuffer.el (completion-category-overrides): New completion
6036 category `bookmark' (bug#11131).
6037
6038 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6039
6040 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6041 Silence bogus compiler warnings for ad-do-it.
6042
6043 * bookmark.el (bookmark-completing-read): Set the completion category
6044 to `bookmark' (bug#11131).
6045
6046 2012-10-26 Bastien <bzg@altern.org>
6047 Stefan Monnier <monnier@iro.umontreal.ca>
6048
6049 * face-remap.el: Use lexical-binding.
6050 (text-scale-adjust): Improve docstring. Use itself for the temporary
6051 overlay-map bindings, so as to repeat the "Use..." message each time.
6052
6053 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6054
6055 * emacs-lisp/macroexp.el (macroexp--expand-all):
6056 Obey byte-compile-warning-enabled-p (bug#12486).
6057
6058 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6059 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6060
6061 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6062
6063 * mouse.el (mouse-drag-line): Move last form into preceding when
6064 clause (Bug#12731).
6065
6066 * help.el (resize-temp-buffer-window): Fix doc-string.
6067
6068 2012-10-25 David Engster <deng@randomsample.de>
6069
6070 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6071 Remove. This feature is already integrated in imenu.
6072
6073 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6074 always loaded. Require `speedbar' unconditionally.
6075
6076 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6077
6078 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6079
6080 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6081
6082 * net/ldap.el (ldap-search-internal): The official ldif format starts
6083 with a "version: 1" header (bug#12724).
6084
6085 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6086 (bug#12721).
6087
6088 2012-10-25 Glenn Morris <rgm@gnu.org>
6089
6090 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6091
6092 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6093
6094 * minibuffer.el (minibuffer-force-complete): Use one more marker
6095 for the temporary-overlay-map command (bug#12619).
6096
6097 2012-10-24 Chong Yidong <cyd@gnu.org>
6098
6099 * time.el (display-time-world-mode): Derive from special-mode.
6100 (display-time-world): Use display-buffer (Bug#12708).
6101 (display-time-world-mode-map): Variable deleted.
6102 (display-time-world-display): Wrap the final delete-char inside
6103 inhibit-read-only.
6104
6105 2012-10-24 Chong Yidong <cyd@gnu.org>
6106
6107 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6108 Doc fix.
6109
6110 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6111
6112 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6113
6114 * minibuffer.el (completion--all-sorted-completions-location): New var.
6115 (completion--cache-all-sorted-completions)
6116 (completion--flush-all-sorted-completions): Use it.
6117 (completion-in-region, completion-in-region--postch)
6118 (completion-at-point, completion-help-at-point): Use markers in
6119 completion-in-region--data (bug#12619).
6120
6121 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6122
6123 * progmodes/compile.el (compilation-start): Try to handle common
6124 quoting of `cd' argument (bug#12640).
6125
6126 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6127 (bug#12671).
6128
6129 2012-10-23 Glenn Morris <rgm@gnu.org>
6130
6131 * progmodes/gud.el (gud-menu-map):
6132 Check gdb-active-process is bound. (Bug#12358)
6133
6134 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6135
6136 * repeat.el (repeat): Set real-this-command (bug#12232).
6137
6138 * htmlfontify.el (hfy-post-html-hook):
6139 * filesets.el (filesets-cache-fill-content-hook):
6140 * arc-mode.el (archive-extract-hook):
6141 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6142 * net/rcirc.el (rcirc-sentinel-functions)
6143 (rcirc-receive-message-functions, rcirc-activity-functions)
6144 (rcirc-print-functions):
6145 * net/dbus.el (dbus-event-error-functions):
6146 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6147 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6148 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6149 * term/sun.el (sun-raw-prefix-hooks):
6150 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6151
6152 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
6153
6154 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6155 Set `tramp-chunksize' to 1. This improves the performance.
6156 (tramp-smb-wait-for-output): Add timeout to
6157 `tramp-accept-process-output' calls.
6158
6159 2012-10-23 Chong Yidong <cyd@gnu.org>
6160
6161 * faces.el (font-list-limit): Define as an obsolete variable.
6162
6163 * startup.el (command-line):
6164 * cus-start.el: Don't refer to font-list-limit.
6165
6166 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
6167
6168 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6169
6170 * subr.el (internal-temp-output-buffer-show): Rename from
6171 temp-output-buffer-show, since previously compiled files expect this name.
6172
6173 2012-10-23 Glenn Morris <rgm@gnu.org>
6174
6175 * image.el (image-type-from-file-name): If multiple types match,
6176 return the first one that is supported. (Bug#9045)
6177
6178 2012-10-22 Glenn Morris <rgm@gnu.org>
6179
6180 * image.el (imagemagick-enabled-types): Doc fix.
6181
6182 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
6183
6184 * progmodes/which-func.el (which-func-current): The hash-table may have
6185 an explicit nil (bug#12338).
6186
6187 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6188
6189 * electric.el (electric-pair-delete-selection-self-insert-function):
6190 Rename to electric-pair-will-use-region, return a boolean.
6191 (electric-pair-mode): Adjust accordingly. Don't require delsel.
6192
6193 * delsel.el (delete-selection-helper): Use a function instead of a hook.
6194 (delete-selection-pre-hook): Use use-region-p.
6195 (delete-selection-self-insert-function): Remove.
6196 (self-insert-command): Obey self-insert-uses-region-functions.
6197 (self-insert-iso): Revert to previous setting, since we don't actually
6198 know what that command does.
6199 (delete-selection-self-insert-hooks): Remove.
6200
6201 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
6202
6203 * delsel.el (delete-selection-helper): New function, extracted from
6204 delete-selection-pre-hook.
6205 (delete-selection-pre-hook): Use it.
6206 (delete-selection-self-insert-function): New function.
6207 (delete-selection-self-insert-hooks): New hook.
6208 (self-insert-command, self-insert-iso): Use it.
6209 * electric.el (electric-pair-syntax): New function, extracted from
6210 electric-pair-post-self-insert-function.
6211 (electric-pair-post-self-insert-function): Use it.
6212 (electric-pair-delete-selection-self-insert-function): New function.
6213 (electric-pair-mode): Require delsel and setup
6214 delete-selection-self-insert-hooks (bug#11520).
6215
6216 2012-10-20 Chong Yidong <cyd@gnu.org>
6217
6218 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
6219 no changes to show (Bug#12586).
6220
6221 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
6222 list explicitly (Bug#12571).
6223
6224 2012-10-20 Arne Jørgensen <arne@arnested.dk>
6225
6226 * progmodes/flymake.el (flymake-create-temp-inplace):
6227 Use file-truename.
6228
6229 2012-10-20 Eli Zaretskii <eliz@gnu.org>
6230
6231 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
6232
6233 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
6234
6235 * calc/calc-units.el (math-extract-units): Properly extract powers
6236 of units.
6237
6238 2012-10-20 Daniel Colascione <dancol@dancol.org>
6239
6240 * frame.el (make-frame): Set x-display-name as we used to in order
6241 to unbreak creating an X11 frame from an Emacs daemon started
6242 without a display.
6243
6244 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6245
6246 * minibuffer.el (minibuffer-force-complete): Make the next completion use
6247 the same completion-field (bug#12221).
6248
6249 2012-10-19 Martin Rudalics <rudalics@gmx.at>
6250
6251 * emacs-lisp/debug.el (debug): Record height of debugger window
6252 also when debugger will be back (Bug#8789).
6253
6254 2012-10-18 Chong Yidong <cyd@gnu.org>
6255
6256 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6257 Convert to defcustom.
6258 (gdb-get-source-file): Don't bind pop-up-windows.
6259
6260 * progmodes/gud.el (gud-display-line): Don't specially re-use
6261 other frames for the gdb-mi case (Bug#12648).
6262
6263 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6264
6265 * emacs-lisp/advice.el: Clean up commentary a bit.
6266 (ad-do-advised-functions, ad-with-originals): Use `declare'.
6267 (byte-code-function-p): Never redefine.
6268
6269 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
6270
6271 2012-10-18 Glenn Morris <rgm@gnu.org>
6272
6273 * dired.el (dired-sort-toggle): Some ls implementations only allow
6274 a single option string. (Bug#12666)
6275
6276 * minibuffer.el (completion-cycle-threshold): Doc fix.
6277
6278 2012-10-17 Kenichi Handa <handa@gnu.org>
6279
6280 * international/mule.el (set-keyboard-coding-system):
6281 Recover input meta mode when the new coding system doesn not use 8-bit.
6282 Supply TERMINAL arg to set-input-meta-mode.
6283
6284 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
6285
6286 * wdired.el (wdired-old-marks): New variable.
6287 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
6288 (wdired-do-renames): Move point with renamed file and don't lose
6289 mark status (Bug#11795).
6290
6291 2012-10-16 Juri Linkov <juri@jurta.org>
6292
6293 * replace.el (query-replace-help): Mention multi-buffer replacement
6294 keys in the Help message. (Bug#12655)
6295
6296 2012-10-15 Chong Yidong <cyd@gnu.org>
6297
6298 * emacs-lisp/byte-run.el (defsubst): Doc fix.
6299
6300 2012-10-14 Eli Zaretskii <eliz@gnu.org>
6301
6302 * window.el (display-buffer): Doc fix.
6303
6304 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6305 Adjust the msft regexp to the output of Studio 2010, and move msft
6306 before edg-1. See the discussion on emacs-devel,
6307 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
6308 for the details.
6309
6310 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6311
6312 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
6313 (oset): Move uses of object-class-fast macro after its definition.
6314
6315 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
6316
6317 2012-10-13 Chong Yidong <cyd@gnu.org>
6318
6319 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
6320 enabled, re-enable it (Bug#11963).
6321
6322 2012-10-13 Martin Rudalics <rudalics@gmx.at>
6323
6324 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
6325 non-nil, restore window configuration (Bug#12623).
6326
6327 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6328
6329 * help-fns.el (describe-variable, describe-function-1):
6330 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
6331
6332 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
6333
6334 2012-10-12 Glenn Morris <rgm@gnu.org>
6335
6336 * mail/rmailsum.el (rmail-header-summary):
6337 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
6338
6339 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6340
6341 * progmodes/python.el (python-mode-map):
6342 Replace subtitute-key-definition with proper command remapping.
6343 (python-nav--up-list): Fix behavior for blocks on the same level.
6344
6345 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6346
6347 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
6348
6349 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
6350 changes to the format of load-history.
6351
6352 * international/mule-cmds.el (read-char-by-name): Move let-binding of
6353 completion-ignore-case in case that var is buffer-local (bug#12615).
6354
6355 2012-10-11 Kenichi Handa <handa@gnu.org>
6356
6357 * international/eucjp-ms.el: Re-generated.
6358
6359 2012-10-10 Kenichi Handa <handa@gnu.org>
6360
6361 * select.el (xselect--encode-string): If a coding is specified for
6362 selection, and that is compatible with COMPOUND_TEXT, use it.
6363
6364 2012-10-10 Martin Rudalics <rudalics@gmx.at>
6365
6366 * window.el (switch-to-buffer-preserve-window-point): New option.
6367 (switch-to-buffer):
6368 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
6369
6370 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6371
6372 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
6373 Don't document nil as a useful value (bug#12583).
6374
6375 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
6376
6377 * net/tramp.el (tramp-debug-message):
6378 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
6379 (with-tramp-progress-reporter): Rename from
6380 `tramp-with-progress-reporter'.
6381 (with-tramp-file-property, with-tramp-connection-property):
6382 Move from tramp-cache.el, rename from `with-file-property' and
6383 `with-connection-property', respectively.
6384
6385 * net/tramp-cache.el: Remove `with-file-property' and
6386 `with-connection-property'.
6387
6388 * net/tramp.el:
6389 * net/tramp-gvfs.el:
6390 * net/tramp-sh.el:
6391 * net/tramp-smb.el: Adapt callees.
6392
6393 * net/trampver.el: Update release number.
6394
6395 2012-10-09 Glenn Morris <rgm@gnu.org>
6396
6397 * w32-fns.el (set-message-beep):
6398 * term/w32-win.el (set-message-beep): Update declarations.
6399
6400 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6401
6402 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6403 (mode-line-widen, mode-line-input-method-map)
6404 (mode-line-coding-system-map, mode-line-remote)
6405 (mode-line-unbury-buffer, mode-line-bury-buffer)
6406 (mode-line-next-buffer, mode-line-previous-buffer):
6407 Replace save-selected-window+select-window => with-selected-window.
6408
6409 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6410 * progmodes/cc-vars.el (bq-process): Remove, unused.
6411
6412 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6413
6414 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6415
6416 Implemented `backward-up-list'-like navigation.
6417 * progmodes/python.el (python-nav-up-list)
6418 (python-nav-backward-up-list): New functions.
6419 (python-mode-map): Define substitute key for backward-up-list to
6420 python-nav-backward-up-list.
6421
6422 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6423
6424 * progmodes/python.el (python-fill-paragraph): Rename from
6425 python-fill-paragraph-function. Fixed fill-paragraph for
6426 decorators (Bug#12605).
6427
6428 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6429
6430 * progmodes/python.el (python-shell-output-filter): Handle extra
6431 carriage return in OSX (Bug#12409).
6432
6433 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6434
6435 Fix shell handling of unbalanced quotes and parens in output.
6436 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
6437 (python-syntax-propertize-function): Use it.
6438 (python-shell-output-syntax-table): New var.
6439 (inferior-python-mode): Prevent unbalanced parens/quotes from
6440 previous output mess with current input context.
6441
6442 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
6443
6444 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6445 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6446
6447 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
6448
6449 * ffap.el (ffap-replace-file-component): Support Tramp file name
6450 syntax, not only ange-ftp's one.
6451
6452 2012-10-08 Glenn Morris <rgm@gnu.org>
6453
6454 * cus-start.el (message-log-max): Set :version.
6455
6456 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6457
6458 2012-10-08 Martin Rudalics <rudalics@gmx.at>
6459
6460 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6461 the minibuffer window (Bug#10851).
6462
6463 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6464
6465 Enhancements on forward-sexp movement.
6466 * progmodes/python.el (python-nav-beginning-of-statement)
6467 (python-nav-end-of-statement): Return point-marker.
6468 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6469 (python-info-current-symbol)
6470 (python-info-statement-starts-block-p): Rename from
6471 python-info-beginning-of-block-p.
6472 (python-info-statement-ends-block-p): Rename from
6473 python-info-end-of-block-p.
6474 (python-info-beginning-of-statement-p)
6475 (python-info-end-of-statement-p)
6476 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6477 New functions.
6478
6479 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6480
6481 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6482 frame-selected-windows.
6483
6484 2012-10-08 Daniel Colascione <dancol@dancol.org>
6485
6486 * battery.el (battery-status-function): Check for
6487 w32-battery-status itself, not system-time windows-nt.
6488
6489 * frame.el: Require cl-lib.
6490 (display-format-alist): New variable mapping frame types to
6491 functions that initialize them.
6492 (window-system-for-display): New function: interprets
6493 display-format-alist.
6494 (make-frame-on-display): Remove existing display-selection logic
6495 and just forward to make-frame, which will now DTRT.
6496 (make-frame): Restructure to use window-system-for-display to
6497 figure out how to create a frame on a given display.
6498 (display-mouse-p): Look for frame-type w32, not a particular
6499 system-type.
6500
6501 * loadup.el: Load w32 lisp code when we have the w32 feature.
6502
6503 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6504 system-type windows-nt.
6505
6506 * server.el (server-create-window-system-frame): Look for window
6507 type.
6508 (server-proces-filter): Only force a window system when windows-nt
6509 _and_ w32. Explain why.
6510
6511 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6512 of window systems we configure for the mode.
6513
6514 * startup.el (command-line): Mark window system is initialized
6515 after we've done it.
6516
6517 * common-win.el (x-select-text): Look for w32, not windows-nt.
6518
6519 * ns-win.el: Require cl-lib. Add ourselves to
6520 display-format-alist.
6521 (ns-initialize-window-system): Assert we're not initialized twice.
6522
6523 * w32-win.el: Enable lexical binding; require cl-lib; add
6524 ourselves to display-format-alist.
6525 (w32-handle-dropped-file): Convert incoming dropped files from
6526 Windows paths to Cygwin ones before passing them on to the rest of
6527 Emacs.
6528 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6529 (w32-initialize-window-system): Assert we're not initialized twice.
6530
6531 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6532 (x-initialize-window-system): Assert we're not initialized twice.
6533
6534 * w32-common-fns.el: New File.
6535 (w32-version, w32-using-nt, w32-get-clipboard-data)
6536 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6537 (w32-charset-info-alist, x-last-selected, text)
6538 (x-get-selection-value, x-selection-value): Move here.
6539
6540 * w32-fns.el: Require w32-common-fns.
6541 (w32-version, w32-using-nt, w32-get-clipboard-data)
6542 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6543 (w32-charset-info-alist, x-last-selected, text)
6544 (x-get-selection-value, x-selection-value): Move to
6545 w32-common-fns.
6546
6547 * w32-vars.el:
6548 (w32-allow-system-shell, w32-system-shells): Define only in
6549 non-cygwin case.
6550
6551 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6552
6553 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6554 (read-passwd): Remove a few more potential sources of leaks.
6555
6556 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6557
6558 * progmodes/python.el (inferior-python-mode)
6559 (python-shell-make-comint): Fix initialization of local
6560 variables copied from parent buffer.
6561
6562 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6563
6564 * term/ns-win.el (ns-read-file-name): Update declaration to match
6565 nsfns.m.
6566 (ns-respond-to-change-font): Change fontsize separately so we are sure
6567 it is set when font is acted upon.
6568
6569 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6570
6571 Enhancements to indentation.
6572 * progmodes/python.el (python-indent-context): Give priority to
6573 inside-string context. Make comments indentation markers.
6574 (python-indent-region): Do not mess with strings, unless it's the
6575 enclosing set of quotes.
6576
6577 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6578
6579 * window.el (internal--before-save-selected-window)
6580 (internal--after-save-selected-window): New functions extracted from
6581 save-selected-window. Make sure we return the `alist' we construct.
6582 (save-selected-window): Use them.
6583
6584 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6585 Use with-selected-window.
6586
6587 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6588 forms that define macros (bug#12593).
6589
6590 2012-10-07 Kenichi Handa <handa@gnu.org>
6591
6592 * international/mule-conf.el (compound-text-with-extensions):
6593 Add :mime-charset property as x-ctext.
6594
6595 2012-10-07 Stefan Merten <smerten@oekonux.de>
6596
6597 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6598 (rst-indent-literal-normal, rst-indent-literal-minimized)
6599 (rst-indent-comment): Correct :version tag.
6600 (rst-official-cvs-rev): Correct version string.
6601
6602 2012-10-07 Glenn Morris <rgm@gnu.org>
6603
6604 * mail/rmailmm.el (rmail-mime-process-multipart):
6605 Do not confuse a multipart message with an epilogue
6606 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6607
6608 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6609
6610 Fix shell output retrieval and comint-prompt-regexp init.
6611 * progmodes/python.el (inferior-python-mode):
6612 (python-shell-make-comint): Fix initialization of
6613 comint-prompt-regexp from copied file local variables.
6614 (python-shell-fetched-lines): Remove var.
6615 (python-shell-output-filter-in-progress): Rename from
6616 python-shell-fetch-lines-in-progress.
6617 (python-shell-output-filter-buffer): Rename from
6618 python-shell-fetch-lines-string.
6619 (python-shell-fetch-lines-filter): Delete function.
6620 (python-shell-output-filter): New function.
6621 (python-shell-send-string-no-output): Use them.
6622
6623 2012-10-07 Glenn Morris <rgm@gnu.org>
6624
6625 * hi-lock.el (hi-lock-process-phrase):
6626 Try to make it less fragile. (Bug#7161)
6627
6628 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6629
6630 2012-10-06 Glenn Morris <rgm@gnu.org>
6631
6632 * ehelp.el (electric-help-mode): Use help-mode rather than
6633 non-existent mode `help'.
6634 (electric-help-map): Use button-buffer-map. (Bug#10917)
6635
6636 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6637 (reftex-create-bibtex-footer): Fix custom types.
6638
6639 * progmodes/sh-script.el (sh-indent-after-continuation):
6640 Add explicit :group.
6641
6642 * textmodes/rst.el (rst-preferred-decorations)
6643 (rst-shift-basic-offset): Clarify obsolescence versions.
6644
6645 * profiler.el (profiler): Add missing group :version tag.
6646 * avoid.el (mouse-avoidance-banish-position):
6647 * proced.el (proced-renice-command):
6648 * calc/calc.el (calc-ensure-consistent-units):
6649 * calendar/icalendar.el (icalendar-import-format-uid):
6650 * net/tramp.el (tramp-save-ad-hoc-proxies):
6651 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6652 * progmodes/flymake.el (flymake-error-bitmap)
6653 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6654 * progmodes/sh-script.el (sh-indent-after-continuation):
6655 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6656 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6657 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6658 (vhdl-array-index-record-field-in-sensitivity-list)
6659 (vhdl-indent-comment-like-next-code-line):
6660 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6661 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6662 (reftex-cite-key-separator, reftex-create-bibtex-header)
6663 (reftex-create-bibtex-footer):
6664 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6665 (rst-indent-literal-normal, rst-indent-literal-minimized)
6666 (rst-indent-comment): Add missing custom :version tags.
6667
6668 * calendar/timeclock.el (timeclock-modeline-display):
6669 Add missing obsolete alias for renamed user option.
6670
6671 * strokes.el (strokes-modeline-string):
6672 * emulation/crisp.el (crisp-mode-modeline-string):
6673 * eshell/esh-mode.el (eshell-status-in-modeline):
6674 Aliases to defcustoms must come before the defcustom.
6675
6676 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6677 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6678 (cal-tex-cursor-week-monday): Doc fixes.
6679 (cal-tex-cursor-week2-summary): Doc fix.
6680 Rename from cal-tex-cursor-week-at-a-glance.
6681
6682 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6683 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6684
6685 * calendar/calendar.el (calendar-mode-map):
6686 Add cal-tex-cursor-week2-summary.
6687
6688 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6689
6690 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6691
6692 * subr.el (read-passwd-map): New var.
6693 (read-passwd): Use `read-string' again.
6694 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6695
6696 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
6697
6698 * register.el (append-to-register, prepend-to-register):
6699 Deactivate mark, as does `copy-to-register' (bug#12389).
6700
6701 2012-10-06 Chong Yidong <cyd@gnu.org>
6702
6703 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6704
6705 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6706
6707 * international/characters.el: Fix simple mistake ((car chars) ->
6708 elt), delete duplicated code.
6709
6710 2012-10-06 Glenn Morris <rgm@gnu.org>
6711
6712 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6713
6714 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6715
6716 * color.el (color-hsl-to-rgb): Fix incorrect results for
6717 small and large hue values. (Bug#12559)
6718
6719 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6720
6721 Enhancements to docstring formatting when filling paragraphs.
6722 * progmodes/python.el (python-fill-docstring-style): Rename from
6723 python-fill-string-style. Added new style.
6724 (python-fill-string): Use new style. Better checks for
6725 docstrings.
6726
6727 2012-10-05 Glenn Morris <rgm@gnu.org>
6728
6729 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6730
6731 * color.el (color-name-to-rgb, color-rgb-to-hex)
6732 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6733 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6734 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6735 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6736
6737 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6738
6739 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
6740
6741 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6742 to get the correct size across symlinks.
6743
6744 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6745
6746 2012-10-04 Juri Linkov <juri@jurta.org>
6747
6748 * replace.el (query-replace-interactive): Declare obsolete.
6749 (query-replace-read-from): Add the last incremental search string
6750 to the list of default values accessible via M-n.
6751 (map-query-replace-regexp): Use `read-regexp'.
6752 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6753 (map-query-replace-regexp, replace-string, replace-regexp):
6754 Fix docstrings to replace mentions of `query-replace-interactive'
6755 with alternatives. (Bug#12526)
6756
6757 2012-10-04 Juri Linkov <juri@jurta.org>
6758
6759 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6760 (dired-pop-to-buffer): Declare obsolete.
6761 (dired-mark-pop-up): Doc fix.
6762
6763 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6764
6765 Allow user to set docstring style for fill-paragraph.
6766 * progmodes/python.el
6767 (python-fill-comment-function, python-fill-string-function)
6768 (python-fill-decorator-function, python-fill-paren-function):
6769 Remove :safe for defcustoms.
6770 (python-fill-string-style): New defcustom
6771 (python-fill-paragraph-function): Enhance context detection.
6772 (python-fill-string): Honor python-fill-string-style settings.
6773
6774 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6775
6776 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6777 after setting its buffer (Bug#10805).
6778
6779 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6780
6781 Fix cornercase for string syntax.
6782 * progmodes/python.el (python-syntax-propertize-function):
6783 Simplify and enhance the regexp for unescaped quotes. Now it also
6784 matches quotes in weird situations like the single quote in
6785 "something\"'".
6786 (python-syntax-stringify): Simplify num-quotes detecting code.
6787
6788 2012-10-03 Glenn Morris <rgm@gnu.org>
6789
6790 * help-macro.el (three-step-help):
6791 Revert 2012-09-29 change. (Bug#12567)
6792
6793 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6794
6795 * menu-bar.el (kill-this-buffer): Don't do anything when
6796 `menu-frame' is not alive or visible (Bug#8184).
6797
6798 * emacs-lisp/debug.el (debug): When quitting the debugger window
6799 restore current buffer (Bug#12502).
6800
6801 2012-10-02 Chong Yidong <cyd@gnu.org>
6802
6803 * progmodes/hideif.el (hif-lookup, hif-defined):
6804 Handle semantic-c-takeover-hideif.
6805
6806 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6807
6808 Change sampling interval units from ms to ns.
6809 * profiler.el (profiler-sampling-interval): Change units
6810 from ms to ns, multiplying the default by 1000000 so that
6811 it remains 1 ms.
6812 (profiler-report-cpu-line-format): Give enough room for
6813 the maximum counters on 64-bit hosts.
6814 (profiler-report-render-calltree-1): Call them "CPU samples",
6815 not "Time (ms)", since they are not milliseconds now (and
6816 never really were).
6817
6818 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6819
6820 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6821 Fix querying BBDB for entries without a last name (Bug#11580).
6822
6823 2012-10-02 Chong Yidong <cyd@gnu.org>
6824
6825 * emacs-lisp/eieio.el: Restore Version header.
6826
6827 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6828
6829 * vc/diff-mode.el (diff--auto-refine-data): New var.
6830 (diff-hunk): Use it to delay refinement.
6831 (diff-mode): Remove overlays when we turn off font-lock.
6832
6833 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6834 (table-initialize-table-fixed-width-mode)
6835 (table-set-table-fixed-width-mode): Remove functions.
6836 (table-command-list): Move initialization into declaration.
6837 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6838 (table-with-cache-buffer): Use `declare'.
6839 (table-span-cell): Simplify via CSE.
6840 (table-fixed-width-mode): Use define-minor-mode.
6841 (table-call-interactively, table-funcall, table-apply): Remove.
6842 (table-function): New function, to replace them.
6843
6844 * bookmark.el (bookmark-search-pattern): Remove var.
6845 (bookmark-read-search-input): Remove function.
6846 (bookmark-bmenu-search): Reimplement using a minibuffer.
6847
6848 * faces.el (modeline): Remove obsolete face name.
6849
6850 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6851 and give a non-nil default value.
6852 (add-change-log-entry): Simplify accordingly.
6853
6854 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6855
6856 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6857 (vc-git-log-edit-toggle-amend): New function.
6858 (vc-git-log-edit-toggle-signoff): New function.
6859 (vc-git-log-edit-mode): New major mode.
6860 (vc-git-log-edit-mode-map): Keymap for it.
6861 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6862
6863 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6864 header names.
6865 (log-edit-toggle-header): New function.
6866 (log-edit-extract-headers): Accept function values in HEADERS alist.
6867
6868 2012-10-01 David Engster <deng@randomsample.de>
6869
6870 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6871 from symbol property and change message to be more consistent with
6872 Emacs proper.
6873 (eieio-describe-generic): Add filename for each implementation.
6874 Fix indices for generic and normal methods.
6875 (eieio-method-def, eieio-class-def): New buttons.
6876 (eieio-help-find-method-definition)
6877 (eieio-help-find-class-definition): New functions.
6878 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6879 class, constructor and method definitions.
6880
6881 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6882 information in symbol property.
6883 (scoped-class): Remove.
6884 (eieio-slot-name-index, call-next-method): Check if it is bound.
6885
6886 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6887
6888 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6889 (eieio-custom-mode): New major mode.
6890 (eieio-customize-object): Use it.
6891
6892 2012-10-01 Eric Ludlam <zappo@gnu.org>
6893
6894 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6895 specifying the expected class, and whether subclassing is allowed.
6896 (eieio-persistent-convert-list-to-object):
6897 (eieio-persistent-validate/fix-slot-value)
6898 (eieio-persistent-slot-type-is-class-p): New functions.
6899 (eieio-named::slot-missing): Doc fix.
6900
6901 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6902 Stop using unused publd variable.
6903
6904 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6905 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6906 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6907 (eieio-speedbar-handle-click): Do not specify a class for the
6908 method. Fixes method invocation order problems with EDE.
6909
6910 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6911
6912 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6913 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6914
6915 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6916
6917 * bookmark.el (bookmark-version-control): Give tags in the
6918 :type choices (Bug#12309), and improve doc string.
6919 (bookmark-write-file): Bind `print-circle' to `t' to allow
6920 circular custom bookmark types. (Bug#12503)
6921
6922 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6923
6924 Revert the FOLLOW-SYMLINKS change for file-attributes.
6925 * files.el (remote-file-name-inhibit-cache, after-find-file):
6926 * time.el (display-time-file-nonempty-p): Undo last change.
6927
6928 * profiler.el (profiler-sampling-interval): Change default back to 1.
6929 See Stefan Monnier in
6930 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6931
6932 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6933
6934 Shell output catching a la gud-gdb.
6935 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6936 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6937 New Vars.
6938 (python-shell-fetch-lines-filter): New function.
6939 (python-shell-send-string-no-output): Use them.
6940
6941 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6942
6943 * profiler.el (profiler-sampling-interval): Rename from
6944 profiler-sample-interval.
6945 (profiler-sampling-interval): Default to 10.
6946 (profiler-find-profile): New command (was profiler-find-log).
6947 (profiler-find-profile-other-window): New command.
6948 (profiler-find-profile-other-frame): New command.
6949 (profiler-profile): Introduce API-level data structure.
6950
6951 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6952
6953 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6954 * files.el (remote-file-name-inhibit-cache):
6955 * time.el (display-time-file-nonempty-p): Use it.
6956 * files.el (after-find-file): Don't chase links before calling
6957 file-exists-p, as file-exists-p already does the right thing.
6958
6959 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6960
6961 Merge from standalone RefTeX repository.
6962
6963 The following ChangeLog entries are shortened versions of the
6964 original ones with file paths adapted. A not so strongly edited
6965 version of the original ChangeLog can be found in the commit log.
6966
6967 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6968 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6969 Correctly handle new value type returned by `reftex-citation'.
6970
6971 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6972 that entries with whitespace at various places are found.
6973 Doc fix. Include entries that are cross-referenced from cited entries.
6974 Include @String definitions in the resulting bib file. Add header
6975 and footer defined in `reftex-create-bibtex-header' and
6976 `reftex-create-bibtex-footer'.
6977 (reftex-do-citation): Make it possible again to insert
6978 non-existent entries. Save match data when asking for optional
6979 arguments. Return all keys, not just the first one.
6980 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6981 all citations in the same line.
6982 (reftex-parse-bibtex-entry): Accept additional optional argument
6983 `raw' and keep quotes or braces if it is non-nil. Match fields
6984 containing hyphens besides word constituents.
6985 (reftex-get-string-refs): New function.
6986 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6987 and ask if it should be reread in case it did.
6988 (reftex-pop-to-bibtex-entry)
6989 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6990 entries with spaces or tabs in front of arguments.
6991 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6992 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6993 Match entries containing numbers and symbol constituents.
6994 (reftex-do-citation, reftex-figure-out-cite-format):
6995 Use `reftex-cite-key-separator'.
6996
6997 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6998 (reftex-mouse-view-crossref): Explain why point is set.
6999
7000 * textmodes/reftex-global.el: Whitespace changes.
7001
7002 * textmodes/reftex-index.el: Move provide statement to end of
7003 file.
7004 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7005 (reftex-index-visit-phrases-buffer): Set marker when visiting
7006 buffer. This allows for returning from the phrases file to the
7007 file one was just editing instead of the file where the last
7008 phrases was added from.
7009 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7010 punctuation syntax as it usually is not used as string quote in
7011 TeX-related modes and may occur unmatched. The change also
7012 prevents fontification of quoted content.
7013 (reftex-index-phrases-mode): Use it.
7014
7015 * textmodes/reftex-parse.el (reftex-parse-from-file):
7016 Move backward one char if a `\' was matched after a section macro.
7017 (reftex-parse-from-file): Use beginning of match instead of end as
7018 bound.
7019
7020 * textmodes/reftex-ref.el: Adapt creation of
7021 `reftex-<package>-<macro>' functions to new structure of
7022 `reftex-ref-style-alist'.
7023 (reftex-reference): Use `reftex-ref-style-list' function.
7024 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7025 reference macro if `reftex-ref-macro-prompt' is non-nil.
7026 (reftex-reference): Pass refstyle to `reftex-format-special'.
7027 Determine reference macro by looking at
7028 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7029 Use only one special format function.
7030 (reftex-varioref-vref, reftex-fancyref-fref)
7031 (reftex-fancyref-Fref): Remove definitions. The functions are now
7032 generated from `reftex-ref-style-alist'.
7033 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7034 Remove.
7035 (reftex-format-special): New function.
7036
7037 * textmodes/reftex-sel.el
7038 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7039 of `reftex-ref-style-alist'. Remove code for testing macro type.
7040 (reftex-select-toggle-varioref)
7041 (reftex-select-toggle-fancyref): Remove.
7042 (reftex-select-cycle-ref-style-internal)
7043 (reftex-select-cycle-ref-style-forward)
7044 (reftex-select-cycle-ref-style-backward): New functions.
7045 (reftex-select-label-map): Use `v' and `V' for general cycling
7046 through reference styles. Add `p' for switching between number
7047 and page reference types.
7048
7049 * textmodes/reftex-toc.el (reftex-re-enlarge):
7050 Call `enlarge-window' only if there is something to do because in Emacs
7051 the horizontal version throws an error even if the parameter is 0.
7052
7053 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7054 (reftex-plug-into-AUCTeX): Doc fix.
7055 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7056 string. Adapt to new name.
7057 (reftex-ref-style-alist): Change structure so that it is not
7058 possible to use multiple different package names within a style.
7059 Remove the symbols for symbols for macro type distinction.
7060 Add characters for macro selection.
7061 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7062 (reftex-create-bibtex-footer): New variables.
7063 (reftex-format-ref-function): Mention third argument of special
7064 format function.
7065 (reftex-ref-style-alist, reftex-ref-style-default-list):
7066 New variables.
7067 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7068 to new implementation. Mark as obsolete. Add compatibility code
7069 for honoring the variable values in case they are set.
7070 (reftex-cite-format-builtin, reftex-bibliography-commands):
7071 Add support for ConTeXt.
7072 (reftex-format-ref-function, reftex-format-cite-function):
7073 Fix custom type.
7074 (reftex-cite-key-separator): New variable.
7075
7076 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7077 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7078 `reftex-syntax-table' because parens have to retain their paren
7079 syntax in order for parsing of BibTeX entries like @book(...) to
7080 work.
7081 (reftex-in-comment): Do not error out if `comment-start-skip' is
7082 not set. Deal correctly with escaped comment characters.
7083 (reftex-tie-multifile-symbols): Add doc string.
7084 Initialize `reftex-ref-style-list'.
7085 (reftex-untie-multifile-symbols): Add doc string.
7086 (reftex-add-index-macros): Doc fix.
7087 (reftex-ref-style-activate, reftex-ref-style-toggle)
7088 (reftex-ref-style-list): New functions.
7089 (reftex-mode-menu): Use them. Adapt to new structure of
7090 `reftex-ref-style-alist'.
7091 (reftex-select-with-char): Kill the RefTeX Select buffer when
7092 done.
7093 (reftex-remove-if): New function.
7094 (reftex-erase-all-selection-and-index-buffers)
7095 (reftex-mode-menu): Reference styles are now computed from
7096 `reftex-ref-style-alist'. Fix typo.
7097 (reftex-report-bug): New function.
7098 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7099 algorithms with O(n log n). Introduce optional argument SORT (not
7100 yet used).
7101
7102 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7103
7104 Enhancements for triple-quote string syntax.
7105 * progmodes/python.el (python-syntax-propertize-function):
7106 Match both quote cases in one regexp.
7107 (python-syntax-stringify): Handle matches properly.
7108
7109 2012-09-30 Juri Linkov <juri@jurta.org>
7110
7111 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7112 to nil around the call to `insert' to prevent
7113 directory time modification by lock_file. (Bug#2295)
7114 * tar-mode.el (tar-summarize-buffer): Idem.
7115
7116 2012-09-30 Juri Linkov <juri@jurta.org>
7117
7118 * facemenu.el (list-colors-sort): Add option "Luminance".
7119 (list-colors-sort-key): Implement it.
7120
7121 * vc/diff-mode.el (diff-refine-removed):
7122 * vc/ediff-init.el (ediff-fine-diff-A):
7123 * vc/smerge-mode.el (smerge-refined-removed):
7124 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7125
7126 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7127
7128 * term/ns-win.el (x-file-dialog): New function.
7129
7130 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
7131
7132 * ido.el (ido-max-directory-size): Default to nil; the current
7133 default is small for POSIX systems, and impractical on Windows 7
7134 now that lstat returns directory sizes for NTFS.
7135
7136 2012-09-30 Martin Rudalics <rudalics@gmx.at>
7137
7138 In buffer display functions handle window-height/window-width
7139 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
7140 * window.el (window--display-buffer): New argument ALIST.
7141 Obey window-height and window-width alist entries.
7142 (window--try-to-split-window): New argument ALIST.
7143 Bind window-combination-limit to t when the window's size shall be
7144 changed and window-combination-limit equals `window-size'.
7145 (display-buffer-in-atom-window)
7146 (display-buffer-in-major-side-window)
7147 (display-buffer-in-side-window, display-buffer-same-window)
7148 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7149 (display-buffer-pop-up-window, display-buffer-below-selected)
7150 (display-buffer-at-bottom, display-buffer-in-previous-window)
7151 (display-buffer-use-some-window): Adjust all callers of
7152 window--display-buffer and window--try-to-split-window.
7153 (fit-frame-to-buffer): New option.
7154 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7155 is non-nil.
7156 (display-buffer-in-major-side-window): Evaluate window-height /
7157 window-width alist entries.
7158
7159 * help.el (temp-buffer-resize-frames)
7160 (temp-buffer-resize-regexps): Remove options.
7161 (temp-buffer-resize-mode): Adjust doc-string.
7162 (resize-temp-buffer-window): Don't consult
7163 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
7164 temp-buffer-resize-frames.
7165
7166 * dired.el (dired-mark-pop-up):
7167 Call display-buffer-below-selected with a fit-window-to-buffer alist
7168 entry.
7169
7170 2012-09-30 Chong Yidong <cyd@gnu.org>
7171
7172 * server.el (server-host): Document the security implications.
7173 (server-auth-key): Doc fix.
7174
7175 * startup.el (initial-buffer-choice): Doc fix.
7176
7177 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
7178
7179 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
7180 restriction change.
7181
7182 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
7183
7184 * help-fns.el (help-fns--obsolete): Fix last change.
7185
7186 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7187
7188 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
7189 (minor-mode-map-alist): Remove redundant code.
7190
7191 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
7192 visited in a buffer.
7193 (cvs-insert-visited-file): New function.
7194 (find-file-hook): Use it.
7195
7196 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
7197
7198 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
7199 chose face.
7200 (log-edit-empty-buffer-p): Don't require a space after a header.
7201
7202 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
7203
7204 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
7205
7206 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
7207 a proper minor-mode.
7208
7209 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
7210
7211 2012-09-29 Glenn Morris <rgm@gnu.org>
7212
7213 * winner.el (winner-mode): Remove variable (let define-minor-mode
7214 handle it).
7215 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
7216 Doc fixes.
7217 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
7218 (winner-mode): Use define-minor-mode.
7219
7220 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
7221 the full definition in loaddefs, rather than duplicating it.
7222
7223 * help-macro.el (three-step-help): No need to autoload defcustom.
7224
7225 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
7226 (inferior-lisp-program, inferior-lisp-load-command)
7227 (inferior-lisp-prompt, inferior-lisp-mode-hook):
7228 No need to autoload defcustoms.
7229
7230 * hippie-exp.el (hippie-expand-try-functions-list)
7231 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
7232 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
7233 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
7234 (hippie-expand-only-buffers): No need to autoload defcustoms.
7235 * progmodes/vhdl-mode.el (vhdl-line-expand):
7236 Explicitly load hippie-exp, so it does not get autoloaded
7237 while hippie-expand-try-functions-list is let-bound.
7238
7239 2012-09-28 Glenn Morris <rgm@gnu.org>
7240
7241 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
7242
7243 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
7244 Only "cl.el" counts as cl these days.
7245
7246 2012-09-28 Juri Linkov <juri@jurta.org>
7247
7248 Display archive errors in the echo area instead of inserting
7249 to the file buffer.
7250
7251 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
7252 to STDERR-TEST that can be a regexp matching a successful output.
7253 Create a temporary file and redirect stderr to it. Search for
7254 STDERR-TEST in the stderr output and display it in the echo area
7255 if no match is found.
7256 (archive-extract-by-file): New function like
7257 `archive-extract-by-stdout' but extracting archives to files
7258 and looking for successful matches in stdout. Function body is
7259 mostly copied from `archive-rar-extract'.
7260 (archive-rar-extract): Use `archive-extract-by-file'.
7261 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
7262
7263 2012-09-28 Leo Liu <sdl.web@gmail.com>
7264
7265 * pcomplete.el (pcomplete-show-completions):
7266 Use minibuffer-message to make pcomplete usable in minibuffer.
7267
7268 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
7269
7270 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7271
7272 * type-break.el: Use lexical-binding.
7273 (type-break-mode): Use define-minor-mode.
7274
7275 * emacs-lisp/pcase.el (pcase--mark-used): New.
7276 (pcase--u1): Use it (bug#12512).
7277
7278 * custom.el (load-theme): Set buffer-file-name so the load is recorded
7279 in load-history with the right file name.
7280
7281 2012-09-28 Tassilo Horn <tsdh@gnu.org>
7282
7283 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
7284 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
7285 (doc-view-get-bounding-box): Make bounding box slicing work for
7286 ODF and DVI documents.
7287
7288 2012-09-28 Glenn Morris <rgm@gnu.org>
7289
7290 * type-break.el (type-break-mode, type-break-interval)
7291 (type-break-good-rest-interval, type-break-keystroke-threshold):
7292 No need to autoload.
7293 (type-break-good-rest-interval, type-break-keystroke-threshold):
7294 Add :set-after.
7295
7296 2012-09-28 Chong Yidong <cyd@gnu.org>
7297
7298 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
7299 Add :version tag.
7300
7301 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7302
7303 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
7304
7305 2012-09-27 Glenn Morris <rgm@gnu.org>
7306
7307 * faces.el (x-display-name): Declare (for without-x builds).
7308
7309 * linum.el (linum-format): Don't autoload it. Improve :type.
7310
7311 * progmodes/tcl.el: Don't require outline when compiling.
7312 (outline-regexp, outline-level): Declare.
7313 * textmodes/sgml-mode.el: Don't require outline when compiling.
7314 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
7315
7316 * term.el (term-ansi-reset):
7317 Try setting term-ansi-face-already-done to nil. (Bug#11785)
7318
7319 * vc/vc.el (vc-next-action): Only gripe about committing read-only
7320 files for RCS and SCCS. (Bug#9781)
7321
7322 2012-09-27 Chong Yidong <cyd@gnu.org>
7323
7324 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
7325 change; value should be t.
7326
7327 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
7328
7329 * image-mode.el: Use lexical-binding.
7330 (image-mode-winprops): Use t to stand for the window of
7331 a buffer that's not displayed.
7332 * doc-view.el (doc-view-new-window-function): Handle the new
7333 t in winprops.
7334 (doc-view-enlarge): Make it a real nop if the size is not changed.
7335 (doc-view-display): Handle the case where the buffer is not (yet?)
7336 displayed in any window.
7337 (doc-view-saved-settings): New var.
7338 (doc-view-mode): Use it.
7339 (doc-view-fallback-mode): Set it.
7340
7341 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
7342 Set lexical-binding.
7343 (minibuffer-eldef-shorten-default): New var.
7344 (minibuffer-default-in-prompt-regexps): Use it for new default.
7345 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
7346
7347 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7348
7349 * international/uni-bidi.el:
7350 * international/uni-category.el:
7351 * international/uni-name.el:
7352 * international/uni-numeric.el: Regenerate.
7353
7354 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
7355 Stefan Monnier <monnier@iro.umontreal.ca>
7356
7357 * profiler.el: New file.
7358
7359 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
7360
7361 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
7362 (testcover-reinstrument): Simplify with CSE.
7363
7364 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
7365
7366 * window.el (temp-buffer-window-setup): Fix typo in docstring.
7367
7368 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
7369
7370 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
7371 (verilog-auto-input, verilog-auto-insert-lisp)
7372 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
7373 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
7374 (verilog-auto-unused, verilog-auto-wire)
7375 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
7376 newline. Reported by Andrew Jones.
7377 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
7378 Reported by Brad Dobbie.
7379 (verilog-batch-delete-trailing-whitespace):
7380 Create verilog-batch-delete-trailing-whitespace.
7381 Reported by Brad Dobbie.
7382 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
7383 parameters from another module. Reported by Dan Katz.
7384 (verilog-auto, verilog-auto-assign-modport)
7385 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
7386 AUTOINOUTMODPORT for UVM interface module shell generation.
7387 Reported by Brad Dobbie.
7388 (verilog-auto-inst-interfaced-ports): Make default nil, as more
7389 standard behavior.
7390 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
7391 Reported by Matt Martin.
7392
7393 2012-09-25 Martin Rudalics <rudalics@gmx.at>
7394
7395 * window.el (window--resize-child-windows): When resizing child
7396 windows proportionally, process them in reverse order to
7397 preserve the "when splitting a window the new one gets the odd
7398 line" behavior.
7399 (window--resize-root-window-vertically): When resizing the
7400 minibuffer window try to affect only windows at the bottom of the
7401 frame. (Bug#12419)
7402
7403 2012-09-25 Chong Yidong <cyd@gnu.org>
7404
7405 * subr.el (declare): Doc fix.
7406
7407 * help-fns.el (help-fns--obsolete): Handle macros properly.
7408
7409 2012-09-25 Chong Yidong <cyd@gnu.org>
7410
7411 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7412 this function obsolete.
7413
7414 * calendar/cal-x.el (calendar-two-frame-setup)
7415 (calendar-only-one-frame-setup, calendar-one-frame-setup):
7416 * calendar/calendar.el (american-calendar, european-calendar)
7417 (calendar-for-loop):
7418 * comint.el (comint-dynamic-simple-complete)
7419 (comint-dynamic-complete-as-filename, comint-unquote-filename):
7420 * desktop.el (desktop-load-default):
7421 * dired-x.el (dired-omit-here-always)
7422 (dired-hack-local-variables, dired-default-directory):
7423 * emacs-lisp/derived.el (derived-mode-class):
7424 * emacs-lisp/timer.el (timer-set-time-with-usecs):
7425 * emacs-lock.el (toggle-emacs-lock):
7426 * epa.el (epa-display-verify-result):
7427 * epg.el (epg-sign-keys, epg-start-sign-keys)
7428 (epg-passphrase-callback-function):
7429 * eshell/esh-util.el (eshell-for):
7430 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7431 (eshell-add-to-window-buffer-names):
7432 * files.el (locate-file-completion):
7433 * imenu.el (imenu-example--create-c-index)
7434 (imenu-example--create-lisp-index)
7435 (imenu-example--lisp-extract-index-name)
7436 (imenu-example--name-and-position):
7437 * international/mule-cmds.el (princ-list):
7438 * international/mule-diag.el (decode-codepage-char):
7439 * international/mule-util.el (detect-coding-with-priority):
7440 * iswitchb.el (iswitchb-read-buffer):
7441 * mail/mailalias.el (mail-complete):
7442 * mail/sendmail.el (mail-sent-via):
7443 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7444 (mouse-major-mode-menu):
7445 * password-cache.el (password-read-and-add):
7446 * pcomplete.el (pcomplete-parse-comint-arguments):
7447 * progmodes/sh-script.el (sh-maybe-here-document):
7448 * replace.el (query-replace-regexp-eval):
7449 * savehist.el (savehist-load):
7450 * simple.el (choose-completion-delete-max-match):
7451 * term.el (term-dynamic-simple-complete):
7452 * vc/ediff-init.el (ediff-check-version):
7453 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7454 * vc/vc.el (vc-diff-switches-list):
7455 * view.el (view-return-to-alist-update): Likewise.
7456
7457 * subr.el (eval-next-after-load, makehash, insert-string)
7458 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7459 mark obsolete.
7460 (mode-line-inverse-video): Variable deleted.
7461
7462 * international/mule-util.el (string-to-sequence): Remove.
7463
7464 * calendar/calendar.el (calendar-version):
7465 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7466 (icalendar-convert-diary-to-ical):
7467 * cus-edit.el (custom-mode):
7468 * ansi-color.el (ansi-color-unfontify-region):
7469 * international/latin1-disp.el (latin1-char-displayable-p):
7470 * progmodes/cwarn.el (turn-on-cwarn-mode):
7471 * progmodes/which-func.el (which-func-update-1):
7472 Use define-obsolete-function-alias.
7473
7474 * net/newst-backend.el (newsticker-cache-filename):
7475 * net/newst-treeview.el (newsticker-groups-filename):
7476 Fix incorrect obsolescence declaration.
7477
7478 * allout.el (allout-passphrase-hint-string): Likewise.
7479 (allout-init): Use a declare form to mark obsolete.
7480
7481 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7482 this applies to functions.
7483
7484 * iswitchb.el (iswitchb-read-buffer): Move code of
7485 iswitchb-define-mode-map here, and delete that obsolete function.
7486
7487 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7488 font-lock-reference-face.
7489
7490 2012-09-25 Glenn Morris <rgm@gnu.org>
7491
7492 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7493 Doc fixes.
7494
7495 * eshell/em-term.el (eshell-term-name):
7496 Default to term-term-name. (Bug#12485)
7497
7498 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7499
7500 * progmodes/python.el (python-shell-send-buffer): Better handling
7501 of "if __name__ == '__main__':" conditionals when sending the buffer.
7502
7503 2012-09-24 Glenn Morris <rgm@gnu.org>
7504
7505 * eshell/esh-cmd.el (eshell-find-alias-function):
7506 Tighten up file-name regexp. (Bug#12499)
7507
7508 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7509
7510 Enhancements for triple-quote string syntax.
7511 * progmodes/python.el (python-quote-syntax): Remove.
7512 (python-syntax-propertize-function): New value.
7513 (python-syntax-count-quotes, python-syntax-stringify):
7514 New functions.
7515
7516 2012-09-24 Chong Yidong <cyd@gnu.org>
7517
7518 * mail/supercite.el (sc-version): Remove obsolete function.
7519 (sc-describe): Don't mark as obsolete, since it is bound.
7520 (sc-submit-bug-report): Remove.
7521
7522 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7523 (cvs-commit-buffer-require-final-newline): Remove.
7524 (log-edit-require-final-newline)
7525 (log-edit-changelog-full-paragraphs): Default to t.
7526
7527 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7528 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7529 * vc/vc.el (vc-checkout-carefully): Likewise.
7530
7531 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7532 (emerge-version): Remove.
7533
7534 * progmodes/compile.el (compile-internal): Remove.
7535 (compilation-parse-errors-function): Fix typo.
7536
7537 * international/mule.el (set-char-table-default): Remove.
7538 (set-coding-priority, make-coding-system, generic-char-p)
7539 (charset-list, charset-bytes, charset-id): Use declare to mark
7540 functions as obsolete.
7541
7542 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7543 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7544 * vc/vc-hooks.el (vc-default-registered): Don't use
7545 vc-master-templates.
7546
7547 * font-lock.el (font-lock-reference-face):
7548 Use define-obsolete-variable-alias.
7549
7550 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7551 * calendar/calendar.el (calendar-font-lock-keywords):
7552 * calendar/diary-lib.el (diary-font-lock-keywords)
7553 (diary-fancy-font-lock-keywords):
7554 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7555 * textmodes/reftex-index.el (reftex-insert-index):
7556 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7557 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7558 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7559 * progmodes/prolog.el (prolog-font-lock-keywords):
7560 * progmodes/idlwave.el (idlwave-idl-keywords):
7561 * progmodes/ada-mode.el (ada-font-lock-keywords):
7562 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7563
7564 2012-09-24 Glenn Morris <rgm@gnu.org>
7565
7566 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7567
7568 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7569
7570 * progmodes/python.el (python-indent-line): More consistent cursor
7571 movement behavior.
7572
7573 2012-09-23 Stefan Merten <smerten@oekonux.de>
7574
7575 * textmodes/rst.el: Fix compiler warning.
7576
7577 2012-09-23 Roland Winkler <winkler@gnu.org>
7578
7579 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7580 Transcribe also LaTeX hyphenation.
7581 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7582 bibtex-reformat-previous-options.
7583
7584 2012-09-23 Roland Winkler <winkler@gnu.org>
7585
7586 * proced.el (proced-renice-command): New variable.
7587 (proced-marked-processes): New function.
7588 (proced-with-processes-buffer): New macro.
7589 (proced-send-signal): Use them.
7590 (proced-renice): New command bound to r.
7591
7592 2012-09-23 Roland Winkler <winkler@gnu.org>
7593
7594 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7595 ibuffer-saved-filter-groups has one element, shortcut the call of
7596 completing-read. (Bug#12331)
7597
7598 2012-09-23 Chong Yidong <cyd@gnu.org>
7599
7600 * bindings.el (mode-line-toggle-read-only):
7601 * bs.el (bs-toggle-readonly):
7602 * buff-menu.el (Buffer-menu-toggle-read-only):
7603 * dired.el (dired-toggle-read-only):
7604 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7605
7606 2012-09-23 Chong Yidong <cyd@gnu.org>
7607
7608 * image.el (image-type-available-p): Adapt to init-image-library
7609 argument changes.
7610
7611 2012-09-22 Juri Linkov <juri@jurta.org>
7612
7613 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7614 `dired-toggle-read-only'. (Bug#12462)
7615
7616 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7617
7618 * subr.el (temp-output-buffer-show): New function.
7619 (with-output-to-temp-buffer): Call temp-output-buffer-show
7620 instead of internal-temp-output-buffer-show.
7621
7622 2012-09-22 Chong Yidong <cyd@gnu.org>
7623
7624 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7625 (Bug#12462).
7626
7627 * repeat.el (repeat): Doc fix (Bug#12348).
7628
7629 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7630 (Bug#10909).
7631
7632 * simple.el (shell-command-on-region): Doc fix.
7633 (read-only-mode): Doc fix.
7634
7635 2012-09-22 Eli Zaretskii <eliz@gnu.org>
7636
7637 * emacs-lisp/timer.el (run-with-idle-timer)
7638 (timer-activate-when-idle): Warn against reinvoking an idle timer
7639 from within its own timer action. (Bug#12447)
7640
7641 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7642
7643 * cus-start.el (window-combination-limit): Add new optional
7644 values.
7645 * window.el (temp-buffer-window-show)
7646 (window--try-to-split-window): Handle new values of
7647 window-combination-limit (Bug#1806).
7648 (split-window): Test window-combination-limit for t instead of
7649 non-nil.
7650 (display-buffer-at-bottom): New buffer display action function.
7651 * help.el (temp-buffer-resize-regexps): New option.
7652 (temp-buffer-resize-mode): Rewrite doc-string.
7653 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
7654 Don't resize reused window. Suggested by Glenn Morris.
7655
7656 2012-09-22 Stefan Merten <smerten@oekonux.de>
7657
7658 * textmodes/rst.el: Revamp section title faces.
7659 (rst-official-version)
7660 (rst-package-emacs-version-alist): Sync with official version
7661 V1.4.0.
7662 (rst-faces-defaults, rst-set-level-default)
7663 (rst-level-face-max, rst-level-face-base-color)
7664 (rst-level-face-base-light, rst-level-face-format-light)
7665 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7666 (rst-adornment-faces-alist): Match new setup.
7667 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7668 (rst-level-5, rst-level-6): New faces.
7669
7670 2012-09-22 Chong Yidong <cyd@gnu.org>
7671
7672 * simple.el (undo): Handle indirect buffers (Bug#8207).
7673
7674 2012-09-21 Leo Liu <sdl.web@gmail.com>
7675
7676 IDO: Disable match re-ordering for buffer switching.
7677 * ido.el (ido-buffer-disable-smart-matches): New variable.
7678 (ido-set-matches-1): Use it. (Bug#2042)
7679
7680 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
7681
7682 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7683 Fix 2011-05-17 change. (Bug#12418)
7684
7685 2012-09-21 Leo Liu <sdl.web@gmail.com>
7686
7687 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7688
7689 2012-09-21 Glenn Morris <rgm@gnu.org>
7690
7691 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7692 Be more robust about locating simple.el.
7693
7694 2012-09-21 Glenn Morris <rgm@gnu.org>
7695
7696 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7697
7698 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7699
7700 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7701
7702 2012-09-20 Juri Linkov <juri@jurta.org>
7703
7704 * replace.el (query-replace-read-from): Use `read-regexp' instead
7705 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7706 (occur-read-primary-args): Use `read-regexp' instead of
7707 `read-string'.
7708 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7709 `read-from-minibuffer'.
7710 * isearch.el (isearch-occur): Use `read-regexp' instead of
7711 `read-string'.
7712 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7713 `read-from-minibuffer'.
7714 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7715 of `read-string'. (Bug#7567)
7716
7717 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7718 and allow accepting a list of strings prepended to a list of
7719 standard default values. Doc fix. (Bug#12321)
7720
7721 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7722
7723 * replace.el (read-regexp): Don't add ": " when PROMPT already
7724 ends with a colon and space. (Bug#12321)
7725
7726 2012-09-20 Tassilo Horn <tsdh@gnu.org>
7727
7728 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7729 error.
7730
7731 2012-09-20 Stefan Merten <smerten@oekonux.de>
7732
7733 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7734 Fixes feature request bug#11711.
7735 (rst-mode): Create `imenu-create-index-function'.
7736 (rst-get-stripped-line): Delete after refactoring.
7737 (rst-section-tree, rst-section-tree-rec)
7738 (rst-section-tree-point): Refactor and document properly.
7739 (rst-imenu-find-adornments-for-position)
7740 (rst-imenu-convert-cell, rst-imenu-create-index):
7741 New function.
7742
7743 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7744
7745 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7746 (macroexp--expand-all): Use it.
7747 (macroexp--funcall-and-return): Remove by folding it into its sole
7748 caller (macroexp--warn-and-return).
7749 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7750 Use macroexp--obsolete-warning.
7751
7752 * calc/calc.el: Fix last change by removing the whole chunk, since it
7753 was only needed back when Calc was not bundled.
7754
7755 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7756
7757 * emacs-lisp/debug.el (debug): Restore assignment to
7758 debugger-old-buffer removed on 2012-09-08.
7759
7760 2012-09-20 Juri Linkov <juri@jurta.org>
7761
7762 * dired-aux.el (dired-diff): Remove (require 'diff) since
7763 `diff-latest-backup-file' is now autoloaded.
7764
7765 2012-09-20 Chong Yidong <cyd@gnu.org>
7766
7767 * vc/diff.el (diff-latest-backup-file): Autoload.
7768
7769 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7770
7771 * calc/calc.el: Remove redundant autoload shape check.
7772 (sel-mode): Don't defvar.
7773 (calc-get-stack-element): Add `sel-mode' arg instead.
7774 (calc-top, calc-top-list): Pass it this additional argument.
7775 * calc/calc-store.el (calc-store-map):
7776 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7777 (calc-map-equation, calc-outer-product, calc-inner-product):
7778 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7779
7780 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7781
7782 2012-09-19 Juri Linkov <juri@jurta.org>
7783
7784 * dired-aux.el (dired-diff): Add (require 'diff) because
7785 `diff-latest-backup-file' is not autoloaded.
7786 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7787 of `dired-get-filename' to t to not report error when there is
7788 no default file on the current line.
7789
7790 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7791
7792 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7793 macroexp--eval-if-compile.
7794 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7795 (macroexp--expand-all): Use them (bug#12371).
7796
7797 * doc-view.el (doc-view-guess-paper-size)
7798 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7799
7800 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7801
7802 New feature: set optimal slice from BoundingBox information.
7803 * doc-view.el (doc-view-mode-map): Add keybinding.
7804 (doc-view-menu): Add menu entry.
7805 (doc-view-set-slice): Adapt docstring.
7806 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7807 (doc-view-scale-bounding-box)
7808 (doc-view-set-slice-from-bounding-box): New functions.
7809 (doc-view-paper-sizes): New defvar.
7810
7811 2012-09-19 Glenn Morris <rgm@gnu.org>
7812
7813 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7814 (byte-compile-log-warning): Autoload. (Bug#12371)
7815
7816 * calendar/calendar.el (calendar-american-month-header)
7817 (calendar-european-month-header, calendar-iso-month-header)
7818 (calendar-month-header): New options.
7819 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7820 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7821
7822 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7823
7824 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7825
7826 2012-09-18 Juri Linkov <juri@jurta.org>
7827
7828 * dired-aux.el (dired-diff): Restore original functionality of
7829 getting the default value, but keep new feature of using the
7830 latest existing backup file (`diff-latest-backup-file').
7831
7832 2012-09-18 Juri Linkov <juri@jurta.org>
7833
7834 * dired.el (dired-mark): If the region is active in Transient Mark
7835 mode, mark all files in the active region. Doc fix.
7836 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7837 Doc fix. (Bug#10624)
7838
7839 2012-09-18 Juri Linkov <juri@jurta.org>
7840
7841 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7842 attributes for M-n are pulled from the file at point.
7843 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7844 Suggested by Drew Adams. (Bug#10624)
7845
7846 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7847
7848 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7849 whitespace after "end".
7850 (ruby-do-end-to-brace): Collapse block to one line if it fits
7851 within fill-column.
7852
7853 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7854
7855 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7856 value.
7857 (debug): Don't remove debugger window when debugger is expected
7858 to be back.
7859
7860 2012-09-18 Chong Yidong <cyd@gnu.org>
7861
7862 * custom.el (defface): Doc fix.
7863
7864 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7865
7866 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7867
7868 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7869 to initialize query-on-exit; then test that instead (bug#12288).
7870
7871 2012-09-17 Stefan Merten <smerten@oekonux.de>
7872
7873 * textmodes/rst.el: Add support for `testcover'.
7874 (rst-defcustom-testcover, rst-testcover-add-compose)
7875 (rst-testcover-add-1value): New functions.
7876 (rst-portable-mark-active-p): Replace by `use-region-p'.
7877 (rst-update-section, rst-classify-adornment)
7878 (rst-find-title-line): Mark `1value' forms.
7879 (rst-classify-adornment): Remove superfluous form.
7880 (rst-update-section, rst-get-adornments-around)
7881 (rst-adornment-complete-p, rst-get-next-adornment)
7882 (rst-adjust, rst-promote-region)
7883 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7884 (rst-find-pfx-in-region, rst-section-tree-rec)
7885 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7886 (rst-toc-node, rst-toc, rst-forward-section)
7887 (rst-iterate-leftmost-paragraphs)
7888 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7889 (rst-bullet-list-region)
7890 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7891 (rst-compile-find-conf, rst-compile)
7892 (rst-repeat-last-character): Fix style.
7893
7894 2012-09-17 Chong Yidong <cyd@gnu.org>
7895
7896 * comint.el (comint--complete-file-name-data): Don't add a space
7897 if the status is `sole'; that adds a gratuitous space in the
7898 completion-cycling case (Bug#12092).
7899
7900 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7901
7902 2012-09-17 Richard Stallman <rms@gnu.org>
7903
7904 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7905 only in the mime-shown mode, not in raw mode.
7906 (rmail-mime): Toggle off mime by displaying the message without
7907 mime processing. (Bug#12305)
7908
7909 * mail/rmail.el (rmail-retry-failure):
7910 Turn off mime processing first. (Bug#12037)
7911
7912 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7913
7914 2012-09-17 Chong Yidong <cyd@gnu.org>
7915
7916 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7917 (shell-dynamic-complete-functions): Convert to defcustom.
7918 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7919
7920 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7921 * comint.el (comint-prompt-read-only):
7922 * custom.el (defcustom):
7923 * hi-lock.el (hi-lock-mode):
7924 * ibuffer.el (ibuffer-formats):
7925 * ielm.el (ielm-prompt-read-only):
7926 * novice.el (disable-command):
7927 * saveplace.el (toggle-save-place):
7928 * speedbar.el (speedbar-supported-extension-expressions):
7929 * startup.el (auto-save-list-file-prefix, init-file-user)
7930 (after-init-hook, inhibit-startup-echo-area-message):
7931 * strokes.el (strokes-help):
7932 * time-stamp.el (time-stamp):
7933 * calendar/calendar.el (calendar, diary-file):
7934 * calendar/diary-lib.el (diary-mail-entries, diary)
7935 (diary-list-entries-hook):
7936 * calendar/holidays.el (holidays, calendar-holidays):
7937 * calendar/lunar.el (lunar-phases):
7938 * calendar/solar.el (sunrise-sunset):
7939 * emulation/edt.el (edt-load-keys):
7940 * emulation/viper.el (viper-mode):
7941 * eshell/em-alias.el (eshell-command-aliases-list):
7942 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7943 * international/ogonek.el (ogonek-information):
7944 * net/tramp-cmds.el (tramp-bug):
7945 * net/quickurl.el (quickurl-reread-hook-postfix):
7946 * play/decipher.el (decipher-font-lock-keywords):
7947 * progmodes/cc-styles.el (c-set-style):
7948 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7949 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7950 * progmodes/octave-mod.el (octave-mode):
7951 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7952 * progmodes/verilog-mode.el (verilog-read-defines):
7953 * textmodes/two-column.el (2C-mode): Likewise.
7954
7955 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7956
7957 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7958 that holds many addresses.
7959
7960 2012-09-16 Chong Yidong <cyd@gnu.org>
7961
7962 * align.el (align-areas): Call the indication function with
7963 positions instead of markers for arguments (Bug#12343).
7964
7965 * files.el (parse-colon-path): Use split-string (Bug#12351).
7966
7967 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7968 (display-buffer-function): Mark as obsolete.
7969
7970 * progmodes/compile.el (compilation-parse-errors): Accept list
7971 values similar to font-lock-keywords (Bug#12136).
7972 Suggested by Oleksandr Manzyuk.
7973 (compilation-error-regexp-alist): Doc fix.
7974
7975 2012-09-15 Glenn Morris <rgm@gnu.org>
7976
7977 * version.el (emacs-bzr-version-bzr): New function.
7978 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7979
7980 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7981 checkouts, check the parent dirstate matches the branch.
7982 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7983 empty string.
7984
7985 * version.el (emacs-bzr-version): Doc fix.
7986 (emacs-bzr-version-dirstate): New function.
7987 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7988 is local try and check that it matches the branch. If not, just
7989 use dirstate information. (Bug#12441)
7990
7991 2012-09-14 Juri Linkov <juri@jurta.org>
7992
7993 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7994 (Bug#12399)
7995
7996 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7997
7998 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7999
8000 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8001 Remove obsolete byte-compiler hack that tried to silence some warnings.
8002 (edebug-submit-bug-report): Remove.
8003 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8004 Remove aliases, use the un-prefixed name instead.
8005 (edebug-pop-to-buffer): Consider other frames.
8006 (edebug-original-read):: Make it more obvious that it's always defined.
8007 (edebug--make-form-data-entry, edebug--form-data-name)
8008 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8009 single-dashed name, and implement with cl-defstruct.
8010 (edebug-set-form-data-entry): Use the standard accessors.
8011 (edebug-make-top-form-data-entry): Use push.
8012 (edebug-no-match): Drop useless `funcall'.
8013 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8014 to functions.
8015 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8016 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8017 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8018 (easy-menu-define, with-custom-print): Remove redundant specs.
8019 (edebug-outside-overriding-local-map)
8020 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8021 (edebug--display): Bind unread-command-events directly to nil rather
8022 than binding it to unread-command-events and later setting it to nil.
8023 (edebug--display): Kill edebug-eval-buffer here...
8024 (edebug--recursive-edit): ...rather than here.
8025 Bind standard-output and standard-input.
8026 (edebug-eval): Check cl-macroexpand-all is fboundp.
8027 (edebug-temp-display-freq-count): Fix last change.
8028
8029 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8030 * subr.el (noreturn, 1value): Add `debug' spec.
8031 * emacs-lisp/advice.el: Require cl-lib.
8032 (ad-copy-tree): Remove, use copy-tree instead.
8033 (ad-dolist): Remove use dolist or cl-dolist instead.
8034 (ad-do-return): Remove, use cl-return instead.
8035 (defadvice): Add `debug' spec.
8036
8037 2012-09-13 Juri Linkov <juri@jurta.org>
8038
8039 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8040 (Bug#12399)
8041
8042 2012-09-13 Glenn Morris <rgm@gnu.org>
8043
8044 * calc/calc.el (math-compose-expr):
8045 * calc/calc-ext.el (math-compose-expr):
8046 * progmodes/cc-defs.el (cl-macroexpand-all):
8047 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8048 (cl-macroexpand-all): Update declarations.
8049
8050 * vc/vc.el: No need to require ediff.
8051 (ediff-load-version-control): Declare.
8052 (ediff-vc-internal): Fix declaration.
8053 (vc-version-ediff): Require ediff.
8054
8055 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8056
8057 Use a more backwards-compatible timer format (Bug#12430).
8058 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8059 being right after USECS, as that better supports old code that
8060 inadvisedly looked directly at the timer vector.
8061
8062 2012-09-13 Kenichi Handa <handa@gnu.org>
8063
8064 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8065 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8066 `coding-priority' property of these language environment.
8067
8068 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8069
8070 Fix glitches caused by addition of psec to timers (Bug#12430).
8071 * image.el (image-animate-timer):
8072 * time.el (display-time-world-timer):
8073 Use timer--function and timer--args rather than raw access to
8074 timer vector.
8075
8076 2012-09-13 Glenn Morris <rgm@gnu.org>
8077
8078 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8079 If not compiling a file, try using load-file-name.
8080
8081 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8082
8083 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8084 Fix last change.
8085 (edebug-update-eval-list): Use `push'.
8086
8087 * emacs-lisp/edebug.el: Use lexical-binding.
8088 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8089 Mark unused args with underscore.
8090 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8091 (edebug-form-data): Use defvar-local.
8092 (edebug-make-before-and-after-form, edebug-make-after-form):
8093 Use backquote.
8094 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8095 Not dynamically scoped any more.
8096 (edebug--enter-trace): Add arguments `function' and `args'.
8097 Rename from edebug-enter-trace.
8098 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8099 (edebug--update-coverage): Add `after-index' and `value' args.
8100 Rename from edebug-update-coverage.
8101 (edebug-slow-after): Call it accordingly.
8102 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8103 edebug-recursive-edit.
8104 (edebug--display): Call it accordingly. Add args `value',
8105 `offset-index', and `arg-mode'. Rename from edebug-display.
8106 (edebug-debugger, edebug): Call it accordingly.
8107 (edebug-eval-display-list): Use dolist.
8108
8109 2012-09-12 Juri Linkov <juri@jurta.org>
8110
8111 * info.el (Info-search): Don't check for isearch-mode and
8112 isearch-regexp before let-binding search-spaces-regexp to
8113 Info-search-whitespace-regexp.
8114 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8115 search-whitespace-regexp if isearch-lax-whitespace or
8116 isearch-regexp-lax-whitespace is non-nil.
8117 (Info-mode): Don't set local variable search-whitespace-regexp.
8118 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8119
8120 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8121
8122 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8123 (debugger-env-macro): Remove support for unread-command-char.
8124
8125 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8126 the temporary map re-appearing on emulation-mode-map-alists.
8127
8128 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8129 since 22.1.
8130
8131 * ehelp.el (with-electric-help): Accept functions in
8132 electric-help-form-to-execute.
8133 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8134 And replace unread-command-char -> unread-command-events.
8135
8136 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
8137
8138 Sync with Tramp 2.2.6.
8139
8140 * net/tramp.el (tramp-accept-process-output): Don't use
8141 JUST-THIS-ONE in the XEmacs case.
8142
8143 * net/trampver.el: Update release number.
8144
8145 2012-09-12 Martin Rudalics <rudalics@gmx.at>
8146
8147 * emacs-lisp/debug.el (debugger-previous-window-height):
8148 New variable.
8149 (debug): When debugger-jumping-flag is non-nil try to restore
8150 height of debugger window. (Bug#8789)
8151
8152 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8153
8154 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8155 overriding-local-map and pre/post-command-hook here.
8156 (edebug-recursive-edit): Do it here instead (bug#12345).
8157 (edebug-outside-unread-command-char): Remove all uses of
8158 unread-command-char.
8159
8160 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
8161 inhibit-debugger is bound instead.
8162
8163 2012-09-11 Bastien Guerry <bzg@gnu.org>
8164
8165 * subr.el (set-temporary-overlay-map): Add a docstring.
8166 (Bug#12346)
8167
8168 2012-09-11 Bastien Guerry <bzg@gnu.org>
8169
8170 * minibuffer.el (completion-table-subvert): Fix docstring.
8171 (Bug#12347)
8172
8173 2012-09-11 Bastien Guerry <bzg@gnu.org>
8174
8175 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
8176
8177 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
8178
8179 * progmodes/sql.el: Version 3.1
8180 (sql-db2-escape-newlines): New variable.
8181 (sql-escape-newlines-filter): Use it.
8182
8183 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
8184
8185 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
8186
8187 2012-09-10 Dan Nicolaescu <dann@gnu.org>
8188
8189 * vc/diff-mode.el (diff-mode-menu):
8190 Bind diff-remove-trailing-whitespace.
8191
8192 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8193
8194 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
8195 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
8196 (emacs-lisp-byte-code-mode): New functions.
8197 (eval-sexp-add-defvars): Don't skip defvars in column >0.
8198 (eval-defun-2): Remove bogus interactive spec.
8199 (lisp-indent-line): Remove redundant whole-exp code, now done in
8200 indent-according-to-mode.
8201 (save-match-data): Remove redundant indent data.
8202
8203 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
8204 Use `declare'.
8205
8206 2012-09-09 Juri Linkov <juri@jurta.org>
8207
8208 * replace.el (replace-regexp-lax-whitespace): New defcustom.
8209 (replace-lax-whitespace, query-replace-regexp)
8210 (query-replace-regexp-eval, replace-regexp): Doc fix.
8211 (perform-replace, replace-highlight): Let-bind
8212 isearch-lax-whitespace to replace-lax-whitespace and
8213 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
8214
8215 * isearch.el (isearch-query-replace): Let-bind
8216 replace-lax-whitespace to isearch-lax-whitespace and
8217 replace-regexp-lax-whitespace to
8218 isearch-regexp-lax-whitespace. (Bug#10885)
8219
8220 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
8221
8222 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
8223
8224 2012-09-09 Alan Mackenzie <acm@muc.de>
8225
8226 * progmodes/cc-engine.el (c-state-cache-init):
8227 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
8228 (c-record-parse-state-state):
8229 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8230
8231 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
8232
8233 * register.el (register-separator): Rename from
8234 separator-register. All uses changed. Doc fix.
8235 (register): Fix version.
8236
8237 2012-09-09 Chong Yidong <cyd@gnu.org>
8238
8239 * replace.el (query-replace-map): Bind four new symbols for
8240 requesting window scrolling.
8241
8242 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
8243 query-replace-map (Bug#8948).
8244
8245 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
8246
8247 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
8248 since they are now in query-replace-map.
8249
8250 * window.el (scroll-other-window-down): Make the arg optional.
8251
8252 2012-09-09 Chong Yidong <cyd@gnu.org>
8253
8254 * files.el (hack-local-variables-confirm): Use quit-window to kill
8255 the *Local Variables* buffer.
8256
8257 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8258
8259 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
8260 not just expect to be at its beginning. Adjust callees.
8261 Succeed when do-end block has no space before the pipe character.
8262 (ruby-brace-to-do-end): When the original block is one-liner,
8263 convert to multiline. Reindent the result.
8264
8265 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
8266
8267 * register.el (register): New group.
8268 (separator-register): New user option.
8269 (increment-register): Route it to `append-to-register', if
8270 register contains text. Implication is that `C-x r +' can now be
8271 used for appending to a text register (bug#12217).
8272 (append-to-register, prepend-to-register): Add separator based on
8273 `separator-register'.
8274
8275 2012-09-08 Alan Mackenzie <acm@muc.de>
8276
8277 AWK Mode: make auto-newline work when there's "==" in the pattern.
8278 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
8279 correctly.
8280 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
8281 Test more rigorously for "=" token.
8282
8283 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
8284
8285 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
8286 Only fail when reached LIMIT.
8287
8288 2012-09-08 Chong Yidong <cyd@gnu.org>
8289
8290 * dired.el (dired-mode-map): Don't bind M-=.
8291
8292 * dired-aux.el (dired-diff): Use backup file as default.
8293
8294 2012-09-08 Drew Adams <drew.adams@oracle.com>
8295
8296 * subr.el (add-to-history): Fix delete usage (Bug#12314).
8297
8298 2012-09-08 Chong Yidong <cyd@gnu.org>
8299
8300 * subr.el (syntax-after, syntax-class): Doc fix.
8301
8302 2012-09-08 Martin Rudalics <rudalics@gmx.at>
8303
8304 * window.el (display-buffer-in-previous-window): New buffer
8305 display action function.
8306
8307 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
8308 (debugger-previous-window): New variable.
8309 (debug): Rewrite using display-buffer-in-previous-window,
8310 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
8311
8312 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8313
8314 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
8315
8316 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
8317
8318 * progmodes/python.el (python-shell-send-string):
8319 When default-directory is remote, create temp file on remote
8320 filesystem.
8321 (python-shell-send-file): When file is remote, pass local view of
8322 file paths to remote Python interpreter. (Bug#12340)
8323
8324 2012-09-07 Chong Yidong <cyd@gnu.org>
8325
8326 * window.el (switch-to-buffer): Doc fix (Bug#12181).
8327
8328 * files.el (after-find-file): Don't fail on a read-only buffer if
8329 require-final-newline is `visit' or `visit-save' (Bug#11156).
8330
8331 * subr.el (read-char-choice): Allow quitting via ESC ESC.
8332
8333 * userlock.el (ask-user-about-supersession-threat):
8334 Use read-char-choice (Bug#12093).
8335
8336 2012-09-07 Chong Yidong <cyd@gnu.org>
8337
8338 * subr.el (buffer-narrowed-p): New function.
8339
8340 * ses.el (ses-widen):
8341 * simple.el (count-words--buffer-message):
8342 * net/browse-url.el (browse-url-of-buffer): Use it.
8343
8344 * simple.el (count-words-region): Don't signal an error if there
8345 is a non-nil prefix arg and the mark is not set.
8346
8347 * help.el (describe-key-briefly): Allow the message to be seen
8348 when invoked from the minibuffer (Bug#7014).
8349
8350 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8351
8352 * progmodes/ruby-mode.el (ruby-end-of-defun)
8353 (ruby-beginning-of-defun): Simplify, allow indentation before
8354 block beginning and end keywords.
8355 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
8356 (ruby-end-of-defun): Expect that the point is at the beginning of
8357 the defun.
8358
8359 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8360
8361 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
8362 (bug#12367).
8363 (cl--make-usage-args): Strip _ from argument names.
8364
8365 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
8366
8367 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
8368 obsolete alias speedbar-key-map.
8369 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
8370 (vhdl-index-menu-init): Don't use obsolete variable
8371 font-lock-maximum-size.
8372
8373 2012-09-06 Chong Yidong <cyd@gnu.org>
8374
8375 * frame.el (window-system-version): Mark as obsolete.
8376
8377 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
8378 of obsolete variable speedbar-key-map.
8379
8380 2012-09-06 Juri Linkov <juri@jurta.org>
8381
8382 * replace.el (replace-lax-whitespace): New defcustom.
8383 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8384 (replace-string, replace-regexp): Mention it in docstrings.
8385 (perform-replace, replace-highlight): Let-bind
8386 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
8387 to the values of replace-lax-whitespace and regexp-flag.
8388 Don't let-bind search-whitespace-regexp. (Bug#10885)
8389
8390 * isearch.el (isearch-query-replace): Let-bind
8391 replace-lax-whitespace instead of let-binding
8392 replace-search-function and replace-re-search-function.
8393 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8394 and isearch-regexp-lax-whitespace to lazy-highlight variables.
8395 (isearch-toggle-symbol): Set isearch-regexp to nil
8396 in isearch-word mode (like in isearch-toggle-word).
8397
8398 2012-09-06 Juri Linkov <juri@jurta.org>
8399
8400 * replace.el (replace-search-function)
8401 (replace-re-search-function): Set default values to nil.
8402 (perform-replace): Let-bind isearch-related variables based on
8403 replace-related values, call `isearch-search-fun' and let-bind
8404 the result to `search-function'. Remove code that sets
8405 `search-function' and `search-string' separately for
8406 `delimited-flag'.
8407 (replace-highlight): Add new argument `delimited-flag' and
8408 rename other arguments to the names used in `perform-replace'.
8409 Let-bind `isearch-word' to the argument `delimited-flag'.
8410 (Bug#10885, bug#10887)
8411
8412 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8413
8414 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8415 ruby-beginning-of-indent, simplify, allow all keywords to have
8416 indentation before them.
8417 (ruby-beginning-of-indent): Adjust for above. Search until the
8418 found point is not inside a string or comment.
8419 (ruby-font-lock-keywords): Allow symbols to start with "@"
8420 character, give them higher priority than variables.
8421 (ruby-syntax-propertize-function)
8422 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8423 matchers. Expression expansions are not comments when inside a
8424 string, and there comment syntax status is irrelevant.
8425 (ruby-match-expression-expansion): New function. Check that
8426 expression expansion is inside a string, and it's not escaped.
8427 (ruby-font-lock-keywords): Use it.
8428
8429 2012-09-05 Martin Rudalics <rudalics@gmx.at>
8430
8431 * help.el (temp-buffer-max-height): New default value.
8432 (temp-buffer-resize-frames): New option.
8433 (resize-temp-buffer-window): Optionally resize frame.
8434
8435 * window.el (fit-frame-to-buffer-bottom-margin): New option.
8436 (fit-frame-to-buffer): New function.
8437
8438 2012-09-05 Glenn Morris <rgm@gnu.org>
8439
8440 * emulation/cua-rect.el (cua--init-rectangles):
8441 * textmodes/picture.el (picture-mode-map):
8442 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8443 like forward-char and backward-char. (Bug#12317)
8444
8445 2012-09-05 Leo Liu <sdl.web@gmail.com>
8446
8447 * progmodes/flymake.el (flymake-warning-re): New variable.
8448 (flymake-parse-line): Use it.
8449
8450 2012-09-05 Glenn Morris <rgm@gnu.org>
8451
8452 * calendar/holidays.el (holiday-christian-holidays):
8453 Rename an entry. (Bug#12289)
8454
8455 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8456
8457 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8458 (bug#12222).
8459
8460 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8461
8462 * loadup.el: Load macroexp. Remove hack.
8463 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8464 (macroexp--expand-all): Use it to get better warnings.
8465 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8466 (internal-macroexpand-for-load): New functions.
8467 (macroexp--pending-eager-loads): New var.
8468 (emacs-startup-hook): New hack to replace one in loadup.el.
8469 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8470 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8471 (cl-psetf): Simplify.
8472 (cl-defstruct): Add indent rule.
8473
8474 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8475
8476 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8477 over `user-mail-address' for the SMTP MAIL FROM envelope.
8478 (smtpmail-via-smtp): Ditto.
8479
8480 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8481
8482 * progmodes/ruby-mode.el: Clean up keybindings.
8483 (ruby-mode-map): Don't bind ruby-electric-brace,
8484 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8485 backward-kill-word, reindent-then-newline-and-indent.
8486 (ruby-mark-defun): Remove.
8487 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8488 (ruby-mode): Set local beginning-of-defun-function and
8489 end-of-defun-function values.
8490
8491 2012-09-03 Martin Rudalics <rudalics@gmx.at>
8492
8493 * window.el (temp-buffer-window-setup-hook)
8494 (temp-buffer-window-show-hook): New hooks.
8495 (temp-buffer-window-setup, temp-buffer-window-show)
8496 (with-temp-buffer-window): New functions.
8497 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8498 (special-display-popup-frame): Make sure the window used shows BUFFER.
8499
8500 * help.el (temp-buffer-resize-mode): Fix doc-string.
8501 (resize-temp-buffer-window): New optional argument WINDOW.
8502
8503 * files.el (recover-file, save-buffers-kill-emacs):
8504 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8505
8506 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
8507
8508 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8509 remote definition of `default-directory', ensure we can connect.
8510
8511 2012-09-02 Juri Linkov <juri@jurta.org>
8512
8513 Toggle whitespace matching mode with M-s SPC.
8514 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8515
8516 * isearch.el (search-whitespace-regexp): Doc fix.
8517 Remove cons cell customization.
8518 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8519 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8520 New variables.
8521 (isearch-forward, isearch-forward-regexp): Doc fix.
8522 (isearch-toggle-lax-whitespace): New command.
8523 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8524 (re-search-forward-lax-whitespace)
8525 (re-search-backward-lax-whitespace): New functions.
8526 (isearch-whitespace-regexp): Remove function.
8527 (isearch-query-replace): Let-bind replace-search-function and
8528 replace-re-search-function.
8529 (isearch-occur): Let-bind search-spaces-regexp according to the
8530 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8531 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8532 condition for C-q SPC.
8533 (isearch-search-fun-default): Use new functions mentioned above.
8534 (isearch-search-forward, isearch-search-backward): Remove functions.
8535 (isearch-search): Don't let-bind search-spaces-regexp.
8536 (isearch-lazy-highlight-space-regexp): Remove variable.
8537 (isearch-lazy-highlight-lax-whitespace)
8538 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8539 (isearch-lazy-highlight-new-loop): Use them.
8540 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8541
8542 2012-09-02 Chong Yidong <cyd@gnu.org>
8543
8544 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8545
8546 2012-09-02 Glenn Morris <rgm@gnu.org>
8547
8548 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8549
8550 2012-09-01 Glenn Morris <rgm@gnu.org>
8551
8552 * term.el: Tidy up menu definitions.
8553 (term-mode-map): Use easymenu for In/Out, Complete menus.
8554 (term-pager-break-map): Initialize in the defvar.
8555 (term-terminal-menu, term-signals-menu): Define with easymenu.
8556 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8557 (term-pager-menu): New, extracted from term-process-pager.
8558 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8559 (term-update-mode-line): Propertize line/char and page items.
8560 (term-process-pager): Move keymap initialization elsewhere.
8561
8562 2012-09-01 Martin Rudalics <rudalics@gmx.at>
8563
8564 * window.el (switch-to-prev-buffer): Handle additional values of
8565 BURY-OR-KILL argument. Don't switch in minibuffer window.
8566 (switch-to-next-buffer): Don't switch in minibuffer window.
8567 (quit-restore-window): New function based on quit-window.
8568 Handle additional values of former KILL argument.
8569 (quit-window): Call quit-restore-window with appropriate
8570 interpretation of KILL argument.
8571 (display-buffer-below-selected): New buffer display action
8572 function.
8573
8574 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8575
8576 * minibuffer.el (completion-at-point-functions): Complete docstring
8577 (bug#12254).
8578
8579 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8580
8581 Better seed support for (random).
8582 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8583 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8584 * play/mpuz.el, play/tetris.el, play/zone.el:
8585 * calc/calc-comb.el (math-init-random-base):
8586 * play/blackbox.el (bb-init-board):
8587 * play/life.el (life):
8588 * server.el (server-use-tcp):
8589 * type-break.el (type-break):
8590 Remove unnecessary call to (random t).
8591 * net/sasl.el (sasl-unique-id-function):
8592 Change (random t) to (random), now that the latter is more random.
8593 * play/life.el (life-initialized): Remove no-longer-needed var.
8594
8595 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8596
8597 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8598 Consider frame's buffer predicate when choosing the buffer.
8599 (Bug#12081)
8600
8601 2012-08-30 Richard Stallman <rms@gnu.org>
8602
8603 * simple.el (special-mode-map): Delete binding for `z'.
8604
8605 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8606
8607 * progmodes/compile.el (compilation-always-kill): Doc fix.
8608
8609 2012-08-30 Chong Yidong <cyd@gnu.org>
8610
8611 * window.el (display-buffer-reuse-frames): Make the obsolescence
8612 message more informative.
8613
8614 2012-08-30 Glenn Morris <rgm@gnu.org>
8615
8616 * paren.el (show-paren-delay):
8617 Add a :set function. Doc fix. (Bug#12297)
8618
8619 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8620
8621 * progmodes/compile.el (compilation-always-kill): New var.
8622 (compilation-start): Use it.
8623
8624 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8625
8626 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8627 * files.el (read-only-mode): Move to simple.el.
8628
8629 * files.el (read-only-mode): New minor mode.
8630 (toggle-read-only): Use it and mark obsolete.
8631 (find-file--read-only):
8632 * vc/vc.el (vc-next-action, vc-checkout):
8633 * vc/vc-cvs.el (vc-cvs-checkout):
8634 * obsolete/vc-mcvs.el (vc-mcvs-update):
8635 * ffap.el (ffap--toggle-read-only): Update callers.
8636
8637 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
8638
8639 * eshell/esh-ext.el (eshell-external-command): Do not examine
8640 remote shell scripts.
8641 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
8642
8643 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8644 "/usr/local/sbin".
8645
8646 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8647
8648 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8649
8650 2012-08-28 Leo Liu <sdl.web@gmail.com>
8651
8652 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8653 completion-at-point. (Bug#12220)
8654
8655 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8656
8657 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8658
8659 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8660
8661 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8662 be buffer-local; add delete-trailing-whitespace (bug#12259).
8663
8664 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
8665
8666 * progmodes/hideif.el (hif-compress-define-list):
8667 Fix typo. (Bug#11951)
8668
8669 2012-08-28 Dan Nicolaescu <dann@gnu.org>
8670
8671 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8672 buffer local setting.
8673
8674 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8675 rcirc-encode-coding-system.
8676
8677 2012-08-28 Leo Liu <sdl.web@gmail.com>
8678
8679 * net/rcirc.el (rcirc-split-message): New function.
8680 (rcirc-send-message): Use it. (Bug#12051)
8681
8682 2012-08-28 Juri Linkov <juri@jurta.org>
8683
8684 * info.el (Info-fontify-node): Hide empty lines at the end of
8685 the node. (Bug#12272)
8686
8687 2012-08-27 Drew Adams <drew.adams@oracle.com>
8688
8689 * dired.el (dired-pop-to-buffer): Make window start at beginning
8690 of buffer (Bug#12281).
8691
8692 2012-08-26 Chong Yidong <cyd@gnu.org>
8693
8694 * window.el (special-display-regexps, special-display-frame-alist)
8695 (special-display-buffer-names, special-display-function)
8696 (display-buffer-reuse-frames): Mark as obsolete.
8697
8698 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8699
8700 * help.el (help-print-return-message): Don't treat
8701 display-buffer-reuse-frames specially.
8702
8703 2012-08-26 Chong Yidong <cyd@gnu.org>
8704
8705 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8706 New variable, replacing gdb-frame-parameters.
8707 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8708 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8709 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8710 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8711 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8712 the functions directly with gdb-display-buffer-other-frame-action.
8713 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8714 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8715 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8716 (gdb-display-registers-buffer): Define directly.
8717 (def-gdb-display-buffer): Macro deleted.
8718 (gdb-display-buffer): Remove second and third args, callers don't
8719 use them. Defer to the default display-buffer behavior, apart
8720 from making windows dedicated.
8721 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8722
8723 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8724
8725 * window.el (display-buffer-pop-up-frame): Handle a
8726 pop-up-frame-parameters alist entry.
8727 (display-buffer): Document it.
8728
8729 2012-08-26 Chong Yidong <cyd@gnu.org>
8730
8731 * isearch.el (search-whitespace-regexp): Make string and nil
8732 values apply to both ordinary and regexp search. Allow a cons
8733 cell value to distinguish between the two.
8734 (isearch-whitespace-regexp, isearch-search-forward)
8735 (isearch-search-backward): New functions.
8736 (isearch-occur, isearch-search-fun-default, isearch-search)
8737 (isearch-lazy-highlight-new-loop): Use them.
8738 (isearch-forward, isearch-forward-regexp): Doc fix.
8739
8740 2012-08-26 Chong Yidong <cyd@gnu.org>
8741
8742 * faces.el (help-argument-name): Always inherit from italic
8743 (Bug#12213).
8744
8745 2012-08-25 Martin Rudalics <rudalics@gmx.at>
8746
8747 * window.el (window--even-window-heights): Even heights when
8748 WINDOW and the selected window form a vertical combination.
8749 (display-buffer-use-some-window): Provide that window used gets
8750 sized back by quit-window. (Bug#11880) and (Bug#12091)
8751
8752 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8753
8754 Fix file time stamp problem with bzr and CVS (Bug#12001).
8755 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8756 in the file's time stamp, since the version control system loses
8757 that information.
8758
8759 2012-08-22 Juri Linkov <juri@jurta.org>
8760
8761 * info.el (Info-fontify-node): Hide the suffix of the
8762 Info file name in the header line. (Bug#12187)
8763
8764 2012-08-22 Glenn Morris <rgm@gnu.org>
8765
8766 * calendar/cal-tex.el (cal-tex-weekly-common):
8767 Restore leading blank page.
8768
8769 2012-08-22 Le Wang <l26wang@gmail.com>
8770
8771 * misc.el (forward-to-word, backward-to-word): Activate or extend
8772 the region under `shift-select-mode'. (Bug#12231)
8773
8774 2012-08-22 Bastien Guerry <bzg@gnu.org>
8775
8776 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8777 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8778 gives details on why the space is never needed.
8779
8780 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8781
8782 * window.el (walk-window-tree, window-with-parameter):
8783 New optional argument MINIBUF to control whether these functions
8784 should run on the minibuffer window.
8785 (window-at-side-list): Don't operate on minibuffer window.
8786 (window-in-direction): Simplify and rewrite doc-string.
8787 (window--size-ignore): Rename to window--size-ignore-p.
8788 Update callers.
8789 (display-buffer-in-atom-window, window--major-non-side-window)
8790 (window--major-side-window, display-buffer-in-major-side-window)
8791 (delete-side-window, display-buffer-in-side-window):
8792 New functions.
8793 (window--side-check, window-deletable-p, delete-window)
8794 (delete-other-windows, split-window): Handle side windows and
8795 atomic windows appropriately.
8796 (window--display-buffer): Call display-buffer-record-window also
8797 when the window buffer did not change.
8798
8799 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8800
8801 * help-fns.el (help-fns--key-bindings):
8802 Abbreviate non-symbol remap targets. (Bug#12174)
8803
8804 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8805
8806 * dired.el (dired-mark-remembered): Don't clobber point.
8807 (Bug#11795)
8808
8809 2012-08-22 Glenn Morris <rgm@gnu.org>
8810
8811 * progmodes/bug-reference.el (bug-reference): New custom group.
8812 (bug-reference-bug-regexp): Make it a defcustom.
8813
8814 2012-08-22 Daiki Ueno <ueno@unixuser.org>
8815
8816 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8817 (js-paren-indent-offset, js-square-indent-offset)
8818 (js-curly-indent-offset): Add :safe (Bug#12257).
8819
8820 2012-08-22 Edward O'Connor <hober0@gmail.com>
8821
8822 * json.el (json-key-format): Add error properties.
8823 (json-encode-key): New function.
8824 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8825 Use json-encode-key.
8826
8827 2012-08-22 Glenn Morris <rgm@gnu.org>
8828
8829 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8830 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8831 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8832 Update for above change.
8833
8834 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8835
8836 * cus-face.el (custom-face-attributes): Fix customize type for the
8837 :underline attribute. (Bug#11805)
8838
8839 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8840
8841 * window.el (window-point-1, set-window-point-1): Remove.
8842 (window-in-direction, record-window-buffer)
8843 (set-window-buffer-start-and-point, split-window-below)
8844 (window--state-get-1, display-buffer-record-window):
8845 Replace calls to window-point-1 and set-window-point-1 by calls to
8846 window-point and set-window-point respectively.
8847
8848 2012-08-21 Glenn Morris <rgm@gnu.org>
8849
8850 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8851 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8852 Use it.
8853
8854 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8855 (cal-tex-shortday): New function.
8856 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8857 (cal-tex-cursor-filofax-daily): Use the above.
8858
8859 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8860 New functions.
8861 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8862 (cal-tex-cursor-filofax-week): Use them.
8863
8864 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8865 New constants.
8866 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8867 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8868
8869 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8870 (cal-tex-end-document): Don't rely on buffer name.
8871
8872 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8873 Use cal-tex-vspace.
8874 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8875 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8876 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8877 Use cal-tex-arg.
8878
8879 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8880 (cal-tex-cursor-week, cal-tex-cursor-week2)
8881 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8882 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8883 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8884 (cal-tex-insert-preamble, cal-tex-b-document)
8885 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8886 Improve cal-tex-cmd usage.
8887
8888 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8889 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8890 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8891 (cal-tex-weekly-paper): New function.
8892 (cal-tex-cursor-week, cal-tex-cursor-week2)
8893 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8894 (cal-tex-cursor-day): Use it.
8895
8896 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8897 (cal-tex-cursor-filofax-week): Remove leading blank page.
8898
8899 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8900 Add autoload cookie. For now at least, don't use color, since
8901 no other cal-tex function does.
8902
8903 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8904 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8905 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8906
8907 2012-08-21 Juri Linkov <juri@jurta.org>
8908
8909 * info.el (Info-file-attributes): New variable.
8910 (info-insert-file-contents): Add file attributes to
8911 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8912 `Info-toc-nodes' when previous modtime of the Info file is less
8913 than new modtime.
8914 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8915 of info.el. (Bug#12230)
8916
8917 2012-08-20 Glenn Morris <rgm@gnu.org>
8918
8919 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8920 * calendar/holidays.el (calendar-holiday-list):
8921 Report errors with display-warning rather than beep'n'sleep.
8922
8923 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8924
8925 * net/tramp.el (tramp-accept-process-output): Accept only output
8926 from PROC. Otherwise, process filters and sentinels might be
8927 confused. (Bug#12145)
8928
8929 2012-08-20 Chong Yidong <cyd@gnu.org>
8930
8931 * descr-text.el (describe-text-properties-1): Use overlays-in to
8932 report on empty overlays (Bug#3322).
8933
8934 2012-08-20 Glenn Morris <rgm@gnu.org>
8935
8936 * mail/rmailout.el (rmail-output-read-file-name):
8937 Trap and report errors in rmail-output-file-alist elements.
8938
8939 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8940 since most non-font-lock faces are not also variables).
8941
8942 2012-08-20 Edward Reingold <reingold@iit.edu>
8943
8944 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8945 New function. (Bug12160)
8946
8947 2012-08-19 Glenn Morris <rgm@gnu.org>
8948
8949 * mail/rmailout.el (rmail-output-read-file-name):
8950 Fix previous change (when the alist is nil or does not match).
8951
8952 2012-08-19 Chong Yidong <cyd@gnu.org>
8953
8954 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8955 (Bug#12228).
8956
8957 2012-08-18 Chong Yidong <cyd@gnu.org>
8958
8959 * simple.el (yank-handled-properties): New defcustom.
8960 (yank-excluded-properties): Add font-lock-face and category.
8961 (yank): Doc fix.
8962
8963 * subr.el (remove-yank-excluded-properties):
8964 Obey yank-handled-properties. The special handling of font-lock-face
8965 and category is now done this way, instead of being hard-coded.
8966 (insert-for-yank-1): Remove font-lock-face handling.
8967 (yank-handle-font-lock-face-property)
8968 (yank-handle-category-property): New function.
8969
8970 2012-08-17 Glenn Morris <rgm@gnu.org>
8971
8972 * mail/rmailout.el (rmail-output-read-file-name):
8973 Check rmail-output-file-alist against the full message body
8974 in the correct rmail buffer. (Bug#12214)
8975
8976 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8977
8978 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8979 Eliminate superfluous prompt. (Bug#12203)
8980
8981 2012-08-17 Chong Yidong <cyd@gnu.org>
8982
8983 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8984 font spec, set the font directly (Bug#3228).
8985
8986 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8987
8988 * window.el (delete-window): Fix last fix.
8989
8990 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8991
8992 * window.el (window-valid-p): Move to window.c.
8993 (window-child, window-child-count, window-last-child)
8994 (window-normalize-window, window-combined-p)
8995 (window-combinations, window-atom-root, window-min-size)
8996 (window-sizable, window-sizable-p, window-size-fixed-p)
8997 (window-min-delta, window-max-delta, window--resizable)
8998 (window--resizable-p, window-resizable, window-total-size)
8999 (window-full-height-p, window-full-width-p, window-body-size)
9000 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9001 (minimize-window, window-deletable-p, delete-window)
9002 (delete-other-windows, set-window-buffer-start-and-point)
9003 (next-buffer, previous-buffer, split-window, balance-windows-2)
9004 (set-window-text-height, window-buffer-height)
9005 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9006 (truncated-partial-width-window-p): Minor code adjustments.
9007 In doc-strings state whether the argument window has to denote a
9008 live, valid or any window.
9009
9010 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9011
9012 * progmodes/subword.el (subword-forward-function)
9013 (subword-backward-function, subword-forward-regexp)
9014 (subword-backward-regexp): New variables.
9015 (subword-forward, subword-forward-internal, subword-backward-internal):
9016 Use new variables, eg so that different "word" definitions
9017 can be easily used. (Bug#11411)
9018
9019 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9020
9021 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9022 for composite selectors.
9023 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9024 operation just because we can't find a previous revision.
9025
9026 2012-08-15 Chong Yidong <cyd@gnu.org>
9027
9028 * frame.el (set-frame-font): Accept font objects.
9029
9030 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9031
9032 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9033
9034 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9035
9036 * man.el (Man-overstrike-face, Man-underline-face)
9037 (Man-reverse-face): Remove variables.
9038 (Man-overstrike, Man-underline, Man-reverse): New faces.
9039 (Man-fontify-manpage): Use them instead of the variables.
9040 (Man-cleanup-manpage): Comment change.
9041 (Man-ansi-color-map): New variable.
9042 (Man-fontify-manpage): Use it.
9043 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9044
9045 Implement ANSI SGR parameters 22-27 (bug#12146).
9046 * ansi-color.el (ansi-colors): Doc fix.
9047 (ansi-color-context, ansi-color-context-region): Doc fix.
9048 (ansi-color--find-face): New function.
9049 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9050 Rename the local variable `face' to `codes' since it is now a list of
9051 ansi codes. Doc fix.
9052 (ansi-color-get-face): Remove.
9053 (ansi-color-parse-sequence): New function, derived from
9054 ansi-color-get-face.
9055 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9056 codes 22-27.
9057
9058 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9059
9060 * subr.el (read-passwd): Allow use from a minibuffer.
9061
9062 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9063
9064 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9065 inside comments and strings as identifiers.
9066
9067 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9068 expression to evaluate. This allows to evaluate expressions with
9069 embedded whitespace.
9070 (gud-tooltip-tips): Add a blank before the newline in the
9071 message-box text, for the benefit of message-box emulation on
9072 MS-Windows.
9073
9074 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9075 messages from GDB, pop them up in a tooltip to give feedback to
9076 user.
9077 (gdb-tooltip-print-1): Quote the expression to evaluate.
9078 This allows to evaluate expressions with embedded whitespace.
9079 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9080 if the TTY name is nil or empty (which happens when communicating
9081 with the inferior via pipes, e.g. on MS-Windows).
9082 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9083 don't send that to the GUD buffer.
9084
9085 2012-08-14 Glenn Morris <rgm@gnu.org>
9086
9087 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9088 Optimize away setq-default with no args, as for setq. (Bug#12195)
9089
9090 2012-08-14 Chong Yidong <cyd@gnu.org>
9091
9092 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9093
9094 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9095 (Bug#12085).
9096
9097 2012-08-14 Glenn Morris <rgm@gnu.org>
9098
9099 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9100
9101 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
9102
9103 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9104 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9105 Use cached shell name.
9106
9107 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9108
9109 * progmodes/python.el (python-shell-send-string):
9110 (python-shell-send-setup-code): Do not use `format' with `message'.
9111
9112 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9113
9114 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9115 (ruby-percent-literal-beg-re): New constant.
9116 (ruby-syntax-general-delimiters-goto-beg): Rename to
9117 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9118 (ruby-syntax-propertize-general-delimiters): Rename to
9119 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9120 popular term. Adjust comments everywhere.
9121 (ruby-syntax-propertize-percent-literal): Only propertize when not
9122 inside a simple string or comment. When the literal is unclosed,
9123 leave the text after it unpropertized.
9124 (ruby-syntax-methods-before-regexp): New constant.
9125 (ruby-syntax-propertize-function): Use it to recognize regexps.
9126 Don't look at the text after regexp, just use the whitelist.
9127
9128 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9129
9130 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9131 non-nil always load the compiled file if it exists. (Bug#12197)
9132
9133 2012-08-14 Chong Yidong <cyd@gnu.org>
9134
9135 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9136 (hi-lock-set-pattern): When deciding whether to use font lock or
9137 overlays, look at font-lock-mode instead of font-lock-fontified
9138 (Bug#12168).
9139 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9140 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9141
9142 2012-08-14 Daiki Ueno <ueno@unixuser.org>
9143
9144 * subr.el (internal--after-with-selected-window): Fix typo
9145 (Bug#12193).
9146
9147 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9148
9149 Use `completion-table-dynamic' for completion functions.
9150 * progmodes/python.el
9151 (python-shell-completion--do-completion-at-point)
9152 (python-shell-completion--get-completions):
9153 Remove functions.
9154 (python-shell-completion-complete-at-point): New function.
9155 (python-completion-complete-at-point): Use it.
9156
9157 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
9158
9159 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
9160 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
9161
9162 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9163
9164 * subr.el (function-get): Refine `autoload' arg so it can also
9165 autoload functions for gv.el (bug#12191).
9166 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
9167 autoloads macros.
9168
9169 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
9170 Prefer pcase-let over destructuring-bind.
9171 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
9172 Also, remove whitespace as we go, rather than after accumulating the
9173 various places.
9174
9175 * subr.el (internal--before-with-selected-window)
9176 (internal--after-with-selected-window): Fix typo seleted->selected.
9177 (with-selected-window): Adjust callers.
9178 Reported by Dmitry Gutov <dgutov@yandex.ru>.
9179
9180 2012-08-13 Bastien Guerry <bzg@gnu.org>
9181
9182 * window.el (special-display-popup-frame): Minor docstring
9183 enhancement. (Bug#12172)
9184
9185 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
9186
9187 * tar-mode.el (tar-header-data-end): Only ignore size for files of
9188 type 1-6.
9189 (tar-header-block-summarize, tar-get-descriptor): Handle pax
9190 extended headers.
9191
9192 * files.el (hack-local-variables-filter): Remove useless eval.
9193
9194 2012-08-13 Martin Rudalics <rudalics@gmx.at>
9195
9196 * subr.el (with-selected-window): Fix last change.
9197
9198 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9199
9200 * subr.el (internal--before-with-seleted-window)
9201 (internal--after-with-seleted-window): New functions.
9202 (with-selected-window): Use them, to replace dependency on
9203 tty-top-frame.
9204
9205 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
9206
9207 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
9208 binding for `newline'.
9209 (ruby-move-to-block): When moving backward, stop at block opening,
9210 not indentation.
9211 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
9212 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
9213 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9214 `ruby-toggle-block'.
9215
9216 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9217
9218 * ibuffer.el (ibuffer-do-toggle-read-only):
9219 * dired.el (dired-toggle-read-only):
9220 * buff-menu.el (Buffer-menu-toggle-read-only):
9221 * bindings.el (mode-line-toggle-read-only):
9222 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
9223
9224 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
9225
9226 * descr-text.el (describe-char): Put the overlays over the
9227 "displayed as" character.
9228
9229 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
9230
9231 * calc/calc-units.el (math-default-units-table): Give an
9232 initial value.
9233 (math-put-default-units): Add options to put composite units and
9234 unit systems in the default units table.
9235 (calc-convert-units): Send composite units to
9236 `math-put-default-units' when appropriate.
9237
9238 2012-08-11 Glenn Morris <rgm@gnu.org>
9239
9240 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
9241
9242 * tutorial.el (help-with-tutorial):
9243 * emacs-lisp/copyright.el (copyright-update-directory):
9244 * emacs-lisp/autoload.el (autoload-find-generated-file)
9245 (autoload-find-file): Disable local eval: (for insurance).
9246
9247 * files.el (hack-local-variables-filter): If an eval: form is not
9248 known to be safe, and enable-local-variables is :safe, then ignore
9249 the form totally, as is done for non-eval forms. (Bug#12155)
9250 This is CVE-2012-3479.
9251
9252 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9253
9254 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
9255 (rx-form): Simplify.
9256
9257 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
9258
9259 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
9260 ?, _, and : are symbol constituents, ! is not (but kinda should be).
9261 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
9262 (ruby-syntax-propertize-function): Adjust for changes in
9263 `ruby-syntax-propertize-heredoc'.
9264
9265 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
9266
9267 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
9268 binding (use `M-;' instead).
9269 (ruby-singleton-class-p): New function.
9270 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9271
9272 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9273
9274 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
9275
9276 2012-08-10 Chong Yidong <cyd@gnu.org>
9277
9278 * progmodes/python.el (python-shell-get-process-name): Don't mess
9279 with same-window-buffer-names.
9280
9281 * eshell/eshell.el (eshell-add-to-window-buffer-names)
9282 (eshell-remove-from-window-buffer-names): Make obsolete.
9283 (eshell-buffer-name, eshell-unload-hook): Don't use them.
9284 (eshell): Just use pop-to-buffer-same-window instead.
9285
9286 2012-08-10 Chong Yidong <cyd@gnu.org>
9287
9288 * bindings.el: Bind M-= back to count-words-region.
9289
9290 * simple.el (count-words-region): Accept a prefix arg for acting
9291 on the entire buffer.
9292 (count-words--buffer-message): New helper function.
9293
9294 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
9295
9296 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
9297 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
9298 (event-start, event-end): Use posn-at-point to return a more
9299 informative posn.
9300 (posnp): New function.
9301 * mouse.el (popup-menu-normalize-position): Use it.
9302
9303 2012-08-10 Masatake YAMATO <yamato@redhat.com>
9304
9305 * mouse.el (popup-menu-normalize-position): New function.
9306 (popup-menu): Use `popup-menu-normalize-position' to normalize
9307 the form for POSITION argument.
9308
9309 * term/x-win.el (x-menu-bar-open):
9310 Use the value returend from (posn-at-point) as position
9311 passed to `popup-menu'.
9312
9313 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9314
9315 * calc/calccomp.el (math-compose-expr): Add extra argument
9316 indicating that parentheses should be put around products in
9317 denominators. Give multiplication precedence over division during
9318 composition.
9319
9320 2012-08-09 Chong Yidong <cyd@gnu.org>
9321
9322 * man.el (Man-switches, Man-sed-command, Man-awk-command)
9323 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
9324 (Man-untabify-command, manual-program): Convert to defcustom
9325 (Bug#10429).
9326
9327 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
9328
9329 * descr-text.el (describe-char): Don't insert extra newlines
9330 (Bug#10127).
9331
9332 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
9333 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
9334
9335 * align.el (align-region): Delete temporary markers (Bug#10047).
9336 Plus some code cleanups.
9337
9338 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9339
9340 * progmodes/python.el (python-pdbtrack-tracked-buffer)
9341 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
9342 (python-shell-internal-last-output): Use make-local-variable
9343 instead of make-variable-buffer-local.
9344
9345 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9346
9347 * progmodes/python.el: Enhancements to forward-sexp.
9348 (python-nav-forward-sexp): Rename from
9349 python-nav-forward-sexp-function.
9350 (python-nav--forward-sexp, python-nav--backward-sexp):
9351 New functions.
9352
9353 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
9354
9355 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
9356 modes and simplification modes.
9357
9358 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9359
9360 * delsel.el (delete-selection-pre-hook): Don't propagate the
9361 file-supersession signals (bug#12161).
9362
9363 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9364
9365 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
9366 (cl-map-extents): Add compatibility aliases (bug#12135).
9367
9368 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
9369
9370 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
9371 tests by `ignore-error'.
9372 (tramp-find-shell): Open also a new shell, when cache is already
9373 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
9374
9375 2012-08-08 Juri Linkov <juri@jurta.org>
9376
9377 * bookmark.el: Add `defaults' property to the bookmark record.
9378 (bookmark-current-buffer): Doc fix.
9379 (bookmark-make-record): Add `defaults' property with default values
9380 to the bookmark record.
9381 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
9382 with `bookmark-insert-current-bookmark'.
9383 (bookmark-set): Get `defaults' property from the bookmark record
9384 and use it in `read-from-minibuffer'.
9385 (bookmark-insert-current-bookmark): Remove function.
9386
9387 * info.el (Info-bookmark-make-record): Add `defaults' property
9388 with values of canonical Info node name, the current Info file
9389 name and the current Info node name. (Bug#12107)
9390
9391 2012-08-08 Juri Linkov <juri@jurta.org>
9392
9393 * files.el (basic-save-buffer): Use `buffer-name' as the default
9394 of `read-file-name' when buffer is not visiting a file (bug#12128).
9395
9396 2012-08-08 Juri Linkov <juri@jurta.org>
9397
9398 * info.el (Info-isearch-search): Doc fix.
9399 (Info-search): Change search-failed message from "initial node" to
9400 "end of node" (bug#12078).
9401 (Info-isearch-search): Change `isearch-string-state' to
9402 `isearch--state-string'.
9403
9404 2012-08-08 Glenn Morris <rgm@gnu.org>
9405
9406 * language/persian.el: Remove file.
9407 * language/misc-lang.el: Move unique part of persian.el here.
9408 * loadup.el: Remove language/persian.
9409
9410 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
9411
9412 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9413
9414 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9415
9416 * progmodes/python.el: Fix defsubst warning.
9417 (python-syntax-context) Rename from python-info-ppss-context.
9418 (python-syntax-context-type): Rename from
9419 python-info-ppss-context-type.
9420 (python-syntax-comment-or-string-p): Rename from
9421 python-info-ppss-comment-or-string-p.
9422
9423 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9424
9425 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9426
9427 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
9428
9429 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9430 a defcustom that is quoted with backquote.
9431
9432 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9433 Fix handling of interactive spec when the body uses return.
9434 (math-do-arg-check, math-define-function-body): Use backquote forms.
9435 * calc/calc-ext.el (math-defcache): Likewise.
9436 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9437 * allout.el (allout-new-exposure): Likewise.
9438 * calc/calcalg2.el (math-tracing-integral): Likewise.
9439 * info.el (Info-last-menu-item): Likewise.
9440 * emulation/vip.el (vip-loop): Likewise.
9441 * textmodes/artist.el (artist-funcall): Likewise.
9442 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9443 Construct menu-item directly.
9444
9445 * progmodes/autoconf.el (font-lock-syntactic-keywords):
9446 Don't declare.
9447
9448 2012-08-07 Chong Yidong <cyd@gnu.org>
9449
9450 * simple.el (deactivate-mark): Preserve text properties when
9451 saving the primary selection (Bug#8384).
9452
9453 2012-08-07 Kevin Ryde <user42@zip.com.au>
9454
9455 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9456 (woman-parse-numeric-value): On a bad .IP line, issue a warning
9457 and continue processing (Bug#12110).
9458
9459 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9460
9461 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9462 syntax-propertize-function (bug#10095).
9463
9464 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9465
9466 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9467 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9468 describe-function-1.
9469 (describe-function-1): Use them. Move compiler macro after sig.
9470 (help-fns--compiler-macro): Use function-get. Assume we're already in
9471 standard-output. Adjust layout to new call order.
9472
9473 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9474 re-binding a symbol that has a symbol-macro (bug#12119).
9475
9476 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9477
9478 * language/persian.el: New file. (Bug#11812)
9479 * loadup.el: Add language/persian.el.
9480
9481 2012-08-06 Chong Yidong <cyd@gnu.org>
9482
9483 * window.el (window--maybe-raise-frame): New function.
9484 (window--display-buffer): Split off from here.
9485 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9486 (display-buffer-pop-up-window, display-buffer-use-some-window):
9487 Obey an inhibit-switch-frame action alist entry.
9488 (display-buffer): Update doc.
9489
9490 * replace.el (occur-after-change-function): Avoid losing focus by
9491 using the inhibit-switch-frame display parameter (Bug#12139).
9492
9493 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9494
9495 Make internal shell process buffer names start with space.
9496 * progmodes/python.el (python-shell-make-comint): Add optional
9497 argument INTERNAL.
9498 (run-python-internal): Use it.
9499 (python-shell-internal-get-or-create-process): Check for new
9500 internal buffer names.
9501
9502 2012-08-06 Glenn Morris <rgm@gnu.org>
9503
9504 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
9505 Do less getting and setting of environment variables.
9506
9507 2012-08-05 Chong Yidong <cyd@gnu.org>
9508
9509 * proced.el (proced): Add substitution string to docstring to
9510 trigger autoloading of the proced library on C-h f (Bug#1768).
9511
9512 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9513 Don't show defvars which have no second argument (Bug#8638).
9514
9515 * imenu.el (imenu-generic-expression): Move documentation here
9516 from imenu--generic-function.
9517 (imenu--generic-function): Refer to imenu-generic-expression.
9518
9519 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
9520
9521 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9522 indentation declaration.
9523 (viper-loop): Add indentation declaration (Bug#7025).
9524
9525 2012-08-05 Chong Yidong <cyd@gnu.org>
9526
9527 * help-fns.el (describe-variable): Add hyperlink for
9528 directory-local variables files. Improve buffer-local and
9529 permanent-local reporting; suggested by MON KEY (Bug#6644).
9530
9531 * help-mode.el (help-dir-local-var-def): New button type.
9532
9533 * files.el (kill-buffer-hook): Provide a defvar.
9534
9535 2012-08-05 Glenn Morris <rgm@gnu.org>
9536
9537 * eshell/esh-ext.el (eshell/addpath):
9538 Also update eshell-path-env. (Bug#12013)
9539
9540 2012-08-05 Chong Yidong <cyd@gnu.org>
9541
9542 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9543
9544 * fringe.el (fringe-styles): Add docstring.
9545 (fringe--check-mode): New function.
9546 (set-fringe-mode, set-fringe-style): Use it.
9547 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9548
9549 * files.el (set-auto-mode): Fix invalid setq call.
9550
9551 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9552
9553 * isearch.el: Misc simplification; use defstruct.
9554 (isearch-mode-map): Dense maps now work like sparse ones.
9555 (isearch--state): New defstruct.
9556 (isearch-string-state, isearch-message-state, isearch-point-state)
9557 (isearch-success-state, isearch-forward-state)
9558 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9559 (isearch-wrapped-state, isearch-barrier-state)
9560 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9561 replaced by defstruct's accessors.
9562 (isearch--set-state): Rename from isearch-top-state and change
9563 calling convention.
9564 (isearch-push-state): Use new isearch--get-state.
9565 (isearch-toggle-word): Disable regexp when enabling word.
9566 (isearch-message-prefix): Remove unused arg _c-q-hack.
9567 (isearch-message-suffix): Remove unused arg _ellipsis.
9568
9569 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9570
9571 * simple.el (list-processes--refresh): For a server use :host or
9572 :local as the address.
9573 (list-processes): Doc fix.
9574
9575 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
9576
9577 * lisp/mpc.el: Support password in host argument.
9578 (mpc--proc-connect): Parse and use new password element.
9579 Set mpc-proc variable instead of returning process.
9580 (mpc-proc): Adjust accordingly.
9581
9582 2012-08-03 Eli Zaretskii <eliz@gnu.org>
9583
9584 * whitespace.el (whitespace-display-mappings): Use Unicode
9585 codepoints, instead of emacs-mule codepoints. See
9586 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9587 for the details.
9588
9589 * files.el (file-truename): Don't skip symlink-chasing part on
9590 windows-nt. Incorporate the resolution of 8+3 short aliases on
9591 Windows into the loop that recursively chases symlinks.
9592 Compare directory and its parent case-insensitively on MS-Windows and
9593 MS-DOS.
9594
9595 2012-08-03 Chong Yidong <cyd@gnu.org>
9596
9597 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9598
9599 * sort.el (sort-regexp-fields): Doc fix.
9600
9601 2012-08-03 Tassilo Horn <tsdh@gnu.org>
9602
9603 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9604 labels regex position point at the expected place.
9605
9606 2012-08-03 MON KEY <monkey@sandpframing.com>
9607
9608 * net/imap.el (imap-interactive-login, imap-authenticate)
9609 (imap-mailbox-lsub, imap-mailbox-list)
9610 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9611 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9612 (imap-parse-response): Doc fix.
9613
9614 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
9615
9616 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9617 if sexp scanning does not move point (Bug#5734).
9618
9619 2012-08-02 Tassilo Horn <tsdh@gnu.org>
9620
9621 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9622 Add listings, minted, and ctable packages.
9623 (reftex-label-alist-builtin): Move listings, minted, and ctable
9624 entries before LaTeX.
9625 (reftex-label-alist): Docfix.
9626
9627 2012-08-02 Bastien Guerry <bzg@gnu.org>
9628
9629 * replace.el (occur): Fix docstring (bug#12122).
9630
9631 2012-08-02 Glenn Morris <rgm@gnu.org>
9632
9633 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9634
9635 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9636
9637 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9638 * international/mule-cmds.el: Create
9639 inactivate-current-input-method-function as an obsolete alias for
9640 deactivate-current-input-method-function. See Katsumi Yamaoka in
9641 <http://bugs.gnu.org/10150#46>.
9642
9643 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9644
9645 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9646 of nested `if's.
9647
9648 2012-08-01 Glenn Morris <rgm@gnu.org>
9649
9650 * progmodes/autoconf.el (autoconf-definition-regexp):
9651 Add AH_TEMPLATE, adjust submatch numbering.
9652 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9653 (autoconf-current-defun-function): Update for above change.
9654 (autoconf-current-defun-function): First skip to end of current word.
9655
9656 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9657
9658 * calendar/cal-html.el (cal-html-insert-agenda-days):
9659 Fix typo. (Bug#12018)
9660
9661 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9662
9663 Shell processes: enhancements to startup and CEDET compatibility.
9664 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9665 (python-shell-make-comint): accept-process-output at startup.
9666 (run-python-internal): Set inferior-python-mode-hook to nil.
9667 (python-shell-internal-get-or-create-process): call sit-for.
9668 (python-preoutput-result): Add obsolete alias.
9669 (python-shell-internal-send-string): Use it.
9670 (python-shell-send-setup-code): Remove call to
9671 accept-process-output.
9672
9673 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9674
9675 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9676 (Bug#12108)
9677
9678 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9679
9680 * calc-mode.el (calc-basic-simplification-mode): Rename from
9681 `calc-limited-simplification-mode'.
9682 (calc-alg-simplification-mode): New function.
9683 (calc-set-simplify-mode): Adjust message.
9684
9685 * calc.el (calc-set-mode-line): Adjust mode line display for
9686 basic simplification mode.
9687
9688 * calc-help.el (calc-m-prefix-help): Update help message.
9689
9690 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9691 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9692
9693 2012-07-31 Bastien Guerry <bzg@gnu.org>
9694
9695 * man.el (man): Fix comment. (bug#12101)
9696
9697 2012-07-31 Martin Rudalics <rudalics@gmx.at>
9698
9699 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9700 Don't return a non-nil value when no suitable buffer was found.
9701
9702 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9703
9704 * progmodes/python.el (run-python-internal): Disable font lock for
9705 internal shells.
9706
9707 2012-07-30 Stefan Merten <smerten@oekonux.de>
9708
9709 * textmodes/rst.el: Silence `checkdoc-ispell'.
9710 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9711 (rst-official-version, rst-official-cvs-rev)
9712 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9713 (rst-mode-map): New key binding.
9714
9715 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9716
9717 Update .PHONY listings in makefiles.
9718 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9719 autoloads, update-subdirs, updates, bzr-update, update-authors,
9720 compile-onefile, compile-calc, backup-compiled-files,
9721 compile-after-backup, compile-one-process, mh-autoloads,
9722 bootstrap-clean, distclean, maintainer-clean.
9723
9724 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9725
9726 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9727 (calc-set-mode-line): Don't display "AlgSimp ".
9728
9729 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9730 (calc-lim-simplify-mode): New function.
9731 (calc-set-simplify-mode): Default to 'alg.
9732 (calc-default-simplify-mode): Make algebraic simplifications
9733 the default.
9734
9735 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9736 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9737
9738 * calc/calc-help.el (calc-m-prefix-help): Change messages to
9739 indicate new simplification modes.
9740
9741 * calc/README: Mention new default simplification mode.
9742
9743 * calc/calc.el (math-normalize-error): New variable.
9744 (math-normalize): Set `math-normalize-error' to t
9745 when there's an error.
9746
9747 * calc/calc-alg.el (math-simplify): Don't simplify when
9748 `math-normalize' returns an error.
9749
9750 2012-07-29 Eli Zaretskii <eliz@gnu.org>
9751
9752 * international/mule-cmds.el (set-locale-environment): Revert last
9753 change, since display-graphic-p returns nil when this function is
9754 called during startup. Instead...
9755
9756 * term/w32console.el (terminal-init-w32console): ...setup the
9757 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9758
9759 2012-07-29 Juri Linkov <juri@jurta.org>
9760
9761 * simple.el (goto-line): Don't display default line number in the
9762 prompt because it should be displayed by `read-number' (bug#9952).
9763 Add the current line number to the defaults of `goto-line' to
9764 allow its easier modification by users with `M-n' (bug#9201).
9765
9766 * subr.el (read-number): Support multiple default values like in
9767 other minibuffer reading functions. Replace `read' with
9768 `string-to-number' for consistency with `number-to-string'.
9769
9770 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9771
9772 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9773 * emulation/viper-init.el (viper-deactivate-input-method-action):
9774 Rename from viper-inactivate-input-method-action.
9775 (viper-deactivate-input-method):
9776 Rename from viper-inactivate-input-method.
9777 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9778 * international/mule-cmds.el (deactivate-input-method):
9779 Rename from inactivate-input-method.
9780 Also run input-method-deactivate-hook.
9781 (deactivate-current-input-method-function):
9782 Rename from inactivate-current-input-method-function.
9783 (input-method-deactivate-hook): New hook.
9784 (input-method-inactivate-hook): Mark obsolete.
9785 (inactivate-input-method): Mark obsolete.
9786
9787 * international/quail.el (quail-activate):
9788 Also run quail-deactivate-hook.
9789 (quail-deactivate): Rename from quail-inactivate.
9790 * international/robin.el (robin-activate):
9791 Also run robin-deactivate-hook.
9792 (robin-deactivate): Rename from robin-inactivate.
9793
9794 2012-07-29 Chong Yidong <cyd@gnu.org>
9795
9796 * simple.el (indicate-copied-region): New function.
9797 (kill-ring-save): Split off from here.
9798
9799 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9800 (kill-rectangle): Set deactivate-mark to t on read-only error.
9801
9802 * register.el (copy-to-register, copy-rectangle-to-register):
9803 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9804 (append-to-register, prepend-to-register): Call indicate-copied-region.
9805
9806 2012-07-29 Juri Linkov <juri@jurta.org>
9807
9808 * simple.el (async-shell-command-buffer): New defcustom.
9809 (shell-command): Use it. (Bug#4719)
9810
9811 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9812
9813 * international/mule-cmds.el (set-locale-environment): In a
9814 console session on MS-Windows, set up keyboard and terminal
9815 encoding from the OEM codepage, not the ANSI codepage.
9816 (Bug#12055)
9817
9818 2012-07-28 Chong Yidong <cyd@gnu.org>
9819
9820 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9821 gdb-get-location.
9822
9823 2012-07-28 Leo Liu <sdl.web@gmail.com>
9824
9825 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9826 the alist (bug#12029).
9827
9828 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9829
9830 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9831 (compile-always, compile-first)
9832 ($(lisp)/calendar/cal-loaddefs.el)
9833 ($(lisp)/calendar/diary-loaddefs.el)
9834 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9835 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9836 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9837 instead of on update-subdirs.
9838 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9839
9840 2012-07-28 Chong Yidong <cyd@gnu.org>
9841
9842 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9843 directory if vc-deduce-backend returns nil (Bug#7350).
9844
9845 * simple.el (delete-trailing-lines): New option.
9846 (delete-trailing-whitespace): Obey it (Bug#11879).
9847
9848 2012-07-28 David Engster <deng@randomsample.de>
9849
9850 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9851 Explanation of new 'symbol-qnames feature in doc-strings.
9852 (xml-maybe-do-ns): Return expanded names as plain symbols if
9853 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9854 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9855
9856 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9857
9858 Consistent completion in inferior python with emacs -nw.
9859 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9860 binding in inferior-python-mode-map with "\t".
9861 (python-shell-completion-complete-at-point)
9862 (python-completion-complete-at-point): Remove interactive spec.
9863
9864 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9865
9866 * calc/calccomp.el (math-compose-expr): Undo previous change.
9867
9868 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9869
9870 * progmodes/python.el (python-mode-map): Add keybinding for
9871 run-python.
9872 (python-shell-make-comint): Fix pop-to-buffer call.
9873 (run-python): Autoload. New arg SHOW.
9874 (python-shell-get-or-create-process): Do not pop python process
9875 buffer.
9876
9877 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9878
9879 * notifications.el (notifications-on-action-signal)
9880 (notifications-on-closed-signal): Use also the bus address for the map.
9881 (notifications-notify, notifications-close-notification)
9882 (notifications-get-capabilities): Add optional argument BUS.
9883
9884 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9885
9886 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9887 Add support for the lstlisting and minted environments, and for the
9888 ctable macro.
9889 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9890 labels written in keyvals syntax.
9891
9892 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9893
9894 * calc/calccomp.el (math-compose-expr): Use parentheses when
9895 there is a product in the denominator of a fraction.
9896
9897 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9898
9899 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9900 ($(lisp)/calendar/diary-loaddefs.el)
9901 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9902 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9903 Fixes failures in parallel bootstrap because subdirs.el is being
9904 rewritten while the autoload files are built at the same time,
9905 which needs to load subdirs.el.
9906
9907 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9908
9909 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9910 (mouse-drag-line): Don't exit tracking when a switch-frame or
9911 switch-window event occurs (Bug#12006).
9912
9913 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9914
9915 * mouse.el (popup-menu): Fix last change.
9916
9917 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9918
9919 Autoload from Lisp with more care. Follow aliases when looking for
9920 function properties.
9921 * subr.el (autoloadp): New function.
9922 (symbol-file): Use it.
9923 (function-get): New function.
9924 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9925 autoload-do-load.
9926 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9927 (lisp-indent-function):
9928 * emacs-lisp/gv.el (gv-get):
9929 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9930 * emacs-lisp/byte-opt.el (byte-optimize-form):
9931 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9932 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9933 Use function-get.
9934 * emacs-lisp/cl.el: Don't propagate function properties any more.
9935
9936 * speedbar.el (speedbar-add-localized-speedbar-support):
9937 * emacs-lisp/disass.el (disassemble-internal):
9938 * desktop.el (desktop-load-file):
9939 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9940 (describe-function-1):
9941 * emacs-lisp/find-func.el (find-function-noselect):
9942 * emacs-lisp/elp.el (elp-instrument-function):
9943 * emacs-lisp/advice.el (ad-has-proper-definition):
9944 * apropos.el (apropos-safe-documentation, apropos-macrop):
9945 * emacs-lisp/debug.el (debug-on-entry):
9946 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9947 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9948 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9949
9950 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9951
9952 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9953 function, not an obsolete variable (Bug#12046).
9954
9955 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9956
9957 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9958
9959 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9960
9961 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9962 window only if it is still live (Bug#12034).
9963
9964 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9965
9966 * subr.el (redirect-frame-focus): Add advertised calling
9967 convention (Bug#12030).
9968
9969 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9970
9971 Prefer typical American spelling for "acknowledgment".
9972 * vc/add-log.el (change-log-acknowledgment): Rename from
9973 change-log-acknowledgement, with an alias for the old name.
9974
9975 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9976
9977 * calc-alg.el (math-simplify-divide): Don't cross multiply
9978 in an equation when the lhs is a variable.
9979
9980 2012-07-24 Julien Danjou <julien@danjou.info>
9981
9982 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9983 Remove, unused.
9984
9985 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9986
9987 * startup.el (command-line): Don't display an empty user name in
9988 the error message about non-existent home directory, when
9989 init-file-user was set to an empty string. See
9990 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9991 for the details and context.
9992
9993 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
9994
9995 * ses.el (ses-cell-formula-aset): New macro.
9996 (ses-cell-references-aset): New macro.
9997 (ses-cell-p): New function.
9998 (ses-rename-cell): Do no longer rely on complex operations like
9999 ses-cell-set-formula or ses-set-cell to change the cell and handle
10000 the undo at the same time, but rather use lower level new macros
10001 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10002 the undo directly. Refresh the mode line.
10003
10004 2012-07-21 Leo Liu <sdl.web@gmail.com>
10005
10006 * progmodes/cc-cmds.el (c-defun-name):
10007 Use match-string-no-properties instead for consistency.
10008
10009 2012-07-20 Leo Liu <sdl.web@gmail.com>
10010
10011 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10012 (Bug#7879)
10013
10014 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10015
10016 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10017
10018 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10019 * progmodes/bug-reference.el, misearch.el: Provide themselves
10020 (bug#11915).
10021
10022 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10023 of narrowed buffer (bug#11966).
10024
10025 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10026
10027 * ses.el (ses-rename-cell): Set new name also in reference list of
10028 cells of which the renamed cell depends.
10029
10030 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10031
10032 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10033 to check whether menu-bar is shown or not. If not shown,
10034 show the menu-bar as a popup menu instead of using tmm.
10035 * mouse.el (popup-menu): Accept `point' as `position' argument.
10036
10037 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10038
10039 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10040 up inside string symbol literal (bug#11923).
10041
10042 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10043
10044 * startup.el (fancy-startup-text): Read the whole tutorial, not
10045 just its first 256 bytes. Prevents gibberish in display of the
10046 tutorial title.
10047
10048 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10049
10050 Drop idle buffer compaction due to an absence of the
10051 proved efficiency.
10052 * compact.el: Remove.
10053
10054 2012-07-19 Sam Steingold <sds@gnu.org>
10055
10056 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10057 vc-bzr-pull & vc-bzr-merge-branch.
10058 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10059 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10060 for consistency with compilation-error-regexp-alist.
10061 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10062 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10063 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10064 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10065
10066 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10067
10068 * emacs-lisp/chart.el: Use lexical-binding.
10069 (chart-emacs-storage): Don't hardcode the list of entries.
10070
10071 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10072
10073 Next round of tweaks caused by Fgarbage_collect changes.
10074 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10075
10076 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10077
10078 Compact buffers when idle.
10079 * compact.el: New file.
10080
10081 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * subr.el (eventp): Presume that if it looks vaguely like an event,
10084 it's an event (bug#10190).
10085
10086 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10087
10088 Enhancements to ppss related code (thanks Stefan).
10089 * progmodes/python.el (python-indent-context)
10090 (python-indent-calculate-indentation, python-indent-dedent-line)
10091 (python-indent-electric-colon, python-nav-forward-block)
10092 (python-mode-abbrev-table)
10093 (python-info-assignment-continuation-line-p): Simplify checks
10094 for ppss context.
10095 (python-info-continuation-line-p): Cleanup.
10096 (python-info-ppss-context): Do not catch 'quote.
10097 (python-info-ppss-context-type)
10098 (python-info-ppss-comment-or-string-p): Simplify.
10099
10100 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10101
10102 * progmodes/python.el: Enhancements to eldoc support.
10103 (python-info-current-symbol): New function.
10104 (python-eldoc-at-point): Use python-info-current-symbol.
10105 (python-info-current-defun): Fix cornercase on first defun scan.
10106 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10107 and signal error when no inferior python process is available.
10108
10109 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10110
10111 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10112 assume it's always t.
10113 (vc-git-registered): Remove caching, the function is only called
10114 once.
10115 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10116
10117 2012-07-18 Chong Yidong <cyd@gnu.org>
10118
10119 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10120
10121 * simple.el (count-words): Report on narrowing (Bug#9959).
10122
10123 * bindings.el: Bind M-= to count-words.
10124
10125 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10126
10127 2012-07-18 Masatake YAMATO <yamato@redhat.com>
10128
10129 * progmodes/sh-script.el (sh-imenu-generic-expression):
10130 Capture a function with `function' keyword and without parentheses
10131 like "function FOO" (bug#11856).
10132
10133 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10134
10135 * window.el (split-window-sensibly): Make WINDOW argument
10136 optional.
10137
10138 2012-07-18 Chong Yidong <cyd@gnu.org>
10139
10140 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10141
10142 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10143 and make C-x 8 RET exit isearch (Bug#11439).
10144
10145 * international/iso-transl.el: Move isearch-mode-map key
10146 definitions to isearch.el.
10147
10148 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10149
10150 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10151 (eieio-defclass): Use gv-define-setter when possible.
10152
10153 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
10154
10155 Reflect recent changes in Fgarbage_collect.
10156 * emacs-lisp/chart.el (chart-emacs-storage): Change to
10157 reflect new format of data returned by Fgarbage_collect.
10158
10159 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10160
10161 New utility functions + python-info-ppss-context fix (Bug#11910).
10162 * progmodes/python.el (python-info-beginning-of-block-statement-p)
10163 (python-info-ppss-comment-or-string-p): New functions.
10164 (python-info-ppss-context): Small fix for string check.
10165
10166 2012-07-17 Juri Linkov <juri@jurta.org>
10167
10168 * dired-aux.el (dired-do-async-shell-command): Doc fix.
10169 (dired-do-async-shell-command): Don't add `*' at the end of the
10170 command (Bug#11815).
10171 (dired-do-shell-command): Doc fix.
10172 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
10173 Join the individual commands using either "&" or ";" as the
10174 separator depending on the values of these trailing characters.
10175 At the end re-add the trailing "&". (Bug#10598)
10176
10177 * simple.el (async-shell-command): Sync the interactive spec with
10178 `shell-command'. Doc fix.
10179 (shell-command): Doc fix.
10180
10181 2012-07-17 Juri Linkov <juri@jurta.org>
10182
10183 * descr-text.el (describe-char): Fix format args. (Bug#10129)
10184
10185 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10186
10187 Final renames and doc fixes for movement commands (bug#11899).
10188 * progmodes/python.el (python-nav-beginning-of-statement):
10189 Rename from python-nav-statement-start.
10190 (python-nav-end-of-statement): Rename from
10191 python-nav-statement-end.
10192 (python-nav-beginning-of-block): Rename from
10193 python-nav-block-start.
10194 (python-nav-end-of-block): Rename from python-nav-block-end.
10195
10196 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10197
10198 * progmodes/python.el (python-shell-send-string-no-output):
10199 Allow accept-process-output to quit, keeping shell process ready for
10200 future interactions (Bug#11868).
10201
10202 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10203
10204 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
10205
10206 * emacs-lisp/elint.el (elint-find-args-in-code):
10207 Use help-function-arglist, so as to handle lexical byte-code.
10208
10209 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
10210 change (bug#11826).
10211
10212 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10213
10214 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
10215 Avoid spuriously marking the buffer as modified because of c-is-sws.
10216
10217 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
10218 as not-a-comment (bug#11946).
10219
10220 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
10221 for uninterned vars.
10222
10223 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
10224 Use read-event since we don't really want to read chars but bytes.
10225
10226 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
10227 $$..$$ but also $..$ using regexps (bug#11953).
10228 Use tex-verbatim for \url and \path.
10229 (tex-font-lock-keywords): Define as defconst like the others.
10230 (tex-common-initialization): Don't use font-lock-syntax-table any more.
10231
10232 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
10233
10234 * international/mule-cmds.el (ucs-insert): Make it an obsolete
10235 alias for insert-char.
10236
10237 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10238
10239 * progmodes/python.el: Simplified imenu implementation.
10240 (python-nav-jump-to-defun): Remove command.
10241 (python-mode-map): Use `imenu' instead.
10242 (python-nav-list-defun-positions-cache)
10243 (python-imenu-include-defun-type, python-imenu-make-tree)
10244 (python-imenu-subtree-root-label, python-imenu-index-alist):
10245 Remove vars.
10246 (python-nav-list-defun-positions, python-nav-read-defun)
10247 (python-imenu-tree-assoc, python-imenu-make-element-tree)
10248 (python-imenu-make-tree, python-imenu-create-index):
10249 Remove functions.
10250 (python-mode): Update to interact with imenu by setting
10251 `imenu-extract-index-name-function' only.
10252
10253 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10254
10255 * progmodes/python.el: Enhancements to navigation commands.
10256 (python-nav-backward-sentence)
10257 (python-nav-forward-sentence): Remove.
10258 (python-nav-backward-statement, python-nav-forward-statement)
10259 (python-nav-statement-start, python-nav-statement-end)
10260 (python-nav-backward-block, python-nav-forward-block)
10261 (python-nav-block-start, python-nav-block-end)
10262 (python-nav-forward-sexp-function)
10263 (python-info-current-line-comment-p)
10264 (python-info-current-line-empty-p): New functions.
10265 (python-indent-context): Use `python-nav-statement-start'.
10266
10267 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
10268
10269 * eshell/em-ls.el (eshell/ls): Use `apply'.
10270
10271 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
10272 multi-hops, instead of Tramp internals.
10273
10274 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
10275
10276 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
10277 when F1 and F2 are located on different hosts.
10278
10279 2012-07-14 Chong Yidong <cyd@gnu.org>
10280
10281 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
10282 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
10283 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
10284 (xterm-mouse--read-event-sequence-1000)
10285 (xterm-mouse--read-event-sequence-1006): New functions. For old
10286 mouse protocol, handle M-mouse-X events correctly.
10287 (xterm-mouse-event): New arg specifying mouse protocol.
10288 (turn-on-xterm-mouse-tracking-on-terminal)
10289 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
10290 sequence to toggle extended coordinates on newer XTerms.
10291 This appears to be harmless on terminals which do not support this.
10292
10293 2012-07-14 Leo Liu <sdl.web@gmail.com>
10294
10295 Add fringe bitmap indicators for flymake. (Bug#11253)
10296 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
10297 (flymake-make-overlay): New arg BITMAP.
10298 (flymake-error-bitmap, flymake-warning-bitmap)
10299 (flymake-fringe-indicator-position): New user variables.
10300
10301 * fringe.el: New bitmap exclamation-mark.
10302
10303 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
10304
10305 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
10306 also (Bug#7879).
10307
10308 2012-07-14 Chong Yidong <cyd@gnu.org>
10309
10310 * electric.el (electric-pair-post-self-insert-function): Fix pair
10311 insertion in empty-region case (Bug#11520).
10312
10313 2012-07-14 Chong Yidong <cyd@gnu.org>
10314
10315 * bindings.el: Consolidate ctl-x-r-map bindings.
10316 Bind copy-rectangle-as-kill to C-x r w.
10317
10318 * rect.el, register.el: Move bindings to bindings.el.
10319
10320 2012-07-14 Reuben Thomas <rrt@sc3d.org>
10321
10322 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
10323
10324 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
10325
10326 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
10327
10328 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
10329
10330 * bindings.el (top): Use `mapc' instead of `mapcar'.
10331
10332 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
10333
10334 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
10335
10336 * progmodes/sql.el (sql-comint): Suppress the check for program on
10337 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
10338 (Bug#11908)
10339
10340 2012-07-13 Chong Yidong <cyd@gnu.org>
10341
10342 * bindings.el: Assign a non-nil permanent-local property to
10343 per-buffer variables which lack a default value (Bug#11930).
10344
10345 * help-fns.el (describe-variable): In the "automatically becomes
10346 local" notice, take note of permanent-local variables.
10347
10348 2012-07-13 Chong Yidong <cyd@gnu.org>
10349
10350 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
10351 to allow printing the message when called from Lisp.
10352
10353 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10354 Remove toggle-read-only.
10355
10356 * bs.el (bs-toggle-readonly):
10357 * buff-menu.el (Buffer-menu-toggle-read-only):
10358 Remove with-no-warnings around toggle-read-only.
10359
10360 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
10361 Remove with-no-warnings around toggle-read-only.
10362 (ffap-read-only, ffap-read-only-other-window)
10363 (ffap-read-only-other-frame): Callers changed.
10364
10365 * help-mode.el: Don't require view package.
10366 (help-mode-finish): Set buffer-read-only instead of calling
10367 toggle-read-only.
10368
10369 * bindings.el (mode-line-toggle-read-only):
10370 * dired.el (dired-toggle-read-only):
10371 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
10372 with non-nil second arg.
10373
10374 * emacs-lisp/eieio-custom.el (eieio-customize-object):
10375 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
10376 directly.
10377
10378 2012-07-12 Eli Zaretskii <eliz@gnu.org>
10379
10380 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
10381 not incf.
10382
10383 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
10384
10385 More CL cleanups and reduction of use of cl.el.
10386 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
10387 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
10388 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
10389 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
10390 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
10391 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10392 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10393 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10394 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10395 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10396 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10397 * eshell/em-cmpl.el, eshell/em-banner.el:
10398 * calendar/parse-time.el: Use cl-lib.
10399 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10400 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10401 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10402 * term/ns-win.el, term.el, shell.el, ps-samp.el:
10403 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10404 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10405 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10406 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10407 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10408 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10409 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10410 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10411 `lambda' rather than with `quote'.
10412 (eshell-do-opt): Adjust accordingly.
10413 (eshell-process-option): Simplify.
10414 * eshell/esh-var.el:
10415 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10416 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10417 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10418 to `pcase--dontcare'.
10419 * emacs-lisp/cl.el (labels): Mark obsolete.
10420 (cl--letf, letf): Move to cl-lib.
10421 (cl--letf*, letf*): Remove.
10422 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10423 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10424 (cl-progv): Rewrite.
10425 (cl--letf, cl-letf): Move from cl.el.
10426 (cl-letf*): New macro.
10427 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10428
10429 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
10430
10431 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10432
10433 2012-07-11 Chong Yidong <cyd@gnu.org>
10434
10435 * vc/log-edit.el (log-edit-vc-backend): New variable.
10436 (log-edit): Doc fix.
10437
10438 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
10439 argument of log-edit to set up all local variables.
10440 (vc-start-logentry): New optional arg specifying VC backend.
10441
10442 * vc/vc.el (vc-checkin): Use it.
10443 (vc-deduce-fileset): Handle Log Edit buffers.
10444 (vc-diff): Make first argument optional too.
10445
10446 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10447
10448 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
10449
10450 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10451 command, just in case. The function is not needed anymore.
10452 (eshell-external-command): Do not call `eshell-remote-command'.
10453
10454 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
10455
10456 Reduce use of (require 'cl).
10457 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10458 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10459 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10460 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10461 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10462 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10463 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10464 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10465 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10466 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10467 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10468 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10469 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10470 (byte-compile-unfold-bcf, byte-compile-check-variable):
10471 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10472 (byte-compile-nilconstp):
10473 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10474 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10475
10476 * emacs-lisp/gv.el (cond): Make it a valid place.
10477 (if): Simplify slightly.
10478
10479 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10480 (pcase--self-quoting-p): New function.
10481 (pcase--u1): Use it.
10482
10483 2012-07-10 Glenn Morris <rgm@gnu.org>
10484
10485 * emacs-lisp/authors.el (authors-fixed-entries):
10486 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10487
10488 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10489
10490 Rename configure.in to configure.ac (Bug#11603).
10491 * emacs-lisp/authors.el (authors-canonical-file-name):
10492 * progmodes/autoconf.el (autoconf-mode):
10493 Prefer configure.ac to configure.in.
10494
10495 2012-07-08 Chong Yidong <cyd@gnu.org>
10496
10497 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10498 Implement the mouse-1-click-follows-link handling properly.
10499
10500 * info.el (Info-link-keymap): Use follow-link mechanism for
10501 header-line links (Bug#374).
10502
10503 * simple.el (deactivate-mark): Do not set the primary selection
10504 if another program has acquired it (Bug#11772).
10505
10506 2012-07-07 Kevin Ryde <user42@zip.com.au>
10507
10508 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10509 (woman-decode-region): Replace escaped-escapes without destroying
10510 bold or underline (Bug#11552).
10511 (woman2-process-escapes): Handle nofill regions (Bug#11591).
10512
10513 2012-07-07 Chong Yidong <cyd@gnu.org>
10514
10515 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10516 (interprogram-cut-function, interprogram-paste-function):
10517 Mention that we typically mean the clipboard.
10518
10519 2012-07-06 Glenn Morris <rgm@gnu.org>
10520
10521 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10522
10523 * files.el (toggle-read-only): Restrict message to interactive use.
10524
10525 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
10526
10527 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10528
10529 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10530
10531 2012-07-06 Glenn Morris <rgm@gnu.org>
10532
10533 * Makefile.in (compile-one-process): Rename from "recompile".
10534
10535 * Makefile.in (bzr-update): "compile" is the same as "recompile
10536 autoloads", but parallelizable, so use that instead.
10537
10538 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10539
10540 * window.el (quit-window): Always restore window height when
10541 it's saved in quit-restore parameter (Bug#11810).
10542
10543 2012-07-06 Glenn Morris <rgm@gnu.org>
10544
10545 * simple.el (kill-whole-line): Doc tweak.
10546
10547 2012-07-06 Eli Zaretskii <eliz@gnu.org>
10548
10549 * files.el (file-relative-name): Compare file names
10550 case-insensitively if on MS-Windows or MS-DOS, or if
10551 read-file-name-completion-ignore-case is non-nil. Don't use
10552 case-fold-search for this purpose. (Bug#11827)
10553
10554 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10555
10556 * calendar/cal-dst.el (calendar-current-time-zone):
10557 Return calendar-current-time-zone-cache if non-nil.
10558
10559 2012-07-17 Masatake YAMATO <yamato@redhat.com>
10560 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10561
10562 * calendar/cal-dst.el (calendar-current-time-zone):
10563 Return calendar-current-time-zone-cache if non-nil.
10564
10565 2012-07-06 Glenn Morris <rgm@gnu.org>
10566
10567 * Makefile.in (cvs-update): Remove old alias.
10568
10569 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
10570
10571 Sync with Tramp 2.2.6-pre.
10572
10573 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10574 compatible declaration.
10575
10576 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10577 Protect `list-load-path-shadows' call.
10578
10579 * net/tramp-compat.el (top): Require packages, which aren't
10580 autoloaded anymore for XEmacs. Protect call of
10581 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10582 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10583 it hurts at least for SXEmacs.
10584 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10585 standard-value for `temporary-file-directory'.
10586
10587 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10588 Redirect stderr to /dev/null.
10589 (tramp-sh-handle-write-region): uid and gid can be floats.
10590 Reported by Russell Sim <russell.sim@gmail.com>.
10591 (tramp-sh-handle-vc-registered): Hide errors.
10592 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10593 and `start-file-process'.
10594 (tramp-maybe-open-connection): Check also whether `non-essential'
10595 is bound.
10596
10597 2012-07-04 Chong Yidong <cyd@gnu.org>
10598
10599 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10600 (xml-parse-tag): Likewise, and avoid changing entity tables.
10601 (xml-syntax-table): Define from scratch, making sure not to give
10602 x2000 and other Unicode spaces whitespace syntax, since those are
10603 not spaces in XML.
10604 (xml-parse-fragment): Delete unused function.
10605 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10606 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10607 (xml-entity-ref, xml-pe-reference-re)
10608 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10609 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10610 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10611 (xml-entity-value-re): Use syntax references in regexps where
10612 possible; no need to define inside a let-binding.
10613 (xml-parse-dtd): Use xml-pe-reference-re.
10614 (xml-entity-or-char-ref-re): New defconst.
10615 (xml-parse-string, xml-substitute-special): Use it.
10616
10617 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10618
10619 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10620 (find-file--read-only): New function.
10621 (find-file-read-only, find-file-read-only-other-window)
10622 (find-file-read-only-other-frame): Use it.
10623 (insert-file-contents-literally): Don't `fset'.
10624 (get-free-disk-space): Use locate-dominating-file.
10625
10626 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10627 function is already compiled.
10628
10629 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10630
10631 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
10632
10633 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10634 files on the same host.
10635
10636 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10637
10638 * help-fns.el (describe-function-1): Only call
10639 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10640
10641 2012-07-03 Chong Yidong <cyd@gnu.org>
10642
10643 * xml.el: Protect parser against XML bombs.
10644 (xml-entity-expansion-limit): New variable.
10645 (xml-parse-string, xml-substitute-special): Use it.
10646 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10647
10648 2012-07-03 Glenn Morris <rgm@gnu.org>
10649
10650 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10651 Allow linking to specific messages in debbugs reports (eg 123#5).
10652
10653 2012-07-02 Chong Yidong <cyd@gnu.org>
10654
10655 * xml.el: Fix entity and character reference expansion, allowing
10656 them to expand into markup as per XML spec.
10657 (xml-default-ns): New variable.
10658 (xml-entity-alist): Use XML spec definitions for lt and amp.
10659 (xml-parse-region): Make first two arguments optional.
10660 Discard text properties.
10661 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10662 All callers changed.
10663 (xml-parse-tag): Call xml-parse-tag-1. For backward
10664 compatibility, this function should not modify buffer contents.
10665 (xml-parse-tag-1): Fix opening-tag regexp.
10666 (xml-parse-string): Rewrite, handling entity and character
10667 references properly.
10668 (xml--entity-replacement-text): Signal an error if a parameter
10669 entity is undefined.
10670
10671 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10672
10673 * comint.el (comint-output-filter): Filter out repeated prompts.
10674
10675 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10676 and file-name-absolute-p.
10677 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10678 internal calls.
10679
10680 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10681
10682 Spelling fixes.
10683 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10684 Rename from byte-compile--refiy-function. All uses changed.
10685
10686 2012-07-01 Chong Yidong <cyd@gnu.org>
10687
10688 * xml.el (xml--parse-buffer): New function. Move most of
10689 xml-parse-region here.
10690 (xml-parse-region): Copy region into a temporary buffer, since
10691 parameter entity substitution requires changing buffer contents.
10692 Use xml--parse-buffer.
10693 (xml-parse-file): Use xml--parse-buffer.
10694 (xml-parse-dtd): Make parameter entity substitution work right.
10695 Use proper regexps for ELEMENT declarations (Bug#7172).
10696
10697 2012-06-30 Glenn Morris <rgm@gnu.org>
10698
10699 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10700
10701 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10702 Remove outdated and unnecessary dbus declarations.
10703
10704 2012-06-30 Eli Zaretskii <eliz@gnu.org>
10705
10706 * emacs-lisp/timer.el (timer-until): Subtract results of
10707 float-time, instead of taking float-time of the result of
10708 time-subtract, since float-time signals an error for negative time
10709 arguments.
10710
10711 2012-06-30 Chong Yidong <cyd@gnu.org>
10712
10713 * xml.el (xml-*-re): Convert defvars into defconsts, and
10714 eval-and-compile them so eval-and-compile works on derivatives.
10715 (xml--entity-replacement-text): Use eval-and-comple.
10716
10717 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
10718
10719 * vc/vc-git.el (vc-git-registered): Use cache property
10720 `git-registered'.
10721 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10722 `vc-git-working-revision' in order to benefit from the cache.
10723 (vc-git-root): Use cache property `git-root'. (Bug#11757)
10724
10725 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10726
10727 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10728 removed (likely outside Emacs). (Bug#11757)
10729
10730 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10731
10732 * emacs-lisp/cl-lib.el: Require macroexp.
10733
10734 2012-06-30 Chong Yidong <cyd@gnu.org>
10735
10736 * xml.el: Implement XML parameter entities.
10737 (xml-parameter-entity-alist): New variable.
10738 (xml-parse-region, xml-parse-fragment): Preserve previous values
10739 of xml-entity-alist and xml-parameter-entity-alist, so that
10740 repeated calls on different documents do not change them.
10741 (xml-parse-tag): Fix doctype regexp.
10742 (xml--entity-replacement-text): New function.
10743 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10744 properly requires url retrieval which is unimplemented.
10745 (xml-escape-string): Doc fix.
10746
10747 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10748
10749 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10750
10751 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10752
10753 * fringe.el (fringe-mode): Doc fix.
10754
10755 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10756
10757 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10758 is non-nil.
10759 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10760 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10761
10762 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10763
10764 * calendar/cal-dst.el (calendar-current-time-zone):
10765 Return calendar-current-time-zone-cache if non-nil.
10766
10767 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10768
10769 * progmodes/which-func.el (which-func-format):
10770 Add mouse-face. (Bug#11698)
10771
10772 2012-06-29 Leo Liu <sdl.web@gmail.com>
10773
10774 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10775
10776 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10777
10778 * minibuffer.el (minibuffer-confirm-exit-commands):
10779 Add completion-at-point (bug#11725).
10780
10781 2012-06-29 Glenn Morris <rgm@gnu.org>
10782
10783 * progmodes/f90.el (f90-font-lock-keywords-2):
10784 Add some preprocessor elements. (Bug#10499)
10785
10786 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10787
10788 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10789 Use syntax-propertize (bug#11739).
10790
10791 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10792
10793 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10794
10795 2012-06-28 Julien Danjou <julien@danjou.info>
10796
10797 * term.el (term-handle-colors-array): Use a set of new faces to
10798 color the terminal. Also uses :inverse-video property.
10799 (term-default-fg-color): Set to nil by default, deprecate in favor
10800 of `term-face'.
10801 (term-default-bg-color): Set to nil by default, deprecate in favor
10802 of `term-face'.
10803 (term-current-face): Use `term-face' by default.
10804 (term-bold-attribute): Variable deleted.
10805
10806 2012-06-28 Glenn Morris <rgm@gnu.org>
10807
10808 * simple.el (completion-list-mode-finish):
10809 Don't use toggle-read-only. (Since completion-list-mode has
10810 a special mode-class, it wasn't doing anything extra anyway.)
10811
10812 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10813
10814 Make inlining of other-mode interpreted functions work (bug#11799).
10815 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10816 (byte-compile): Use it to fix compilation of lexical-binding closures.
10817 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10818 function, if needed.
10819
10820 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10821
10822 * help-mode.el (help-make-xrefs): Don't just withstand
10823 cyclic-variable-indirection but any error in documentation-property.
10824
10825 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10826 memory use.
10827 * bindings.el (bindings--define-key): New function.
10828 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10829 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10830 * bindings.el: Use it to purecopy define-key bindings.
10831
10832 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10833
10834 * emacs-lisp/cl.el (flet): Mark obsolete.
10835 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10836 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10837 * progmodes/js.el (js-c-fill-paragraph):
10838 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10839 (ebrowse-switch-member-buffer-to-derived-class):
10840 * play/5x5.el (5x5-solver): Use cl-flet.
10841
10842 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10843 (cl--symbol-function): New macro.
10844 (cl--letf, cl--letf*): Use it.
10845
10846 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10847 Strip "toggle-" if any.
10848
10849 2012-06-27 Glenn Morris <rgm@gnu.org>
10850
10851 * info.el (Info-default-directory-list): Move here from paths.el.
10852 * paths.el: Remove file, which is now empty.
10853 * loadup.el: No longer load "paths".
10854
10855 * custom.el (custom-initialize-delay): Doc fix.
10856
10857 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10858 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10859 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10860 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10861 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10862 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10863 * eshell/eshell.el (eshell-defgroup): Remove alias.
10864
10865 2012-06-27 Chong Yidong <cyd@gnu.org>
10866
10867 * help.el (help-enable-auto-load): New variable.
10868
10869 * help-fns.el (help-fns--autoloaded-p): New function.
10870 (describe-function-1): Refer to a function as "autoloaded" if it
10871 was autoloaded at any time in the past. Perform autoloading if
10872 help-enable-auto-load is non-nil.
10873
10874 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10875
10876 * makefile.w32-in (compile, compile-always): Depend on
10877 update-subdirs, not on subdirs.el. Otherwise, several different
10878 sub-targets of 'bootstrap' running in parallel could
10879 simultaneously write to subdirs.el, producing a garbled file.
10880
10881 2012-06-26 Sam Steingold <sds@gnu.org>
10882
10883 * files.el (file-name-base): New convenience function.
10884 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10885 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10886 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10887 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10888 * textmodes/ispell.el, textmodes/reftex-ref.el:
10889 * textmodes/tex-mode.el: Use it.
10890 Did not touch cedet and org because they are maintained elsewhere.
10891
10892 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10893
10894 * calendar/calendar.el (calendar-exit): Don't try to delete or
10895 iconify last frame. See:
10896 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10897
10898 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10899
10900 * server.el (server-process-filter): Remember dir in the
10901 process's `server-client-directory' properties.
10902
10903 2012-06-24 Chong Yidong <cyd@gnu.org>
10904
10905 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10906 non-tag text.
10907
10908 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10909
10910 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10911
10912 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10913
10914 * help-fns.el (describe-variable): Don't croak when doc is not found.
10915 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10916 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10917 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10918 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10919 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10920 ((lambda ..) ..).
10921 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10922
10923 2012-06-23 Chong Yidong <cyd@gnu.org>
10924
10925 * info.el (Info-mouse-follow-link): Accept symbol values of
10926 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10927 (Info-fontify-node): Use Info-link-keymap for all navigation
10928 buttons, with link-args property to perform the desired action.
10929 (Info-link-keymap): Doc fix.
10930 (Info-next-link-keymap, Info-prev-link-keymap)
10931 (Info-up-link-keymap): Delete now-unused keymaps.
10932
10933 2012-06-23 Chong Yidong <cyd@gnu.org>
10934
10935 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10936
10937 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10938 system abbrevs.
10939
10940 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10941
10942 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10943
10944 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10945 (bug#11719).
10946
10947 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10948 the requote function doesn't work properly (bug#11714).
10949
10950 2012-06-23 Glenn Morris <rgm@gnu.org>
10951
10952 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10953
10954 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10955
10956 Further GV/CL cleanups.
10957 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10958 gv-expander.
10959 (gv--defun-declaration): New function.
10960 (defun-declarations-alist): Use it.
10961 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10962 (gv-place): Autoload.
10963 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10964 original definition of dotimes and dolist.
10965 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10966 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10967 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10968 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10969 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10970 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10971 to the function's definition.
10972 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10973 * window.el:
10974 * files.el:
10975 * faces.el:
10976 * env.el: Don't use CL.
10977
10978 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10979
10980 Support higher-resolution time stamps (Bug#9000).
10981
10982 * calendar/time-date.el (with-decoded-time-value): New arg
10983 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10984 (encode-time-value): New optional arg PICO. New type 3.
10985 (time-to-seconds) [!float-time]: Support the new picoseconds
10986 component if it's used.
10987 (seconds-to-time, time-subtract, time-add):
10988 Support ps-resolution time stamps as well.
10989
10990 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10991 (timerp): Timer vectors now have length 9, not 8.
10992 (timer--time): Support new-style (4-part) time stamps.
10993 (timer-next-integral-multiple-of-time): Time stamps now have
10994 picosecond resolution, so take a bit more care about rounding.
10995 (timer-relative-time, timer-inc-time): New optional arg psecs.
10996 (timer-set-time-with-usecs): Set psecs to 0.
10997 (timer--activate): Check psecs component, too.
10998
10999 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11000
11001 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11002
11003 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11004 Move the non-essential binding to the post/pre-command-hook where it is
11005 more obviously correct.
11006
11007 * subr.el (read-passwd): Don't use a history at all.
11008 * savehist.el (savehist-save): Remove password saved accidentally
11009 because of the above bug.
11010
11011 2012-06-22 Bastien Guerry <bzg@gnu.org>
11012
11013 * files.el (toggle-read-only): Display a message telling whether
11014 the buffer is read-only or not (bug#11726).
11015
11016 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11017
11018 * emacs-lisp/gv.el: New file.
11019 * subr.el (push, pop): Extend to generalized variables.
11020 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11021 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11022 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11023 gv-define-simple-setter, and gv-define-expander.
11024 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11025 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11026 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11027 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11028 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11029 gv-letplace.
11030 (cl-defstruct): Don't define setf-method any more.
11031 * emacs-lisp/cl.el (flet): Don't autoload.
11032 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11033 (define-setf-expander, defsetf, define-modify-macro)
11034 (cl-struct-setf-expander): Move from cl-lib.el.
11035 * emacs-lisp/syntax.el:
11036 * emacs-lisp/ewoc.el:
11037 * emacs-lisp/smie.el:
11038 * emacs-lisp/cconv.el:
11039 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11040 (timer--time): Use gv-define-simple-setter.
11041 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11042 to avoid coding-system problems in subr.el. Adjust all users.
11043 (macroexp--maxsize, macroexp-small-p): New functions.
11044 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11045 * scroll-bar.el (scroll-bar-mode):
11046 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11047 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11048 * winner.el (winner-configuration, winner-make-point-alist)
11049 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11050 * files.el (locate-file-completion-table): Avoid list*.
11051
11052 2012-06-22 Chong Yidong <cyd@gnu.org>
11053
11054 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11055 (dired-create-files): Doc fix (Bug#11329).
11056 (dired-do-copy): Doc fix (Bug#11334).
11057 (dired-mark-read-string): Doc fix (Bug#11553).
11058
11059 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11060 Doc fix (Bug#11326).
11061 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11062 (dired-dwim-target): Doc fix.
11063
11064 * wdired.el (wdired-mode): Doc fix.
11065
11066 2012-06-22 Glenn Morris <rgm@gnu.org>
11067
11068 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11069 (pcmpl-rpm-cache-stamp-file): New constant.
11070 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11071 (pcmpl-rpm-packages): Optionally cache list of packages.
11072
11073 * pcmpl-rpm.el (pcmpl-rpm): New group.
11074 (pcmpl-rpm-query-options): New option.
11075 (pcmpl-rpm-packages): No need to inline it.
11076 Use pcmpl-rpm-query-options.
11077
11078 * calendar/calendar.el (calendar-in-read-only-buffer):
11079 Avoid some needless mode changes.
11080
11081 2012-06-21 Chong Yidong <cyd@gnu.org>
11082
11083 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11084 (desktop-path): Remove . from the default value (Bug#10977).
11085 (desktop-read): Use user-emacs-directory if desktop-path is nil.
11086
11087 2012-06-20 Chong Yidong <cyd@gnu.org>
11088
11089 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11090
11091 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11092
11093 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11094 (bug#11201).
11095
11096 2012-06-20 Chong Yidong <cyd@gnu.org>
11097
11098 * term.el (term-window-width): Handle the case of a missing right
11099 fringe (Bug#8837).
11100 (term-check-size): Use window-text-height (Bug#5445).
11101 (term-mode): Use define-derived-mode. Minor cleanups.
11102 Set font-lock-defaults (Bug#7692).
11103 (term-move-columns, term-insert-char, term-emulate-terminal)
11104 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11105
11106 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
11107
11108 * net/ange-ftp.el (ange-ftp-get-passwd):
11109 Bind `enable-recursive-minibuffers'.
11110 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11111
11112 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11113
11114 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11115
11116 2012-06-19 Glenn Morris <rgm@gnu.org>
11117
11118 * progmodes/python.el (python-mode): Derive from prog-mode.
11119
11120 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11121
11122 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11123 (edt-user-menu-bar-update-buffers): New functions.
11124 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11125
11126 2012-06-19 Chong Yidong <cyd@gnu.org>
11127
11128 * subr.el (with-selected-window): Preserve the selected window's
11129 terminal's top-frame (Bug#4702).
11130
11131 * window.el (save-selected-window): Likewise.
11132
11133 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11134
11135 * progmodes/python.el (python-rx-constituents): Move backquote.
11136 (python-skeleton-define, python-define-auxiliary-skeleton):
11137 Use `declare'.
11138
11139 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
11140
11141 * minibuffer.el (read-file-name-default): Revert the patch from
11142 2012-06-17.
11143
11144 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11145
11146 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11147 (pcase--u1, pcase--q1): Don't use apply-partially.
11148
11149 2012-06-18 Glenn Morris <rgm@gnu.org>
11150
11151 * progmodes/python.el (python-proc, python-buffer)
11152 (python-send-receive, python-send-string): Fix obsolete versions.
11153
11154 2012-06-18 Martin Rudalics <rudalics@gmx.at>
11155
11156 * window.el (special-display-p): Completely remove stringp
11157 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
11158
11159 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
11160
11161 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
11162
11163 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
11164
11165 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
11166 * net/tramp-sh.el (tramp-maybe-open-connection):
11167 Throw if `non-essential' is non-nil.
11168
11169 2012-06-17 Martin Rudalics <rudalics@gmx.at>
11170
11171 * window.el (special-display-p): Signal an error if BUFFER-NAME
11172 is not a string (Bug#11713).
11173
11174 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
11175
11176 * progmodes/python.el (python-info-beginning-of-backslash):
11177 Rename from python-info-beginning-of-backlash, as a spelling fix.
11178
11179 2012-06-17 Chong Yidong <cyd@gnu.org>
11180
11181 * term.el (term-emulate-terminal): If term-check-size is called,
11182 move point to the process mark without resetting point (Bug#4635).
11183
11184 2012-06-17 Glenn Morris <rgm@gnu.org>
11185
11186 * international/mule-cmds.el (mule-menu-keymap)
11187 (set-language-environment, set-locale-environment): Doc tweaks.
11188
11189 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
11190
11191 * cus-face.el (custom-face-attributes): Add wave-style underline
11192 attribute.
11193 * faces.el (set-face-attribute): Update docstring to describe
11194 wave-style underline attribute.
11195
11196 2012-06-16 Chong Yidong <cyd@gnu.org>
11197
11198 * term/xterm.el (terminal-init-xterm): Discard input before
11199 querying background mode (Bug#10959).
11200
11201 2012-06-16 Stefan Merten <smerten@oekonux.de>
11202
11203 * textmodes/rst.el: Added and corrected some comments.
11204 (rst-re-alist-def): Improve symbol syntax.
11205 (rst-mode-syntax-table): Correct syntax entries.
11206 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11207 (rst-official-version, rst-official-cvs-rev): Update version
11208 information.
11209
11210 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
11211
11212 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
11213 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
11214
11215 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11216
11217 * progmodes/python.el: New python.el merge.
11218 (python-guess-indent): Obsolete var.
11219 (python-indent-guess-indent-offset): New defcustom.
11220 (python-indent): Obsolete var.
11221 (python-indent-offset): New defcustom.
11222 (python-python-command, python-jython-command): Delete var.
11223 (python-shell-interpreter): New defcustom.
11224 (python-pdbtrack-do-tracking-p): Delete var.
11225 (python-pdbtrack-activate): New defcustom.
11226 (python-use-skeletons): Obsolete var.
11227 (python-skeleton-autoinsert): New defcustom.
11228 (inferior-python-filter-regexp, python-continuation-offset)
11229 (python-honour-comment-indentation, python-indent-string-contents)
11230 (python-jython-packages, python-mode-hook)
11231 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
11232 (python-shell-prompt-alist)
11233 (python-source-modes): Delete defcustoms.
11234 (python-check-buffer-name, python-eldoc-setup-code)
11235 (python-eldoc-string-code, python-ffap-setup-code)
11236 (python-ffap-string-code, python-fill-comment-function)
11237 (python-fill-decorator-function, python-fill-paren-function)
11238 (python-fill-string-function, python-imenu-include-defun-type)
11239 (python-imenu-make-tree, python-imenu-subtree-root-label)
11240 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
11241 (python-shell-compilation-regexp-alist)
11242 (python-shell-completion-module-string-code)
11243 (python-shell-completion-pdb-string-code)
11244 (python-shell-completion-setup-code)
11245 (python-shell-completion-string-code)
11246 (python-shell-enable-font-lock, python-shell-exec-path)
11247 (python-shell-extra-pythonpaths)
11248 (python-shell-internal-buffer-name, python-shell-interpreter-args)
11249 (python-shell-process-environment)
11250 (python-shell-prompt-block-regexp)
11251 (python-shell-prompt-output-regexp)
11252 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
11253 (python-shell-send-setup-max-wait, python-shell-setup-codes)
11254 (python-shell-virtualenv-path): New defcustoms.
11255 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
11256 (inferior-python-mode-syntax-table, python--prompt-regexp)
11257 (python-buffer, python-command python-python-command)
11258 (python-default-template, python-imports, python-indent-index)
11259 (python-indent-list, python-indent-list-length)
11260 (python-mode-running, python-pdbtrack-is-tracking-p)
11261 (python-preoutput-continuation, python-preoutput-leftover)
11262 (python-preoutput-result, python-preoutput-skip-next-prompt)
11263 (python-prev-dir/file, python-recursing)
11264 (python-saved-check-command, python-version-checked)
11265 (python-which-func-length-limit)
11266 (view-return-to-alist): Delete vars.
11267 (python-check-custom-command, python-dotty-syntax-table)
11268 (python-imenu-index-alist, python-indent-current-level)
11269 (python-indent-dedenters, python-indent-levels)
11270 (python-nav-beginning-of-defun-regexp)
11271 (python-nav-list-defun-positions-cache)
11272 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
11273 (python-shell-internal-buffer)
11274 (python-skeleton-available): New vars.
11275 (def-python-skeleton): Delete macro.
11276 (python-skeleton-define): New macro.
11277 (python-define-auxiliary-skeleton, python-rx): New macros.
11278 (python-insert-class): Delete command.
11279 (python-skeleton-class): New command.
11280 (python-insert-def): Delete command.
11281 (python-skeleton-def): New command.
11282 (python-insert-for): Delete command.
11283 (python-skeleton-for): New command.
11284 (python-insert-if): Delete command.
11285 (python-skeleton-if): New command.
11286 (python-insert-try/except, python-insert-try/finally): Delete commands.
11287 (python-skeleton-try): New command.
11288 (python-insert-while): Delete command.
11289 (python-skeleton-while): New command.
11290 (python-backspace): Delete command.
11291 (python-indent-dedent-line-backspace): New command.
11292 (python-electric-colon): Delete command.
11293 (python-indent-electric-colon): New command.
11294 (python-guess-indent): Delete command.
11295 (python-indent-guess-indent-offset): New command.
11296 (python-shift-left): Delete command.
11297 (python-indent-shift-left): New command.
11298 (python-shift-right): Delete command.
11299 (python-indent-shift-right): New command.
11300 (python-find-function): Delete command.
11301 (python-nav-jump-to-defun): New command.
11302 (python-next-statement): Delete command.
11303 (python-nav-forward-sentence): New command.
11304 (python-previous-statement): Delete command.
11305 (python-nav-backward-sentence): New command.
11306 (python-fill-paragraph): Delete command.
11307 (python-fill-paragraph-function): New command.
11308 (python-send-buffer): Delete command.
11309 (python-shell-send-buffer): New command.
11310 (python-send-defun): Delete command.
11311 (python-shell-send-defun): New command.
11312 (python-send-region, python-send-region-and-go): Delete commands.
11313 (python-shell-send-region)
11314 (python-shell-switch-to-shell): New commands.
11315 (python-send-string): Delete command.
11316 (python-shell-send-string): New command.
11317 (python-switch-to-python): Delete command.
11318 (python-shell-switch-to-shell): New command.
11319 (python-describe-symbol): Delete command.
11320 (python-eldoc-at-point): New command.
11321 (python--set-prompt-regexp, python-args-to-list)
11322 (python-after-info-look, python-check-version)
11323 (python-check-comint-prompt, python-find-imports)
11324 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
11325 (python-unload-function, python-expand-template)
11326 (python-maybe-jython, python-preoutput-filter)
11327 (python-pdbtrack-get-source-buffer)
11328 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
11329 (python-pdbtrack-toggle-stack-tracking)
11330 (python-pdbtrack-track-stack-file, python-initial-text)
11331 (python-first-word, python-comment-line-p, python-send-command)
11332 (python-setup-brm, python-sentinel, python-set-proc)
11333 (python-skip-out, python-input-filter, python-outdent-p)
11334 (python-outline-level, python-backslash-continuation-line-p)
11335 (python-end-of-block, python-end-of-statement, python-mark-block)
11336 (python-beginning-of-block, python-beginning-of-statement)
11337 (python-blank-line-p, python-beginning-of-string)
11338 (python-open-block-statement-p): Delete functions.
11339 (python-indent-line, python-indent-line-1): Delete functions.
11340 (python-indent-line): New function.
11341 (python-indentation-levels): Delete function.
11342 (python-indent-calculate-levels): New function.
11343 (python-proc): Delete function.
11344 (python-shell-get-process): New function.
11345 (python-send-receive): Delete function.
11346 (python-shell-send-string-no-output): New function.
11347 (python-module-path): Delete function.
11348 (python-ffap-module-path): New function.
11349 (python-completion-at-point)
11350 (python-symbol-completions): Delete functions.
11351 (python-completion-complete-at-point): New function.
11352 (python-load-file): Delete function.
11353 (python-shell-send-file): New function.
11354 (python-calculate-indentation): Delete function.
11355 (python-indent-calculate-indentation): New function.
11356 (python-skip-comments/blanks): Delete function.
11357 (python-util-forward-comment): New function.
11358 (python-continuation-line-p): Delete function.
11359 (python-info-continuation-line-p): New function.
11360 (python-which-func, python-current-defun): Delete function.
11361 (python-info-current-defun): New function.
11362 (python-beginning-of-defun): Delete function.
11363 (python-nav-beginning-of-defun): New function.
11364 (python-close-block-statement-p)
11365 (python-block-end-p): Delete function.
11366 (python-info-closing-block): New function.
11367 (python-comint-output-filter-function)
11368 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
11369 (python-fill-comment, python-fill-decorator, python-fill-paren)
11370 (python-fill-string, python-imenu-make-element-tree)
11371 (python-imenu-make-tree, python-imenu-tree-assoc)
11372 (python-indent-context, python-indent-dedent-line)
11373 (python-indent-line-function)
11374 (python-indent-post-self-insert-function)
11375 (python-indent-toggle-levels)
11376 (python-info-assignment-continuation-line-p)
11377 (python-info-beginning-of-backlash)
11378 (python-info-block-continuation-line-p)
11379 (python-info-closing-block-message)
11380 (python-info-line-ends-backslash-p)
11381 (python-info-looking-at-beginning-of-defun)
11382 (python-info-ppss-context, python-info-ppss-context-type)
11383 (python-nav-list-defun-positions, python-nav-read-defun)
11384 (python-nav-sentence-end, python-nav-sentence-start)
11385 (python-pdbtrack-comint-output-filter-function)
11386 (python-pdbtrack-set-tracked-buffer)
11387 (python-shell-calculate-exec-path)
11388 (python-shell-calculate-process-environment)
11389 (python-shell-completion--do-completion-at-point)
11390 (python-shell-completion--get-completions)
11391 (python-shell-completion-complete-at-point)
11392 (python-shell-completion-complete-or-indent)
11393 (python-shell-get-or-create-process)
11394 (python-shell-get-process-name)
11395 (python-shell-internal-get-or-create-process)
11396 (python-shell-internal-get-process-name)
11397 (python-shell-internal-send-string, python-shell-make-comint)
11398 (python-shell-parse-command, python-shell-send-setup-code)
11399 (python-skeleton-add-menu-items)
11400 (python-util-clone-local-variables, python-util-position)
11401 (run-python-internal, python-indentation-levels)
11402 (python-nav-beginning-of-defun)
11403 (python-completion-complete-at-point): New functions.
11404 (run-python): Change arguments. New API requirements.
11405
11406 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11407
11408 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11409 (bug#11649).
11410
11411 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11412 (macroexp--expand-all): Use it.
11413
11414 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11415 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11416 Use `cl-function' instead.
11417
11418 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
11419
11420 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11421 Suggested by Stefan Monnier while discussing bug#11657.
11422
11423 2012-06-14 Sam Steingold <sds@gnu.org>
11424
11425 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11426
11427 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11428
11429 * play/doctor.el (doctor-doc): Remove parameter and use
11430 doctor-sent instead of sent.
11431 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
11432
11433 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11434
11435 * files.el: Require cl-lib.
11436 (file-name-non-special): Replace case -> cl-case.
11437
11438 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11439
11440 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11441 mapping from #' to function*.
11442
11443 2012-06-13 Chong Yidong <cyd@gnu.org>
11444
11445 * mouse.el (mouse-drag-track): Do not set the mark if the user
11446 releases the mouse without selecting anything (Bug#11588).
11447
11448 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11449
11450 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11451 as well (bug#11646).
11452
11453 * loadup.el: Count byte-code functions as well.
11454
11455 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11456 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11457
11458 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11459 (bug#11649). Add cl-defun and cl-defmacro.
11460
11461 2012-06-13 Drew Adams <drew.adams@oracle.com>
11462
11463 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11464 Fix last change.
11465
11466 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
11467
11468 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11469 Otherwise, it blocks in batch mode.
11470
11471 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
11472
11473 * help-mode.el (bookmark-make-record-default): Declare.
11474
11475 2012-06-13 Chong Yidong <cyd@gnu.org>
11476
11477 * emacs-lisp/package.el (list-packages): Compute a list of
11478 packages that are newly-available since the last list-packages
11479 invocation.
11480 (package-menu--new-package-list): New var.
11481 (package-menu--generate, package-menu--print-info)
11482 (package-menu--status-predicate, package-menu-mark-install):
11483 Handle new status label "new".
11484
11485 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11486
11487 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11488 conversion to backquotes.
11489
11490 2012-06-12 Chong Yidong <cyd@gnu.org>
11491
11492 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11493 Rename from gud-inhibit-global-bindings.
11494
11495 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11496
11497 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11498 hook from nxml-glyph-set-hook.
11499
11500 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11501 declaration.
11502
11503 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11504
11505 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11506 Convert to defcustom.
11507
11508 2012-06-12 Drew Adams <drew.adams@oracle.com>
11509
11510 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11511 New functions.
11512 (help-mode): Use them.
11513
11514 2012-06-11 Glenn Morris <rgm@gnu.org>
11515
11516 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11517 Use preprocessor face for directives.
11518 (fortran-directive-re): Doc fix.
11519
11520 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11521
11522 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11523 conversion to backquotes (bug#11652).
11524
11525 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11526 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11527 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11528 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11529 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11530 (cl-ninth, cl-tenth): Mark them as inlinable.
11531 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11532 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11533 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11534 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11535 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11536 (cl-list*, cl-adjoin): Don't put an autoload manually.
11537 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11538 (cl--compiler-macro-list*): Add autoload cookie.
11539 (cl--compiler-macro-cXXr): New function.
11540
11541 * help-fns.el (help-fns--compiler-macro): New function extracted from
11542 describe-function-1; follow aliases and use `compiler-macro' property.
11543 (describe-function-1): Use it.
11544
11545 2012-06-11 Chong Yidong <cyd@gnu.org>
11546
11547 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11548 is uninstalled, if imagemagick is installed.
11549
11550 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11551
11552 * emacs-lisp/cl-lib.el: Use lexical-binding.
11553 (cl-map-extents, cl-maclisp-member): Remove.
11554 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11555 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11556 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11557 * emacs-lisp/cl-extra.el: Use lexical-binding.
11558 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11559 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11560 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11561 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11562 * emacs-lisp/cl-seq.el: Use lexical-binding.
11563 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11564 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11565 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11566 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11567 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11568 CL's internals.
11569
11570 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
11571
11572 Sync with Tramp 2.2.6-pre.
11573
11574 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11575 `print-length' and `print-level' to nil, in order to avoid
11576 truncation. Reported by Christopher Schmidt
11577 <christopher@ristopher.com>.
11578
11579 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11580
11581 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11582 New defmacro.
11583 (tramp-compat-copy-directory): Add optional argument
11584 COPY-CONTENTS. It is not handled yet.
11585
11586 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11587 (tramp-ftp-file-name-p): Simplify.
11588
11589 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11590 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11591 connection vector.
11592
11593 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11594 (tramp-methods): Do not use `tramp-password-end-of-line'.
11595 (tramp-completion-function-alist-putty): Handle UNIX case.
11596 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11597 (tramp-do-file-attributes-with-stat)
11598 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11599 gid as real numbers. They could run out of integer range on cygwin.
11600 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11601 (tramp-sh-handle-expand-file-name): Handle hops.
11602 (tramp-open-connection-setup-interactive-shell):
11603 Use `tramp-cleanup'. Move check for busyboxes ...
11604 (tramp-find-shell): ... here. Simplify implementation.
11605 Set "remote-shell" property also for alternative shells.
11606 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11607 If failing, a regular file would be written otherwise.
11608 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11609 (tramp-find-inline-encoding): Cache the coding commands in the
11610 process cache. Apply test command on the remote side, if defined.
11611 (tramp-find-inline-compress): Cache the compress commands in the
11612 process cache.
11613 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11614 when requested. Handle hops.
11615 (tramp-current-connection): New defvar.
11616 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11617 Throw `suppress', if there was a failed connection shortly before.
11618 Handle user interrupt. (Bug#10187)
11619 (tramp-get-inline-compress, tramp-get-inline-coding):
11620 Read connection properties from the process cache.
11621
11622 * net/tramp-smb.el (tramp-smb-server-version)
11623 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11624 New defconsts.
11625 (tramp-smb-prompt): Extend for powershell prompt.
11626 (tramp-smb-file-name-handler-alist): Add handlers for
11627 `process-file', `shell-command' and `start-file-process'.
11628 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11629 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11630 (tramp-smb-file-name-p): Simplify.
11631 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11632 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11633 (tramp-smb-shell-quote-argument): New defuns.
11634 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11635 Implement using "tar". By this, time-stamps are preserved.
11636 (tramp-smb-handle-copy-file): Handle also the case of directories.
11637 (tramp-smb-do-file-attributes-with-stat)
11638 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11639 Use `tramp-get-connection-buffer').
11640 (tramp-smb-handle-rename-file): Use "rename", when source and
11641 target are on the same share.
11642 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11643 Use `tramp-smb-server-version'.
11644 (tramp-smb-wait-for-output): Remove prompt.
11645
11646 * net/tramp.el (top): Require 'cl.
11647 (tramp-methods, tramp-rsh-end-of-line):
11648 Remove `tramp-password-end-of-line' from docstring.
11649 (tramp-save-ad-hoc-proxies): New defcustom.
11650 (tramp-completion-function-alist): Adapt docstring.
11651 (tramp-default-password-end-of-line): Remove defcustom.
11652 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11653 (tramp-user-regexp, tramp-file-name-regexp-unified)
11654 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11655 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11656 (tramp-remote-file-name-spec-regexp): New defconst.
11657 (tramp-file-name-structure): Extend structure for hops.
11658 (tramp-get-method-parameter): Move up.
11659 (tramp-file-name-p, tramp-dissect-file-name)
11660 (with-parsed-tramp-file-name): Handle hops.
11661 (tramp-file-name-hop): New defun.
11662 (tramp-make-tramp-file-name): New optional arg HOP.
11663 (tramp-message-show-progress-reporter-message): New defvar.
11664 (tramp-with-progress-reporter): Use it. We cannot use
11665 `tramp-message-show-message' here, because this suppresses also
11666 error buffers.
11667 (tramp-error-with-buffer): Suppress buffer view, if
11668 `tramp-message-show-message' is nil.
11669 Use `tramp-get-connection-buffer'.
11670 (tramp-cleanup): New defun.
11671 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11672 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11673 an error unchanged.
11674 (tramp-completion-handle-file-name-all-completions): Handle hops.
11675 Fix an error when called from ido.
11676 (tramp-completion-dissect-file-name): Use better local variable
11677 name. Add hop to the vector.
11678 (tramp-handle-insert-file-contents): Use progress-reporter for the
11679 whole scenario.
11680 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11681 to `t'.
11682 (tramp-check-for-regexp): Simplify search.
11683 (tramp-enter-password): Remove it. Move implementation ...
11684 (tramp-action-password): ... here.
11685 (tramp-mode-string-to-int, tramp-local-host-p)
11686 (tramp-make-tramp-temp-file, tramp-read-passwd)
11687 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11688 Set tramp-autoload cookie.
11689
11690 * net/trampver.el: Update release number.
11691
11692 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11693 Michael Albinus <michael.albinus@gmx.de>
11694
11695 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11696 (tramp-parse-group, tramp-parse-file)
11697 (tramp-parse-shostkeys-sknownhosts): New defuns.
11698 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11699 (tramp-parse-shosts-group, tramp-parse-sconfig)
11700 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11701 (tramp-parse-sknownhosts, tramp-parse-hosts)
11702 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11703 Use them.
11704 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11705 (tramp-parse-putty-group): Don't narrow.
11706 (tramp-parse-putty): Make a loop.
11707 (tramp-file-name-handler): Catch the `suppress' signal.
11708
11709 2012-06-11 Chong Yidong <cyd@gnu.org>
11710
11711 * image.el (imagemagick-register-types): Put the ImageMagick entry
11712 at the end of image-type-file-name-regexps.
11713
11714 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
11715
11716 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11717 (pcase, pcase-let*, pcase-dolist): Use them.
11718
11719 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11720
11721 * emacs-lisp/pcase.el (pcase--let*): New function.
11722 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11723 (pcase--expand): Use macroexp-let².
11724
11725 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11726
11727 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11728 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11729 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11730 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11731 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11732 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11733
11734 2012-06-10 Glenn Morris <rgm@gnu.org>
11735
11736 * mail/rmail.el (rmail-yank-current-message): Leave point at
11737 correct position. (Bug#11660)
11738
11739 2012-06-10 Chong Yidong <cyd@gnu.org>
11740
11741 * allout-widgets.el: Fix code header.
11742
11743 2012-06-10 Chong Yidong <cyd@gnu.org>
11744
11745 * cus-edit.el (customize-changed-options-previous-release):
11746 Bump to 24.1.
11747
11748 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11749
11750 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11751
11752 2012-06-09 Chong Yidong <cyd@gnu.org>
11753
11754 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11755
11756 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11757
11758 * window.el (special-display-popup-frame): Don't use
11759 window--display-buffer (Bug#11651).
11760
11761 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11762
11763 Fix parallel builds: make sure loaddefs.el is not being written
11764 while Lisp files are compiled.
11765 (compile): Don't depend on 'mh-autoloads'.
11766 (compile-CMD, compile-SH): Depend on 'autoloads'.
11767 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11768
11769 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11770
11771 2012-06-09 Chong Yidong <cyd@gnu.org>
11772
11773 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11774 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11775 Doc fixes (Bug#11225).
11776
11777 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11778
11779 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11780 a function if there's a clear indication that it has a compiler-macro.
11781 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11782 (macro-declarations-alist): Add arglist to declaration functions.
11783 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11784 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11785 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11786 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11787 Also add autoload to find the compiler macro.
11788 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11789 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11790 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11791 (cl--compiler-macro-get): New functions, replacing calls to
11792 cl-define-compiler-macro.
11793 (cl-typep) [compiler-macro]: Use macroexp-let².
11794
11795 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11796
11797 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11798 string properly, fixes Bug#11473.
11799
11800 2012-06-08 Chong Yidong <cyd@gnu.org>
11801
11802 * faces.el (set-face-attribute): Doc fix.
11803 (modify-face): Don't use :bold and :italic.
11804 (error, warning, success): Tweak definitions.
11805
11806 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11807 (custom-modified, custom-set, custom-changed, custom-themed)
11808 (custom-saved, custom-button, custom-button-mouse)
11809 (custom-button-pressed, custom-state, custom-comment-tag)
11810 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11811 (custom-group-subtitle): Use new-style face specs.
11812 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11813 (custom-set-face, custom-changed-face, custom-saved-face)
11814 (custom-button-face, custom-button-pressed-face)
11815 (custom-documentation-face, custom-state-face)
11816 (custom-comment-face, custom-comment-tag-face)
11817 (custom-variable-tag-face, custom-variable-button-face)
11818 (custom-face-tag-face, custom-group-tag-face-1)
11819 (custom-group-tag-face): Remove obsolete face alias.
11820
11821 * epa.el (epa-validity-high, epa-validity-medium)
11822 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11823 (epa-field-name, epa-field-body):
11824 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11825 (font-lock-keyword-face, font-lock-builtin-face)
11826 (font-lock-function-name-face, font-lock-variable-name-face)
11827 (font-lock-type-face, font-lock-constant-face):
11828 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11829 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11830 * speedbar.el (speedbar-button-face, speedbar-file-face)
11831 (speedbar-directory-face, speedbar-tag-face)
11832 (speedbar-selected-face, speedbar-highlight-face)
11833 (speedbar-separator-face):
11834 * whitespace.el (whitespace-newline, whitespace-space)
11835 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11836 (whitespace-line, whitespace-space-before-tab)
11837 (whitespace-space-after-tab, whitespace-indentation)
11838 (whitespace-empty):
11839 * emulation/cua-base.el (cua-global-mark):
11840 * eshell/em-prompt.el (eshell-prompt):
11841 * net/newst-plainview.el (newsticker-new-item-face)
11842 (newsticker-old-item-face, newsticker-immortal-item-face)
11843 (newsticker-obsolete-item-face, newsticker-date-face)
11844 (newsticker-statistics-face, newsticker-default-face):
11845 * net/newst-reader.el (newsticker-feed-face)
11846 (newsticker-extra-face, newsticker-enclosure-face):
11847 * net/newst-treeview.el (newsticker-treeview-face)
11848 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11849 (newsticker-treeview-immortal-face)
11850 (newsticker-treeview-obsolete-face)
11851 (newsticker-treeview-selection-face):
11852 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11853 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11854 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11855 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11856 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11857 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11858 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11859 (mpuz-text):
11860 * progmodes/vera-mode.el (vera-font-lock-number)
11861 (vera-font-lock-function, vera-font-lock-interface):
11862 * textmodes/table.el (table-cell): Use new-style face specs, and
11863 don't use the old :bold and :italic attributes.
11864
11865 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11866 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11867 (ebrowse-member-class, ebrowse-progress): Likewise.
11868 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11869 (ebrowse-file-name-face, ebrowse-default-face)
11870 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11871 (ebrowse-progress-face): Remove obsolete faces.
11872
11873 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11874 Inherit from error and warning faces respectively.
11875
11876 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11877 Likewise.
11878 (flyspell-incorrect-face, flyspell-duplicate-face):
11879 Remove obsolete aliases.
11880
11881 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11882
11883 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11884 Avoid infloop.
11885
11886 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11887
11888 * startup.el (argv, argi): Make lexically scoped.
11889 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11890 * emacs-lisp/cl-macs.el: Use lexical-binding.
11891 Rename cl-bind-* to cl--bind-*.
11892 * files.el: Don't require `cl' since it doesn't use it.
11893 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11894
11895 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11896
11897 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11898 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11899 instead of calling external sort utility.
11900 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11901
11902 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11903
11904 * descr-text.el (describe-char): Mention how to insert the
11905 character, if the current input method doesn't support it.
11906 See the discussion in this thread for the details:
11907 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11908
11909 2012-06-08 Sam Steingold <sds@gnu.org>
11910
11911 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11912 XF86Back to previous-buffer.
11913 (minibuffer-local-map): Bind them to next-history-element and
11914 previous-history-element respectively.
11915 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11916 help-go-back respectively.
11917 * info.el (Info-mode-map): Bind them to Info-history-forward and
11918 Info-history-back respectively.
11919 These are the keys next to Up on the ThinkPad keyboard.
11920
11921 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11922
11923 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11924 * emacs-lisp/cl-macs.el: Provide itself.
11925 (cl--labels-convert-cache): New var.
11926 (cl--labels-convert): New function.
11927 (cl-flet, cl-labels): New implementation with new semantics, relying on
11928 lexical-binding.
11929 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11930 (cl-closure-vars, cl--function-convert-cache)
11931 (cl--function-convert): Move from cl-macs.el.
11932 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11933 rename by removing the "cl-" prefix.
11934 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11935
11936 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11937
11938 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11939 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11940 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11941 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11942 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11943 (cl-hash-table-count): Add old compatibility aliases.
11944
11945 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11946 Use macroexpand-all-environment instead.
11947 (cl--old-macroexpand): New var.
11948 (cl--sm-macroexpand): New function.
11949 (cl-symbol-macrolet): Use it during macro expansion.
11950 (cl--function-convert-cache): New var.
11951 (cl--function-convert): New function, extracted from
11952 cl-macroexpand-all.
11953 (cl-lexical-let): Use it.
11954
11955 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11956 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11957 (cl-member): Remove old alias.
11958
11959 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11960 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11961 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11962 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11963 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11964 (cl-macroexpand-cmacs): Remove var.
11965 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11966 Use macroexpand-all instead.
11967
11968 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11969
11970 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11971 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11972 (macroexp-copyable-p): New functions and macros.
11973 * emacs-lisp/edebug.el (edebug-unwrap):
11974 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11975 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11976 (pcase--let*): Remove.
11977 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11978 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11979 macroexp-const-p instead.
11980 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11981
11982 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11983 instead of "cl-" for internal definitions. Use macroexp-const-p.
11984 (cl-old-bc-file-form): Remove var.
11985 (cl-const-exprs-p): Remove fun.
11986 (cl-labels, cl-macrolet): Use backquote.
11987 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11988 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11989 (cl-define-setf-expander): Rename from cl-define-setf-method.
11990 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11991
11992 * international/mule-cmds.el: Don't require CL.
11993 (view-hello-file): Don't use `letf'.
11994
11995 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11996
11997 * tmm.el (tmm-prompt): Use string-prefix-p.
11998 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11999 (tmm-add-prompt): Use minibuffer-completion-help.
12000 (tmm-delete-map): Remove.
12001
12002 * subr.el (kbd): Make it its own function.
12003
12004 2012-06-07 Stefan Merten <smerten@oekonux.de>
12005
12006 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12007 Silence compiler warnings. Fix versions.
12008 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12009 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12010 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12011 (rst-package-emacs-version-alist): Correct Emacs version to
12012 represent major merge with upstream.
12013 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12014
12015 2012-06-06 Glenn Morris <rgm@gnu.org>
12016
12017 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12018 Only print environment variables if set.
12019
12020 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12021
12022 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12023 (macroexp--cons): Rename from maybe-cons.
12024 (macroexp--accumulate): Rename from macroexp-accumulate.
12025 (macroexp--all-forms): Rename from macroexpand-all-forms.
12026 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12027 (macroexp--expand-all): Rename from macroexpand-all-1.
12028
12029 2012-06-06 Sam Steingold <sds@gnu.org>
12030
12031 * calendar/calendar.el (calendar-in-read-only-buffer):
12032 Call `special-mode' to enable the standard read-only keybindings.
12033
12034 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12035
12036 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12037 with "loading" messages (bug#11635).
12038
12039 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12040
12041 * files.el (enable-remote-dir-locals): New option.
12042 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12043
12044 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12045 Ensure, that the temp directory is local.
12046
12047 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12048 `temporary-file-directory'.
12049
12050 * progmodes/python.el (python-send-region): Ensure, that the
12051 temporary file is created also in the remote case.
12052
12053 2012-06-06 Glenn Morris <rgm@gnu.org>
12054
12055 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12056 (vc-rcs-update-changelog): Use it.
12057
12058 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12059
12060 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12061 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12062 (vc-sccs-diff): Replace use of the external vcdiff script.
12063
12064 2012-06-05 Glenn Morris <rgm@gnu.org>
12065
12066 * ledit.el: Move to obsolete/.
12067
12068 2012-06-05 Sam Steingold <sds@gnu.org>
12069
12070 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12071 patch (Bug#11140).
12072
12073 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12074
12075 * emacs-lisp/cust-print.el: Move to obsolete.
12076
12077 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12078 compiler-macro expansion.
12079
12080 Add native compiler-macro support.
12081 * emacs-lisp/macroexp.el (macroexpand-all-1):
12082 Support compiler-macros directly. Properly follow aliases and apply
12083 the compiler macros more thoroughly.
12084 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12085 macroexpand now properly follows aliases.
12086 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12087 (cl-compiler-macroexpand): Use new prop.
12088 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12089
12090 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12091
12092 2012-06-05 Martin Rudalics <rudalics@gmx.at>
12093
12094 * window.el (get-lru-window, get-mru-window, get-largest-window):
12095 New argument NOT-SELECTED to avoid picking the selected window.
12096 (window--display-buffer-1, window--display-buffer-2): Replace by
12097 new function window--display-buffer
12098 (display-buffer-same-window, display-buffer-reuse-window)
12099 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12100 Use window--display-buffer.
12101 (display-buffer-use-some-window): Remove temporary dedication
12102 hack by calling get-lru-window and get-largest-window with
12103 NOT-SELECTED argument non-nil. Call window--display-buffer.
12104
12105 2012-06-05 Glenn Morris <rgm@gnu.org>
12106
12107 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12108 Replace external vcdiff script.
12109
12110 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12111
12112 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12113
12114 2012-06-04 Chong Yidong <cyd@gnu.org>
12115
12116 * image.el (imagemagick-types-inhibit): Revert last change.
12117 Add INFO and M.
12118 (imagemagick-enabled-types): Remove CIN and EPS*.
12119
12120 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12121
12122 * emacs-lisp/cl-lib.el: Rename from cl.el.
12123 * emacs-lisp/cl.el: New compatibility file.
12124 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12125 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12126 to obey the "cl-" prefix.
12127 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12128
12129 2012-06-03 Glenn Morris <rgm@gnu.org>
12130
12131 * emacs-lisp/authors.el (authors-aliases): Addition.
12132
12133 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12134 Fix :version.
12135
12136 2012-06-03 Stefan Merten <smerten@oekonux.de>
12137
12138 * textmodes/rst.el: Add comments.
12139 (rst-transition, rst-adornment): New faces.
12140 (rst-adornment-faces-alist): Make default safe to reevaluate.
12141 Fixes
12142 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12143 Improve customization tags.
12144 (rst-define-level-faces): Clarify meaning.
12145
12146 2012-06-03 Chong Yidong <cyd@gnu.org>
12147
12148 * progmodes/compile.el (compilation-mode-line-fail)
12149 (compilation-mode-line-run, compilation-mode-line-exit):
12150 New faces.
12151 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12152
12153 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
12154
12155 * progmodes/which-func.el (which-func-update-ediff-windows):
12156 New function. Use it in ediff-select-hook (Bug#11478).
12157
12158 2012-06-03 Chong Yidong <cyd@gnu.org>
12159
12160 * bindings.el: Remove explicit help text from format-mode-line.
12161 It is now supplied by mode-line-default-help-echo.
12162 (mode-line-front-space, mode-line-end-spaces)
12163 (mode-line-misc-info): New variables.
12164 (mode-line-modes, mode-line-position): Move the default value to
12165 the variable definition.
12166 (mode-line-default-help-echo): New defcustom.
12167 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
12168 (mode-line-modified-help-echo): New functions.
12169 (mode-line-mule-info, mode-line-modified): Use them.
12170 (mode-line-eol-desc, propertized-buffer-identification):
12171 Consistency fixes for help text.
12172 (mode-line-coding-system-map): Allow using mouse-3 to invoke
12173 set-buffer-file-coding-system (Bug#289).
12174 (mode-line-mule-info-help-echo): Update help text.
12175
12176 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12177
12178 * simple.el (execute-extended-command): Set real-this-command
12179 (bug#11506).
12180
12181 2012-06-02 Chong Yidong <cyd@gnu.org>
12182
12183 Remove incorrect uses of "modeline" in comments, docstrings, and
12184 function/variable names (Bug#10329).
12185
12186 * cus-edit.el (mode-line):
12187 * dframe.el (dframe-mouse-hscroll):
12188 * emacs-lisp/re-builder.el:
12189 * emacs-lisp/easy-mmode.el (define-minor-mode):
12190 * frame.el (set-frame-name):
12191 * help.el (lookup-minor-mode-from-indicator):
12192 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
12193 * progmodes/cc-cmds.el (c-toggle-auto-newline)
12194 (c-toggle-hungry-state):
12195 * progmodes/antlr-mode.el (antlr-language-alist):
12196 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
12197 * progmodes/vhdl-mode.el (vhdl-mode):
12198 * progmodes/which-func.el (which-func, which-func-cleanup-function):
12199 * term/ns-win.el (ns-face-at-pos):
12200 * term/sup-mouse.el (sup-mouse-report):
12201 * textmodes/flyspell.el (flyspell-mode-line-string):
12202 * textmodes/ispell.el (ispell-highlight-face):
12203 * textmodes/reftex-global.el:
12204 * vc/vc-arch.el (vc-arch-mode-line-string):
12205 * vc/vc-cvs.el (vc-cvs-mode-line-string):
12206 * vc/vc-git.el (vc-git-mode-line-string):
12207 * vc/vc-hooks.el (vc-display-status)
12208 (vc-default-mode-line-string):
12209 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
12210
12211 * ansi-color.el (ansi-color-faces-vector): Change default faces.
12212
12213 * dired.el (dired-sort-set-mode-line): Rename from
12214 dired-sort-set-modeline. All callers changed.
12215
12216 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
12217 eshell-status-in-modeline.
12218
12219 * foldout.el (foldout-mode-line-string): Rename from
12220 foldout-modeline-string. All callers changed.
12221 (foldout-update-mode-line): Rename from foldout-update-modeline.
12222
12223 * subr.el (redraw-modeline): Make into obsolete alias.
12224
12225 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
12226 timeclock-modeline-display. Make old name an alias.
12227 (timeclock-update-mode-line): Likewise. All callers changed.
12228 (timeclock-mode-line-display): No need to check before using
12229 add-hook.
12230 (timeclock-relative, timeclock-day-over-hook)
12231 (timeclock-use-elapsed, timeclock-mode-string)
12232 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
12233
12234 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
12235 crisp-mode-modeline-string.
12236
12237 * play/solitaire.el (solitaire-build-mode-line): Rename from
12238 solitaire-build-modeline. All callers changed.
12239
12240 * play/zone.el (zone-hiding-mode-line): Rename from
12241 zone-hiding-modeline. All callers changed.
12242 (zone): Remove unusued `modeline-hidden-level' property.
12243
12244 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
12245 xscheme-modeline-initialize. All callers changed.
12246
12247 * strokes.el (strokes-lighter): Rename from
12248 strokes-modeline-string.
12249
12250 * textmodes/sgml-mode.el (html-face-tag-alist)
12251 (html-tag-face-alist): Use mode-line face instead of obsolete
12252 alias modeline.
12253
12254 2012-06-02 Stefan Merten <smerten@oekonux.de>
12255
12256 * textmodes/rst.el: Always require `cl'.
12257 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
12258
12259 2012-06-02 Chong Yidong <cyd@gnu.org>
12260
12261 * image.el (imagemagick-enabled-types): Rename from
12262 imagemagick-types-enable. Add many more types.
12263 (imagemagick-types-inhibit): Change default to nil.
12264 (imagemagick-filter-types): Caller changed.
12265
12266 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12267
12268 * emacs-lisp/cl-macs.el: Use backquotes.
12269 (cl-transform-function-property): Use eval-and-compile rather than
12270 abusing `require'.
12271 (defstruct): Use declare-function instead of with-no-warnings.
12272
12273 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
12274 (byte-compile-output-docform): Re-add the print-circle bindings.
12275 (byte-compile-fix-header): Use #$ just because it's shorter.
12276 (byte-compile-output-file-form): Remove defun/defmacro.
12277
12278 2012-06-01 Martin Rudalics <rudalics@gmx.at>
12279
12280 * simple.el (choose-completion): Remove now obsolete binding for
12281 owindow.
12282
12283 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
12284
12285 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
12286 in order to avoid "Stack overflow in regexp matcher".
12287
12288 2012-05-31 Glenn Morris <rgm@gnu.org>
12289
12290 * image.el: For clarity, call imagemagick-register-types at
12291 top-level, rather than relying on a custom :initialize.
12292 (imagemagick-types-enable): New option. (Bug#11557)
12293 (imagemagick-filter-types): New function. (Bug#7406)
12294 (imagemagick-register-types): Use imagemagick-filter-types.
12295 If disabling support, remove elements altogether rather
12296 than using an impossible regexp.
12297 (imagemagick-types-inhibit): Give it the default init function.
12298
12299 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12300
12301 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
12302 Handle arbitrary file name lengths (Bug#11585).
12303
12304 2012-05-31 Martin Rudalics <rudalics@gmx.at>
12305
12306 * desktop.el (desktop-read): Clear previous and next buffers for
12307 all windows and bury *Messages* buffer (bug#11556).
12308
12309 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12310
12311 Add `declare' for `defun'. Align `defmacro's with it.
12312 * emacs-lisp/easy-mmode.el (define-minor-mode)
12313 (define-globalized-minor-mode): Don't autoload the var definitions.
12314 * emacs-lisp/byte-run.el: Use lexical-binding.
12315 (defun-declarations-alist, macro-declarations-alist): New vars.
12316 (defmacro, defun): Use them.
12317 (make-obsolete, define-obsolete-function-alias)
12318 (make-obsolete-variable, define-obsolete-variable-alias):
12319 Use `declare'.
12320 (macro-declaration-function): Mark obsolete.
12321 * emacs-lisp/autoload.el: Use lexical-binding.
12322 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
12323
12324 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12325
12326 * textmodes/ispell.el (ispell-with-no-warnings):
12327 Define as a macro.
12328 (ispell-kill-ispell, ispell-change-dictionary):
12329 Use `called-interactively-p' for Emacs instead of obsolete
12330 `interactive-p'.
12331
12332 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12333
12334 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
12335 (macro-declaration-function): Move var from C code.
12336 (macro-declaration-function): Define function with defalias.
12337 * emacs-lisp/macroexp.el (macroexpand-all-1):
12338 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
12339 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
12340 defun/defmacro any more.
12341 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
12342 Provide fallback for unknown arglist.
12343 (byte-compile-arglist-warn): Change calling convention.
12344 (byte-compile-output-file-form): Move print-vars binding.
12345 (byte-compile-output-docform): Simplify accordingly.
12346 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
12347 (byte-compile-defmacro-declaration): Remove.
12348 (byte-compile-file-form-defmumble): Generalize to defalias.
12349 (byte-compile-output-as-comment): Return byte-positions.
12350 Simplify callers accordingly.
12351 (byte-compile-lambda): Use `assert'.
12352 (byte-compile-defun, byte-compile-defmacro): Remove.
12353 (byte-compile-file-form-defalias):
12354 Use byte-compile-file-form-defmumble.
12355 (byte-compile-defalias-warn): Remove.
12356
12357 2012-05-29 Stefan Merten <smerten@oekonux.de>
12358
12359 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
12360 possible. Fix authors. Improve comments. Improve loading of `cl'.
12361
12362 (rst-mode-abbrev-table): Merge definition.
12363 (rst-mode): Make sure `font-lock-defaults' is buffer local.
12364 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
12365
12366 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
12367
12368 * calendar/icalendar.el
12369 (icalendar-export-region): Export UID properly.
12370
12371 2012-05-29 Leo Liu <sdl.web@gmail.com>
12372 * calendar/icalendar.el (icalendar-import-format):
12373 Add `icalendar-import-format-uid' (Bug#11525).
12374 (icalendar-import-format-uid): New.
12375 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
12376 Export UID.
12377
12378 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12379
12380 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
12381 different alternative patterns.
12382 (pcase-codegen): Be more careful to preserve identity.
12383 (pcase--u1): Don't forget to mark vars as used.
12384
12385 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
12386 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
12387 (byte-compile-from-buffer): ...rather than here.
12388
12389 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
12390 functions from byte-compile-function-environment.
12391
12392 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
12393
12394 * window.el (window-deletable-p): Avoid deleting the root window
12395 of a frame with an active minibuffer.
12396
12397 2012-05-29 Martin Rudalics <rudalics@gmx.at>
12398
12399 * simple.el (choose-completion): Use quit-window (Bug#11567).
12400
12401 2012-05-29 Chong Yidong <cyd@gnu.org>
12402
12403 * whitespace.el (whitespace-cleanup): Fix usage of
12404 whitespace-empty-at-bob-regexp (Bug#11492).
12405
12406 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12407
12408 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12409 revert (Bug#11488).
12410
12411 2012-05-29 Juri Linkov <juri@jurta.org>
12412
12413 * isearch.el (isearch-mode-map): Bind `M-s _' to
12414 `isearch-toggle-symbol'. Bind `M-s c' to
12415 `isearch-toggle-case-fold'.
12416 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12417 (isearch-forward): Add `M-s _' to the docstring.
12418 (isearch-forward-symbol, isearch-toggle-case-fold)
12419 (isearch-symbol-regexp): New functions. (Bug#11381)
12420
12421 2012-05-29 Juri Linkov <juri@jurta.org>
12422
12423 * isearch.el (isearch-word): Add docstring. (Bug#11381)
12424 (isearch-occur, isearch-search-and-update): If `isearch-word' is
12425 a function, call it to get the regexp.
12426 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12427 property `isearch-message-prefix' instead of the string "word ".
12428 (isearch-search-fun-default): For the case of `isearch-word',
12429 return a lambda that calls re-search-forward/re-search-backward
12430 with a regexp returned by `word-search-regexp' or by the function
12431 in `isearch-word'.
12432
12433 2012-05-29 Juri Linkov <juri@jurta.org>
12434
12435 * isearch.el (isearch-search-fun-default): New function.
12436 (isearch-search-fun): Move default part to the new function
12437 `isearch-search-fun-default'.
12438 (isearch-search-fun-function): Set the default value to
12439 `isearch-search-fun-default'. (Bug#11381)
12440
12441 * comint.el (comint-history-isearch-end):
12442 Use `isearch-search-fun-default'.
12443 (comint-history-isearch-search): Use `isearch-search-fun-default'
12444 and remove spacial case for `isearch-word'.
12445 (comint-history-isearch-wrap): Remove spacial case for
12446 `isearch-word'.
12447
12448 * hexl.el (hexl-isearch-search-function):
12449 Use `isearch-search-fun-default'.
12450
12451 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12452 Use `word-search-regexp' for `isearch-word'.
12453
12454 * misearch.el (multi-isearch-search-fun):
12455 Use `isearch-search-fun-default'.
12456
12457 * simple.el (minibuffer-history-isearch-search):
12458 Use `isearch-search-fun-default' and remove spacial case for
12459 `isearch-word'.
12460 (minibuffer-history-isearch-wrap): Remove spacial case for
12461 `isearch-word'.
12462
12463 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12464 Remove spacial case for `isearch-word'.
12465 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12466
12467 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12468
12469 Decrease XEmacs incompatibilities.
12470 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12471 Use `string-match'.
12472 (flyspell-delete-region-overlays): Use alternative definition for
12473 XEmacs.
12474 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12475 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12476 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12477 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12478 `define-obsolete-face-alias' under XEmacs, but old method.
12479
12480 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12481 `with-no-warnings' definition or Emacs alias.
12482 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12483 (ispell-word): Do not use `region-p' if XEmacs.
12484
12485 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12486
12487 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12488 Check for `ispell-dictionary-base-alist' instead of full
12489 `ispell-dictionary-alist'.
12490 (ispell-init-process): Show spellchecker when starting new Ispell
12491 process.
12492
12493 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12494
12495 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12496 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12497
12498 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
12499
12500 * version.el (motif-version-string, gtk-version-string)
12501 (ns-version-string): Declare.
12502
12503 2012-05-27 Juri Linkov <juri@jurta.org>
12504
12505 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12506 after the `eval-defun-1' specialcaseing
12507 like in `edebug-eval-defun' (bug#10181).
12508
12509 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12510 like in `eval-defun-1'.
12511
12512 2012-05-27 Eli Zaretskii <eliz@gnu.org>
12513
12514 * mail/sendmail.el (mail-yank-region):
12515 Recognize rmail-yank-current-message in addition to insert-buffer.
12516 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12517 a *mail* buffer created through rmail-start-mail with sendmail as
12518 mail-user-agent.
12519
12520 2012-05-27 Chong Yidong <cyd@gnu.org>
12521
12522 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12523 Default to 256 (Bug#11267).
12524
12525 * help.el (describe-mode): Doc fix.
12526
12527 2012-05-26 Glenn Morris <rgm@gnu.org>
12528
12529 * w32-fns.el (w32-init-info): Remove.
12530 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12531
12532 * info.el (info-initialize): For self-contained NS builds, put the
12533 included info/ directory at the front. (Bug#2791)
12534
12535 * paths.el (Info-default-directory-list): Make it a defcustom,
12536 mainly so that we can use custom-initialize-delay.
12537
12538 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12539
12540 * subr.el (buffer-has-markers-at): Mark obsolete.
12541
12542 * subr.el (lambda): Use declare.
12543
12544 * emacs-lisp/lisp-mode.el (lambda):
12545 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12546
12547 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12548
12549 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12550
12551 2012-05-26 Glenn Morris <rgm@gnu.org>
12552
12553 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12554
12555 2012-05-25 Glenn Morris <rgm@gnu.org>
12556
12557 * paths.el: Remove no-byte-compile.
12558 * loadup.el: No need to load paths.el uncompiled.
12559
12560 * image.el (imagemagick-types-inhibit): Doc fix.
12561
12562 * version.el: Remove no-byte-compile and associated formatting.
12563 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12564 is ancient code from when there was an "inc-vers.el".
12565
12566 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12567
12568 * progmodes/gdb-mi.el: Minor style changes.
12569 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12570 Turn into minor modes.
12571 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12572 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12573 (gdb-shell): Remove unneeded let-binding.
12574 (gdb-get-many-fields): Eliminate O(n²) behavior.
12575
12576 2012-05-25 Eli Zaretskii <eliz@gnu.org>
12577
12578 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12579 platforms that don't link in fontset.c.
12580
12581 2012-05-25 Juri Linkov <juri@jurta.org>
12582
12583 Use the same diff color scheme as in modern VCSes (bug#10181).
12584
12585 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12586 to avoid confusion with `diff-added' that now uses green colors.
12587 (diff-removed): Use shades of red.
12588 (diff-added): Use shades of green.
12589 (diff-changed): Leave just the yellow color.
12590 (diff-use-changed-face): New variable.
12591 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12592 how to highlight context diff changes.
12593 (diff-refine-change): Use shades of yellow.
12594 (diff-refine-removed): New face that uses shades of red.
12595 (diff-refine-added): New face that uses shades of green.
12596 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12597 `diff-refine-removed' in the call to `smerge-refine-subst'
12598 depending on the value of `diff-use-changed-face'.
12599
12600 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12601 (smerge-other): Use shades of green.
12602 (smerge-base): Use shades of yellow.
12603 (smerge-refined-change): Empty face.
12604 (smerge-refined-removed): New face that uses shades of red.
12605 (smerge-refined-added): New face that uses shades of green.
12606 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12607 args `props-r' and `props-a', and use them. Doc fix.
12608 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12609 on its value use different faces `smerge-refined-change',
12610 `smerge-refined-removed', `smerge-refined-added' in the call to
12611 `smerge-refine-subst'.
12612
12613 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12614 Add face condition `min-colors 88' with shades of red.
12615 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12616 `min-colors 88' with shades of green.
12617 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12618 `min-colors 88' with shades of yellow.
12619
12620 2012-05-24 Glenn Morris <rgm@gnu.org>
12621
12622 * paths.el (prune-directory-list, remote-shell-program): Move to...
12623 * files.el (prune-directory-list, remote-shell-program): ...here.
12624 For the latter, delay initialization, prefer ssh, just search PATH.
12625
12626 * paths.el (term-file-prefix): Move to faces.el (the only user).
12627 * faces.el (term-file-prefix): Move here, make it a defcustom.
12628
12629 * paths.el (news-directory, news-path, news-inews-program):
12630 Move to gnus/nnspool.el.
12631
12632 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12633
12634 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12635 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12636 Make the latter a defcustom, with a delayed initialization.
12637
12638 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12639 These were deleted from Gnus itself late 2010.
12640
12641 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
12642
12643 * progmodes/which-func.el (which-func-ff-hook):
12644 Check against user-error, not error.
12645
12646 * emacs-lisp/edebug.el (top): Do not load or set up loading of
12647 cl-specs.el, which no longer exists.
12648
12649 2012-05-22 Glenn Morris <rgm@gnu.org>
12650
12651 * info.el (info-emacs-bug): New command.
12652 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12653 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12654
12655 2012-05-21 Glenn Morris <rgm@gnu.org>
12656
12657 * makefile.w32-in (update-subdirs-SH):
12658 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12659
12660 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12661
12662 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12663
12664 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12665 Simplify Maven regexp, and make sure the file can't start with a space
12666 (bug#11517).
12667
12668 2012-05-21 Glenn Morris <rgm@gnu.org>
12669
12670 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12671 Scrap superfluous subshells.
12672
12673 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12674
12675 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12676 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12677
12678 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12679
12680 * calc/calc.el (calc-ensure-consistent-units): New variable.
12681
12682 * calc/calc-units.el (math-consistent-units-p)
12683 (math-check-unit-consistency): New functions.
12684 (calc-quick-units, calc-convert-units):
12685 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12686 is non-nil.
12687 (calc-extract-units): Fix typo.
12688
12689 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12690
12691 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12692
12693 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12694 (flyspell-default-deplacement-commands): Don't spell check after
12695 repeated window/frame switches (e.g. triggered by mouse-movement).
12696 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12697 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12698 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12699 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12700 Remove unused vars.
12701 (flyspell-get-casechars, flyspell-get-not-casechars):
12702 Simplify; Don't bother removing a ] just to add it back.
12703 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12704
12705 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
12706
12707 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12708 New functions.
12709 (math-function-table): Add support for more C functions.
12710
12711 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12712
12713 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12714 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12715 Protect delay handling for otherchars against empty otherchars.
12716
12717 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12718
12719 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12720 their respective macro declarations.
12721 * skeleton.el (define-skeleton):
12722 * progmodes/compile.el (define-compilation-mode):
12723 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12724 (define-ibuffer-filter):
12725 * emacs-lisp/generic.el (define-generic-mode):
12726 * emacs-lisp/easy-mmode.el (define-minor-mode)
12727 (define-globalized-minor-mode):
12728 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12729 * emacs-lisp/byte-run.el (defsubst):
12730 * custom.el (deftheme): Add doc-string metadata.
12731
12732 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12733
12734 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12735
12736 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12737
12738 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12739
12740 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12741 * emacs-lisp/cl-macs.el: Idem.
12742 * emacs-lisp/cl-specs.el: Remove.
12743
12744 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12745
12746 Minor renaming of internal CL functions and variables.
12747 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12748 (cl--position): Rename from cl-position.
12749 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12750 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12751 (cl--random-state): Rename from *random-state*.
12752
12753 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12754
12755 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12756 parens around the arg list (bug#11499).
12757
12758 2012-05-17 Juri Linkov <juri@jurta.org>
12759
12760 * isearch.el (word-search-regexp, word-search-backward)
12761 (word-search-forward, word-search-backward-lax)
12762 (word-search-forward-lax): Move functions from search.c
12763 (bug#10145, bug#11381).
12764
12765 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
12766
12767 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12768 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12769 Delay for otherchars as for normal word components.
12770
12771 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12772
12773 * minibuffer.el (completion--sifn-requote): Fix last change.
12774 (minibuffer-local-must-match-filename-map):
12775 Move define-obsolete-variable-alias before its var.
12776
12777 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12778
12779 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12780
12781 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12782 behavior.
12783 (completion--string-equal-p): New function.
12784 (completion--twq-all): Use it to get better assertion failure data.
12785
12786 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12787 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12788 (shell--requote-argument): New functions.
12789 (shell-completion-vars): Use them.
12790 (shell--parse-pcomplete-arguments): Rename from
12791 shell-parse-pcomplete-arguments.
12792 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12793 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12794 Obey comint-file-name-quote-list.
12795
12796 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12797 (smie-indent-keyword): Use it.
12798
12799 2012-05-14 Stefan Merten <smerten@oekonux.de>
12800
12801 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12802
12803 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12804
12805 * net/rlogin.el (rlogin-mode-map): Fix last change.
12806
12807 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
12808
12809 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12810 the following \r\n using a single `process-send-string', since the
12811 Lotus SMTP server refuses to accept any commands if they are sent
12812 with two `process-send-string's (Bug#11444).
12813
12814 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12815
12816 * shell.el (shell-parse-pcomplete-arguments):
12817 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12818
12819 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12820
12821 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12822 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12823 (image-transform-width, image-transform-fit-width): New functions.
12824 (image-transform-properties): Use them.
12825 (image-transform-check-size): New function.
12826 (image-toggle-display-image): Use it (for testing).
12827 (image-transform-set-rotation): Reduce angle mod 360.
12828 Delete obsolete comment.
12829
12830 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12831
12832 * image-mode.el: Fix scaling (bug#11399).
12833 (image-transform-resize): Doc fix.
12834 (image-transform-properties): Default scale is 1 and height should
12835 be an integer.
12836
12837 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
12838
12839 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12840 than hard-coding `car', to fix misbehavior when moving forward.
12841
12842 2012-05-13 Chong Yidong <cyd@gnu.org>
12843
12844 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12845 (tabulated-list-entries, tabulated-list-padding)
12846 (tabulated-list-sort-key): Make permanent-local.
12847
12848 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12849 (electric-buffer-list): Put electric buffer menu
12850 command descriptions in this docstring, instead of the docstring
12851 of electric-buffer-menu-mode. Code cleanups.
12852 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12853 Electric-buffer-menu-mode.
12854 (electric-buffer-update-highlight): Minor code cleanup.
12855
12856 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12857
12858 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12859 (Bug#11447)
12860
12861 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12862
12863 Move define-obsolete-variable-alias before the var's definition.
12864 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12865 * tooltip.el (tooltip-hook):
12866 * textmodes/reftex-toc.el (reftex-toc-map):
12867 * textmodes/reftex-sel.el (reftex-select-label-map)
12868 (reftex-select-bib-map):
12869 * textmodes/reftex-index.el (reftex-index-map)
12870 (reftex-index-phrases-map):
12871 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12872 * progmodes/meta-mode.el (meta-mode-map):
12873 * novice.el (disabled-command-hook):
12874 * loadhist.el (unload-hook-features-list):
12875 * frame.el (blink-cursor):
12876 * files.el (find-file-not-found-hooks, write-file-hooks)
12877 (write-contents-hooks):
12878 * emulation/tpu-edt.el (GOLD-map):
12879 * emacs-lock.el (emacs-lock-from-exiting):
12880 * emacs-lisp/generic.el (generic-font-lock-defaults):
12881 * emacs-lisp/chart.el (chart-map):
12882 * dos-fns.el (register-name-alist):
12883 * dired-x.el (dired-omit-files-p):
12884 * desktop.el (desktop-enable):
12885 * cus-edit.el (custom-mode-hook):
12886 * buff-menu.el (buffer-menu-mode-hook):
12887 * bookmark.el (bookmark-read-annotation-text-func)
12888 (bookmark-exit-hooks):
12889 * allout.el (allout-mode-deactivate-hook)
12890 (allout-exposure-change-hook, allout-structure-added-hook)
12891 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12892 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12893 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12894 comes before the corresponding variable's definition.
12895
12896 2012-05-12 Chong Yidong <cyd@gnu.org>
12897
12898 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12899 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12900 (Buffer-menu-mode-map): Bind it.
12901 (Buffer-menu--pretty-name): Add a mouse-face property.
12902
12903 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12904
12905 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12906 (prolog-upper-case-string, prolog-lower-case-string)
12907 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12908 (prolog-use-smie, prolog-smie-grammar): New vars.
12909 (prolog-smie-forward-token, prolog-smie-backward-token)
12910 (prolog-smie-rules): New funs.
12911 (prolog-comment-indent): Remove.
12912 (prolog-mode-variables): Use default comment indentation instead.
12913 Setup SMIE.
12914 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12915 (prolog-mode): Don't call them any more.
12916 (prolog-electric-colon, prolog-electric-dash)
12917 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12918
12919 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12920
12921 * minibuffer.el (completion--twq-all): Again, allow case differences.
12922
12923 * term.el: Move keymap initialization code to be more idiomatic.
12924 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12925 (term-terminal-menu): Move initialization into declaration.
12926 (term-escape-char): Let the user set it in her .emacs.
12927
12928 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12929 Provide SMIE-based indentation (not enabled by default yet).
12930 (sh-mode-map): Don't bind electric keys.
12931 Use electric-pair-mode instead of skeleton-pair.
12932 (sh-assignment-regexp): Fit within 80 columns.
12933 (sh-indent-supported): Specify actual shell name instead of boolean.
12934 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12935 (sh-maybe-here-document): Use it. Make obsolete.
12936 (sh-electric-here-document-mode) New minor mode.
12937 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12938 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12939 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12940 (sh-smie-rc-grammar, sh-use-smie): New vars.
12941 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12942 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12943 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12944 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12945 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12946 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12947 (sh-set-shell): Use smie-setup if requested.
12948
12949 * term.el (term-set-escape-char): Properly set term-escape-char.
12950 See http://stackoverflow.com/questions/10524656.
12951
12952 2012-05-10 Chong Yidong <cyd@gnu.org>
12953
12954 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12955 Use url-generic-parse-url, and handle host names and Windows
12956 filenames properly.
12957 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12958 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12959 URL schemes to work on.
12960 (ffap--toggle-read-only): New function.
12961 (ffap-read-only, ffap-read-only-other-window)
12962 (ffap-read-only-other-frame): Use it.
12963 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12964 necessary for ffap-url-unwrap-remote.
12965
12966 2012-05-10 Dave Abrahams <dave@boostpro.com>
12967
12968 * cus-start.el (create-lockfiles): Add it.
12969
12970 2012-05-09 Chong Yidong <cyd@gnu.org>
12971
12972 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12973 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12974
12975 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12976
12977 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12978
12979 2012-05-09 Chong Yidong <cyd@gnu.org>
12980
12981 * ansi-color.el (ansi-color-process-output): Check for validity of
12982 comint-last-output-start before using it. This avoids a bad
12983 interaction with gdb-mi's input/output buffer.
12984
12985 2012-05-09 Glenn Morris <rgm@gnu.org>
12986
12987 * files.el (dir-locals-read-from-file):
12988 Mention dir-locals in any error message.
12989
12990 2012-05-09 Chong Yidong <cyd@gnu.org>
12991
12992 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12993 package (Bug#11410).
12994
12995 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12996 variables into description.
12997
12998 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12999
13000 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13001 shell-delimiter-argument-list (bug#11348).
13002 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13003
13004 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13005
13006 * textmodes/rst.el: Silence byte-compiler warnings.
13007 (rst-re-alist, rst-reset-section-caches): Move around.
13008 (rst-re): Use `characterp', not `char-valid-p'.
13009 (font-lock-beg, font-lock-end): Declare.
13010
13011 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13012 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13013
13014 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13015
13016 2012-05-08 Glenn Morris <rgm@gnu.org>
13017
13018 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13019
13020 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13021
13022 * vc/log-edit.el: Add GNU coding standards highlighting.
13023 (log-edit-font-lock-gnu-style)
13024 (log-edit-font-lock-gnu-keywords): New vars.
13025 (log-edit-font-lock-keywords): New fun.
13026 (log-edit-mode): Don't fold case in font-lock.
13027 (log-edit-font-lock-keywords): Do not assume case-folding.
13028
13029 * imenu.el: Misc cleanup. Make docstrings out of comments.
13030 Use lexical-binding.
13031 (imenu--index-alist, imenu--last-menubar-index-alist)
13032 (imenu-menubar-modified-tick): Use defvar-local.
13033 (imenu--split-menu): Remove unused var.
13034 (imenu--cleanup-seen): Declare as global.
13035 (imenu--cleanup): Use dolist.
13036
13037 * subr.el (defvar-local): Add debug spec and doc-string position.
13038
13039 2012-05-08 Glenn Morris <rgm@gnu.org>
13040
13041 * language/burmese.el, language/cham.el, language/czech.el:
13042 * language/english.el, language/georgian.el, language/greek.el:
13043 * language/japanese.el, language/khmer.el, language/korean.el:
13044 * language/lao.el, language/misc-lang.el, language/romanian.el:
13045 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13046 * language/thai.el, language/utf-8-lang.el:
13047 Remove no-byte-compile setting.
13048
13049 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13050
13051 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13052
13053 * progmodes/make-mode.el (makefile-browse):
13054 Remove unnecessary interactive. (Bug#11324)
13055
13056 2012-05-07 Glenn Morris <rgm@gnu.org>
13057
13058 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13059
13060 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13061
13062 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13063
13064 * loadup.el: Preload newcomment.el.
13065 * newcomment.el: Move autoload-only code to toplevel.
13066
13067 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13068 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13069 Handle new :right-align column property.
13070 (tabulated-list-print-col): Idem, plus use `display' text-property to
13071 try and preserve alignment for variable pitch fonts.
13072
13073 2012-05-07 Chong Yidong <cyd@gnu.org>
13074
13075 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13076 (tabulated-list-use-header-line): New var.
13077 (tabulated-list-init-header): Use it.
13078 (tabulated-list-print-fake-header): New function.
13079 (tabulated-list-print): Use it.
13080 (tabulated-list-sort-button-map): Add non-header-line commands.
13081 (tabulated-list-init-header): Add column name property to basic
13082 labels as well.
13083 (tabulated-list-col-sort): Handle non-header-line button case.
13084 (tabulated-list--sort-by-column-name): Fix a corner case.
13085
13086 * buff-menu.el (list-buffers--refresh):
13087 Handle Buffer-menu-use-header-line.
13088
13089 2012-05-06 Chong Yidong <cyd@gnu.org>
13090
13091 * buff-menu.el: Convert to Tabulated List mode.
13092 (Buffer-menu-buffer+size-width): Make obsolete.
13093 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13094 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13095 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13096 documentation into docstring of buffer-menu.
13097 (Buffer-menu-toggle-files-only): Add an informative message.
13098 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13099 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13100 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13101 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13102 (Buffer-menu-execute, Buffer-menu-select)
13103 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13104 (Buffer-menu-bury): Use Tabulated List machinery.
13105 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13106 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13107 Delete.
13108 (list-buffers--refresh): New function.
13109 (list-buffers-noselect): Use it.
13110 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13111 (Buffer-menu--pretty-file-name): New helper functions.
13112
13113 * loadup.el: Preload tabulated-list.
13114
13115 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13116 tabulated-list-sort-column.
13117 (tabulated-list-init-header): Add the initial aligning space even
13118 if tabulated-list-padding is zero.
13119
13120 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13121
13122 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13123 whose cdr is not a cons cell correctly (bug#11038).
13124
13125 2012-05-06 Chong Yidong <cyd@gnu.org>
13126
13127 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13128 Accept additional plist in column descriptors.
13129 (tabulated-list-init-header): Obey it.
13130 (tabulated-list-get-entry): New function.
13131 (tabulated-list-put-tag): Use it. Use string-width instead of
13132 length.
13133 (tabulated-list--column-number): New function.
13134 (tabulated-list-print): Use it.
13135 (tabulated-list-print-col): New function.
13136 Set `tabulated-list-column-name' property on each column's text.
13137 (tabulated-list-print-entry): Use it.
13138 (tabulated-list-delete-entry, tabulated-list-set-col):
13139 New functions.
13140 (tabulated-list-sort-column): New command (Bug#11337).
13141
13142 * buff-menu.el (list-buffers): Move C-x C-b binding from
13143 buff-menu.el to bindings.el.
13144
13145 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13146 :advertised-binding feature.
13147
13148 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13149
13150 * progmodes/compile.el (compilation-internal-error-properties):
13151 Calculate start position correctly when end-col is set but
13152 end-line is not (Bug#11382).
13153
13154 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
13155
13156 * man.el (Man-unindent): Use text-property-default-nonsticky to
13157 prevent untabify from inheriting face properties (Bug#11408).
13158
13159 2012-05-05 Stefan Merten <smerten@oekonux.de>
13160
13161 * textmodes/rst.el: Major merge with upstream development up to
13162 Docutils SVN r7399 / rst.el V1.2.1.
13163
13164 Clarify maintainership and authors.
13165
13166 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
13167 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
13168 (rst-official-version, rst-official-cvs-rev, rst-version)
13169 (rst-package-emacs-version-alist): New functions and variables
13170 for version information.
13171
13172 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
13173 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
13174 (rst-mode-syntax-table, rst-mode): New and corrected functions
13175 and variables representing reStructuredText features.
13176
13177 (rst-re): New function for reStructuredText regexes. Use in
13178 many places.
13179
13180 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
13181 (rst-mode-map): Rebind keys.
13182
13183 (rst-mode-lazy, rst-font-lock-keywords)
13184 (rst-font-lock-extend-region)
13185 (rst-font-lock-extend-region-internal)
13186 (rst-font-lock-extend-region-extend)
13187 (rst-font-lock-find-unindented-line-limit)
13188 (rst-font-lock-find-unindented-line-match)
13189 (rst-adornment-level, rst-font-lock-adornment-level)
13190 (rst-font-lock-adornment-match)
13191 (rst-font-lock-handle-adornment-pre-match-form)
13192 (rst-font-lock-handle-adornment-matcher): Major revision of
13193 font-locking. Integrate with other code. Use `jit-lock-mode'.
13194
13195 (rst-preferred-adornments, rst-adjust-hook)
13196 (rst-new-adornment-down, rst-preferred-bullets)
13197 (rst-preferred-bullets, rst-indent, rst-indent-width)
13198 (rst-indent-field, rst-indent-literal-normal)
13199 (rst-indent-literal-minimized, rst-indent-comment): Change,
13200 extend and improve customization.
13201
13202 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
13203 (rst-normalize-cursor-position, rst-get-decoration)
13204 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
13205 (rst-rstrip, rst-toc-insert-find-delete-contents)
13206 (rst-shift-fill-region, rst-compute-bullet-tabs)
13207 (rst-debug-print-tabs, rst-debug-mark-found)
13208 (rst-shift-region-guts, rst-shift-region-right)
13209 (rst-shift-region-left, rst-use-char-classes)
13210 (rst-font-lock-keywords-function)
13211 (rst-font-lock-indentation-point)
13212 (rst-font-lock-find-unindented-line-begin)
13213 (rst-font-lock-find-unindented-line-end)
13214 (rst-font-lock-find-unindented-line)
13215 (rst-font-lock-adornment-point, rst-font-lock-level)
13216 (rst-adornment-level-alist): Remove functions and variables.
13217
13218 (rst-compare-adornments, rst-get-adornment-match)
13219 (rst-suggest-new-adornment, rst-get-adornments-around)
13220 (rst-adornment-complete-p, rst-get-next-adornment)
13221 (rst-adjust-adornment, rst-display-adornments-hierarchy)
13222 (rst-straighten-adornments): Standardize function names to
13223 use "adornment" instead of "decoration". Correct callers.
13224 Similar standardizing in many places.
13225
13226 (rst-update-section, rst-adjust, rst-promote-region)
13227 (rst-enumerate-region, rst-bullet-list-region)
13228 (rst-repeat-last-character): Correct use of `interactive'.
13229
13230 (rst-classify-adornment, rst-find-all-adornments)
13231 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
13232 (rst-find-leftmost-column, rst-repeat-last-character):
13233 Refactor functions.
13234
13235 (rst-find-title-line, rst-reset-section-caches)
13236 (rst-get-adornments-around, rst-adjust-adornment-work)
13237 (rst-arabic-to-roman, rst-roman-to-arabic)
13238 (rst-insert-list-pos, rst-insert-list-new-item)
13239 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
13240 New functions.
13241
13242 (rst-all-sections, rst-section-hierarchy)
13243 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
13244 New variables.
13245
13246 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
13247 configuration instead of only buffer. Change where necessary.
13248
13249 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
13250 (rst-shift-region, rst-adaptive-fill): New functions for
13251 indentation and filling.
13252
13253 (rst-comment-line-break, rst-comment-indent)
13254 (rst-comment-insert-comment, rst-comment-region)
13255 (rst-uncomment-region): New functions for handling comments.
13256
13257 (rst-compile): Quote shell arguments.
13258
13259 (rst-compile-pdf-preview, rst-compile-slides-preview):
13260 Delete temporary files after use.
13261
13262 2012-05-05 Glenn Morris <rgm@gnu.org>
13263
13264 * calendar/cal-html.el: Optionally include holidays in the output.
13265 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
13266 (cal-html-holidays): New option.
13267 (cal-html-css-default): Add holiday entry.
13268 (holiday-in-range): Autoload it.
13269 (cal-html-htmlify-entry): Add optional class argument.
13270 (cal-html-htmlify-list): Add optional holidays argument.
13271 (cal-html-insert-agenda-days): Include holidays in the output.
13272 (cal-html-one-month): Maybe include holidays.
13273
13274 * calendar/holidays.el (holiday-in-range):
13275 Move here from cal-tex-list-holidays.
13276 * calendar/cal-tex.el (cal-tex-list-holidays):
13277 Make it an obsolete alias for holiday-in-range. Update all callers.
13278
13279 2012-05-05 Chong Yidong <cyd@gnu.org>
13280
13281 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
13282 Nextstep.
13283
13284 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
13285
13286 * files.el (file-auto-mode-skip): New var.
13287 (set-auto-mode-1): Use it.
13288
13289 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13290
13291 * repeat.el: Use lexical-binding.
13292 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
13293 (repeat-undo-count): Remove.
13294 (repeat):
13295 * progmodes/octave-mod.el (octave-abbrev-start):
13296 * progmodes/f90.el (f90-abbrev-start):
13297 * face-remap.el (text-scale-adjust):
13298 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
13299
13300 * emacs-lisp/pcase.el (pcase--let*): New function.
13301 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
13302 a bit more.
13303 (pcase--split-pred): Be more clever about ruling out overlap between
13304 a predicate and some constant pattern.
13305 (pcase--q1): Use `null' instead of (eq foo nil).
13306
13307 * subr.el (setq-local, defvar-local): New macros.
13308 (kbd): Redefine as an alias.
13309 (with-selected-window): Leave unrelated frames alone.
13310 (set-temporary-overlay-map): New function.
13311
13312 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13313
13314 * subr.el (user-error): New function.
13315 * window.el (switch-to-buffer):
13316 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
13317 (smerge-match-conflict):
13318 * simple.el (previous-matching-history-element)
13319 (next-matching-history-element, goto-history-element, undo-more)
13320 (undo-start):
13321 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
13322 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
13323 (next-file, tags-loop-scan, list-tags, complete-tag):
13324 * progmodes/compile.el (compilation-loop):
13325 * mouse.el (mouse-minibuffer-check):
13326 * man.el (Man-bgproc-sentinel, Man-goto-page):
13327 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
13328 (Info-history-forward, Info-follow-reference, Info-menu)
13329 (Info-extract-menu-item, Info-extract-menu-counting)
13330 (Info-forward-node, Info-backward-node, Info-next-menu-item)
13331 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
13332 (Info-next-reference, Info-prev-reference, Info-index)
13333 (Info-index-next, Info-follow-nearest-node)
13334 (Info-copy-current-node-name):
13335 * imenu.el (imenu--make-index-alist)
13336 (imenu-default-create-index-function, imenu-add-to-menubar):
13337 * files.el (basic-save-buffer, recover-file):
13338 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13339 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
13340 (checkdoc-message-text, checkdoc-defun):
13341 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
13342 * cus-edit.el (customize-changed-options, customize-rogue)
13343 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
13344 (custom-variable-mark-to-reset-standard)
13345 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
13346 (custom-file):
13347 * completion.el (check-completion-length):
13348 * comint.el (comint-search-arg)
13349 (comint-previous-matching-input-string-position)
13350 (comint-previous-matching-input)
13351 (comint-replace-by-expanded-history-before-point, comint-send-input)
13352 (comint-copy-old-input, comint-backward-matching-input)
13353 (comint-goto-process-mark, comint-set-process-mark):
13354 * calendar/calendar.el (calendar-cursor-to-date): Use it.
13355 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
13356
13357 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13358
13359 * dabbrev.el (dabbrev--ignore-case-p): New function.
13360 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
13361 Use it.
13362
13363 * files.el (automount-dir-prefix): Mark as obsolete.
13364
13365 2012-05-04 Glenn Morris <rgm@gnu.org>
13366
13367 * patcomp.el, play/bruce.el: Move to obsolete/.
13368
13369 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
13370
13371 Fix minor Y10k bugs.
13372 * arc-mode.el (archive-unixdate):
13373 * autoinsert.el (auto-insert-alist):
13374 * calc/calc-forms.el (math-this-year):
13375 * emacs-lisp/copyright.el (copyright-current-year)
13376 (copyright-update-year, copyright):
13377 * tar-mode.el (tar-clip-time-string):
13378 * time.el (display-time-update):
13379 Don't assume years have 4 digits.
13380
13381 2012-05-04 Chong Yidong <cyd@gnu.org>
13382
13383 * dos-w32.el (file-name-buffer-file-type-alist)
13384 (direct-print-region-use-command-dot-com):
13385 * ffap.el (ffap-menu-regexp):
13386 * find-file.el (ff-special-constructs):
13387 * follow.el (follow-debug):
13388 * forms.el (forms--debug):
13389 * iswitchb.el (iswitchb-all-frames):
13390 * ido.el (ido-all-frames):
13391 * emacs-lisp/timer.el (timer-max-repeats):
13392 * mail/feedmail.el (feedmail-mail-send-hook)
13393 (feedmail-mail-send-hook-queued):
13394 * mail/footnote.el (footnote-signature-separator):
13395 * mail/mailabbrev.el (mail-alias-separator-string)
13396 (mail-abbrev-mode-regexp):
13397 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13398 * progmodes/idlwave.el (idlwave-libinfo-file)
13399 (idlwave-default-completion-case-is-down)
13400 (idlwave-library-routines): Convert defvars to defcustoms.
13401
13402 * mail/rmail.el (rmail-decode-mime-charset):
13403 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13404 (idlwave-shell-fix-inserted-breaks)
13405 (idlwave-shell-activate-alt-keybindings)
13406 (idlwave-shell-use-breakpoint-glyph):
13407 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13408
13409 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13410
13411 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13412
13413 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
13414
13415 * progmodes/verilog-mode.el (font-lock-keywords):
13416 Fix mis-highligting auto. Reported by Craig Barner.
13417 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
13418 defines from global name space. Reported by Dan Dever.
13419 (verilog-auto-reset, verilog-auto-reset-widths)
13420 (verilog-auto-tieoff): Support using unbased numbers for
13421 AUTORESET and AUTOTIEOFF.
13422 (verilog-submit-bug-report): Update variable list.
13423 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
13424 parenthesis from not matching. Reported by Michael Rytting.
13425 (verilog-auto-template-lint): Fix hash error when linting modules
13426 with no used templates.
13427 (verilog-warn, verilog-warn-error)
13428 (verilog-warn-fatal): When non-interactive report multiple
13429 warnings before exiting. Suggested by Brad Dobbie.
13430 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13431 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13432 to report unused template errors. Reported by Brad Dobbie.
13433 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
13434 nets, bug438. Reported by Vns Blore.
13435 (verilog-auto-inout-module, verilog-auto-reg)
13436 (verilog-read-decls, verilog-read-sub-decls-sig)
13437 (verilog-signals-edit-wire-reg, verilog-signals-with):
13438 Fix passing of Verilog data types in ANSI input/output ports
13439 such as "output logic" into the AUTOs. Special case "wire" and
13440 "reg" for backwards compatibility presuming Verilog 2001.
13441 (verilog-auto-ascii-enum): Add "auto enum" as alias.
13442 (verilog-preprocess): Fix replication of preprocess output.
13443 Reported by Brad Dobbie.
13444 (verilog-auto-inst-interfaced-ports):
13445 Create verilog-auto-inst-interfaced-ports, bug429.
13446 Reported by Julian Gorfajn.
13447 (verilog-after-save-font-hook)
13448 (verilog-before-save-font-hook): New variable.
13449 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13450 (verilog-save-font-mods): Wrap disabling fontification, reported
13451 by David Rogoff.
13452 (verilog-do-indent, verilog-pretty-declarations-auto)
13453 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13454 Reported by Pierre-David Pfister.
13455 (verilog-set-auto-endcomments): Fix endtask auto comments outside
13456 of class declarations, bug292. Reported by Kevin Heilman.
13457 (verilog-read-decls): Fix 'parameter type' not appearing in
13458 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13459 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
13460 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
13461 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13462 Reported by David Kravitz.
13463
13464 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
13465
13466 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13467 assignment with tests in ifs and for loops.
13468 (verilog-extended-complete-re, verilog-complete-reg): Change so
13469 that DPI inport functions don't look like fuction declarations.
13470 (verilog-pretty-expr): Don't line up assignment
13471 operations to the test and increment in if and for loops
13472 (verilog-extended-complete-re, verilog-complete-reg): Change so
13473 that DPI inport functions don't look like fuction declarations.
13474
13475 2012-05-03 Kenichi Handa <handa@m17n.org>
13476
13477 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
13478 decoding, and show a warning message without signaling an error
13479 (Bug#11282).
13480
13481 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13482
13483 * emacs-lisp/bytecomp.el
13484 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13485 since cconv.el might have introduced :fun-body, internal-make-closure,
13486 and friends for bytecomp to handle (bug#11391).
13487 * custom.el (defcustom): Avoid ((λ ..) ..).
13488
13489 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13490
13491 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13492
13493 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
13494
13495 * notifications.el (dbus-debug):
13496 * term/linux.el (gpm-mouse-enable):
13497 * term/screen.el (xterm-register-default-colors): Declare.
13498
13499 2012-05-02 Chong Yidong <cyd@gnu.org>
13500
13501 * cus-start.el (gc-cons-percentage, exec-suffixes)
13502 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13503 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13504 (make-cursor-line-fully-visible, void-text-area-pointer)
13505 (font-list-limit): Add customization data.
13506
13507 * allout.el (allout-exposure-change-functions)
13508 (allout-structure-added-functions)
13509 (allout-structure-deleted-functions)
13510 (allout-structure-shifted-functions): Rename abnormal hooks from
13511 *-hook, and convert to defcustoms.
13512 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13513 Convert to defcustoms.
13514 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13515
13516 * allout-widgets.el: Hook callers changed.
13517
13518 2012-05-02 Eli Zaretskii <eliz@gnu.org>
13519
13520 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13521 the yanked message in preference to the default value of
13522 buffer-file-coding-system.
13523
13524 2012-05-02 Martin Rudalics <rudalics@gmx.at>
13525
13526 * window.el (display-buffer--action-function-custom-type):
13527 Fix entry.
13528
13529 2012-05-02 Alan Mackenzie <acm@muc.de>
13530
13531 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13532
13533 2012-05-01 Glenn Morris <rgm@gnu.org>
13534
13535 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13536
13537 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13538
13539 * cus-edit.el (custom-variable-documentation): Simplify with format.
13540
13541 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13542 Stefan Monnier <monnier@iro.umontreal.ca>
13543
13544 * simple.el (suggest-key-bindings, execute-extended-command):
13545 Move from keyboard.c.
13546
13547 2012-05-01 Chong Yidong <cyd@gnu.org>
13548
13549 * follow.el: Eliminate advice.
13550 (set-process-filter, process-filter, sit-for): Advice deleted.
13551 (follow-mode-off-hook): Obsolete hook removed.
13552 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13553 Vars deleted.
13554 (follow-auto): Use a :set function.
13555 (follow-mode): Rewritten. Don't advise process filters.
13556 (follow-switch-to-current-buffer-all, follow-scroll-up)
13557 (follow-scroll-down): Assume follow-mode is bound.
13558 (follow-comint-scroll-to-bottom)
13559 (follow-align-compilation-windows): New functions.
13560 (follow--window-sorter): New function.
13561 (follow-all-followers): Use it to explicitly sort windows by their
13562 positions; don't make assumptions about next-window order.
13563 (follow-windows-start-end, follow-delete-other-windows-and-split)
13564 (follow-calc-win-start): Doc fix.
13565 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13566 vertical-motion unnecessarily.
13567 (follow-adjust-window): New function.
13568 (follow-post-command-hook): Use it.
13569 (follow-call-set-process-filter, follow-call-process-filter)
13570 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13571 (follow-stop-intercept-process-output, follow-generic-filter):
13572 Functions deleted.
13573 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13574 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13575 New functions, replacing advice on scroll-bar-* commands.
13576 (follow-mwheel-scroll): New function (Bug#4112).
13577
13578 * comint.el (comint-adjust-point): New function.
13579 (comint-postoutput-scroll-to-bottom): Use it.
13580 Call follow-comint-scroll-to-bottom for Follow mode buffers.
13581
13582 2012-05-01 Glenn Morris <rgm@gnu.org>
13583
13584 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13585 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13586 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13587 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13588 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13589 Remove no-byte-compile setting.
13590
13591 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13592
13593 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13594 all-completions code to not return a number in the last cdr.
13595
13596 2012-04-30 Leo Liu <sdl.web@gmail.com>
13597
13598 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13599 read-only error.
13600
13601 2012-04-29 Chong Yidong <cyd@gnu.org>
13602
13603 * follow.el (follow-calc-win-end): Rewrite to handle partial
13604 screen lines correctly (Bug#8390).
13605 (follow-avoid-tail-recenter): Minor cleanup.
13606
13607 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13608
13609 Avoid the obsolete `assoc' package.
13610 * speedbar.el (speedbar-refresh): Avoid adelete.
13611 (speedbar-file-lists): Simplify and avoid aput.
13612 * man.el (Man--sections, Man--refpages): New vars, replacing
13613 Man-sections-alist and Man-refpages-alist.
13614 (Man-build-section-alist, Man-build-references-alist):
13615 Use them; avoid aput.
13616 (Man--last-section, Man--last-refpage): New vars.
13617 (Man-follow-manual-reference): Use them.
13618 Use the `default' arg of completing-read.
13619 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13620
13621 2012-04-27 Chong Yidong <cyd@gnu.org>
13622
13623 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13624
13625 * startup.el (x-apply-session-resources): New function.
13626
13627 * term/ns-win.el (ns-initialize-window-system):
13628 * term/w32-win.el (w32-initialize-window-system):
13629 * term/x-win.el (x-initialize-window-system): Use it to properly
13630 set menu-bar-mode and other vars from X resources, even if the
13631 initial frame is not a window-system frame (Bug#2299).
13632
13633 * subr.el (read-key): Avoid running filter function when setting
13634 up temporary tool bar entries (Bug#9922).
13635
13636 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13637
13638 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13639 (Bug#11344)
13640
13641 2012-04-27 Chong Yidong <cyd@gnu.org>
13642
13643 * select.el (xselect--encode-string): New function, split from
13644 xselect-convert-to-string.
13645 (xselect-convert-to-string): Use it.
13646 (xselect-convert-to-filename, xselect-convert-to-os)
13647 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13648 returned strings are properly encoded (Bug#11315).
13649
13650 2012-04-27 Chong Yidong <cyd@gnu.org>
13651
13652 * simple.el (delete-active-region): Move to killing custom group.
13653
13654 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13655
13656 * progmodes/which-func.el (which-func-current): Quote %
13657 characters for mode-line processing.
13658
13659 2012-04-27 Chong Yidong <cyd@gnu.org>
13660
13661 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13662 reaching eob (Bug#11286).
13663
13664 2012-04-27 Eli Zaretskii <eliz@gnu.org>
13665
13666 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13667 (gdb): Make it buffer-local and init to zero.
13668 (gdb-control-commands-regexp): New variable.
13669 (gdb-send): Don't wrap in "-interpreter-exec console" if
13670 gdb-control-level is positive. Increment gdb-control-level
13671 whenever the command matches gdb-control-commands-regexp, and
13672 decrement it each time the command is "end". (Bug#11279)
13673
13674 2012-04-27 Martin Rudalics <rudalics@gmx.at>
13675
13676 * window.el (adjust-window-trailing-edge, enlarge-window)
13677 (shrink-window, window-resize):
13678 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13679 windows (Bug#11276).
13680
13681 2012-04-27 Chong Yidong <cyd@gnu.org>
13682
13683 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
13684 fix "missing prefix" warning. All callers changed.
13685
13686 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13687
13688 * emacs-lisp/assoc.el: Move to obsolete/.
13689
13690 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13691
13692 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
13693
13694 * term/ns-win.el (ns-define-service):
13695 * progmodes/pascal.el (pascal-goto-defun):
13696 * progmodes/js.el (js--read-tab):
13697 * progmodes/etags.el (tags-lazy-completion-table):
13698 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13699 * emacs-lisp/ewoc.el (ewoc--wrap):
13700 * emacs-lisp/assoc.el (aput, adelete, amake):
13701 * doc-view.el (doc-view-convert-current-doc):
13702 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13703
13704 2012-04-26 Chong Yidong <cyd@gnu.org>
13705
13706 * image.el (image-type-from-buffer): Only return supported image
13707 type (Bug#9045).
13708
13709 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13710 value, for symmetry with diff-end-of-hunk.
13711 (diff-split-hunk, diff-find-source-location)
13712 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13713 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13714 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13715 compute the relevant hunk or file properly (Bug#6005).
13716 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13717
13718 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13719
13720 * vc/vc-mtn.el:
13721 * vc/vc-hg.el:
13722 * vc/vc-git.el:
13723 * vc/vc-dir.el:
13724 * vc/vc-cvs.el:
13725 * vc/vc-bzr.el:
13726 * vc/vc-arch.el:
13727 * vc/vc.el: Replace lexical-let by lexical-binding.
13728 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13729 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13730 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13731
13732 2012-04-26 Chong Yidong <cyd@gnu.org>
13733
13734 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13735 (diff-mode-shared-map): Bind it to / and [remap undo].
13736
13737 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13738 (ediff-window-setup-function): Use it as the default, to set up
13739 windows based on whether the current frame is graphical (Bug#2138).
13740 (ediff-choose-window-setup-function-automatically): Make obsolete.
13741
13742 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13743
13744 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13745
13746 * ffap.el: Remove old code for obsolete package.
13747 (ffap-complete-as-file-p): Remove.
13748
13749 Use completion-table-with-quoting for comint and pcomplete.
13750 * comint.el (comint--unquote&requote-argument)
13751 (comint--unquote-argument, comint--requote-argument): New functions.
13752 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13753 (comint-quote-filename): Use regexp-opt-charset.
13754 (comint--common-suffix, comint--common-quoted-suffix)
13755 (comint--table-subvert): Remove.
13756 (comint-unquote-function, comint-requote-function): New vars.
13757 (comint--complete-file-name-data): Use them with
13758 completion-table-with-quoting.
13759 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13760 * pcomplete.el (pcomplete-arg-quote-list)
13761 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13762 (pcomplete-unquote-argument-function): Default to non-nil.
13763 (pcomplete-unquote-argument): Simplify.
13764 (pcomplete--common-quoted-suffix): Remove.
13765 (pcomplete-requote-argument-function): New var.
13766 (pcomplete--common-suffix): New function.
13767 (pcomplete-completions-at-point): Use completion-table-with-quoting
13768 and completion-table-subvert.
13769
13770 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13771 (minibuffer--double-dollars): Preserve properties.
13772 (completion--sifn-requote): New function.
13773 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13774
13775 * minibuffer.el: Add support for completion of quoted/escaped data.
13776 (completion-table-with-quoting, completion-table-subvert): New funs.
13777 (completion--twq-try, completion--twq-all): New functions.
13778 (completion--nth-completion): New function.
13779 (completion-try-completion, completion-all-completions): Use it.
13780
13781 2012-04-25 Leo Liu <sdl.web@gmail.com>
13782
13783 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13784 Use compilation-message if available to find real filename.
13785
13786 2012-04-25 Chong Yidong <cyd@gnu.org>
13787
13788 * vc/diff-mode.el (diff-setup-whitespace): New function.
13789 (diff-mode): Use it.
13790
13791 * vc/diff.el (diff-sentinel):
13792 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13793 Whitespace mode variables based on diff style (Bug#8612).
13794
13795 2012-04-25 Leo Liu <sdl.web@gmail.com>
13796
13797 * progmodes/python.el (python-send-region): Add suffix .py to the
13798 temp file.
13799
13800 * files.el (auto-mode-alist): Use javascript-mode instead.
13801
13802 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13803
13804 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13805
13806 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13807 (soap-resolve-references-for-array-type): Hack to prevent self
13808 references, see Bug#9.
13809 (soap-parse-envelope): Report the contents of the 'detail' node
13810 when receiving a fault reply.
13811 (soap-parse-envelope): Report the contents of the entire 'detail' node.
13812
13813 * net/soap-inspect.el (soap-sample-value-for-simple-type)
13814 (soap-inspect-simple-type): New function.
13815
13816 * net/soap-client.el (soap-simple-type): New struct.
13817 (soap-default-xsd-types, soap-default-soapenc-types)
13818 (soap-decode-basic-type, soap-encode-basic-type):
13819 support unsignedInt and double basic types.
13820 (soap-resolve-references-for-simple-type)
13821 (soap-parse-simple-type, soap-encode-simple-type): New function.
13822 (soap-parse-schema): Parse xsd:simpleType declarations.
13823
13824 * net/soap-client.el (soap-default-xsd-types)
13825 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13826 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13827 the local name of "soapenc:Array".
13828 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13829 decoding integer, byte and anyURI xsd types.
13830
13831 2012-04-25 Chong Yidong <cyd@gnu.org>
13832
13833 * cus-edit.el (custom-buffer-create-internal): Update header text.
13834
13835 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13836
13837 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13838 settings on 'system-type', not on 'window-system'. On MS-Windows,
13839 set interactive-mode on in GDB.
13840
13841 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13842
13843 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13844 (ruby-syntax-propertize-regexp): Remove.
13845 (ruby-syntax-propertize-function): Split regexp into chunks.
13846 Match following code directly.
13847
13848 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13849
13850 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13851 (ruby-syntax-propertize-regexp): New function.
13852 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13853 by a special keyword.
13854
13855 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13856 (ruby-syntax-general-delimiters-goto-beg)
13857 (ruby-syntax-propertize-general-delimiters): New functions.
13858 (ruby-syntax-propertize-function): Use them to handle GDL.
13859 (ruby-font-lock-keywords): Move old handling of GDL...
13860 (ruby-font-lock-syntactic-keywords): .. to here.
13861 (ruby-calculate-indent): Adjust indentation for GDL.
13862
13863 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13864
13865 * notifications.el (top): Remove unneeded declarations.
13866 (notifications-specification-version): Change to "1.2".
13867 (notifications-interface, notifications-notify-method)
13868 (notifications-close-notification-method): Fix docstring.
13869 (notifications-get-capabilities-method): New defconst.
13870 (notifications-notify): Add :action-items, :resident and
13871 :transient hints. Change "image_data" to "image-data" and
13872 "image_path" to "image-path".
13873 (notifications-get-capabilities): New defun.
13874
13875 2012-04-24 Leo Liu <sdl.web@gmail.com>
13876
13877 * progmodes/python.el: Move hideshow setup to the end.
13878
13879 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13880
13881 * window.el (handle-select-window): Clear echo area since this is
13882 no more done by read_char (Bug#11304).
13883
13884 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13885
13886 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13887 and `/ M' to filter-derived-mode.
13888 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13889 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13890 (ibuffer-mark-by-mode): Use default rather than initial-input.
13891 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13892
13893 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13894
13895 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13896 (ibuffer-filter-by-derived-mode): New filter.
13897 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13898
13899 2012-04-23 Andreas Politz <politza@fh-trier.de>
13900
13901 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13902
13903 2012-04-23 Chong Yidong <cyd@gnu.org>
13904
13905 * cus-edit.el (customize-apropos, customize-apropos-options):
13906 Disable matching of non-option variables (Bug#11176).
13907 (customize-option, customize-option-other-window)
13908 (customize-changed-options): Doc fix.
13909 (customize-apropos-options, customize-apropos-faces)
13910 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13911
13912 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13913 Fix word list splitting (Bug#11132).
13914 (apropos-symbol, apropos-keybinding, apropos-label)
13915 (apropos-property, apropos-function-button)
13916 (apropos-variable-button, apropos-misc-button): New faces.
13917 (apropos-symbol-face, apropos-keybinding-face)
13918 (apropos-label-face, apropos-property-face, apropos-match-face):
13919 Variables removed (Bug#8396).
13920 (apropos-library-button, apropos-format-plist, apropos-print)
13921 (apropos-print-doc, apropos-describe-plist): Callers changed.
13922
13923 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13924
13925 * net/xesam.el (xesam-mode-map): Use let-bound map in
13926 initialization. (Bug#11292)
13927
13928 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13929
13930 Preserve ispell session localwords when switching back to
13931 original buffer.
13932
13933 * textmodes/ispell.el (ispell-buffer-session-localwords):
13934 New buffer-local variable to hold buffer session localwords.
13935 (ispell-kill-ispell): Add option 'clear to delete session
13936 localwords.
13937 (ispell-command-loop, ispell-change-dictionary)
13938 (ispell-buffer-local-words): Preserve session localwords when
13939 needed.
13940
13941 * textmodes/flyspell.el (flyspell-process-localwords)
13942 (flyspell-do-correct): Preserve session localwords when needed.
13943
13944 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13945
13946 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13947 using obsolete `translation-table-for-input'.
13948 (ispell-word, ispell-process-line, ispell-complete-word):
13949 Use plain `insert' instead of removed `ispell-insert-word'.
13950
13951 2012-04-22 Chong Yidong <cyd@gnu.org>
13952
13953 * cus-edit.el (custom-variable-menu)
13954 (custom-variable-reset-saved, custom-face-menu)
13955 (custom-face-reset-saved): If there is no saved value, make the
13956 "reset-saved" operation bring back the default (Bug#9509).
13957 (custom-face-state): Properly detect themed faces.
13958
13959 * faces.el (face-spec-set): Stop supporting deprecated form of
13960 third arg.
13961
13962 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13963
13964 Move functions from C to Lisp. Make non-blocking method calls
13965 the default. Implement further D-Bus standard interfaces.
13966
13967 * net/dbus.el (dbus-message-internal): Declare function.
13968 Remove unneeded function declarations.
13969 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13970 (dbus-message-type-method-return, dbus-message-type-error)
13971 (dbus-message-type-signal): Declare variables. Remove local
13972 definitions.
13973 (dbus-interface-dbus, dbus-interface-peer)
13974 (dbus-interface-introspectable, dbus-interface-properties)
13975 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13976 Adapt docstring.
13977 (dbus-interface-objectmanager): New defconst.
13978 (dbus-call-method, dbus-call-method-asynchronously)
13979 (dbus-send-signal, dbus-method-return-internal)
13980 (dbus-method-error-internal, dbus-register-service)
13981 (dbus-register-signal, dbus-register-method): New defuns, moved
13982 from dbusbind.c
13983 (dbus-call-method-handler, dbus-setenv)
13984 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13985 New defuns.
13986 (dbus-call-method-non-blocking): Make it an obsolete function.
13987 (dbus-unregister-object, dbus-unregister-service)
13988 (dbus-handle-event, dbus-register-property)
13989 (dbus-property-handler): Obey the new structure of
13990 `bus-registered-objects'.
13991 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13992 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13993 Use `dbus-call-method'.
13994
13995 2012-04-22 Chong Yidong <cyd@gnu.org>
13996
13997 * cus-edit.el (custom-commands, custom-reset-menu)
13998 (Custom-reset-standard): Tweak labels.
13999 (custom-reset-button-menu): Change default to t.
14000 (custom-buffer-create-internal): For the custom-reset-button-menu
14001 case, put the revert button first.
14002 (custom-group-subtitle): New face.
14003 (custom-group-value-create): Align docstring to a specific column.
14004
14005 * wid-edit.el (widget-documentation-link-add): Don't handle
14006 indentation in this function.
14007 (widget-documentation-string-indent-to): New function.
14008 (widget-documentation-string-value-create): Use it.
14009
14010 * autorevert.el (auto-revert):
14011 * epg-config.el (epg):
14012 * ibuffer.el (ibuffer):
14013 * mpc.el (mpc):
14014 * ses.el (ses):
14015 * eshell/eshell.el (eshell):
14016 * net/ange-ftp.el (ange-ftp):
14017 * progmodes/ebnf2ps.el (postscript):
14018 * progmodes/flymake.el (flymake):
14019 * progmodes/prolog.el (prolog):
14020 * progmodes/verilog-mode.el (verilog-mode):
14021 * progmodes/which-func.el (which-func):
14022 * term/xterm.el (xterm):
14023 * textmodes/picture.el (picture):
14024 * textmodes/tildify.el (tildify):
14025 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14026 customization buffers.
14027
14028 2012-04-22 Alan Mackenzie <acm@muc.de>
14029
14030 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14031 Adding a ) can hide the resulting (..) from searches. Fix it.
14032 Bound the backward search to the position of the existing (.
14033
14034 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14035
14036 * progmodes/verilog-mode.el (verilog-mode): Check whether
14037 which-func-modes is t before adding verilog-mode.
14038 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14039
14040 2012-04-21 Leo Liu <sdl.web@gmail.com>
14041
14042 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14043
14044 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14045
14046 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14047 filling of the last column of a table (Bug#5635).
14048 (woman-find-next-control-line): New arg, specifying an additional
14049 regexp component for the control line.
14050 (woman2-roff-buffer): Use it.
14051 (woman-break-table): New function.
14052 (woman2-TS): Use it.
14053
14054 2012-04-21 Chong Yidong <cyd@gnu.org>
14055
14056 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14057 (woman-horizontal-escapes, woman-negative-vertical-space)
14058 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14059 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14060
14061 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14062
14063 * minibuffer.el (completion-file-name-table): Complete user names.
14064
14065 2012-04-20 Leo Liu <sdl.web@gmail.com>
14066
14067 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14068 and pcase-let*.
14069
14070 2012-04-20 Chong Yidong <cyd@gnu.org>
14071
14072 * server.el (server-execute): Respect initial-buffer-choice if it
14073 is a string and there are no files to open (Bug#2825).
14074 (server-create-window-system-frame, server-create-tty-frame):
14075 Don't switch buffers here.
14076 (server-process-filter): Only try to open a window system frame if
14077 compiled with graphical support (Bug#8314).
14078
14079 2012-04-20 Dan Nicolaescu <dann@gnu.org>
14080
14081 * battery.el (battery-echo-area-format): Display remaining time
14082 for sysfs backend too (Bug#11269).
14083 (battery-linux-sysfs): Fix conditional for the charge.
14084
14085 2012-04-20 Chong Yidong <cyd@gnu.org>
14086
14087 * progmodes/gdb-mi.el (gdb): Revert previous change.
14088 (gdb-inferior-io--init-proc): New function.
14089 (gdb-init-1): Use it.
14090 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14091 responsible for allocating a new pty and hooking it to gdb when
14092 the old pty gets an EIO due to process exit.
14093 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14094 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14095 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14096
14097 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14098
14099 * window.el (window-min-size, window-sizable, window-min-delta)
14100 (window-max-delta, window--resizable, window-resizable)
14101 (window-total-size, window-full-height-p, window-full-width-p)
14102 (window-in-direction, window--resize-mini-window, window-resize)
14103 (window--resize-child-windows-normal)
14104 (window--resize-child-windows, window--resize-siblings)
14105 (window--resize-this-window, adjust-window-trailing-edge)
14106 (enlarge-window, shrink-window): Doc fixes.
14107
14108 2012-04-20 Chong Yidong <cyd@gnu.org>
14109
14110 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14111 New function to call delete-process on the gdb-inferior buffer's pty.
14112 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14113 pty process (Bug#11273).
14114 (gdb-update): New arg to suppress talking to the gdb process.
14115 (gdb-done-or-error): Use it.
14116 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14117 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14118 sentinel not being called.
14119
14120 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14121
14122 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14123
14124 2012-04-20 Glenn Morris <rgm@gnu.org>
14125
14126 * net/network-stream.el (open-network-stream): Doc fix.
14127
14128 2012-04-20 Chong Yidong <cyd@gnu.org>
14129
14130 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14131
14132 2012-04-20 Alan Mackenzie <acm@muc.de>
14133
14134 Ensure searching for keywords is case sensitive.
14135
14136 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14137 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14138 (c-defun-name, c-mark-function, c-cpp-define-name)
14139 (c-comment-indent, c-scan-conditionals, c-indent-defun)
14140 (c-context-line-break): Bind case-fold-search to nil.
14141
14142 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14143 Bind case-fold-search to nil.
14144
14145 2012-04-20 Chong Yidong <cyd@gnu.org>
14146
14147 * mail/sendmail.el (mail-bury): Call return action with the right
14148 Rmail buffer (Bug#11242).
14149
14150 * server.el (server-process-filter): Handle corner case where both
14151 tty and nowait options are present (Bug#11102).
14152
14153 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14154
14155 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
14156 (top level): Put into the executable the ident-style '$Id:' tag on
14157 windows-nt as well.
14158
14159 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14160
14161 * electric.el (electric-indent-post-self-insert-function): Check that
14162 electric-indent-mode is enabled in current buffer.
14163
14164 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14165
14166 * imenu.el (imenu-progress-message): Restore; it is "used" in
14167 erc/erc-imenu.el and net/snmp-mode.el.
14168
14169 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14170
14171 * avoid.el (mouse-avoidance-mode): Mark unused arg.
14172 (mouse-avoidance-nudge-mouse): Remove unused binding.
14173
14174 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
14175
14176 * descr-text.el (describe-char):
14177 * progmodes/python.el (python-describe-symbol):
14178 Don't call `toggle-read-only', set `buffer-read-only'.
14179
14180 * imenu.el (imenu-default-goto-function): Mark unused args.
14181 (imenu-progress-message): Remove obsolete macro; all callers changed.
14182
14183 * subr.el (keymap-canonicalize): Remove unused binding.
14184 (read-passwd): Mark unused arg.
14185
14186 * tutorial.el (tutorial--display-changes): Remove unused binding.
14187 (tutorial--save-tutorial-to): Remove unused variable.
14188
14189 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
14190 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
14191 (package-generate-autoloads, package-menu--generate)
14192 (package-menu--find-upgrades): Remove unused bindings.
14193
14194 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
14195 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
14196 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
14197 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
14198 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
14199 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
14200 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
14201 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
14202 (cua-delete-char-rectangle): Mark unused args.
14203 (cua-align-rectangle): Remove unused binding.
14204
14205 * mail/rmail.el (compilation--message->loc)
14206 (epa--find-coding-system-for-mime-charset): Declare.
14207
14208 * net/dbus.el (dbus-register-service): Declare.
14209 (dbus-name-owner-changed-handler): Remove unused binding.
14210
14211 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
14212 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
14213 (nxml-scan-backward-within): Mark unused arg.
14214 (nxml-dynamic-markup-word): Remove unused binding.
14215
14216 * mouse.el (mouse-menu-major-mode-map):
14217 * emacs-lisp/authors.el (authors-scan-change-log)
14218 (authors-add-to-author-list):
14219 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
14220 * emacs-lisp/smie.el (smie-auto-fill):
14221 * mail/sendmail.el (mail-bury):
14222 * mail/unrmail.el (unrmail):
14223 * net/tls.el (open-tls-stream):
14224 * textmodes/picture.el (picture-mouse-set-point):
14225 Remove unused bindings.
14226
14227 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
14228
14229 * net/tramp.el (tramp-action-password): Let-bind
14230 `enable-recursive-minibuffers' to t.
14231
14232 2012-04-18 Sam Steingold <sds@gnu.org>
14233
14234 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
14235 instead of 'string to accommodate values like [f11].
14236 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
14237 * progmodes/gdb-mi.el: Likewise.
14238
14239 2012-04-18 Leo Liu <sdl.web@gmail.com>
14240
14241 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
14242 current buffer.
14243 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
14244 LOCAL is nil.
14245
14246 2012-04-18 Chong Yidong <cyd@gnu.org>
14247
14248 * simple.el (line-move): Use forward-line if in batch mode
14249 (Bug#11053).
14250
14251 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
14252
14253 * files.el (after-find-file): Do not try to add a final newline if
14254 the buffer is read-only (Bug#11156).
14255
14256 2012-04-17 Richard Stallman <rms@gnu.org>
14257
14258 * mail/rmail.el (rmail-start-mail):
14259 Pass (rmail-mail-return...) for the return-action.
14260 Pass (rmail-yank-current-message...) for the yank-action.
14261 (rmail-yank-current-message): New function.
14262 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
14263 (rmail-reply): Likewise.
14264 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
14265
14266 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
14267 buffer, not the last. Reject temp buffers. Use the rmail-mode
14268 buffer, not newbuf.
14269
14270 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
14271
14272 * server.el (server-ensure-safe-dir): Simplify.
14273
14274 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14275
14276 * emacs-lisp/smie.el: Provide smarter auto-filling.
14277 (smie-auto-fill): New function.
14278 (smie-setup): Use it.
14279
14280 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
14281
14282 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
14283
14284 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
14285 (comment-indent): Use it.
14286
14287 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
14288
14289 * ses.el: The overall change is to add cell renaming, that is
14290 setting fancy names for cell symbols other than name matching
14291 "\\`[A-Z]+[0-9]+\\'" regexp .
14292 (ses-localvars): Add ses--renamed-cell-symb-list.
14293 (ses-create-cell-variable): New defun.
14294 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
14295 (ses-relocate-formula): Relocate formulas only for cells the
14296 symbols of which are not renamed, i.e. symbols whose names do not
14297 match regexp "\\`[A-Z]+[0-9]+\\'".
14298 (ses-relocate-all): Relocate values only for cells the symbols of
14299 which are not renamed.
14300 (ses-load): Create cells variables as the (ses-cell ...) are read,
14301 in order to check row col consistency with cell symbol name only
14302 for cells that are not renamed.
14303 (ses-replace-name-in-formula): New defun.
14304 (ses-rename-cell): New defun.
14305
14306 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
14307
14308 * progmodes/perl-mode.el (perl-indent-parens-as-block):
14309 New option (bug#11118).
14310 (perl-calculate-indent): Respect it.
14311
14312 2012-04-17 Glenn Morris <rgm@gnu.org>
14313
14314 * dired-aux.el (dired-mark-read-string): Doc fix.
14315
14316 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
14317
14318 * dired-aux.el (dired-mark-read-string): Offer optional completion.
14319 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
14320
14321 2012-04-17 Glenn Morris <rgm@gnu.org>
14322
14323 * mouse.el (mouse-drag-track):
14324 * speedbar.el (speedbar-frame-mode):
14325 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
14326
14327 2012-04-16 Leo Liu <sdl.web@gmail.com>
14328
14329 * progmodes/python.el: Trivial cleanup.
14330
14331 2012-04-16 Glenn Morris <rgm@gnu.org>
14332
14333 * vc/vc.el (vc-string-prefix-p):
14334 * vc/pcvs-util.el (cvs-string-prefix-p):
14335 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
14336 * mpc.el (mpc-string-prefix-p):
14337 Make all of these into obsolete aliases for string-prefix-p.
14338 Update callers.
14339 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
14340
14341 * textmodes/two-column.el: Move custom options to the start.
14342 (frame-width): Remove compat definition.
14343 (2C-associate-buffer, 2C-dissociate):
14344 Use with-current-buffer rather than save-excursion.
14345 (2C-dissociate): Force a mode-line update.
14346 (2C-autoscroll): Use ignore-errors.
14347
14348 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
14349 Autoload trivia.
14350
14351 * emacs-lisp/cl-extra.el (*random-state*):
14352 Remove unnecessary declaration.
14353
14354 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
14355
14356 * play/cookie1.el (cookie-snarf):
14357 Give an explicit error if input file cannot be read.
14358
14359 * play/yow.el (yow-file): Use expand-file-name rather than concat.
14360
14361 * progmodes/perl-mode.el (c-macro-expand):
14362 Remove unnecessary autoload (it is in loaddefs.el).
14363
14364 * textmodes/picture.el (picture-desired-column)
14365 (picture-update-desired-column): Convert comments to doc-strings.
14366 (picture-substitute): Remove function.
14367 (picture-mode-map): Initialize in the defvar.
14368
14369 * woman.el: Remove eval-after-load for tar-mode.
14370 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
14371 (woman-tar-extract-file): Autoload it.
14372
14373 * frame.el (automatic-hscrolling): Make this alias obsolete.
14374
14375 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14376
14377 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
14378 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
14379 (ispell-dictionary-base-alist): Revert to original XEmacs
14380 friendly version for default. [:alpha:] will be added in
14381 `ispell-set-spellchecker-params' if needed.
14382
14383 2012-04-16 Chong Yidong <cyd@gnu.org>
14384
14385 * image.el (imagemagick--file-regexp): New variable.
14386 (imagemagick-register-types): Use it.
14387 (imagemagick-types-inhibit): Add :set function. Allow new value
14388 of t to inhibit all types.
14389
14390 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
14391 so we can preload it.
14392
14393 * loadup.el (fboundp): Preload regexp-opt, needed by
14394 imagemagick-register-types.
14395
14396 2012-04-15 Chong Yidong <cyd@gnu.org>
14397
14398 * frame.el (scrolling): Remove nearly unused customization group.
14399
14400 * scroll-all.el (scroll-all-mode): Move to windows group.
14401
14402 2012-04-15 Chong Yidong <cyd@gnu.org>
14403
14404 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14405
14406 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14407
14408 Avoid the use of ((lambda ...) ...) in lexical-binding code.
14409 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
14410
14411 2012-04-15 Glenn Morris <rgm@gnu.org>
14412
14413 * simple.el (process-file-side-effects): Doc fix.
14414
14415 2012-04-15 Glenn Morris <rgm@gnu.org>
14416
14417 * international/mule-cmds.el (set-language-environment): Doc fix.
14418
14419 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14420
14421 * server.el (server-auth-key, server-generate-key): Doc fixes.
14422 (server-get-auth-key): Doc fix. Use `string-match-p'.
14423 (server-start): Reflow docstring.
14424
14425 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
14426
14427 * server.el (server-generate-key): `called-interactively-p'
14428 requires a parameter.
14429
14430 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
14431
14432 * server.el (server-auth-key): New variable.
14433 (server-generate-key, server-get-auth-key): New function.
14434 (server-start): Use the new variable and functions to allow
14435 setting a permanent server key (bug#9423).
14436
14437 2012-04-14 Leo Liu <sdl.web@gmail.com>
14438
14439 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14440
14441 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14442
14443 Spelling fixes.
14444 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14445 Emacs uses American spelling.
14446
14447 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14448
14449 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14450 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
14451 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14452 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
14453
14454 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14455
14456 * progmodes/which-func.el (which-func-modes): Change default.
14457
14458 2012-04-14 Kim F. Storm <storm@cua.dk>
14459
14460 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14461 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14462
14463 2012-04-14 Chong Yidong <cyd@gnu.org>
14464
14465 * custom.el (custom-theme-set-variables): Doc fix.
14466
14467 2012-04-14 Glenn Morris <rgm@gnu.org>
14468
14469 * international/mule.el (set-auto-coding-for-load): Doc fix.
14470
14471 2012-04-14 Alan Mackenzie <acm@muc.de>
14472
14473 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14474 imenu work again for Objective C Mode. Correct the *-index values,
14475 these having been disturbed by a previous change in 2011-08.
14476
14477 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14478 Correct two search limits.
14479
14480 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14481
14482 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14483
14484 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
14485
14486 * international/characters.el: Fix sorting.
14487
14488 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14489
14490 * international/characters.el: Add more missing Latin case pairs.
14491
14492 2012-04-14 Glenn Morris <rgm@gnu.org>
14493
14494 * files.el (dir-locals-set-class-variables): Doc fix.
14495
14496 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14497
14498 * international/characters.el: Add set-case-syntax-pair call for
14499 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14500 counterpart. (Bug#11209)
14501
14502 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14503
14504 2012-04-14 Glenn Morris <rgm@gnu.org>
14505
14506 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14507
14508 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14509
14510 * textmodes/ispell.el (ispell-dictionary-base-alist):
14511 Add data for Hebrew.
14512
14513 2012-04-14 Chong Yidong <cyd@gnu.org>
14514
14515 * net/rcirc.el (rcirc-cmd-quit):
14516 Revert 2012-03-18 change (Bug#11192).
14517
14518 2012-04-14 Glenn Morris <rgm@gnu.org>
14519
14520 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14521
14522 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14523
14524 * minibuffer.el (completion-in-region-mode-map):
14525 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
14526
14527 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14528
14529 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14530
14531 2012-04-13 Masatake YAMATO <yamato@redhat.com>
14532
14533 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14534 to allow `C-M-f' and `C-M-b' to move to the nearest path
14535 separator (bug#9511).
14536
14537 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14538
14539 * avoid.el: Require cl when compiling. And also move the
14540 `provide' to the end.
14541
14542 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14543
14544 * avoid.el (mouse-avoidance-banish-position): New variable.
14545 (mouse-avoidance-banish-destination): Use it (bug#10165).
14546
14547 2012-04-13 Leo Liu <sdl.web@gmail.com>
14548
14549 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14550
14551 2012-04-13 Ken Brown <kbrown@cornell.edu>
14552
14553 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14554 this is no longer needed now that cygstart understands file:// URLs.
14555 (browse-url-filename-alist): For the same reason, don't modify
14556 file:// URLs on Cygwin.
14557
14558 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14559
14560 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14561 the region on shift if the binding is already shifted (bug#11221).
14562
14563 2012-04-12 Glenn Morris <rgm@gnu.org>
14564
14565 * mail/mailpost.el: Move to obsolete/.
14566
14567 2012-04-12 Drew Adams <drew.adams@oracle.com>
14568
14569 * imenu.el (imenu--generic-function): Ignore invisible definitions
14570 (bug#10123).
14571
14572 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14573
14574 * hexl.el (hexl-bits): New variable.
14575 (hexl-options): Mention the variable in the doc string.
14576 (hexl-rulerise, hexl-line-displen): New functions.
14577 (hexl-mode): Mention the new variable.
14578 (hexl-mode, hexl-current-address, hexl-current-address):
14579 Use the displen.
14580 (hexl-ascii-start-column): New function.
14581 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14582 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14583
14584 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14585
14586 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14587 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14588 the encoding, as expected by hunspell.
14589
14590 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14591
14592 * battery.el (battery--linux-sysfs-regexp): New const.
14593 (battery-status-function): Use it. Remove yeeloong special case.
14594 (battery-yeeloong-sysfs): Remove.
14595 (battery-echo-area-format): Remove yeeloong special case.
14596
14597 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14598
14599 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14600 Reported by Noah Friedman.
14601
14602 * subr.el (read-passwd): Use read-string.
14603
14604 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14605
14606 * vcursor.el (vcursor-move): Increase the priority of the overlay
14607 (bug#9663).
14608
14609 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14610
14611 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14612 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14613
14614 2012-04-11 William Stevenson <yhvh2000@gmail.com>
14615
14616 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14617 define-minor-mode (bug#10760).
14618
14619 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14620
14621 * progmodes/grep.el (rgrep): Tweak the find command line so
14622 that directories matching `grep-find-ignored-files' won't be
14623 pruned (bug#10351).
14624
14625 2012-04-11 Chong Yidong <cyd@gnu.org>
14626
14627 * startup.el (command-line): Remove support for long-obsolete
14628 variable font-lock-face-attributes.
14629
14630 2012-04-11 Glenn Morris <rgm@gnu.org>
14631
14632 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14633
14634 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14635
14636 * window.el (window--state-get-1): Obey window-point-insertion-type.
14637
14638 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14639
14640 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14641 to previous function when point is on the first character of a
14642 function. Take care of that in `narrow-to-defun' (bug#6157).
14643
14644 2012-04-11 Glenn Morris <rgm@gnu.org>
14645
14646 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14647 not just file-errors.
14648
14649 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14650 (vc-bzr-sha1): Use internal sha1.
14651
14652 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14653
14654 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14655
14656 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
14657
14658 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14659 that start in the middle of the line (bug#10496).
14660
14661 2012-04-10 Dan Nicolaescu <dann@gnu.org>
14662
14663 * battery.el (battery-linux-proc-acpi): Only one battery is
14664 discharged at a time, but that seems to confuse battery.el when
14665 computing `rate-type' for the battery not being discharged
14666 (bug#10332).
14667
14668 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14669
14670 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14671
14672 * international/quail.el: Use dolist and simplify.
14673 (quail-define-package, quail-update-keyboard-layout)
14674 (quail-define-rules): Use dolist.
14675 (quail-insert-kbd-layout, quail-get-translation): CSE.
14676
14677 * tmm.el: Use dolist, remove left over hook.
14678 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14679 Use dolist.
14680 (calendar-load-hook): Don't mess with it.
14681
14682 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14683 Use derived-mode-p. Run the diff asynchronously.
14684
14685 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14686
14687 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14688
14689 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
14690
14691 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14692 (list-dynamic-libraries--loaded): New function.
14693 (list-dynamic-libraries--refresh): Use it.
14694
14695 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
14696
14697 * progmodes/python.el (python-fill-paragraph):
14698 Make python-fill-region in a multiline string work when font-lock is
14699 disabled (bug#7018).
14700
14701 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
14702
14703 * language/european.el (cp775): Add oem/legacy (en)coding on
14704 DOS/MS Windows for the Baltic languages. There are still plenty
14705 of texts written in this encoding/codepage (bug#6519).
14706
14707 2012-04-10 Glenn Morris <rgm@gnu.org>
14708
14709 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14710 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14711
14712 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14713
14714 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14715 next-line "n" and previous-line "p" in order to make recentf more
14716 consistent with ibuffer, dired or org-mode (bug#9387).
14717
14718 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14719
14720 * image.el (put-image): Return the overlay created instead of the
14721 optional input string (bug#7834). Note that this may break code
14722 that is (for some reason or other) depending on `put-image'
14723 returning the string.
14724
14725 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14726
14727 * simple.el (zap-to-char): Allow zapping using input methods
14728 (bug#1580).
14729
14730 * textmodes/fill.el (fill-region): Leave point and mark where they
14731 were before filling (bug#5399).
14732
14733 2012-04-09 Glenn Morris <rgm@gnu.org>
14734
14735 * version.el (emacs-bzr-get-version):
14736 Handle lightweight checkouts of local branches.
14737
14738 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14739
14740 * international/characters.el: Recover lost case pairs. (Bug#11209)
14741
14742 2012-04-09 Chong Yidong <cyd@gnu.org>
14743
14744 * custom.el (custom-variable-p): Return nil for non-symbol
14745 arguments instead of signaling an error.
14746 (user-variable-p): Obsolete alias for custom-variable-p.
14747
14748 * apropos.el (apropos-variable):
14749 * files-x.el (read-file-local-variable):
14750 * simple.el (set-variable):
14751 * woman.el (woman-mini-help):
14752 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14753
14754 2012-04-09 Glenn Morris <rgm@gnu.org>
14755
14756 * startup.el (normal-top-level): Don't look for leim-list.el
14757 in places where it will not be found. (Bug#910)
14758
14759 * international/mule-cmds.el (set-default-coding-systems):
14760 * files.el (normal-mode):
14761 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14762 This function was removed with ucs-tables.el in 2008.
14763
14764 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14765
14766 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14767 ispell-encoding8-command to "-i", without a trailing space.
14768 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14769 separate command-line arguments, to specify the encoding, since
14770 that's how hunspell expects it.
14771
14772 2012-04-08 Glenn Morris <rgm@gnu.org>
14773
14774 * loadup.el: Load bindings before cus-start.
14775 This reduces somewhat the number of "rogue" settings in emacs -Q.
14776
14777 2012-04-07 Glenn Morris <rgm@gnu.org>
14778
14779 * version.el (emacs-bzr-get-version): New function.
14780 (emacs-bzr-version): New variable.
14781 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14782 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14783
14784 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14785
14786 * international/uni-bidi.el, international/uni-category.el:
14787 * international/uni-combining.el, international/uni-decimal.el:
14788 * international/uni-decomposition.el, international/uni-digit.el:
14789 * international/uni-lowercase.el, international/uni-mirrored.el:
14790 * international/uni-name.el, international/uni-numeric.el:
14791 * international/uni-titlecase.el, international/uni-uppercase.el:
14792 Update for Unicode 6.1.
14793
14794 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14795
14796 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14797
14798 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14799
14800 * window.el (shrink-window): Mention the `window-min-height'
14801 variable in the doc string.
14802
14803 2012-04-05 Bastien Guerry <bzg@altern.org>
14804
14805 * color.el (color-lighten-name): Fix typo.
14806
14807 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14808
14809 * server.el (server--on-display-p): New function.
14810 (server--on-display-p): Use it.
14811
14812 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
14813
14814 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14815 (bug#11145).
14816
14817 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14818
14819 * comint.el (comint--common-quoted-suffix): Check string boundary
14820 before comparing (bug#11158).
14821 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14822
14823 2012-04-04 Chong Yidong <cyd@gnu.org>
14824
14825 * minibuffer.el (completion-extra-properties): Doc fix.
14826
14827 * subr.el (delayed-warnings-hook): Doc fix.
14828
14829 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14830
14831 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14832 selection (Bug#11159).
14833 (epa-insert-keys): Inform that the default public key will be
14834 exported if no key is selected.
14835
14836 2012-04-04 Richard Stallman <rms@gnu.org>
14837
14838 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14839
14840 2012-04-03 Chong Yidong <cyd@gnu.org>
14841
14842 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14843 mail-insert-file, not its obsolete alias mail-attach-file.
14844
14845 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14846
14847 * notifications.el (notifications-notify): Fix docstring.
14848
14849 2012-04-02 Glenn Morris <rgm@gnu.org>
14850
14851 * emacs-lisp/authors.el (authors-aliases): Another addition.
14852
14853 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14854
14855 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14856 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14857 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14858
14859 2012-04-01 Chong Yidong <cyd@gnu.org>
14860
14861 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14862 Handle root directory properly.
14863 (copy-directory): Caller changed.
14864
14865 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14866 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14867
14868 2012-03-31 Glenn Morris <rgm@gnu.org>
14869
14870 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14871
14872 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14873
14874 * calendar/calendar.el (calendar-window-list)
14875 (calendar-hide-window): Restore. (Bug#11140)
14876 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14877
14878 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14879
14880 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14881
14882 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14883 Check if file is a symlink (Bug#10489).
14884
14885 * files.el (copy-directory): Likewise.
14886
14887 2012-03-30 Chong Yidong <cyd@gnu.org>
14888
14889 * image.el (imagemagick-types-inhibit)
14890 (imagemagick-register-types): Doc fix.
14891
14892 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14893
14894 * textmodes/ispell.el (ispell-get-extended-character-mode):
14895 Disable extended-char-mode for hunspell. hunspell does not support it
14896 and treats ~word as ordinary words in pipe mode.
14897
14898 2012-03-30 Glenn Morris <rgm@gnu.org>
14899
14900 * tutorial.el (help-with-tutorial): Ensure local variables don't
14901 happen to make the buffer read-only. (Bug#11127)
14902
14903 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14904
14905 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14906 (perl-calculate-indent): Return `noindent' in strings.
14907
14908 2012-03-28 Sam Steingold <sds@gnu.org>
14909
14910 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14911 instead of the broken adhockery which does not prevent calendar
14912 buffers from being displayed at random after exit.
14913 (calendar-window-list, calendar-hide-window): Remove the broken
14914 adhockery.
14915
14916 2012-03-28 Glenn Morris <rgm@gnu.org>
14917
14918 * replace.el (query-replace-map): Doc fix.
14919
14920 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14921
14922 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14923 contents. (Bug#11109)
14924
14925 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14926
14927 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14928 (bug#11077).
14929 (avl-tree--check, avl-tree--check-node): New funs.
14930
14931 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14932
14933 * window.el (switch-to-visible-buffer): New option.
14934 (switch-to-prev-buffer, switch-to-next-buffer):
14935 Observe switch-to-visible-buffer. Make sure that checking for a window
14936 showing a buffer already is done on the same frame.
14937
14938 2012-03-27 Glenn Morris <rgm@gnu.org>
14939
14940 * startup.el (mail-host-address): Doc fix.
14941
14942 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14943
14944 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14945 than 197 variables.
14946
14947 2012-03-26 Ami Fischman <ami@fischman.org>
14948
14949 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14950
14951 2012-03-26 Glenn Morris <rgm@gnu.org>
14952
14953 * files.el (save-buffers-kill-emacs): Doc fix.
14954
14955 * startup.el (normal-top-level, command-line, command-line-1):
14956 Give them doc strings.
14957
14958 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14959
14960 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14961 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14962
14963 2012-03-25 Chong Yidong <cyd@gnu.org>
14964
14965 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14966 theme if it was previously enabled before (Bug#11031).
14967
14968 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14969 spec with custom-face-get-current-spec if its :shown-value is not
14970 determined yet (Bug#9337).
14971 (customize-create-theme, custom-theme-revert): Doc fixes.
14972
14973 * button.el (button-at): Minor addition to docstring.
14974
14975 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14976
14977 * vc/vc.el (vc-merge): Fix a prompt.
14978
14979 2012-03-24 Chong Yidong <cyd@gnu.org>
14980
14981 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14982 point (Bug#9623).
14983
14984 * button.el (button-at): Minor addition to docstring.
14985
14986 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14987
14988 * newcomment.el (comment-choose-indent): No space after BOL.
14989
14990 2012-03-22 Sam Steingold <sds@gnu.org>
14991
14992 * window.el (switch-to-prev-buffer): Revert last patch because the
14993 bug turned out to be an advertised feature (Elisp manual 28.14).
14994
14995 2012-03-22 Glenn Morris <rgm@gnu.org>
14996
14997 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14998 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14999
15000 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15001
15002 * net/network-stream.el (network-stream-open-starttls): Make error
15003 message under Windows be less misleading.
15004
15005 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15006
15007 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15008 understands (bug#9942).
15009
15010 2012-03-22 Chong Yidong <cyd@gnu.org>
15011
15012 * simple.el (end-of-visible-line): Handle return value of
15013 next-single-property-change properly (Bug#9371).
15014
15015 2012-03-22 Kenichi Handa <handa@m17n.org>
15016
15017 * international/quail.el (quail-insert-kbd-layout): Fix previous
15018 change. To avoid unwanted bidi reordering, use
15019 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15020
15021 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15022
15023 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15024 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15025 (ruby-beginning-of-indent): Be more careful with the difference
15026 between word-boundary and symbol boundary.
15027 (ruby-mode-syntax-table): Make : a symbol constituent.
15028
15029 2012-03-21 Andreas Politz <politza@fh-trier.de>
15030
15031 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15032
15033 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15034
15035 * progmodes/etags.el (tags-completion-at-point-function):
15036 Improve last fix.
15037
15038 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15039
15040 2012-03-21 Sam Steingold <sds@gnu.org>
15041
15042 * progmodes/etags.el (tags-completion-at-point-function):
15043 Avoid the error when point is inside the pattern.
15044
15045 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15046
15047 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15048 line (Bug#10855).
15049
15050 2012-03-21 Drew Adams <drew.adams@oracle.com>
15051
15052 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15053
15054 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15055
15056 * ido.el (ido-set-current-directory, ido-read-internal)
15057 (ido-choose-completion-string, ido-completion-help): Handle nil
15058 value of ido-completion-buffer (Bug#11008).
15059
15060 2012-03-21 Sam Steingold <sds@gnu.org>
15061
15062 * window.el (switch-to-prev-buffer): Do not switch to a visible
15063 window previous buffer, just like with the frame previous buffers.
15064
15065 2012-03-21 Chong Yidong <cyd@gnu.org>
15066
15067 * faces.el (make-face, make-empty-face, copy-face):
15068 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15069 Doc fixes.
15070
15071 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15072
15073 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15074 (widget-complete): Remove broken use of it.
15075
15076 2012-03-20 Chong Yidong <cyd@gnu.org>
15077
15078 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15079 Use string-width and truncate-string-width to handle arbitrary
15080 characters.
15081
15082 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15083
15084 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15085 to draw rectangles, not squares. (Regression introduced by revno
15086 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15087
15088 2012-03-18 Chong Yidong <cyd@gnu.org>
15089
15090 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15091 it is not yet defined (for temacs).
15092
15093 2012-03-18 Leo Liu <sdl.web@gmail.com>
15094
15095 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15096 prefix.
15097
15098 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15099
15100 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15101 (ispell-choices-win-default-height, ispell-silently-savep)
15102 (ispell-dictionary-alist, ispell-encoding8-command)
15103 (ispell-check-version, ispell-aspell-find-dictionary)
15104 (ispell-valid-dictionary-list, ispell-words-keyword)
15105 (ispell-get-word, ispell-internal-change-dictionary)
15106 (ispell-region, ispell-skip-region-list)
15107 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15108 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15109 (ispell-message-text-end, ispell-message)
15110 (ispell-buffer-local-parsing): Doc fix.
15111
15112 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
15113
15114 * htmlfontify.el: Add support for code block fontification for ODT
15115 export (Bug #9914).
15116 (hfy-optimisations): Define new option
15117 `body-text-only'
15118 (hfy-fontify-buffer): Honor above setting.
15119 (hfy-begin-span, hfy-end-span): New routines factored out form
15120 `hfy-fontify-buffer'.
15121 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15122 that permit insertion of custom tags.
15123 (hfy-fontify-buffer): Use above handlers.
15124 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15125 (hfy-face-to-css): Re-defined to be a variable.
15126 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
15127 over multiple runs. This is made possible by having the caller let
15128 bind a special variable `hfy-user-sheet-assoc'.
15129 (htmlfontify-string): New defun.
15130 (hfy-compile-face-map): Make sure that the last char in the
15131 buffer is correctly fontified.
15132 (hfy-face-resolve-face): Whitespace only change.
15133
15134 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15135
15136 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15137 message more clear.
15138
15139 2012-03-16 Leo Liu <sdl.web@gmail.com>
15140
15141 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15142
15143 2012-03-16 Alan Mackenzie <acm@muc.de>
15144
15145 Further optimize the handling of large macros.
15146
15147 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15148 limit to a call of `c-literal-limits'.
15149 (c-determine-+ve-limit): New function.
15150 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15151 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15152 In CASE 5B, restrict a search limit to 500.
15153 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15154
15155 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15156 Restrict macro bounds to +-500 from after-change's BEG END.
15157
15158 2012-03-16 Leo Liu <sdl.web@gmail.com>
15159
15160 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
15161
15162 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
15163
15164 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
15165 `special-mode' setting of `buffer-read-only'. (Bug#11010)
15166
15167 2012-03-16 Glenn Morris <rgm@gnu.org>
15168
15169 * view.el (view-buffer, view-buffer-other-window)
15170 (view-buffer-other-frame): Doc fixes re special mode-class.
15171
15172 * subr.el (eval-after-load): If named feature is provided not from
15173 a file, run after-load forms. (Bug#10946)
15174
15175 * calendar/calendar.el (calendar-insert-at-column):
15176 Handle non-unit-width characters a bit better. (Bug#10978)
15177
15178 2012-03-15 Chong Yidong <cyd@gnu.org>
15179
15180 * emacs-lisp/ring.el (ring-extend): New function.
15181 (ring-insert+extend): Extend the ring correctly (Bug#11019).
15182
15183 * comint.el (comint-read-input-ring)
15184 (comint-add-to-input-history): Grow comint-input-ring lazily.
15185
15186 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15187
15188 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
15189 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
15190
15191 * imenu.el: Fix multiple inheritance breakage (bug#9199).
15192 (imenu-add-to-menubar): Don't add a redundant index.
15193 (imenu-update-menubar): Handle a dynamically composed keymap.
15194
15195 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
15196
15197 * mail/sendmail.el (mail-encode-header):
15198 Bind rfc2047-encode-encoded-words to nil.
15199
15200 2012-03-13 Glenn Morris <rgm@gnu.org>
15201
15202 * calendar/calendar.el (calendar-string-spread):
15203 Handle non-unit-width characters a bit better. (Bug#10978)
15204
15205 2012-03-13 Leo Liu <sdl.web@gmail.com>
15206
15207 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
15208 directory and file as argument (Bug#10822).
15209
15210 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15211
15212 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
15213 For dynamically generated code, follow $PC.
15214 (gdb-disassembly-handler-custom): Handle no function name case.
15215
15216 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
15217
15218 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
15219 * emulation/ws-mode.el (ws-query-replace):
15220 * sort.el (sort-regexp-fields):
15221 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
15222
15223 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15224
15225 * dabbrev.el: Fix cycle completion order (bug#10963).
15226 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
15227 (dabbrev-completion): Don't use an obarray; provide
15228 a cycle-sort-function.
15229
15230 2012-03-12 Leo Liu <sdl.web@gmail.com>
15231
15232 * simple.el (kill-new): Use equal-including-properties for comparison.
15233 (kill-do-not-save-duplicates): Doc fix.
15234
15235 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15236
15237 * dabbrev.el: Fix cycle completion (bug#10963).
15238 Use lexical binding and wrap to 80 columns.
15239 (dabbrev-completion): Delay computing the list of completions.
15240
15241 2012-03-12 Kenichi Handa <handa@m17n.org>
15242
15243 * international/quail.el (quail-insert-kbd-layout): Surround each
15244 row by LRO and PDF instead of inserting many LRMs. Pad the left
15245 and right of each non-spacing marks. Insert invisible space
15246 between lower and upper characters to prevent composition.
15247
15248 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15249
15250 * minibuffer.el (minibuffer-complete): Don't get confused when the
15251 function is run twice via different commands (bug#10958).
15252 (complete-with-action): Fix docstring.
15253
15254 2012-03-12 Chong Yidong <cyd@gnu.org>
15255
15256 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
15257 (nxml-completion-at-point-function): New function.
15258 (nxml-mode): Use it.
15259 (nxml-bind-meta-tab-to-complete-flag): Default to t.
15260
15261 * emacs-lisp/package.el (package-unpack, package-unpack-single):
15262 Load generated autoloads file before byte compiling (Bug#10970).
15263 (package--make-autoloads-and-compile): New helper fun.
15264
15265 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
15266
15267 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
15268
15269 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
15270
15271 * autorevert.el (auto-revert-handler): Ensure, that
15272 file-readable-p is applied only for local files or in
15273 auto-revert-tail-mode.
15274
15275 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
15276
15277 * server.el (server-eval-at): Handle non-tcp connections.
15278 Decode result string.
15279
15280 * server.el (server-msg-size): New constant.
15281 (server-reply-print): New function.
15282 (server-eval-and-print): Use it.
15283 (server-eval-at): Use server-quote-arg and server-unquote-arg.
15284 Handle -print-nonl.
15285
15286 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
15287
15288 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
15289 (Bug#10987).
15290
15291 2012-03-11 Chong Yidong <cyd@gnu.org>
15292
15293 * simple.el (goto-line): Doc fix (Bug#9938).
15294
15295 * subr.el (save-window-excursion): Doc fix (Bug#9979).
15296
15297 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
15298 when finished (Bug#10963).
15299
15300 2012-03-11 Martin Rudalics <rudalics@gmx.at>
15301
15302 * window.el (split-window-below): Fix bug in case where
15303 split-window-keep-point is nil (Bug#10971).
15304
15305 2012-03-11 Juri Linkov <juri@jurta.org>
15306
15307 * replace.el (replace-highlight): Set isearch-word to nil
15308 unconditionally. (Bug#10887)
15309
15310 2012-03-10 Eli Zaretskii <eliz@gnu.org>
15311
15312 * net/mairix.el (mairix-replace-invalid-chars): Rename from
15313 mairix-replace-illegal-chars; all callers changed. Don't remove
15314 ^, ~, and = characters: they are meaningful in mairix search specs.
15315 (mairix-widget-create-query): Add usage information about mairix
15316 search forms: negating words, searching for substrings, etc.
15317
15318 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
15319
15320 * international/fontset.el (font-encoding-alist): Add an entry for
15321 ksx1001 (Bug#5667).
15322
15323 2012-03-10 Richard Stallman <rms@gnu.org>
15324
15325 * mail/sendmail.el (mail-encode-header):
15326 Set rfc2047-encode-encoded-words.
15327
15328 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
15329
15330 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
15331 view buffer means not swapped.
15332 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
15333 (rmail-write-region-annotate): Error if real text has disappeared.
15334
15335 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
15336
15337 2012-03-10 Chong Yidong <cyd@gnu.org>
15338
15339 * emulation/cua-rect.el (cua--init-rectangles):
15340 * emulation/cua-base.el (cua--init-keymaps):
15341 Add delete-forward-char to remappings (Bug#9666).
15342
15343 2012-03-10 Martin Rudalics <rudalics@gmx.at>
15344
15345 * speedbar.el (speedbar-unhighlight-one-tag-line):
15346 Avoid unhighlighting due to frame switching (Bug#10275).
15347
15348 2012-03-10 Chong Yidong <cyd@gnu.org>
15349
15350 * minibuffer.el (completion-in-region, completion-help-at-point):
15351 Give the completion field overlay a high priority (Bug#6830).
15352
15353 * dired.el (dired-goto-file): Recognize absolute file name
15354 listings (Bug#7126).
15355 (dired-goto-file-1): New helper function.
15356 (dired-toggle-read-only): Inhibit warnings.
15357
15358 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
15359
15360 * net/dbus.el (dbus-property-handler): Return empty array if
15361 there are no properties.
15362
15363 2012-03-09 Leo Liu <sdl.web@gmail.com>
15364
15365 * savehist.el (savehist-printable): Stricter check for string
15366 value (Bug#10937).
15367
15368 2012-03-09 Eli Zaretskii <eliz@gnu.org>
15369
15370 * mail/smtpmail.el (smtpmail-send-it):
15371 Bind coding-system-for-write to *-unix, so that FCC files are kept in
15372 valid mbox format.
15373
15374 2012-03-09 Glenn Morris <rgm@gnu.org>
15375
15376 * files.el (dir-locals-find-file):
15377 Don't check result is regular, readable.
15378 (dir-locals-read-from-file): Demote errors.
15379
15380 2012-03-08 Eli Zaretskii <eliz@gnu.org>
15381
15382 * international/quail.el (quail-insert-kbd-layout):
15383 Insert invisible LRM characters before each character in a keyboard
15384 layout cell, to prevent their reordering by bidi display engine.
15385 For details, see the discussion in
15386 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
15387
15388 2012-03-08 Alan Mackenzie <acm@muc.de>
15389
15390 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
15391 the starting position; make it extend the marked region when
15392 invoked repeatedly - all under appropriate circumstances.
15393 Fixes bugs #5525, #10906.
15394
15395 2012-03-08 Glenn Morris <rgm@gnu.org>
15396
15397 * files.el (locate-dominating-file, dir-locals-find-file):
15398 Undo 2012-03-06 change.
15399
15400 2012-03-07 Eli Zaretskii <eliz@gnu.org>
15401
15402 * international/quail.el (quail-help):
15403 Force bidi-paragraph-direction be left-to-right. See discussion in
15404 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15405 for the reason.
15406
15407 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
15408
15409 Avoid superfluous registering of signals. (Bug#10807)
15410
15411 * notifications.el (notifications-on-action-object)
15412 (notifications-on-close-object): New defvars.
15413 (notifications-on-action-signal, notifications-on-closed-signal):
15414 Unregister the signal if not needed any longer.
15415 (notifications-notify): Register `notifications-action-signal' or
15416 `notifications-closed-signal', if :on-action or :on-close has been
15417 passed as argument.
15418
15419 2012-03-07 Chong Yidong <cyd@gnu.org>
15420
15421 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15422 non-X platforms.
15423
15424 2012-03-06 Glenn Morris <rgm@gnu.org>
15425
15426 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15427 (x-disown-selection-internal, x-get-selection-internal):
15428 Doc fix (add arglist signatures). (Bug#10783)
15429
15430 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15431
15432 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15433 Handle breakpoints with no "type".
15434
15435 2012-03-06 Glenn Morris <rgm@gnu.org>
15436
15437 * files.el (locate-dominating-file): Add optional predicate argument.
15438 (dir-locals-find-file): Make use of above change.
15439
15440 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
15441
15442 * info.el (Info-insert-dir): Also try "dir.gz".
15443
15444 2012-03-06 Glenn Morris <rgm@gnu.org>
15445
15446 * files.el (dir-locals-find-file):
15447 Ignore non-readable or non-regular files. (Bug#10928)
15448
15449 * files.el (locate-dominating-file): Doc fix.
15450
15451 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
15452
15453 * calendar/calendar.el (calendar-set-mode-line):
15454 `getenv' returns a string. (Bug#10951)
15455
15456 2012-03-05 Leo Liu <sdl.web@gmail.com>
15457
15458 * simple.el (backward-delete-char-untabify): Constrain point to
15459 field (Bug#10939).
15460
15461 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15462
15463 2012-03-05 Chong Yidong <cyd@gnu.org>
15464
15465 * simple.el (count-words): If called from Lisp, return the word
15466 count, for symmetry with `count-lines'. Arglist changed.
15467 (count-words--message): Args changed. Consolidate counting code
15468 from count-words and count-words-region.
15469 (count-words-region): Caller changed.
15470 (count-lines-region): Make it an obsolete alias.
15471
15472 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15473
15474 * saveplace.el (save-place-to-alist)
15475 (save-place-ignore-files-regexp): Allow value nil to disable this
15476 feature.
15477
15478 2012-03-04 Chong Yidong <cyd@gnu.org>
15479
15480 * faces.el (face-spec-reset-face): For the default face, reset the
15481 attributes to default values (Bug#10748).
15482
15483 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15484
15485 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15486 previous patch: Check `message-send-mail-function', and not the
15487 default function (bug#10897).
15488
15489 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
15490
15491 * notifications.el (notifications-on-action-signal)
15492 (notifications-on-closed-signal): Check for unique service name of
15493 incoming event. Fix error in removing entry.
15494 (top): Register for signals with wildcard service name.
15495 (notifications-notify): Use daemon unique service name for map entries.
15496
15497 2012-03-04 Chong Yidong <cyd@gnu.org>
15498
15499 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
15500
15501 2012-03-04 Glenn Morris <rgm@gnu.org>
15502
15503 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15504 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15505 (expand-abbrev, define-abbrev-table): Doc fixes.
15506
15507 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15508
15509 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15510 `message-default-send-mail-function' and not `send-mail-function'
15511 when doing the prompting for `sendmail-query-once' before sending
15512 in Message buffers (bug#10897).
15513
15514 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15515 This is inconsistent with all the other stream functions, which leave
15516 the setting up to the higher levels (if so wanted) (bug#10931).
15517
15518 2012-03-02 Alan Mackenzie <acm@muc.de>
15519
15520 Depessimize the handling of very large macros.
15521
15522 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15523 (c-macro-cache-syntactic): New variables to implement a one
15524 element macro cache.
15525 (c-invalidate-macro-cache): New function.
15526 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15527 Adapt to use the new cache.
15528 (c-state-safe-place): Use better the cache of safe positions.
15529 (c-state-semi-nonlit-pos-cache)
15530 (c-state-semi-nonlit-pos-cache-limit):
15531 New variables for...
15532 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15533 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15534 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15535 Use c-state-semi-safe-place.
15536
15537 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15538 Add c-invalidate-macro-cache to the C, C++, Obj entries.
15539
15540 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
15541
15542 * jka-compr.el (jka-compr-call-process):
15543 Apply `file-accessible-directory-p' only when the default directory is
15544 not remote.
15545
15546 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
15547
15548 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15549 access of FILE2, if FILE1 does not exist.
15550
15551 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15552 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15553
15554 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15555 Add "PAGER=" to `process-environment'.
15556
15557 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15558
15559 * progmodes/sql.el: Bug fix
15560 (sql-get-login-ext): Save login values in globals.
15561 (sql-get-login): Use new version of `sql-get-login-ext'.
15562 (sql-interactive-mode): Set global `sql-connection' to nil.
15563 (sql-connect): Set global values for connection.
15564 (sql-product-interactive): Save global values as buffer local.
15565
15566 2012-02-29 Leo Liu <sdl.web@gmail.com>
15567
15568 * abbrev.el (define-abbrevs): Reset sys to nil.
15569
15570 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15571
15572 * files.el (file-equal-p): Rename from `files-equal-p'.
15573 Return nil when one or both files don't exist.
15574 (file-subdir-of-p): Now only top directory must exists,
15575 return nil if it doesn't.
15576 (copy-directory): No need to test with `file-subdir-of-p' after
15577 creating dir.
15578 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15579 to `file-equal-p'.
15580
15581 2012-02-28 Glenn Morris <rgm@gnu.org>
15582
15583 * shell.el (shell-mode):
15584 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15585 * play/landmark.el (landmark-font-lock-face-O):
15586 * play/handwrite.el (handwrite):
15587 * play/gomoku.el (gomoku-O):
15588 * net/browse-url.el (browse-url-browser-display):
15589 * international/mule.el (define-charset):
15590 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15591 * filesets.el (filesets-find-file-delay):
15592 * eshell/em-xtra.el (eshell-xtra):
15593 * eshell/em-unix.el (eshell-grep):
15594 * emulation/viper.el (viper-mode):
15595 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15596 * emacs-lisp/easymenu.el (easy-menu-define):
15597 * calendar/timeclock.el (timeclock-use-display-time):
15598 * bs.el (bs-mode):
15599 * bookmark.el (bookmark-save-flag):
15600 Doc fix (standardize possessive apostrophe usage).
15601
15602 2012-02-27 Chong Yidong <cyd@gnu.org>
15603
15604 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15605 Fix key-binding lookup for ESC key (Bug#9146).
15606
15607 * font-lock.el (font-lock-specified-p): Rename from
15608 font-lock-spec-present. Callers changed.
15609
15610 2012-02-27 Daniel Hackney <dan@haxney.org>
15611
15612 * emacs-lisp/package.el (package-compute-transaction):
15613 Handle holding a package version to t in package-load-list.
15614
15615 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
15616
15617 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15618 (tramp-get-inode, tramp-get-device): Use cached values.
15619
15620 2012-02-26 Alan Mackenzie <acm@muc.de>
15621
15622 Check there is a font-lock specification before doing initial
15623 fontification.
15624
15625 * font-core.el (font-lock-mode): Move the conditional from
15626 :after-hook to font-lock-initial-fontify.
15627 (font-lock-default-function): Move the check for a specification
15628 to font-lock-spec-present.
15629
15630 * font-lock.el (font-lock-initial-fontify): Call ...
15631 (font-lock-spec-present): New function.
15632
15633 2012-02-26 Jim Blandy <jimb@red-bean.com>
15634
15635 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15636 (gdb-send): Apply it to the operand of the '-interpreter-exec
15637 console' command, so that we can pass arguments with (say) quotes
15638 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15639
15640 2012-02-26 Chong Yidong <cyd@gnu.org>
15641
15642 * help-fns.el (describe-function-1): Clarify description of
15643 remapping (Bug#10844).
15644
15645 * files.el (files-equal-p): Doc fix.
15646 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15647 and quit the loop once a mismatch is found.
15648
15649 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
15650
15651 * bs.el (bs--show-with-configuration): Don't throw an error
15652 if the window cannot be split; otherwise, subsequent calls to
15653 bs-show fail, restoring a stale window config. (Bug#10882)
15654
15655 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15656
15657 * term/ns-win.el (global-map): Bind ns-drag-file to
15658 ns-find-file (Bug#5855, Bug#10050).
15659
15660 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15661
15662 * calendar/parse-time.el (parse-time-string): Allow extractor to
15663 return nil.
15664
15665 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
15666
15667 * net/tramp.el (tramp-file-name-for-operation):
15668 Add `files-equal-p' and `file-subdir-of-p'.
15669
15670 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15671 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15672 Add COPY-CONTENTS argument.
15673
15674 2012-02-25 Chong Yidong <cyd@gnu.org>
15675
15676 Add custom groups for VC backends, for consistency with vc-bzr.
15677
15678 * vc/vc-arch.el (vc-arch):
15679 * vc/vc-cvs.el (vc-cvs):
15680 * vc/vc-git.el (vc-git):
15681 * vc/vc-hg.el (vc-hg):
15682 * vc/vc-mtn.el (vc-mtn):
15683 * vc/vc-rcs.el (vc-rcs):
15684 * vc/vc-sccs.el (vc-sccs):
15685 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15686 All relevant defcustoms reassigned.
15687
15688 2012-02-25 Chong Yidong <cyd@gnu.org>
15689
15690 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15691
15692 * term/x-win.el (x-initialize-window-system): Reduce default for
15693 x-selection-timeout to 5 seconds (Bug#8869).
15694
15695 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15696
15697 * files.el (files-equal-p, file-subdir-of-p): New functions.
15698 (copy-directory): Error when trying to copy a directory on itself.
15699 Add missing copy-contents arg to tramp handler.
15700 * dired-aux.el (dired-copy-file-recursive): Same.
15701 (dired-create-files): Modify destination when source is equal to
15702 dest when copying files.
15703 Return also when dest is a subdir of source. (Bug#10489)
15704
15705 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
15706
15707 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15708 (Bug#10874)
15709
15710 2012-02-23 Alan Mackenzie <acm@muc.de>
15711
15712 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15713 parameter "after-hook:" to allow the expansion to run code after
15714 the execution of the mode hooks.
15715
15716 * font-lock.el (font-lock-initial-fontify): New function extracted
15717 from font-lock-mode-internal.
15718
15719 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15720 :after-hook.
15721
15722 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15723
15724 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15725 (completion--cache-all-sorted-completions): New function.
15726 (completion-all-sorted-completions): Use it.
15727 (completion--do-completion, minibuffer-force-complete):
15728 Use it to re-instate the flush hook.
15729
15730 * icomplete.el (icomplete-completions): Replace last fix with a better
15731 one (bug#10850).
15732
15733 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15734
15735 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15736 when it might call us back infinitely (bug#10797).
15737
15738 2012-02-23 Glenn Morris <rgm@gnu.org>
15739
15740 * minibuffer.el (completion-category-overrides): Doc fix.
15741
15742 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15743
15744 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15745 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15746
15747 2012-02-23 Glenn Morris <rgm@gnu.org>
15748
15749 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15750 (authors-obsolete-files-regexps, authors-ignored-files)
15751 (authors-ambiguous-files, authors-renamed-files-alist):
15752 Add more entries.
15753
15754 2012-02-23 Juri Linkov <juri@jurta.org>
15755
15756 * isearch.el (isearch-occur): Sync interactive spec with occur's
15757 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15758
15759 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15760
15761 2012-02-22 Juri Linkov <juri@jurta.org>
15762
15763 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15764 (ucs-insert): Doc fix. Check for hex digits in the string.
15765 Don't display `nil' in the error message. (Bug#10857)
15766
15767 2012-02-22 Alan Mackenzie <acm@muc.de>
15768
15769 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15770
15771 2012-02-22 Glenn Morris <rgm@gnu.org>
15772
15773 * ffap.el (ffap-c-path):
15774 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15775
15776 2012-02-22 Chong Yidong <cyd@gnu.org>
15777
15778 * custom.el (load-theme): Doc fix.
15779
15780 2012-02-22 Glenn Morris <rgm@gnu.org>
15781
15782 * dired-x.el (dired-guess-shell-alist-default):
15783 Remove escape sequences from nroff output. (Bug#172)
15784
15785 2012-02-21 Glenn Morris <rgm@gnu.org>
15786
15787 * vc/emerge.el (emerge-defvar-local):
15788 Set `permanent-local' property rather than unused `preserved'.
15789
15790 * textmodes/picture.el (picture-delete-char): New alias.
15791 (picture-mode-map): Use it. (Bug#10860)
15792 (picture-mode): Doc fix.
15793
15794 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15795
15796 * newcomment.el (uncomment-region-default): Remove unused binding.
15797
15798 2012-02-21 Glenn Morris <rgm@gnu.org>
15799
15800 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15801 (picture-self-insert, picture-tab-chars): Doc fix.
15802 (picture-mode-map): Fix C-a, C-e.
15803
15804 2012-02-20 Glenn Morris <rgm@gnu.org>
15805
15806 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15807
15808 2012-02-20 Leo Liu <sdl.web@gmail.com>
15809
15810 * icomplete.el (icomplete-completions): Check FROM arg before
15811 passing to substring (Bug#10850).
15812
15813 2012-02-19 Chong Yidong <cyd@gnu.org>
15814
15815 * comint.el: Require ansi-color.
15816 (comint-output-filter-functions): Add ansi-color-process-output.
15817
15818 * ansi-color.el: Don't set comint-output-filter-functions; it is
15819 now in the initial value defined in comint.el.
15820 (ansi-color-apply-face-function): New variable.
15821 (ansi-color-apply-on-region): Use it.
15822 (ansi-color-apply-overlay-face): New function.
15823
15824 * shell.el (shell): No need to require ansi-color.
15825 (shell-mode): Use ansi-color-apply-face-function to highlight
15826 color escapes using font-lock-face property (Bug#10835).
15827
15828 2012-02-19 Chong Yidong <cyd@gnu.org>
15829
15830 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15831 mode-line formats (Bug#10839).
15832
15833 2012-02-18 Glenn Morris <rgm@gnu.org>
15834
15835 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15836
15837 * mail/undigest.el (unforward-rmail-message): Doc fix.
15838
15839 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15840
15841 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15842
15843 * international/characters.el (script-list): Sync with the latest
15844 Unicode Character Database.
15845
15846 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15847
15848 * international/titdic-cnv.el: Remove duplicate coding tag.
15849 * language/cham.el: Likewise.
15850 * language/tai-viet.el: Likewise.
15851
15852 2012-02-18 Glenn Morris <rgm@gnu.org>
15853
15854 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15855 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15856 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15857 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15858 * calendar/holidays.el (holiday-bahai-holidays)
15859 (calendar-holidays, list-holidays):
15860 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
15861
15862 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15863
15864 * saveplace.el (save-place-ignore-files-regexp): New variable
15865 allowing for excluding files from saving their location of point.
15866 The default value matches the temporary commit message editing
15867 files from Git, SVN, Bazaar, and Mercurial.
15868 (save-place-to-alist): Use it.
15869
15870 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15871 Stefan Monnier <monnier@iro.umontreal.ca>
15872
15873 * newcomment.el (uncomment-region-default): Don't leave extra space
15874 when an arg is provided (bug#8150).
15875
15876 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15877
15878 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15879
15880 2012-02-17 Glenn Morris <rgm@gnu.org>
15881
15882 * net/socks.el: Require network-stream. (Bug#10599)
15883
15884 2012-02-17 Kenichi Handa <handa@m17n.org>
15885
15886 * international/charprop.el:
15887 * international/uni-name.el:
15888 * international/uni-old-name.el:
15889 * international/uni-comment.el: Regenerate.
15890
15891 2012-02-16 Glenn Morris <rgm@gnu.org>
15892
15893 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15894 Interactively in calendar buffer, give an error if not on a date.
15895
15896 2012-02-15 Glenn Morris <rgm@gnu.org>
15897
15898 * shell.el (shell-delimiter-argument-list):
15899 Revert 2011-02-17 change. (Bug#8027)
15900
15901 2012-02-15 Chong Yidong <cyd@gnu.org>
15902
15903 * minibuffer.el (completion-at-point-functions): Doc fix.
15904
15905 * custom.el (defcustom): Doc fix; note use of defvar.
15906
15907 2012-02-15 Glenn Morris <rgm@gnu.org>
15908
15909 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15910 Doc fixes.
15911
15912 2012-02-14 Glenn Morris <rgm@gnu.org>
15913
15914 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15915
15916 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15917
15918 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15919 way the ports list is computed.
15920 (smtpmail-query-smtp-server): Prompt the user for a port number if
15921 we can't connect to any of the standard ports (bug#10810).
15922
15923 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15924
15925 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15926
15927 2012-02-13 Glenn Morris <rgm@gnu.org>
15928
15929 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15930
15931 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15932
15933 * net/gnutls.el (gnutls-trustfiles): New variable.
15934 (gnutls-negotiate): Use it.
15935
15936 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15937
15938 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15939 does its stuff if Gnus is running.
15940
15941 2012-02-13 Alan Mackenzie <acm@muc.de>
15942
15943 Fix a loop in c-set-fl-decl-start.
15944
15945 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15946 c-backward-syntactic-ws actually moves backwards.
15947
15948 2012-02-13 Leo Liu <sdl.web@gmail.com>
15949
15950 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15951 beginning so that all \C-o chars are removed.
15952
15953 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15954
15955 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15956
15957 2012-02-12 Alan Mackenzie <acm@muc.de>
15958
15959 Fix infinite loop with long macros.
15960 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15961
15962 2012-02-12 Chong Yidong <cyd@gnu.org>
15963
15964 * window.el (display-buffer): Doc fix (Bug#10785).
15965
15966 2012-02-12 Glenn Morris <rgm@gnu.org>
15967
15968 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15969 (x-disown-selection-internal, x-get-selection-internal):
15970 Sync docs with the xselect.c versions.
15971
15972 * allout-widgets.el: Add missing license notice.
15973
15974 2012-02-11 Glenn Morris <rgm@gnu.org>
15975
15976 * select.el (x-get-selection-internal, x-own-selection-internal)
15977 (x-disown-selection-internal):
15978 * x-dnd.el (x-get-selection-internal): Update declarations.
15979
15980 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15981
15982 * window.el (window-sides-slots):
15983 * tool-bar.el (tool-bar-position):
15984 * term/xterm.el (xterm-extra-capabilities):
15985 * ses.el (ses-self-reference-early-detection):
15986 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15987 (verilog-auto-wire-type)
15988 (verilog-auto-delete-trailing-whitespace)
15989 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15990 (verilog-auto-tieoff-declaration):
15991 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15992 (sql-oracle-statement-starters, sql-oracle-scan-on):
15993 * progmodes/prolog.el (prolog-align-comments-flag)
15994 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15995 (prolog-left-indent-regexp, prolog-paren-indent-p)
15996 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15997 (prolog-types, prolog-mode-specificators)
15998 (prolog-determinism-specificators, prolog-directives)
15999 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16000 (prolog-electric-dot-flag)
16001 (prolog-electric-dot-full-predicate-template)
16002 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16003 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16004 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16005 (prolog-program-switches, prolog-prompt-regexp)
16006 (prolog-debug-on-string, prolog-debug-off-string)
16007 (prolog-trace-on-string, prolog-trace-off-string)
16008 (prolog-zip-on-string, prolog-zip-off-string)
16009 (prolog-use-standard-consult-compile-method-flag)
16010 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16011 (prolog-imenu-max-lines, prolog-info-predicate-index)
16012 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16013 (prolog-char-quote-workaround):
16014 * progmodes/cc-vars.el (c-defun-tactic):
16015 * net/tramp.el (tramp-encoding-command-interactive)
16016 (tramp-local-end-of-line):
16017 * net/soap-client.el (soap-client):
16018 * net/netrc.el (netrc-file):
16019 * net/gnutls.el (gnutls):
16020 * minibuffer.el (completion-category-overrides)
16021 (completion-cycle-threshold)
16022 (completion-pcm-complete-word-inserts-delimiters):
16023 * man.el (Man-name-local-regexp):
16024 * mail/feedmail.el (feedmail-display-full-frame):
16025 * international/characters.el (glyphless-char-display-control):
16026 * eshell/em-ls.el (eshell-ls-date-format):
16027 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16028 (lisp-lambda-list-keyword-parameter-indentation)
16029 (lisp-lambda-list-keyword-parameter-alignment):
16030 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16031 * dired-x.el (dired-omit-verbose):
16032 * cus-theme.el (custom-theme-allow-multiple-selections):
16033 * calc/calc.el (calc-highlight-selections-with-faces)
16034 (calc-lu-field-reference, calc-lu-power-reference)
16035 (calc-note-threshold):
16036 * battery.el (battery-mode-line-limit):
16037 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16038 (archive-7z-update):
16039 * allout.el (allout-prefixed-keybindings)
16040 (allout-unprefixed-keybindings)
16041 (allout-inhibit-auto-fill-on-headline)
16042 (allout-flattened-numbering-abbreviation):
16043 * allout-widgets.el (allout-widgets-auto-activation)
16044 (allout-widgets-icons-dark-subdir)
16045 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16046 (allout-widgets-theme-dark-background)
16047 (allout-widgets-theme-light-background)
16048 (allout-widgets-item-image-properties-emacs)
16049 (allout-widgets-item-image-properties-xemacs)
16050 (allout-widgets-run-unit-tests-on-load)
16051 (allout-widgets-time-decoration-activity)
16052 (allout-widgets-hook-error-post-time)
16053 (allout-widgets-track-decoration):
16054 Add missing :version tags to new defcustoms and defgroups.
16055
16056 * progmodes/sql.el (sql-ansi-statement-starters)
16057 (sql-oracle-statement-starters): Add custom type.
16058
16059 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16060 (prolog-system-version): Give it a type.
16061
16062 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16063
16064 * term/pc-win.el (x-select-text, x-selection-owner-p)
16065 (x-own-selection-internal, x-disown-selection-internal)
16066 (x-get-selection-internal): Sync doc strings and argument lists
16067 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16068
16069 2012-02-11 Leo Liu <sdl.web@gmail.com>
16070
16071 * progmodes/python.el (python-end-of-statement): Fix infinite
16072 loop. (Bug#10788)
16073
16074 2012-02-10 Glenn Morris <rgm@gnu.org>
16075
16076 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16077 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16078
16079 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16080
16081 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16082 about SMTP before checking the From header.
16083
16084 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16085 into own function for reuse by emacsbug.el.
16086
16087 2012-02-10 Leo Liu <sdl.web@gmail.com>
16088
16089 * subr.el (condition-case-unless-debug): Rename from
16090 condition-case-no-debug. All callers changed.
16091 (with-demoted-errors): Fix caller.
16092
16093 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16094 * nxml/rng-valid.el (rng-do-some-validation):
16095 * emacs-lisp/package.el (package-refresh-contents)
16096 (package-menu-execute):
16097 * desktop.el (desktop-create-buffer):
16098 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16099
16100 2012-02-10 Glenn Morris <rgm@gnu.org>
16101
16102 * textmodes/bibtex.el:
16103 Add missing :version tags for new/changed defcustoms.
16104
16105 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16106
16107 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
16108
16109 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16110 (smtpmail-via-smtp): Use it, or fall back on the From address.
16111 (smtpmail-send-it): Ditto.
16112
16113 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16114
16115 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16116 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16117 (byte-compile-tmp-var): New const.
16118 (byte-compile-defvar): Use it to minimize .elc size.
16119 Just use `defvar' rather than simulate it (bug#10761).
16120
16121 2012-02-09 Glenn Morris <rgm@gnu.org>
16122
16123 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16124
16125 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16126 Add :version tags.
16127
16128 * progmodes/compile.el (compilation-error-screen-columns)
16129 (compilation-first-column, compilation-filter-start): Doc fixes.
16130
16131 * vc/log-view.el (log-view-toggle-entry-display):
16132 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16133
16134 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16135 (report-emacs-bug-can-use-xdg-email):
16136 (report-emacs-bug-insert-to-mailer): Doc fixes.
16137 (report-emacs-bug): Message fix.
16138
16139 * net/browse-url.el (browse-url-can-use-xdg-open)
16140 (browse-url-xdg-open): Doc fixes.
16141
16142 * electric.el (electric-indent-mode, electric-pair-mode)
16143 (electric-layout-rules, electric-layout-mode): Doc fixes.
16144 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16145
16146 2012-02-08 Martin Rudalics <rudalics@gmx.at>
16147
16148 * server.el (server-unselect-display): Don't inadvertently kill
16149 the current buffer. (Bug#10729)
16150
16151 2012-02-08 Glenn Morris <rgm@gnu.org>
16152
16153 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16154 (sql-list-table): Doc fixes.
16155
16156 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
16157 Comment out (does nothing).
16158
16159 * completion.el (dynamic-completion-mode):
16160 * dirtrack.el (dirtrack-debug-mode):
16161 * electric.el (electric-layout-mode):
16162 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
16163 * face-remap.el (text-scale-mode, buffer-face-mode):
16164 * iimage.el (iimage-mode):
16165 * image-mode.el (image-transform-mode):
16166 * minibuffer.el (completion-in-region-mode):
16167 * scroll-lock.el (scroll-lock-mode):
16168 * simple.el (next-error-follow-minor-mode):
16169 * tar-mode.el (tar-subfile-mode):
16170 * tooltip.el (tooltip-mode):
16171 * vcursor.el (vcursor-use-vcursor-map):
16172 * wid-browse.el (widget-minor-mode):
16173 * emulation/tpu-edt.el (tpu-edt-mode):
16174 * emulation/tpu-extras.el (tpu-cursor-free-mode):
16175 * international/iso-ascii.el (iso-ascii-mode):
16176 * language/thai-util.el (thai-word-mode):
16177 * mail/supercite.el (sc-minor-mode):
16178 * net/goto-addr.el (goto-address-mode):
16179 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
16180 * progmodes/cwarn.el (cwarn-mode):
16181 * progmodes/flymake.el (flymake-mode):
16182 * progmodes/glasses.el (glasses-mode):
16183 * progmodes/hideshow.el (hs-minor-mode):
16184 * progmodes/pascal.el (pascal-outline-mode):
16185 * textmodes/enriched.el (enriched-mode):
16186 * vc/smerge-mode.el (smerge-mode):
16187 Doc fixes (minor mode argument).
16188
16189 2012-02-07 Eli Zaretskii <eliz@gnu.org>
16190
16191 * ls-lisp.el (ls-lisp-sanitize): New function.
16192 (ls-lisp-insert-directory): Use it to fix or remove any elements
16193 in file-alist with missing attributes. (Bug#4673)
16194
16195 2012-02-07 Alan Mackenzie <acm@muc.de>
16196
16197 Fix spurious recognition of c-in-knr-argdecl.
16198
16199 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
16200 putative K&R region.
16201
16202 2012-02-07 Alan Mackenzie <acm@muc.de>
16203
16204 * progmodes/cc-engine.el (c-forward-objc-directive):
16205 Prevent looping in "#pragma mark @implementation".
16206
16207 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
16208
16209 * notifications.el (notifications-on-closed-signal): Make `reason'
16210 optional. (Bug#10744)
16211
16212 2012-02-07 Glenn Morris <rgm@gnu.org>
16213
16214 * emacs-lisp/easy-mmode.el (define-minor-mode):
16215 Doc fixes for the macro and the mode it defines.
16216
16217 * image.el (imagemagick-types-inhibit): Doc fix.
16218
16219 * cus-start.el (imagemagick-render-type): Add it.
16220
16221 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
16222
16223 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
16224 Set the default at load time, too, so that `font-lock-fontify-buffer'
16225 can be called without setting up the entire mode first. This fixes
16226 a bug in `mm-inline-text' with C MIME parts.
16227
16228 2012-02-06 Chong Yidong <cyd@gnu.org>
16229
16230 * simple.el (list-processes--refresh): Delete exited processes
16231 (Bug#8094).
16232
16233 * comint.el (comint-next-prompt): next-single-char-property-change
16234 and prev-single-char-property-change never return nil (Bug#8657).
16235
16236 * custom.el (defcustom): Doc fix (Bug#9711).
16237
16238 2012-02-05 Chong Yidong <cyd@gnu.org>
16239
16240 * cus-edit.el (custom-variable-reset-backup): Quote the value
16241 before storing it in the customized-value property (Bug#6712).
16242 (custom-display): Add a customization type tag.
16243 (custom-buffer-create-internal): Improve tooltip message.
16244
16245 * wid-edit.el (widget-field-value-get): New optional arg to
16246 suppress trailing whitespace truncation.
16247 (character): Use it (Bug#2689).
16248
16249 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
16250
16251 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
16252 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
16253
16254 2012-02-05 Chong Yidong <cyd@gnu.org>
16255
16256 * cus-edit.el (custom-variable-value-create): For mismatched
16257 types, show the current value (Bug#7600).
16258
16259 * custom.el (defcustom): Doc fix.
16260
16261 2012-02-05 Glenn Morris <rgm@gnu.org>
16262
16263 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
16264
16265 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
16266
16267 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
16268 (pp-buffer): Use `ignore-errors', `looking-at-p'.
16269 (pp-last-sexp): Use `looking-at-p'.
16270
16271 2012-02-04 Glenn Morris <rgm@gnu.org>
16272
16273 * files.el (revert-buffer):
16274 Doc fix (mention revert-buffer-in-progress-p).
16275
16276 * emacs-lisp/ert-x.el (ert-simulate-command):
16277 Check deferred-action-list (which is obsolete) is bound.
16278
16279 * subr.el (with-wrapper-hook): Doc fixes.
16280
16281 * simple.el (filter-buffer-substring-functions)
16282 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
16283
16284 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
16285
16286 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
16287 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
16288
16289 2012-02-04 Leo Liu <sdl.web@gmail.com>
16290
16291 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
16292
16293 2012-02-04 Glenn Morris <rgm@gnu.org>
16294
16295 * image.el (image-extension-data): Add obsolete alias.
16296
16297 * isearch.el (isearch-update): Doc fix.
16298
16299 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
16300
16301 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
16302
16303 2012-02-03 Glenn Morris <rgm@gnu.org>
16304
16305 * image.el (image-animated-p): Doc fix. Use image-animated-types.
16306 (image-animate-timeout): Doc fix.
16307
16308 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
16309
16310 2012-02-02 Glenn Morris <rgm@gnu.org>
16311
16312 * server.el (server-auth-dir): Doc fix.
16313 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
16314
16315 * subr.el (run-mode-hooks): Doc fix.
16316
16317 2012-02-02 Juri Linkov <juri@jurta.org>
16318
16319 * image-mode.el (image-toggle-display-image): Remove tautological
16320 `major-mode' from the `derived-mode-p' test.
16321
16322 2012-02-02 Kenichi Handa <handa@m17n.org>
16323
16324 * composite.el (compose-region): Cancel previous change.
16325
16326 2012-02-02 Kenichi Handa <handa@m17n.org>
16327
16328 * composite.el (compose-region, compose-string): Signal error for
16329 a null string component (Bug#6988).
16330
16331 2012-02-01 Chong Yidong <cyd@gnu.org>
16332
16333 * view.el (view-buffer-other-window, view-buffer-other-frame):
16334 Handle special modes like view-buffer (Bug#10650).
16335 (view-buffer): Simplify.
16336
16337 * frame.el (set-frame-font): Tweak meaning of third argument.
16338
16339 * dynamic-setting.el (font-setting-change-default-font):
16340 Use set-frame-font (Bug#9982).
16341
16342 2012-02-01 Glenn Morris <rgm@gnu.org>
16343
16344 * progmodes/compile.el (compilation-internal-error-properties):
16345 Respect compilation-first-column in the "*compilation*" buffer.
16346
16347 * emacs-lisp/easy-mmode.el (define-minor-mode):
16348 Relax :variable's test for a named function.
16349
16350 2012-01-31 Alan Mackenzie <acm@muc.de>
16351
16352 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
16353 off by one error.
16354
16355 2012-01-31 Chong Yidong <cyd@gnu.org>
16356
16357 * frame.el (set-frame-font): New arg ALL-FRAMES.
16358
16359 * menu-bar.el (menu-set-font): Use set-frame-font.
16360
16361 * faces.el (face-spec-reset-face): Don't apply unspecified
16362 attribute values to the default face.
16363
16364 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
16365
16366 * progmodes/cwarn.el (cwarn): Remove dead link.
16367 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
16368 Remove * from defcustom docstrings.
16369 (turn-on-cwarn-mode): Make obsolete.
16370 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
16371 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
16372
16373 2012-01-31 Glenn Morris <rgm@gnu.org>
16374
16375 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
16376 Fix :variable handling of mode a symbol not equal to modefun.
16377 Allow named functions to be used as the cdr of :variable.
16378
16379 2012-01-30 Glenn Morris <rgm@gnu.org>
16380
16381 * emacs-lisp/authors.el (authors-fixed-entries):
16382 Remove reference to deleted file rnewspost.el.
16383
16384 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
16385
16386 * window.el (window-with-parameter): Remove unused variable `windows'.
16387 (window--side-check): Remove unused variable `code'.
16388 (window--resize-siblings): Remove unused variable `first'.
16389 (adjust-window-trailing-edge): Remove unused variable `failed'.
16390 (window-deletable-p, window--delete): Remove unused variable `buffer'.
16391 Use `let', not `let*'.
16392 (balance-windows-2): Remove unused variable `found'.
16393 (window--state-put-2): Remove unused variable `splits'.
16394 (window-state-put): Remove unused variable `selected'.
16395 (same-window-p): Use `string-match-p'.
16396 (display-buffer-assq-regexp): Remove unused variable `value'.
16397 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16398 Mark argument ALIST as ignored.
16399 (pop-to-buffer): Remove unused variable `old-window'.
16400
16401 2012-01-29 Eli Zaretskii <eliz@gnu.org>
16402
16403 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16404 and .lzma compressed files.
16405
16406 2012-01-29 Chong Yidong <cyd@gnu.org>
16407
16408 * frame.el (window-system-default-frame-alist): Doc fix.
16409
16410 * dynamic-setting.el (font-setting-change-default-font): Don't
16411 change the default face if SET-FONT argument is non-nil (Bug#9982).
16412
16413 2012-01-29 Samuel Bronson <naesten@gmail.com>
16414
16415 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16416
16417 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
16418
16419 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16420 breakpoints in files outside current directory (Bug#6098).
16421
16422 2012-01-29 Chong Yidong <cyd@gnu.org>
16423
16424 * progmodes/python.el: Require ansi-color at top-level.
16425
16426 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16427 Define and use in Emacs Lisp mode (Bug#9360).
16428 (lisp-mode-abbrev-table): Add doc.
16429 (lisp-mode-variables): Don't set local-abbrev-table.
16430 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16431
16432 2012-01-28 Roland Winkler <winkler@gnu.org>
16433
16434 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16435
16436 2012-01-28 Roland Winkler <winkler@gnu.org>
16437
16438 * textmodes/bibtex.el (bibtex-entry-alist): New function.
16439 (bibtex-set-dialect): Use it. Either set global values of
16440 dialect-dependent variables or bind these variables buffer-locally
16441 (Bug#10254).
16442 (bibtex-mode): Call bibtex-set-dialect via
16443 hack-local-variables-hook.
16444 (bibtex-dialect): Update docstring.
16445 Add safe-local-variable predicate.
16446 (bibtex-entry-alist, bibtex-field-alist): Initialize via
16447 bibtex-set-dialect.
16448 (bibtex-mode-map): Define menu for each dialect.
16449 (bibtex-entry): Fix docstring.
16450
16451 2012-01-28 Chong Yidong <cyd@gnu.org>
16452
16453 * eshell/esh-arg.el (eshell-quote-argument): New function.
16454
16455 * eshell/esh-ext.el (eshell-invoke-batch-file):
16456 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16457 first arg to eshell-parse-command (Bug#10523).
16458
16459 2012-01-28 Drew Adams <drew.adams@oracle.com>
16460
16461 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16462 `default-directory' is non-nil.
16463
16464 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16465
16466 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16467 line that displays system-configuration-options. (Bug#9924)
16468
16469 2012-01-28 Drew Adams <drew.adams@oracle.com>
16470
16471 * descr-text.el (describe-char): Show information about POS, in
16472 addition to information about the character at POS. Improve and
16473 update the doc string. Change "code point" to "code point in
16474 charset", to avoid confusion with the character's Unicode code
16475 point shown above that. (Bug#10129)
16476
16477 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16478
16479 * descr-text.el (describe-char): Show the raw character, not only
16480 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16481 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16482 for the reasons.
16483
16484 2012-01-28 Phil Hagelberg <phil@hagelb.org>
16485
16486 * emacs-lisp/package.el (package-install):
16487 Run package-refresh-contents if there is no archive yet (Bug#9798).
16488
16489 2012-01-28 Chong Yidong <cyd@gnu.org>
16490
16491 * emacs-lisp/package.el (package-maybe-load-descriptor):
16492 New function, split from package-maybe-load-descriptor.
16493 (package-maybe-load-descriptor): Use it.
16494 (package-download-transaction): Fully load required packages
16495 inside the loop, so that `require' calls work (Bug#10593).
16496 (package-install): No need to call package-initialize now.
16497
16498 2012-01-28 Chong Yidong <cyd@gnu.org>
16499
16500 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16501
16502 * tooltip.el (tooltip-mode): Doc fix.
16503 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16504
16505 * frame.el (set-cursor-color): Doc fix (Bug#352).
16506
16507 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16508 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16509
16510 * cus-edit.el (custom-buffer-create-internal): Fix search button
16511 action (Bug#10542).
16512 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16513
16514 2012-01-27 Eduard Wiebe <usenet@pusto.de>
16515
16516 * dired.el (dired-mark-files-regexp):
16517 Include any subdirectory components. (Bug#10445)
16518
16519 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16520
16521 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16522 Handle [host]:port syntax. (Bug#10533)
16523
16524 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
16525
16526 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16527
16528 2012-01-26 Glenn Morris <rgm@gnu.org>
16529
16530 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16531 * term.el (term-raw-escape-map): Use Control-X-prefix.
16532 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16533
16534 2012-01-25 Martin Rudalics <rudalics@gmx.at>
16535
16536 * window.el (window-state-get, window--state-get-1): Don't deal
16537 with fixed-sizeness of windows. Simplify code.
16538
16539 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16540
16541 * window.el (window--state-get-1, window--state-put-2):
16542 Don't save and restore the mark.
16543
16544 2012-01-25 Chong Yidong <cyd@gnu.org>
16545
16546 * custom.el (custom-variable-p): Doc fix.
16547
16548 2012-01-25 Glenn Morris <rgm@gnu.org>
16549
16550 * dired.el (dired-goto-file): Handle some of the more common
16551 characters that `ls -b' escapes. (Bug#10596)
16552
16553 * progmodes/compile.el (compilation-next-error-function):
16554 Respect compilation-first-column in the "*compilation*" buffer.
16555 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16556
16557 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16558
16559 2012-01-24 Glenn Morris <rgm@gnu.org>
16560
16561 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16562
16563 2012-01-24 Julien Danjou <julien@danjou.info>
16564
16565 * color.el (color-rgb-to-hsl): Fix value computing.
16566 (color-hue-to-rgb): New function.
16567 (color-hsl-to-rgb): New function.
16568 (color-clamp, color-saturate-hsl, color-saturate-name)
16569 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16570 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16571
16572 2012-01-24 Glenn Morris <rgm@gnu.org>
16573
16574 * vc/vc-rcs.el (vc-rcs-create-tag):
16575 * vc/vc-sccs.el (vc-sccs-create-tag):
16576 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16577
16578 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16579
16580 * eshell/esh-util.el (eshell-read-hosts-file):
16581 Skip comment lines. (Bug#10549)
16582
16583 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16584
16585 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
16586
16587 * subr.el (display-delayed-warnings): Doc fix.
16588 (collapse-delayed-warnings): New function to collapse identical
16589 adjacent warnings.
16590 (delayed-warnings-hook): Add it.
16591
16592 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
16593
16594 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16595
16596 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16597 (tramp-default-user-alist): Don't add "pscp".
16598 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16599 property "login-as", if set. (Bug#10530)
16600
16601 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
16602
16603 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16604 "plink1" and "psftp". (Bug#10530)
16605
16606 2012-01-21 Kenichi Handa <handa@m17n.org>
16607
16608 * international/mule-cmds.el (prefer-coding-system): Show a
16609 warning message if the default value of file-name-coding-system
16610 was not changed.
16611
16612 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16613
16614 * windmove.el (windmove-reference-loc):
16615 Fix windmove-reference-loc miscalculation.
16616
16617 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16618
16619 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16620 default unit.
16621
16622 2012-01-21 Glenn Morris <rgm@gnu.org>
16623
16624 * international/mule.el (auto-coding-alist): Add .tbz.
16625
16626 * files.el (local-enable-local-variables): Doc fix.
16627 (inhibit-local-variables-regexps): Rename from
16628 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16629 Doc fix. Add some extensions from auto-coding-alist.
16630 (inhibit-local-variables-suffixes):
16631 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16632 (inhibit-local-variables-p):
16633 New function, extracted from set-auto-mode-1.
16634 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16635 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16636 (hack-local-variables): Doc fix. Make the mode-only case
16637 respect enable-local-variables and friends.
16638 Respect inhibit-local-variables-regexps for file-locals, but
16639 not for directory-locals.
16640 (set-visited-file-name):
16641 Take account of inhibit-local-variables-regexps.
16642 Whether it applies may change as the file name is changed.
16643 * jka-cmpr-hook.el (jka-compr-install):
16644 * jka-compr.el (jka-compr-uninstall):
16645 Update for inhibit-first-line-modes-suffixes name change.
16646
16647 2012-01-20 Martin Rudalics <rudalics@gmx.at>
16648
16649 * help-macro.el (make-help-screen): Temporarily restore original
16650 binding for minor-mode-map-alist (Bug#10454).
16651
16652 2012-01-19 Julien Danjou <julien@danjou.info>
16653
16654 * color.el (color-name-to-rgb): Use the white color to find the max
16655 color component value and return correctly computed values.
16656 (color-name-to-rgb): Add missing float conversion for max value.
16657
16658 2012-01-19 Martin Rudalics <rudalics@gmx.at>
16659
16660 * window.el (window--state-get-1, window-state-get): Do not use
16661 special state value for window-persistent-parameters.
16662 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
16663 (window--state-put-2): Reset all window parameters to nil before
16664 assigning values of persistent parameters.
16665
16666 2012-01-18 Alan Mackenzie <acm@muc.de>
16667
16668 Eliminate sluggishness and hangs in fontification of "semicolon
16669 deserts".
16670
16671 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16672 Change value 10000 -> 3000.
16673 (c-state-safe-place): Reformulate so it doesn't stack up an
16674 infinite number of wrong entries in c-state-nonlit-pos-cache.
16675 (c-determine-limit-get-base, c-determine-limit): New functions to
16676 determine backward search limits disregarding literals.
16677 (c-find-decl-spots): Amend commenting.
16678 (c-cheap-inside-bracelist-p): New function which detects "={".
16679
16680 * progmodes/cc-fonts.el
16681 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16682 backward search.
16683 (c-font-lock-declarations): Fix an occurrence of point being
16684 undefined. Check additionally for point being in a bracelist or
16685 near a macro invocation without a semicolon so as to avoid a
16686 fruitless time consuming search for a declarator. Give a more
16687 precise search limit for declarators using the new
16688 c-determine-limit.
16689
16690 2012-01-18 Glenn Morris <rgm@gnu.org>
16691
16692 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16693 (set-auto-mode): Doc fixes.
16694
16695 2012-01-17 Glenn Morris <rgm@gnu.org>
16696
16697 * isearch.el (search-nonincremental-instead): Fix doc typo.
16698
16699 * dired.el (dired-insert-directory): Handle newlines in directory name.
16700 (dired-build-subdir-alist): Unescape newlines in directory name.
16701
16702 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
16703
16704 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16705 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16706 (tramp-action-terminal): Use it. (Bug#10530)
16707
16708 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16709
16710 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16711
16712 2012-01-16 Martin Rudalics <rudalics@gmx.at>
16713
16714 * window.el (window-state-ignored-parameters): Remove variable.
16715 (window--state-get-1): Rename argument MARKERS to IGNORE.
16716 Handle persistent window parameters. Make copy of clone-of
16717 parameter only if requested. (Bug#10348)
16718 (window--state-put-2): Install a window parameter only if it has
16719 a non-nil value or an existing parameter shall be overwritten.
16720
16721 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
16722
16723 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16724
16725 2012-01-14 Eli Zaretskii <eliz@gnu.org>
16726
16727 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16728 don't pass the (nil) value of `upnode' to string-match.
16729
16730 2012-01-14 Chong Yidong <cyd@gnu.org>
16731
16732 * startup.el (command-line): Fix X resource class for cursorColor.
16733 Fix values recognized by the cursorBlink resource.
16734
16735 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16736
16737 * epg.el (epg--make-temp-file): Avoid permission race condition
16738 when running on old Emacs versions (bug#10403).
16739
16740 2012-01-14 Glenn Morris <rgm@gnu.org>
16741
16742 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16743
16744 2012-01-13 Alan Mackenzie <acm@muc.de>
16745
16746 Fix filling for when filladapt mode is enabled.
16747
16748 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16749 c-mask-paragraph, pass in `fill-paragraph' rather than
16750 `fill-region-as-paragraph'. (This is a reversion of a previous
16751 change.)
16752 * progmodes/cc-mode.el (c-basic-common-init):
16753 Make fill-paragraph-handle-comment buffer local and set it to nil.
16754
16755 2012-01-13 Glenn Morris <rgm@gnu.org>
16756
16757 * dired.el (dired-switches-escape-p): New function.
16758 (dired-insert-directory): Use dired-switches-escape-p.
16759 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16760
16761 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16762
16763 2012-01-12 Glenn Morris <rgm@gnu.org>
16764
16765 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16766 changes in adaptive-fill-regexp. (Bug#10276)
16767
16768 2012-01-11 Alan Mackenzie <acm@muc.de>
16769
16770 Fix Emacs bug #10463 - put `widen's around the critical spots.
16771
16772 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16773 widen around each invocation of c-state-pp-to-literal. Remove an
16774 unused let variable.
16775
16776 2012-01-11 Glenn Morris <rgm@gnu.org>
16777
16778 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16779 Doc fix.
16780
16781 2012-01-10 Chong Yidong <cyd@gnu.org>
16782
16783 * net/network-stream.el (network-stream-open-starttls):
16784 Avoid emitting a confusing error message when the server gives a bad
16785 response to the capability command.
16786
16787 2012-01-10 Glenn Morris <rgm@gnu.org>
16788
16789 * mail/unrmail.el (unrmail): Tweak previous change.
16790
16791 2012-01-09 Chong Yidong <cyd@gnu.org>
16792
16793 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16794
16795 2012-01-08 Alan Mackenzie <acm@muc.de>
16796
16797 Optimize font locking in long enum definitions.
16798
16799 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16800 arm to a cond form to handle enums.
16801 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16802 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16803
16804 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16805
16806 * files.el (move-file-to-trash): Preserve default file modes on error.
16807 (Bug#10401)
16808
16809 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16810
16811 * faces.el (set-face-attribute): Clarify the meaning of the nil
16812 frame (bug#10294).
16813
16814 * subr.el (with-selected-frame): Mention that the selected frame
16815 is restored (bug#9980).
16816
16817 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16818 (bug#9759).
16819
16820 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16821 (password-read): Don't autoload unused function.
16822
16823 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16824
16825 * progmodes/which-func.el (which-func-mode): Turn into a
16826 non-interactive function and mark as obsolete (bug#10428).
16827
16828 2012-01-06 Chong Yidong <cyd@gnu.org>
16829
16830 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16831 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16832 functions, along with 1 and -1.
16833
16834 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16835
16836 * time.el (display-time-load-average)
16837 (display-time-default-load-average): Doc fixes. See the thread
16838 starting at
16839 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16840 for the details.
16841
16842 2012-01-06 Glenn Morris <rgm@gnu.org>
16843
16844 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16845 has no messages. (Bug#10377)
16846
16847 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16848 than Info-edit. (Bug#10385)
16849
16850 * time.el (display-time-load-average, display-time-next-load-average):
16851 Doc fixes.
16852
16853 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16854 local setting of buffer-read-only to the input buffer. (Bug#10419)
16855
16856 * calendar/calendar.el (calendar-mode):
16857 Locally set scroll-margin to 0. (Bug#10379)
16858
16859 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16860
16861 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16862
16863 2012-01-05 Glenn Morris <rgm@gnu.org>
16864
16865 * eshell/em-unix.el (diff-no-select): Autoload it.
16866 (eshell/diff): Use diff-no-select. (Bug#10420)
16867
16868 2012-01-05 Chong Yidong <cyd@gnu.org>
16869
16870 * shell.el (shell-dynamic-complete-functions): Revert last change.
16871 (shell-command-completion-function): New function.
16872 (shell-completion-vars): Use it to implement
16873 shell-completion-execonly (Bug#10417).
16874
16875 * custom.el (enable-theme): Don't set custom-safe-themes.
16876
16877 * cus-theme.el (custom-theme-merge-theme):
16878 Ignore custom-enabled-themes and custom-safe-themes.
16879
16880 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16881
16882 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16883 first prompt in `sql-interacive-mode'.
16884 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16885 keywords.
16886 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16887 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16888 context of original buffer. Invoke `sql-login-hook'.
16889
16890 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16891
16892 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16893 letters in cite-prefix.
16894
16895 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16896
16897 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16898
16899 2012-01-03 Chong Yidong <cyd@gnu.org>
16900
16901 * shell.el (shell-dynamic-complete-functions):
16902 Put pcomplete-completions-at-point, so as to try
16903 comint-filename-completion first (Bug#10417).
16904
16905 2012-01-02 Richard Stallman <rms@gnu.org>
16906
16907 * battery.el (battery-status-function):
16908 Detect when to use battery-yeeloong-sysfs.
16909 (battery-echo-area-format): Add string for Yeeloong.
16910 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16911 (battery-yeeloong-sysfs): New function.
16912
16913 2012-01-02 Chong Yidong <cyd@gnu.org>
16914
16915 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16916 (dirtrack): Merge code for handling relative filenames in prompt
16917 from shell-dir-cookie-watcher.
16918 (dirtrack-debug-message): New arg to avoid excess format calls.
16919
16920 * shell.el (shell-dir-cookie-re): Variable deleted.
16921 (shell-dir-cookie-watcher): Function deleted.
16922 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16923 with dirtrack-mode.
16924
16925 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16926
16927 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16928 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16929 libgnutls-26.dll.
16930
16931 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16932
16933 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16934
16935 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16936
16937 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16938 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16939
16940 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16941
16942 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16943 also for alternative shells.
16944 (tramp-open-connection-setup-interactive-shell): Check, whether
16945 the shell is a busybox.
16946 (tramp-send-command): Don't suppress multiple prompts for
16947 busyboxes, it hurts.
16948
16949 2011-12-28 Chong Yidong <cyd@gnu.org>
16950
16951 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16952 (gdb-get-source-file): Move mode line update to
16953 gdb-get-source-file (Bug#10087).
16954
16955 2011-12-25 Chong Yidong <cyd@gnu.org>
16956
16957 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16958 gud-gdb-marker-filter without taking it as an argument.
16959 (gud-gdb-run-command-fetch-lines): Caller changed.
16960 (gud-gdb-completion-function): New variable.
16961 (gud-gdb-completion-at-point): Use it.
16962 (gud-gdb-completions-1): Split from gud-gdb-completions.
16963
16964 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16965 function as separate arguments.
16966 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16967 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16968 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16969 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16970 (gdb-stopped, def-gdb-auto-update-trigger)
16971 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16972 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16973 Callers changed.
16974 (gud-gdbmi-completions): New function.
16975 (gdb): Use it for generating the completion table.
16976
16977 2011-12-24 Alan Mackenzie <acm@muc.de>
16978
16979 Introduce a mechanism to widen the region used in context font
16980 locking. Use this to protect declarations from losing their contexts.
16981
16982 * progmodes/cc-langs.el (c-before-font-lock-functions):
16983 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16984 (c-before-context-fontification-functions): New defvar, a list of
16985 functions to be run just before context (etc.) font locking.
16986
16987 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16988 New, functionality extracted from
16989 c-neutralize-syntax-in-and-mark-CPP.
16990 (c-in-after-change-fontification): New variable.
16991 (c-after-change): Set c-in-after-change-fontification.
16992 (c-set-fl-decl-start): Rejig its interface, so it can be called
16993 from both after-change and context fontifying.
16994 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16995 New functions.
16996 (c-standard-font-lock-fontify-region-function): New variable.
16997 (c-font-lock-fontify-region): New function.
16998
16999 2011-12-24 Juri Linkov <juri@jurta.org>
17000
17001 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17002 (Bug#10348)
17003
17004 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17005
17006 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17007 existence of source file. (Bug#10325)
17008
17009 2011-12-23 Alan Mackenzie <acm@muc.de>
17010
17011 Fix unstable fontification inside templates.
17012
17013 * progmodes/cc-langs.el (c-before-font-lock-functions):
17014 Newly created from the singular version. The (c c++ objc) entry now
17015 additionally has c-set-fl-decl-start. The other languages (apart
17016 from AWK) have that as a single entry.
17017
17018 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17019 The functionality for "local" declarations has been extracted to
17020 c-set-fl-decl-start.
17021
17022 * progmodes/cc-mode.el (c-common-init, c-after-change):
17023 Changes due to pluralisation of c-before-font-lock-functions.
17024 (c-set-fl-decl-start): New function, extracted from
17025 c-font-lock-enclosing-decls and enhanced.
17026
17027 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17028
17029 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17030
17031 2011-12-22 Juri Linkov <juri@jurta.org>
17032
17033 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17034
17035 2011-12-22 Chong Yidong <cyd@gnu.org>
17036
17037 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17038
17039 2011-12-21 Drew Adams <drew.adams@oracle.com>
17040
17041 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17042
17043 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17044
17045 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17046
17047 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17048
17049 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17050 highlighting and support. Fix up comments for capitalization.
17051 (cfengine-mode-debug): New var.
17052 (cfengine3-mode): Change the modeline indicator to "CFE3".
17053 (cfengine3-font-lock-keywords): Improve defun highlighting.
17054 (cfengine2-actions): Rename from `cfengine-actions'.
17055 (cfengine2-font-lock-keywords): Rename from
17056 `cfengine-font-lock-keywords'.
17057 (cfengine2-imenu-expression): Rename from
17058 `cfengine-imenu-expression'.
17059 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17060 (cfengine2-beginning-of-defun): Rename from
17061 `cfengine-beginning-of-defun'.
17062 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17063 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17064 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17065 modeline indicator to "CFE2".
17066 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17067 (cfengine-mode-abbrevs): Mark obsolete.
17068
17069 2011-12-21 Chong Yidong <cyd@gnu.org>
17070
17071 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17072 filename argument.
17073
17074 2011-12-20 Martin Rudalics <rudalics@gmx.at>
17075
17076 * window.el (window-normalize-buffer-to-display): Remove.
17077 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17078
17079 2011-12-19 Chong Yidong <cyd@gnu.org>
17080
17081 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17082 Don't signal an error in a predicate function; return non-nil.
17083 (vc-dir-mark-file): Move the error here.
17084 (vc-dir-mark-unmark): If acting on the region, keep going if one
17085 of the entries cannot be marked/unmarked.
17086 (vc-dir-mark-all-files): If current entry is a directory, mark
17087 only child files, as documented.
17088
17089 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
17090
17091 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17092 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17093 addition.
17094
17095 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17096
17097 * term/ns-win.el (ns-get-selection-internal)
17098 (ns-store-selection-internal): Declare.
17099 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17100 Declare as obsolete.
17101 (ns-get-pasteboard, ns-paste-secondary):
17102 Use ns-get-selection-internal.
17103 (ns-set-pasteboard, ns-copy-including-secondary):
17104 Use ns-store-selection-internal.
17105
17106 2011-12-17 Chong Yidong <cyd@gnu.org>
17107
17108 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17109 (vc-deduce-fileset): Doc fix.
17110
17111 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17112
17113 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17114
17115 2011-12-13 Sam Steingold <sds@gnu.org>
17116
17117 * man.el (Man-getpage-in-background): When running under a
17118 window-system, ignore $MANWIDTH and $COLUMNS.
17119
17120 2011-12-15 Kenichi Handa <handa@m17n.org>
17121
17122 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17123 (setup-ethiopic-environment-internal): Comment out key-binding for
17124 ethio-toggle-punctuation.
17125
17126 2011-12-13 Alan Mackenzie <acm@muc.de>
17127
17128 Add the switch statement to AWK Mode.
17129
17130 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
17131 "default" to the keywords regexp.
17132
17133 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
17134 expression as the rest.
17135 (c-nonlabel-token-key): Allow string literals for AWK.
17136 Refactor for the other modes.
17137
17138 Large brace-block initialisation makes CC Mode slow: Fix.
17139 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
17140 routines. Limit backward searching in c-font-lock-enclosing.decl.
17141
17142 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17143 pp-state and literal type in addition to the limits.
17144 (c-state-safe-place): New defun, extracted from c-state-literal-at.
17145 (c-state-literal-at): Use the above new defun.
17146 (c-slow-in-literal, c-fast-in-literal): Remove.
17147 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
17148
17149 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17150 being in a literal. Add a limit for backward searching.
17151
17152 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17153 c-slow-in-literal.
17154
17155 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
17156
17157 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
17158
17159 2011-12-13 Martin Rudalics <rudalics@gmx.at>
17160
17161 * window.el (delete-other-windows): Use correct frame in call to
17162 window-with-parameter.
17163
17164 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
17165
17166 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
17167 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
17168 (makefile-gmake-statements, makefile-makepp-statements):
17169 Use it and add new makepp keywords.
17170 (makefile-makepp-font-lock-keywords): Add new patterns.
17171 (makefile-match-function-end): Match new [...] and [[...]].
17172
17173 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
17174
17175 * ses.el (ses-call-printer-return, ses-cell-property-get)
17176 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
17177 (ses-create-cell-variable, ses-reset-header-string)
17178 (ses-cell-set-formula, ses-repair-cell-reference-all)
17179 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
17180 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
17181 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
17182 (ses-aset-with-undo, ses-load, ses-truncate-cell)
17183 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
17184 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
17185 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
17186 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
17187 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
17188 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
17189 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
17190 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
17191
17192 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
17193
17194 * ses.el: The overall change is to add cell renaming, that is
17195 setting fancy names for cell symbols other than name matching
17196 "\\`[A-Z]+[0-9]+\\'" regexp .
17197 (ses-create-cell-variable): New defun.
17198 (ses-relocate-formula): Relocate formulas only for cells the
17199 symbols of which are not renamed, i.e. symbols whose names do not
17200 match regexp "\\`[A-Z]+[0-9]+\\'".
17201 (ses-relocate-all): Relocate values only for cells the symbols of
17202 which are not renamed.
17203 (ses-load): Create cells variables as the (ses-cell ...) are read,
17204 in order to check row col consistency with cell symbol name only
17205 for cells that are not renamed.
17206 (ses-replace-name-in-formula): New defun.
17207 (ses-rename-cell): New defun.
17208
17209 2011-12-11 Chong Yidong <cyd@gnu.org>
17210
17211 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
17212 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
17213
17214 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
17215
17216 * window.el (other-window): Fix docstring.
17217
17218 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17219
17220 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
17221 `from' or `to' address before taking its substring.
17222 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
17223 encoded name is chopped in the middle of the encoded string, and
17224 thus displayed encoded.
17225
17226 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
17227
17228 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
17229
17230 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17231
17232 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
17233 to use texinfo-update-node and commands that call it if the
17234 Texinfo file uses @node lines without next/prev/up pointers.
17235 Correct outdated description about texinfo-master-menu.
17236 (texinfo-all-menus-update, texinfo-master-menu)
17237 (texinfo-update-node, texinfo-every-node-update)
17238 (texinfo-multiple-files-update): Doc fix. Warn against updating
17239 all the @node lines.
17240 (texinfo-master-menu): Only call texinfo-update-node if the prefix
17241 argument is numeric. Explain better in the doc string what the
17242 function really does.
17243 (texinfo-insert-master-menu-list): Improve the error message
17244 displayed if there's no menu in the Top node.
17245 (Bug#2975) See also this thread:
17246 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
17247
17248 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
17249
17250 * speedbar.el (speedbar-supported-extension-expressions):
17251 Add .adb and .ads, commonly used for Ada source code (bug#10256).
17252
17253 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
17254
17255 * printing.el (pr-mode-alist):
17256 * simple.el (filter-buffer-substring-functions)
17257 (completion-list-insert-choice-function):
17258 * window.el (window-with-parameter, window-atom-root)
17259 (window-sides-slots, window-size-fixed, window-min-delta)
17260 (window-max-delta, window--resize-mini-window)
17261 (window--resize-child-windows-normal, window-tree)
17262 (delete-other-windows, quit-window, split-window)
17263 (display-buffer-record-window, special-display-buffer-names)
17264 (special-display-regexps, special-display-popup-frame)
17265 (same-window-p, split-window-sensibly)
17266 (display-buffer-overriding-action, display-buffer-alist)
17267 (display-buffer-base-action, display-buffer, switch-to-buffer)
17268 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
17269 (fit-window-to-buffer, recenter-positions)
17270 (mouse-autoselect-window-state, mouse-autoselect-window-select):
17271 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
17272 and remove unneeded backslashes in docstrings.
17273
17274 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
17275
17276 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
17277
17278 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
17279 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
17280 end in ".mk".
17281 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
17282 when reading the makefile (bug#10116).
17283
17284 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
17285
17286 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
17287 (bug#10116).
17288
17289 2011-12-06 Glenn Morris <rgm@gnu.org>
17290
17291 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
17292
17293 2011-12-06 Chong Yidong <cyd@gnu.org>
17294
17295 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
17296
17297 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
17298
17299 * textmodes/table.el (table-shorten-cell): Fix typo.
17300
17301 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
17302
17303 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
17304
17305 2011-12-05 Eli Zaretskii <eliz@gnu.org>
17306
17307 * descr-text.el (describe-char): Fix display of strong
17308 right-to-left characters and directional embeddings and overrides.
17309
17310 * simple.el (what-cursor-position): Fix display of codepoints of
17311 strong right-to-left characters.
17312
17313 2011-12-05 Chong Yidong <cyd@gnu.org>
17314
17315 * faces.el (read-color): Doc fix.
17316
17317 2011-12-05 Glenn Morris <rgm@gnu.org>
17318
17319 * align.el (align--set-marker): Add doc-string.
17320 Don't try to move something that is not a marker. (Bug#10216)
17321
17322 2011-12-04 Glenn Morris <rgm@gnu.org>
17323
17324 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
17325 overly zealous deletion of trailing whitespace.
17326
17327 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
17328
17329 * server.el (server-delete-client): On Windows, do not try to delete
17330 the only terminal.
17331 (server-process-filter): On Windows, treat requests for a tty frame as
17332 if they were for a GUI frame if the running server is in GUI mode.
17333
17334 2011-12-03 Glenn Morris <rgm@gnu.org>
17335
17336 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
17337
17338 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
17339
17340 * electric.el: Streamline electric-indent's hook.
17341 (electric-indent-chars): Revert to simple list.
17342 (electric-indent-functions): New var.
17343 (electric-indent-post-self-insert-function): Use it.
17344
17345 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
17346 there's no inferior buffer (bug#10196).
17347 (prolog-consult-compile): Don't use toggle-read-only.
17348
17349 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
17350
17351 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
17352 interrupt. (Bug#10187)
17353
17354 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
17355
17356 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
17357 (bug#9160).
17358
17359 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
17360 (bug#10191).
17361
17362 2011-12-02 Juri Linkov <juri@jurta.org>
17363
17364 * info.el (Info-search): Display "end of manual" when Isearch
17365 reaches the end of single-file Info manual. (Bug#9918)
17366
17367 2011-12-02 Eli Zaretskii <eliz@gnu.org>
17368
17369 * isearch.el (isearch-message-prefix): Run the input method part
17370 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
17371
17372 2011-12-02 Juri Linkov <juri@jurta.org>
17373
17374 * isearch.el (isearch-occur): Use `word-search-regexp' for
17375 `isearch-word'.
17376 (isearch-search-and-update): Add condition for `isearch-word' and
17377 call `word-search-regexp'. (Bug#10145)
17378
17379 2011-12-01 Glenn Morris <rgm@gnu.org>
17380
17381 * eshell/em-hist.el (eshell-hist-initialize):
17382 Handle eshell-history-size nil and HISTSIZE set or unset.
17383 (eshell-history-file-name, eshell-history-size): Fix custom type.
17384
17385 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
17386
17387 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17388
17389 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
17390
17391 * progmodes/verilog-mode.el (verilog-pretty-expr):
17392 Rework verilog-pretty-expr to handle new assignment operators in system
17393 verilog, such as += *= and the like.
17394 (verilog-assignment-operator-re): Regular expression to find the
17395 assigment operator in a verilog assignment.
17396 (verilog-assignment-operation-re): Regular expression to find an
17397 assignment statement for pretty-expr.
17398 (verilog-in-attribute-p): Query returns true if point is in an
17399 attribute context; used to skip these for expression line up from
17400 pretty-expr.
17401 (verilog-in-parameter-p): Query returns true if point is in an
17402 parameter definition context; used to skip these for expression
17403 line up from pretty-expr.
17404 (verilog-in-parenthesis-p): Query returns true if point is in a
17405 parenthetical expression, specifically ( ) but not [ ] or { };
17406 used by pretty-expr.
17407 (verilog-just-one-space): If there is no space, don't add one.
17408 (verilog-get-lineup-indent-2): Specifically skip just attribute
17409 contexts for expression lineup, rather than skipping all
17410 parenthetical expressions.
17411 (verilog-calculate-indent): Fix comment, and fix indent.
17412 (verilog-do-indent): Indent declarations in lists (suggested by
17413 Joachim Lechner).
17414 (verilog-mode-abbrev-table): Populate abbrev mode with the various
17415 skeleton items.
17416 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17417 by Alain Mellan).
17418
17419 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
17420
17421 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17422 parameters with embedded comments. Reported by Ray Stevens.
17423 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17424 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17425 Reported by Tim Holt.
17426 (verilog-auto): Fix AUTOing a upper module then AUTOing module
17427 instantiated by upper module causing wrong expansion until AUTOed a
17428 second time. Reported by K C Buckenmaier.
17429 (verilog-diff-auto): Fix showing .* as a difference when
17430 `verilog-auto-star-save' off. Reported by Dan Dever.
17431 (verilog-auto-reset, verilog-read-always-signals)
17432 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17433 temporary signals in reset list if
17434 verilog-auto-reset-blocking-in-non is nil, and match assignment
17435 style to each signal's assignment type, bug381.
17436 Reported by Thomas Esposito.
17437 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17438 (verilog-uvm-statement-re): Support UVM indentation and
17439 highlighting, with old OVM keywords only.
17440 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
17441 Support AUTOTIEOFF creating non-wire data types.
17442 Suggested by Jonathan Greenlaw.
17443 (verilog-auto-insert-lisp, verilog-delete-to-paren)
17444 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17445 (verilog-inject-sense, verilog-read-inst-pins)
17446 (verilog-read-sub-decls, verilog-read-sub-decls-line):
17447 Fix mismatching parenthesis inside commented out code when deleting
17448 AUTOINST, bug383. Reported by Jonathan Greenlaw.
17449 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17450 non-numeric vector width. Reported by Alex Reed.
17451 (verilog-auto-ascii-enum): Add "onehot" option to work around not
17452 detecting signals with parameter widths. Reported by Alex Reed.
17453 (verilog-auto-delete-trailing-whitespace):
17454 With `verilog-auto-delete-trailing-whitespace' remove trailing
17455 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
17456 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17457 Fix verilog-scan-cache corruption when running user AUTO expansion
17458 hooks that call indentation routines.
17459 (verilog-simplify-range-expression): Fix typo ignoring lower case
17460 identifiers.
17461 (verilog-delete-auto): Fix delete-autos to also remove user created
17462 automatics, as long as they start with AUTO.
17463 (verilog-batch-diff-auto, verilog-diff-auto)
17464 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17465 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17466 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17467 (verilog-in-paren-quick, verilog-re-search-backward-quick)
17468 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17469 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
17470 is disabled and its cache will get corrupt, causing AUTOS not to
17471 expand. Instead use only -quick functions.
17472 (verilog-scan-region): Fix scanning over escaped quotes.
17473 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17474 (verilog-re-search-backward-quick)
17475 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17476 related functions now ignore strings, to fix misparsing of strings
17477 with magic comments embedded in them.
17478 (verilog-read-auto-template):
17479 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17480 Reported by Brad Dobbie.
17481 (verilog-read-auto-template):
17482 Fix 'verilog-auto-inst-template-numbers' with comments.
17483 Reported by Brad Dobbie.
17484 (verilog-auto-inst, verilog-auto-inst-param)
17485 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17486 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17487 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
17488 debugging templates without merge conflicts, bug357.
17489 Reported by Brad Dobbie.
17490 (verilog-read-auto-template):
17491 Fix verilog-auto-inst-template-numbers with multiple templates.
17492 Reported by Brad Dobbie.
17493 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17494 abbrevs so user won't be asked to save.
17495 (verilog-read-auto-lisp-present): Fix to start at beginning of
17496 buffer in case called outside of verilog-auto.
17497 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17498 to "X-2". Reported by Matthew Myers.
17499 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17500 all inputs from module templates. Reported by Leith Johnson.
17501 (verilog-module-inside-filename-p): Fix locating programs as with
17502 modules.
17503 (verilog-auto-inst-port): Fix vl-width expressions when using
17504 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17505 (verilog-decls-get-regs, verilog-decls-get-signals,
17506 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17507 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17508 verilog-read-decls): Combine reg and wire structures into one var
17509 structure to represent SystemVerilog concepts.
17510 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17511 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17512 (verilog-auto-wire-type, verilog-insert-definition):
17513 Add verilog-auto-wire-type and AUTOLOGIC to support using
17514 SystemVerilog "logic" keyword instead of "wire"/"reg".
17515 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17516 to declares outputs that also have assignments (presumably in an
17517 ifdef or generate if so there's not a driver conflict).
17518 Reported by Matthew Myers.
17519 (verilog-auto-declare-nettype, verilog-insert-definition):
17520 Add verilog-auto-declare-nettype to fix declarations using
17521 `default_nettype none. Reported by Julian Gorfajn.
17522 (verilog-read-always-signals-recurse, verilog-read-decls)
17523 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17524 malformed end statement, bug325. Reported by Joshua Wise and
17525 Andrew Drake.
17526 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17527 (verilog-inst-comment-re): Fix not deleting Interfaced comment
17528 when expanding .* in interfaces, bug320.
17529 Reported by Pierre-David Pfister.
17530 (verilog-read-module-name): Fix import statements between module
17531 name and open parenthesis, bug317.
17532 Reported by Pierre-David Pfister.
17533 (verilog-simplify-range-expression): Fix simplification of
17534 multiplications inside AUTOWIRE connections, bug303.
17535 (verilog-auto-inst-port): Support parameter expansion in
17536 multidimensional arrays.
17537 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17538 after "assert property". Reported by Julian Gorfajn.
17539 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17540 with multiplication, bug303.
17541 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17542 Reported by Jan Frode Lonnum.
17543
17544 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
17545
17546 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17547 (hfy-shell-file-name, hfy-shell):
17548 * international/fontset.el (x-decompose-font-name): Fix typos.
17549
17550 2011-11-29 Ken Brown <kbrown@cornell.edu>
17551
17552 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17553 (gdb-version): Remove defvar.
17554 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17555 (gdb-gud-context-command, gdb-non-stop-handler)
17556 (gdb-current-context-command, gdb-stopped): Use it.
17557 (gdb-init-1): Enable pretty printing here.
17558 (gdb-non-stop-handler): Don't enable pretty-printing here.
17559 Check to see if the target supports non-stop mode; if not, turn off
17560 non-stop mode. Use the following.
17561 (gdb-check-target-async): New defun.
17562 (gud-watch, gdb-stopped): Fix whitespace.
17563 (gdb-get-source-file): Don't try to display the source file if
17564 `gdb-main-file' is nil.
17565
17566 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17567
17568 * align.el: Try to generate fewer markers (bug#10047).
17569 (align--set-marker): New macro.
17570 (align-region): Use it.
17571
17572 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17573
17574 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17575
17576 2011-11-29 Chong Yidong <cyd@gnu.org>
17577
17578 * indent.el (indent-for-tab-command, indent-according-to-mode):
17579 Doc fix.
17580 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17581
17582 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
17583
17584 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17585 aware of remote file names. (Bug#10124)
17586
17587 2011-11-29 Chong Yidong <cyd@gnu.org>
17588
17589 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17590
17591 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17592
17593 * files.el (find-file): Don't use force-same-window (bug#10144).
17594 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17595 use pop-to-buffer if the selected window can't be used.
17596 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17597
17598 2011-11-28 Eli Zaretskii <eliz@gnu.org>
17599
17600 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17601 special-mode-map.
17602
17603 2011-11-28 Chong Yidong <cyd@gnu.org>
17604
17605 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17606
17607 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
17608
17609 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17610 gdb-get-source-file-list on gdb-create-source-file-list.
17611
17612 2011-11-26 Eli Zaretskii <eliz@gnu.org>
17613
17614 * whitespace.el (whitespace-newline): Use a different foreground
17615 color for 16-color light-background displays.
17616
17617 2011-11-24 Chong Yidong <cyd@gnu.org>
17618
17619 * window.el (display-buffer--special-action): Doc fix.
17620
17621 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
17622
17623 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17624 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17625 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17626 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17627 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17628 (avl-tree-stack-first):
17629 * emacs-lisp/cconv.el (cconv--analyse-use):
17630 * net/gnutls.el (gnutls-negotiate): Fix typos.
17631
17632 2011-11-24 Glenn Morris <rgm@gnu.org>
17633
17634 * lpr.el (lpr-windows-system, lpr-lp-system):
17635 * mail/binhex.el (binhex-begin-line):
17636 * progmodes/grep.el (grep-history, grep-find-history):
17637 * textmodes/flyspell.el:
17638 * vc/pcvs-defs.el (cvs-global-menu):
17639 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17640 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17641 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17642
17643 * net/tls.el: Fix case of "GnuTLS".
17644
17645 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17646
17647 * version.el (emacs-build-system): Give it a doc-string.
17648
17649 2011-11-24 Juri Linkov <juri@jurta.org>
17650
17651 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17652
17653 2011-11-24 Glenn Morris <rgm@gnu.org>
17654
17655 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17656 if called on a non-mime message just toggle the headers. (Bug#8006)
17657
17658 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
17659
17660 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17661 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17662 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17663 (allout-rebullet-heading, allout-open-sibtopic)
17664 (allout-toggle-current-subtree-encryption)
17665 (allout-toggle-subtree-encryption, allout-encrypt-string)
17666 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17667 (allout-distinctive-bullets-string, allout-auto-activation):
17668 * window.el (window-normalize-buffer-to-display):
17669 * progmodes/verilog-mode.el (verilog-batch-indent):
17670 * textmodes/bibtex.el (bibtex-field-braces-opt)
17671 (bibtex-field-strings-opt):
17672 * vc/cvs-status.el (cvs-tree-merge):
17673 Fix typos.
17674
17675 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
17676
17677 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17678 `non-essential' to t, in order to avoid remote connections.
17679
17680 2011-11-23 Eli Zaretskii <eliz@gnu.org>
17681
17682 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17683 On MS-DOS and MS-Windows, compare with loaddefs.el
17684 case-insensitively.
17685
17686 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17687
17688 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17689
17690 2011-11-23 Glenn Morris <rgm@gnu.org>
17691
17692 * paths.el (rmail-file-name): Reformat the doc-string so that it
17693 is picked up.
17694
17695 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17696 (rmail-auto-file): Ignore case in the "special" field names,
17697 as mail-fetch-field does for all others.
17698
17699 * mail/rmail.el (rmail-forward):
17700 * mail/rmailkwd.el (rmail-set-label):
17701 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17702 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17703
17704 * mail/rmail.el (rmail-current-message): Doc fix.
17705
17706 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17707
17708 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17709
17710 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17711
17712 2011-11-22 Glenn Morris <rgm@gnu.org>
17713
17714 * mail/rmailmm.el (test-rmail-mime-handler)
17715 (test-rmail-mime-bulk-handler)
17716 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17717
17718 2011-11-21 Juri Linkov <juri@jurta.org>
17719
17720 * calc/calc.el (calc-read-key-sequence):
17721 Let-bind `input-method-function' to nil. (Bug#10018)
17722
17723 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17724
17725 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17726 Tell the caller that the next line needs recomputation, even
17727 though it doesn't start a sexp (bug#10094).
17728
17729 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17730
17731 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17732
17733 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17734
17735 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17736 Use force-same-window.
17737
17738 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17739
17740 * descr-text.el (describe-char-unicode-data):
17741 * json.el (json-string-escape):
17742 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17743 (Footnote-unicode, Footnote-style-p):
17744 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17745
17746 2011-11-20 Chong Yidong <cyd@gnu.org>
17747
17748 * window.el (replace-buffer-in-windows): Restore interactive spec.
17749
17750 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17751
17752 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17753
17754 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17755 (byte-compile-global-not-obsolete-vars): New var.
17756 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17757 Use it.
17758 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17759
17760 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17761
17762 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17763 * progmodes/pascal.el (electric-pascal-equal):
17764 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17765 * xml.el (xml-substitute-special): Fix typos.
17766
17767 2011-11-20 Glenn Morris <rgm@gnu.org>
17768
17769 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17770 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17771 Doc fixes.
17772 (rmail-decode-mime-charset): Mark as obsolete.
17773
17774 * mail/rmailsum.el (rmail-message-regexp-p-1):
17775 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17776 Before using mime functions, check they are set. (Bug#10077)
17777
17778 2011-11-19 Juri Linkov <juri@jurta.org>
17779
17780 * info.el (Info-finder-find-node): Use `package--builtins' instead
17781 of `package-alist'. Use node names formed by the pattern "Keyword "
17782 and the keyword name.
17783
17784 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17785
17786 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17787
17788 2011-11-19 Juri Linkov <juri@jurta.org>
17789
17790 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17791 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17792 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17793 `old-history', `old-history-forward'. Add let-binding
17794 `window-selected'. Remove calls to `kill-buffer',
17795 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17796 before calling `Info-find-node', so `Info-find-node-2' will reread
17797 the Info file. Restore window positions only when `window-selected'
17798 is non-nil.
17799
17800 2011-11-19 Juri Linkov <juri@jurta.org>
17801
17802 * isearch.el (isearch-lazy-highlight-new-loop):
17803 Remove condition `(not isearch-error)'. (Bug#9918)
17804
17805 * misearch.el (multi-isearch-search-fun): Add condition
17806 `(not bound)' to ignore lazy-highlighting search.
17807 Add the search-failed message "end of multi" when the end of
17808 multi-sequence is reached. Uncapitalize the search-failed
17809 message "Repeat for next buffer".
17810
17811 * info.el (Info-search): Add the search-failed message
17812 "end of the manual" when the end of the manual is reached
17813 in Isearch mode.
17814
17815 2011-11-19 Juri Linkov <juri@jurta.org>
17816
17817 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17818 Use non-destructive `remove' instead of `delete' because
17819 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17820 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17821
17822 2011-11-19 Juri Linkov <juri@jurta.org>
17823
17824 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17825 to nil instead of binding `search-ring' and `regexp-search-ring'.
17826 (Bug#9185)
17827
17828 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17829
17830 * simple.el (line-move): Force movement by logical lines for any
17831 hscrolled window, not only when auto-hscroll-mode is on.
17832 (line-move-visual): Update doc string to that effect. (Bug#10076)
17833
17834 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17835
17836 * language/european.el (macintosh): Define as alias for mac-roman.
17837
17838 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17839
17840 * mail/rmailmm.el (rmail-mime-display-header)
17841 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17842 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17843 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17844 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17845 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17846 of a raw aref.
17847 (rmail-mime-entity-segment): To get past the tagline, move forward
17848 2 more lines, to account for the 2 empty lines that precede and
17849 follow the line with the buttons.
17850 (rmail-mime-update-tagline): Move one more line, to get past the
17851 empty line that follows the buttons in the tagline. (Bug#9520)
17852
17853 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17854
17855 * window.el (window-max-delta-1, window-min-delta-1)
17856 (window-min-size-1, window-state-get-1, window-state-put-1)
17857 (window-state-put-2): Use "window--" prefix.
17858
17859 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17860
17861 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17862 (smie-warning-count): New var.
17863 (smie-set-prec2tab): Use it.
17864 (smie-bnf->prec2): Improve warnings. Add docstring.
17865 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17866 (smie-bnf--set-class): New function.
17867 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17868 corner case.
17869
17870 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17871 (compilation-error-properties, compilation-move-to-column):
17872 Handle compilation-first-column while in the target buffer.
17873
17874 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17875 Don't hardcode point-min==1.
17876
17877 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17878 (eshell-rewrite-for-command): Remove workaround.
17879 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17880 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17881 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17882
17883 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17884
17885 2011-11-17 Glenn Morris <rgm@gnu.org>
17886
17887 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17888 Ignore buffer-local generated-autoload-file if it is the same
17889 as the global value. (Bug#10049)
17890
17891 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17892
17893 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17894 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17895 (reftex-toc-previous-heading, reftex-toc-max-level)
17896 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17897 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17898 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17899 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17900 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17901 (reftex-toc-rename-label, reftex-toc-visit-location)
17902 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17903 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17904 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17905 leaving "*toc*" only for references to the buffer.
17906
17907 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17908
17909 * window.el (window-resize, delete-window, split-window):
17910 Replace window-splits by window-combination-resize.
17911 * cus-start.el (window-splits): Replace by window-combination-resize.
17912
17913 2011-11-17 Glenn Morris <rgm@gnu.org>
17914
17915 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17916 Make bash entry derive from sh entry, not shell entry.
17917
17918 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17919
17920 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17921 local file name.
17922
17923 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17924
17925 * menu-bar.el (menu-bar-file-menu):
17926 * printing.el (pr-ps-utility):
17927 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17928 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17929 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17930 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17931 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17932 (icalendar--convert-cyclic-to-ical)
17933 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17934 (icalendar--convert-ical-to-diary)
17935 (icalendar--convert-recurring-to-diary)
17936 (icalendar--convert-non-recurring-all-day-to-diary)
17937 (icalendar-import-format-sample):
17938 * progmodes/idlw-shell.el (idlwave-shell-mode):
17939 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17940 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17941 (vhdl-ps-print-init): Fix typos.
17942
17943 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17944
17945 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17946 FSF and collapse date sequence, obscure author/maintainer email address
17947 better, remove extra version line, track relocation of author's webpage.
17948
17949 * progmodes/python.el (python-pdbtrack-input-prompt)
17950 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17951 regular python pdb prompts. Adjustments shamelessly taken exactly as
17952 suggested in EmacsWiki page (tiny change):
17953 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17954
17955 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17956
17957 * expand.el (expand-pos, expand-index, expand-point):
17958 Remove redundant info from docstring.
17959 (expand-add-abbrevs): Doc fix.
17960 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17961 (expand-sample-perl-mode-expand-list): Fix typos.
17962
17963 * net/dbus.el (dbus-event-member-name):
17964 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17965 * term/pc-win.el (msdos-create-frame-with-faces):
17966 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17967
17968 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17969
17970 * window.el (split-window, window-state-get-1)
17971 (window-state-put-1, window-state-put-2): Rename occurrences of
17972 window-nest to window-combination-limit.
17973 * cus-start.el (window-nest): Rename to window-combination-limit.
17974
17975 2011-11-16 Chong Yidong <cyd@gnu.org>
17976
17977 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17978 regexp (Bug#10033).
17979
17980 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17981
17982 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17983 `completing-read' will remove *Completions* and will preserve
17984 current-buffer for us.
17985 (tmm-add-prompt): Users of *Completions* will always (re)set its
17986 major mode.
17987 (tmm-old-comp-map): Remove.
17988
17989 2011-11-16 Glenn Morris <rgm@gnu.org>
17990
17991 * mail/rmailedit.el: Require rmailmm when compiling.
17992 (rmail-old-mime-state): New declaration.
17993 (rmail-edit-current-message): If editing a mime message,
17994 edit the "raw" message from the mbox buffer.
17995 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17996
17997 2011-11-15 Glenn Morris <rgm@gnu.org>
17998
17999 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18000 which wasn't being used. Add optional arg to force given state.
18001 (rmail-mime): Add optional arg to force given state.
18002
18003 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18004
18005 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18006 * frame.el (display-mm-dimensions-alist):
18007 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18008 (outline-move-subtree-down):
18009 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18010 (newsticker--treeview-do-get-node):
18011 * net/quickurl.el (quickurl-list-buffer-name):
18012 * progmodes/dcl-mode.el (dcl-mode):
18013 * progmodes/gdb-mi.el (gdb-mapcar*):
18014 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18015
18016 2011-11-15 Glenn Morris <rgm@gnu.org>
18017
18018 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18019 in a boolean sense, so just make it a boolean, and fix the doc.
18020 (rmail-show-mime-function, rmail-mime-feature)
18021 (rmail-require-mime-maybe): Doc fixes.
18022 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18023
18024 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18025
18026 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18027
18028 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18029 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18030 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18031 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18032
18033 2011-11-15 Glenn Morris <rgm@gnu.org>
18034
18035 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18036 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18037 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18038 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18039 (rmail-mime, rmail-show-mime): Doc fixes.
18040
18041 * term/ns-win.el (mode-line-frame-identification):
18042 Leave it alone. (Bug#10051)
18043
18044 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18045
18046 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18047 Handle empty buffers. (Bug#9978)
18048
18049 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18050
18051 * international/mule.el (define-charset):
18052 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18053 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18054 * progmodes/verilog-mode.el (verilog-backward-token):
18055 * textmodes/ispell.el (lookup-words):
18056 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18057
18058 2011-11-14 Glenn Morris <rgm@gnu.org>
18059
18060 * progmodes/executable.el
18061 (executable-make-buffer-file-executable-if-script-p):
18062 Handle file-modes returning nil.
18063
18064 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18065 message - not necessary, and causes problems. (Bug#9831)
18066
18067 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18068
18069 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18070
18071 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18072 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18073 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18074
18075 2011-11-12 Martin Rudalics <rudalics@gmx.at>
18076
18077 * window.el (window-resize, delete-window): Use window-splits
18078 variable instead of function.
18079 (window-state-get-1, window-state-put-2, window-state-put):
18080 Don't deal with windows' splits status.
18081
18082 2011-11-12 Glenn Morris <rgm@gnu.org>
18083
18084 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18085 (apropos-documentation): Doc fixes.
18086
18087 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
18088
18089 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18090 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18091
18092 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18093
18094 * electric.el (electric-indent-post-self-insert-function): Make it
18095 possible for a char to only indent in some circumstances.
18096 (electric-indent-mode): Simplify.
18097
18098 2011-11-11 Martin Rudalics <rudalics@gmx.at>
18099
18100 * window.el (windows-with-parameter): Remove unused function.
18101 (windows-at-side): Rename to window-at-side-list.
18102 (window-check, window-atom-check, window-atom-check-1)
18103 (window-side-check, window-size-ignore, window-size-fixed-1)
18104 (window-in-direction-2): Prefix with "window--".
18105 (window-tree-1): Rename to window--subtree, fix doc-string.
18106
18107 2011-11-11 Glenn Morris <rgm@gnu.org>
18108
18109 * subr.el (eval-after-load): If FILE is already loaded,
18110 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18111
18112 2011-11-10 Glenn Morris <rgm@gnu.org>
18113
18114 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18115 Call svn via vc-svn-command rather than vc-do-command.
18116 (vc-svn-command): Add --non-interactive. (Bug#9993)
18117 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18118
18119 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18120 Add toggle-read-only. (Bug#7292)
18121 * files.el (toggle-read-only): Mention that it should only
18122 be used interactively. (Bug#10006)
18123
18124 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18125
18126 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18127 Adjust regexp for OCaml warnings.
18128
18129 * electric.el (electric-pair-post-self-insert-function): Let user
18130 turn it off buffer-locally (bug#9932).
18131
18132 * progmodes/python.el (python-beginning-of-statement):
18133 Rewrite (bug#2703).
18134
18135 * progmodes/compile.el: Better handle TABs (bug#9749).
18136 (compilation-internal-error-properties)
18137 (compilation-next-error-function): Obey the target buffer's
18138 compilation-error-screen-columns.
18139
18140 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
18141
18142 * progmodes/meta-mode.el: Remove obsolete comments.
18143 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18144 Fix typos in docstrings.
18145
18146 2011-11-09 Martin Rudalics <rudalics@gmx.at>
18147
18148 * window.el (window-size-fixed-p): Rewrite doc-string.
18149 (window-resizable-p): Rename to window--resizable-p. Update callers.
18150 (window--resizable): New function. Make all callers of
18151 window-resizable call window--resizable instead.
18152 (window-resizable): Rewrite in terms of window--resizable.
18153
18154 2011-11-08 Glenn Morris <rgm@gnu.org>
18155
18156 * progmodes/delphi.el (delphi-mode-syntax-table):
18157 Let define-derived-mode define a proper syntax table. (Bug#9994)
18158
18159 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18160
18161 * window.el: Stay away from defsubst.
18162 (window-list-no-nils): Remove.
18163 (window-state-get-1, window-state-get): Use backquote instead.
18164
18165 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18166
18167 * emacs-lisp/find-func.el (find-function-read):
18168 Fix incorrect use of default argument in `completing-read'.
18169
18170 2011-11-08 Martin Rudalics <rudalics@gmx.at>
18171
18172 * window.el (display-buffer-function, special-display-function):
18173 Mention display-buffer-record-window but do not mention
18174 help-setup parameter in doc-strings.
18175 (window-min-delta): Fix doc-string typo.
18176
18177 2011-11-08 Chong Yidong <cyd@gnu.org>
18178
18179 * window.el (window-total-height, window-total-width): Doc fix.
18180 (window-body-size): Move from C.
18181 (window-body-height, window-body-width): Move to C.
18182
18183 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18184
18185 * window.el: Make special-display like display-buffer-alist (bug#9532).
18186 (display-buffer--special-action): New function, morphed
18187 from display-buffer--special.
18188 (display-buffer): Use it to handle special-display-buffers at higher
18189 priority (just after display-buffer-alist).
18190 (display-buffer-fallback-action, display-buffer--other-frame-action)
18191 (pop-to-buffer-same-window): Remove display-buffer--special.
18192
18193 2011-11-07 Glenn Morris <rgm@gnu.org>
18194
18195 * calendar/cal-menu.el (cal-menu-set-date-title):
18196 Do nothing if not in a calendar. (Bug#9976)
18197
18198 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
18199
18200 * files.el (find-file): Always use selected-window.
18201
18202 2011-11-07 Martin Rudalics <rudalics@gmx.at>
18203
18204 * window.el (window-combinations): Make WINDOW argument
18205 mandatory. Rewrite doc-string.
18206 (walk-window-subtree, window-atom-check, window-min-delta)
18207 (window-max-delta, window--resize-this-window)
18208 (window--resize-root-window-vertically, window-tree)
18209 (balance-windows, window-state-put): Rewrite doc-strings as to
18210 not mention the term "subwindow".
18211 (window--resize-subwindows-skip-p): Rename to
18212 window--resize-child-windows-skip-p.
18213 (window--resize-subwindows-normal): Rename to
18214 window--resize-child-windows-normal.
18215 (window--resize-subwindows): Rename to
18216 window--resize-child-windows.
18217 (window-or-subwindow-p): Rename to window--in-subtree-p.
18218
18219 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18220
18221 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
18222 Ensure that mbox format messages end in two newlines (Bug#9974).
18223
18224 2011-11-06 Chong Yidong <cyd@gnu.org>
18225
18226 * window.el (window-combination-p): Function deleted; its
18227 side-effect is not used in any existing code.
18228 (window-combinations, window-combined-p): Call window-*-child
18229 directly.
18230
18231 2011-11-05 Chong Yidong <cyd@gnu.org>
18232
18233 * window.el (window-valid-p): Rename from window-any-p.
18234 (window-size-ignore, window-state-get): Callers changed.
18235 (window-normalize-window): Rename from window-normalize-any-window.
18236 New arg LIVE-ONLY, replacing window-normalize-live-window.
18237 (window-normalize-live-window): Delete.
18238 (window-combination-p, window-combined-p, window-combinations)
18239 (walk-window-subtree, window-atom-root, window-min-size)
18240 (window-sizable, window-sizable-p, window-size-fixed-p)
18241 (window-min-delta, window-max-delta, window-resizable)
18242 (window-resizable-p, window-full-height-p, window-full-width-p)
18243 (window-current-scroll-bars, window-point-1, set-window-point-1)
18244 (window-at-side-p, window-in-direction, window-resize)
18245 (adjust-window-trailing-edge, maximize-window, minimize-window)
18246 (window-deletable-p, delete-window, delete-other-windows)
18247 (record-window-buffer, unrecord-window-buffer)
18248 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
18249 (quit-window, split-window, window-state-put)
18250 (set-window-text-height, fit-window-to-buffer)
18251 (shrink-window-if-larger-than-buffer): Callers changed.
18252
18253 2011-11-04 Eli Zaretskii <eliz@gnu.org>
18254
18255 * mail/rmail.el (rmail-simplified-subject): Decode subject with
18256 rfc2047-decode-string.
18257 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
18258 warnings.
18259
18260 * window.el (window-body-height, window-body-width): Mention in
18261 the doc string that the return values are in frame's canonical
18262 units. (Bug#9949)
18263
18264 2011-11-03 Alan Mackenzie <acm@muc.de>
18265
18266 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
18267 change in cc-engine.el.
18268
18269 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
18270
18271 * window.el (switch-to-buffer): Use `force-same-window' interactively.
18272
18273 2011-11-02 Martin Rudalics <rudalics@gmx.at>
18274
18275 * window.el (quit-window): Call unrecord-window-buffer after
18276 showing another buffer in the window. (Bug#9937)
18277 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
18278
18279 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
18280
18281 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
18282 Accept status with more than 9 shelves. (Bug#9935)
18283 Reported by Colin D Bennett <colin@gibibit.com>.
18284
18285 2011-11-01 Martin Rudalics <rudalics@gmx.at>
18286
18287 * help.el (with-help-window): Don't reference
18288 temp-buffer-show-specifiers in doc-string.
18289
18290 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
18291
18292 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
18293 menu-item.
18294
18295 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
18296
18297 * whitespace.el: New version 13.2.2.
18298 (whitespace-newline-mode): Disable properly. Reported by Sarah
18299 <EmacsWiki>.
18300
18301 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
18302
18303 * net/newst-treeview.el: Remove "Time-stamp".
18304 (newsticker--group-manage-orphan-feeds): Do not call
18305 newsticker--treeview-tree-update.
18306 (newsticker-treeview-update, newsticker-treeview):
18307 Call newsticker--treeview-tree-update if necessary.
18308
18309 2011-10-30 Martin Rudalics <rudalics@gmx.at>
18310
18311 * window.el (window-iso-combination-p, window-iso-combined-p)
18312 (window-iso-combinations): Remove "iso-" infix.
18313 Suggested by Chong Yidong.
18314 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
18315 (window-max-delta-1, window-resize, window--resize-siblings)
18316 (window--resize-this-window, adjust-window-trailing-edge)
18317 (split-window, balance-windows-1)
18318 (shrink-window-if-larger-than-buffer):
18319 * calendar/calendar.el (calendar-generate-window):
18320 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
18321
18322 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
18323
18324 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
18325 in place (bug#9907).
18326 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
18327 (eshell-rewrite-if-command, eshell-rewrite-for-command)
18328 (eshell-structure-basic-command, eshell-rewrite-while-command)
18329 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
18330 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
18331 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
18332 (eshell-do-pipelines-synchronously, eshell-eval-command):
18333 Use backquotes and prefer setq to set.
18334 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
18335 (eshell-macrop): Use functionp.
18336 (eshell-do-eval): Handle multiple expressions in `while' body.
18337
18338 2011-10-30 Chong Yidong <cyd@gnu.org>
18339
18340 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
18341 instead of set-mark (Bug#9810).
18342
18343 2011-10-30 Chong Yidong <cyd@gnu.org>
18344
18345 * window.el (split-window-below, split-window-right): Rename from
18346 split-window-above-each-other and split-window-side-by-side
18347 respectively. All callers changed.
18348 (split-window-sensibly, split-window-sensibly): Use them.
18349 (split-window-keep-point): Doc fix.
18350
18351 * isearch.el: Add isearch-scroll property to split-window-below
18352 and split-window-right.
18353
18354 * follow.el (follow-mode):
18355 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18356 * progmodes/ada-xref.el (ada-gdb-application):
18357 * emulation/vip.el (vip-buffer-in-two-windows):
18358 * image-dired.el (image-dired-dired-with-window-configuration):
18359 * dired-x.el (dired-do-find-marked-files):
18360 * dired.el (dired-pop-to-buffer):
18361 * bs.el (bs--show-with-configuration):
18362 * vc/emerge.el (emerge-setup-windows):
18363 * textmodes/two-column.el (2C-two-columns):
18364 * textmodes/reftex-toc.el (reftex-toc):
18365 * progmodes/gdb-mi.el (gdb-setup-windows):
18366 * progmodes/fortran.el (fortran-window-create):
18367 * net/newst-treeview.el (newsticker--treeview-window-init):
18368 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
18369 * emulation/tpu-edt.el (tpu-gold-map):
18370 * emulation/crisp.el (crisp-mode-map):
18371 * calendar/calendar.el (calendar-basic-setup): Callers changed.
18372
18373 2011-10-29 Chong Yidong <cyd@gnu.org>
18374
18375 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
18376
18377 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
18378
18379 * textmodes/flyspell.el (flyspell-word): Fix char offset for
18380 forged Ispell output (Bug#7904).
18381
18382 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
18383
18384 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18385
18386 * doc-view.el: Avoid ugly errors about not finding nil.
18387 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
18388 (doc-view-dvipdf-program, doc-view-unoconv-program)
18389 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18390 Avoid nil or absolute file name as default value.
18391 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18392
18393 2011-10-28 Alan Mackenzie <acm@muc.de>
18394
18395 * progmodes/cc-defs.el (c-version): -> 5.32.2.
18396
18397 2011-10-28 Alan Mackenzie <acm@muc.de>
18398
18399 Amend the handling of c-beginning/end-of-defun in nested declaration
18400 scopes.
18401
18402 * progmodes/cc-vars.el (c-defun-tactic): Move here from
18403 cc-langs.el. Change it to a defcustom.
18404
18405 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18406 cc-vars.el.
18407
18408 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18409 Prevent "class foo : bar" being spuriously recognized as a label.
18410
18411 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
18412 Add parameter `inclusive' (to include enclosing braces in the region).
18413 (c-widen-to-enclosing-decl-scope): New function.
18414 (c-while-widening-to-decl-block): New macro.
18415 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18416 outward for defun boundaries, and correspondingly change symbol
18417 `respect-enclosure' to `go-outward'.
18418 (c-declaration-limits): Change algorithm to report only the "innermost"
18419 defun's boundaries.
18420
18421 2011-10-28 Deniz Dogan <deniz@dogan.se>
18422
18423 * net/rcirc.el (rcirc-mode): Use hard newlines.
18424
18425 2011-10-28 Alan Mackenzie <acm@muc.de>
18426
18427 Amend to indent and fontify macros "which include their own semicolon"
18428 correctly, using the "virtual semicolon" mechanism.
18429
18430 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
18431
18432 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
18433 Recode to scan one line at a time rather than having \n and \r
18434 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
18435 (c-forward-label): Amend for virtual semicolons.
18436 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
18437
18438 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18439 of the new C macros.
18440
18441 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
18442 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18443 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
18444 (c-opt-cpp-macro-define): Make into a full language variable.
18445 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18446 AWK Mode (including \n, \r) removed, no longer needed.
18447
18448 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18449 Invoke c-make-macro-with-semi-re.
18450
18451 * progmodes/cc-vars.el (c-macro-with-semi-re):
18452 (c-macro-names-with-semicolon): New variables.
18453 (c-make-macro-with-semi-re): New function.
18454
18455 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18456
18457 * vc/log-edit.el: Fill empty field rather than adding new one.
18458 (log-edit-add-field): New function.
18459 (log-edit-insert-changelog): Use it.
18460
18461 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18462
18463 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18464
18465 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18466
18467 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18468 (gdb--check-interpreter): New function.
18469 (gdb): Use it.
18470
18471 2011-10-27 Glenn Morris <rgm@gnu.org>
18472
18473 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18474 (least-positive-float, least-negative-float)
18475 (least-positive-normalized-float, least-negative-normalized-float)
18476 (float-epsilon, float-negative-epsilon):
18477 Remove unnecessary declarations.
18478
18479 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18480 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18481 (least-positive-float, least-negative-float)
18482 (least-positive-normalized-float, least-negative-normalized-float)
18483 (float-epsilon, float-negative-epsilon): Add doc-strings,
18484 based on those in cl.texi.
18485
18486 * files.el (set-visited-file-name): If the major-mode changed,
18487 reload the local variables. (Bug#9796)
18488
18489 2011-10-27 Chong Yidong <cyd@gnu.org>
18490
18491 * subr.el (change-major-mode-after-body-hook): New hook.
18492 (run-mode-hooks): Run it.
18493
18494 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18495 Use change-major-mode-before-body-hook.
18496
18497 * simple.el (fundamental-mode):
18498 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18499 change introducing fundamental-mode-hook.
18500
18501 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
18502
18503 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
18504
18505 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
18506
18507 * ido.el (ido-file-name-all-completions-1): Do not require
18508 tramp.el explicitly. (Bug#7583)
18509
18510 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18511
18512 * progmodes/octave-mod.el:
18513 * progmodes/octave-inf.el: Update maintainer.
18514
18515 2011-10-26 Chong Yidong <cyd@gnu.org>
18516
18517 * subr.el (with-wrapper-hook): Rewrite doc.
18518
18519 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
18520
18521 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18522 filenames "/method:foo:". (Bug#9793)
18523
18524 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18525
18526 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18527 (bug#9865).
18528
18529 2011-10-24 Glenn Morris <rgm@gnu.org>
18530
18531 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18532
18533 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
18534
18535 * notifications.el: Add the requirement of a running D-Bus session
18536 bus to the Commentary.
18537
18538 2011-10-24 Juri Linkov <juri@jurta.org>
18539
18540 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18541 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18542 (Bug#9364)
18543
18544 2011-10-24 Juri Linkov <juri@jurta.org>
18545
18546 * info.el (Info-following-node-name-re): Add newline to the list
18547 of allowed characters for leading space. (Bug#9824)
18548
18549 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18550
18551 * progmodes/octave-inf.el (inferior-octave-mode-map):
18552 Fix C-c C-h binding.
18553 * progmodes/octave-mod.el (octave-help): Remove.
18554
18555 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
18556
18557 Sync with Tramp 2.2.3.
18558
18559 * net/tramp-cache.el (top): Pacify byte-compiler using
18560 `init-file-user' and `site-run-file'.
18561
18562 * net/trampver.el: Update release number.
18563
18564 2011-10-23 Chong Yidong <cyd@gnu.org>
18565
18566 * files.el (toggle-read-only): Remove obsolete comment about
18567 version control.
18568
18569 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18570 for toggle-read-only. Note that this hasn't called vc-next-action
18571 since 2008-05-02, though it wasn't documented at the time.
18572
18573 * vc/ediff-init.el (ediff-toggle-read-only-function):
18574 Use toggle-read-only.
18575
18576 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18577
18578 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18579 of c-parse-state.
18580
18581 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18582 correct faulty logical expression.
18583 (c-parse-state-state, c-record-parse-state-state):
18584 (c-replay-parse-state-state): New defvar/defuns.
18585 (c-debug-parse-state): Use new functions.
18586
18587 2011-10-22 Martin Rudalics <rudalics@gmx.at>
18588
18589 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18590 last fix. Use window-in-direction correctly.
18591
18592 2011-10-21 Chong Yidong <cyd@gnu.org>
18593
18594 * progmodes/idlwave.el (idlwave-mode):
18595 * progmodes/vera-mode.el (vera-mode): No need to set
18596 require-final-newline; that's done in prog-mode.
18597 Suggested by Stefan Monnier.
18598
18599 2011-10-21 Martin Rudalics <rudalics@gmx.at>
18600
18601 * mouse.el (mouse-drag-window-above)
18602 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18603 (mouse-drag-mode-line-1, mouse-drag-header-line)
18604 (mouse-drag-vertical-line-rightward-window): Remove.
18605 (mouse-drag-line): New function.
18606 (mouse-drag-mode-line, mouse-drag-header-line)
18607 (mouse-drag-vertical-line): Call mouse-drag-line.
18608 * window.el (window-at-side-p, windows-at-side): New functions.
18609
18610 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
18611
18612 * tar-mode.el (tar-grind-file-mode):
18613 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18614
18615 2011-10-21 Chong Yidong <cyd@gnu.org>
18616
18617 * progmodes/idlwave.el (idlwave-mode):
18618 * progmodes/vera-mode.el (vera-mode):
18619 Use mode-require-final-newline.
18620
18621 2011-10-20 Glenn Morris <rgm@gnu.org>
18622
18623 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
18624
18625 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18626
18627 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18628
18629 2011-10-20 Chong Yidong <cyd@gnu.org>
18630
18631 * emulation/cua-base.el (cua-mode):
18632 * mail/footnote.el (footnote-mode):
18633 * mail/mailabbrev.el (mail-abbrevs-mode):
18634 * net/xesam.el (xesam-minor-mode):
18635 * progmodes/bug-reference.el (bug-reference-mode):
18636 * progmodes/cap-words.el (capitalized-words-mode):
18637 * progmodes/compile.el (compilation-minor-mode)
18638 (compilation-shell-minor-mode):
18639 * progmodes/gud.el (gud-tooltip-mode):
18640 * progmodes/hideif.el (hide-ifdef-mode):
18641 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18642 * progmodes/subword.el (subword-mode):
18643 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18644 * progmodes/which-func.el (which-function-mode):
18645 * term/tvi970.el (tvi970-set-keypad-mode):
18646 * term/vt100.el (vt100-wide-mode):
18647 * textmodes/flyspell.el (flyspell-mode):
18648 * textmodes/ispell.el (ispell-minor-mode):
18649 * textmodes/nroff-mode.el (nroff-electric-mode):
18650 * textmodes/paragraphs.el (use-hard-newlines):
18651 * textmodes/refill.el (refill-mode):
18652 * textmodes/reftex.el (reftex-mode):
18653 * textmodes/rst.el (rst-minor-mode):
18654 * textmodes/sgml-mode.el (html-autoview-mode)
18655 (sgml-electric-tag-pair-mode):
18656 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18657 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18658 * emulation/crisp.el (crisp-mode):
18659 * emacs-lisp/eldoc.el (eldoc-mode):
18660 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18661 minor mode behavior.
18662
18663 2011-10-19 Juri Linkov <juri@jurta.org>
18664
18665 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18666 the list of hard-coded chars with escape-glyph face.
18667
18668 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18669
18670 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18671
18672 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
18673
18674 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18675 running process.
18676
18677 2011-10-19 Glenn Morris <rgm@gnu.org>
18678
18679 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18680 Ignore ignored files. (Bug#9726)
18681
18682 2011-10-19 Chong Yidong <cyd@gnu.org>
18683
18684 Doc fix for minor modes, stating that an omitted argument enables
18685 the mode unconditionally when called from Lisp.
18686
18687 * abbrev.el (abbrev-mode):
18688 * allout.el (allout-mode):
18689 * autoinsert.el (auto-insert-mode):
18690 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18691 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18692 (global-auto-revert-mode):
18693 * battery.el (display-battery-mode):
18694 * composite.el (global-auto-composition-mode)
18695 (auto-composition-mode):
18696 * delsel.el (delete-selection-mode):
18697 * desktop.el (desktop-save-mode):
18698 * dired-x.el (dired-omit-mode):
18699 * dirtrack.el (dirtrack-mode):
18700 * doc-view.el (doc-view-minor-mode):
18701 * double.el (double-mode):
18702 * electric.el (electric-indent-mode, electric-pair-mode):
18703 * emacs-lock.el (emacs-lock-mode):
18704 * epa-hook.el (auto-encryption-mode):
18705 * follow.el (follow-mode):
18706 * font-core.el (font-lock-mode):
18707 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18708 * help.el (temp-buffer-resize-mode):
18709 * hilit-chg.el (highlight-changes-mode)
18710 (highlight-changes-visible-mode):
18711 * hi-lock.el (hi-lock-mode):
18712 * hl-line.el (hl-line-mode, global-hl-line-mode):
18713 * icomplete.el (icomplete-mode):
18714 * ido.el (ido-everywhere):
18715 * image-file.el (auto-image-file-mode):
18716 * image-mode.el (image-minor-mode):
18717 * iswitchb.el (iswitchb-mode):
18718 * jka-cmpr-hook.el (auto-compression-mode):
18719 * linum.el (linum-mode):
18720 * longlines.el (longlines-mode):
18721 * master.el (master-mode):
18722 * mb-depth.el (minibuffer-depth-indicate-mode):
18723 * menu-bar.el (menu-bar-mode):
18724 * minibuf-eldef.el (minibuffer-electric-default-mode):
18725 * mouse-sel.el (mouse-sel-mode):
18726 * msb.el (msb-mode):
18727 * mwheel.el (mouse-wheel-mode):
18728 * outline.el (outline-minor-mode):
18729 * paren.el (show-paren-mode):
18730 * recentf.el (recentf-mode):
18731 * reveal.el (reveal-mode, global-reveal-mode):
18732 * rfn-eshadow.el (file-name-shadow-mode):
18733 * ruler-mode.el (ruler-mode):
18734 * savehist.el (savehist-mode):
18735 * scroll-all.el (scroll-all-mode):
18736 * scroll-bar.el (scroll-bar-mode):
18737 * server.el (server-mode):
18738 * shell.el (shell-dirtrack-mode):
18739 * simple.el (auto-fill-mode, transient-mark-mode)
18740 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18741 (line-number-mode, column-number-mode, size-indication-mode)
18742 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18743 * strokes.el (strokes-mode):
18744 * time.el (display-time-mode):
18745 * t-mouse.el (gpm-mouse-mode):
18746 * tool-bar.el (tool-bar-mode):
18747 * tooltip.el (tooltip-mode):
18748 * type-break.el (type-break-mode-line-message-mode)
18749 (type-break-query-mode):
18750 * view.el (view-mode):
18751 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18752 (global-whitespace-mode, global-whitespace-newline-mode):
18753 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18754
18755 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18756 Fix autogenerated docstring.
18757
18758 2011-10-19 Juri Linkov <juri@jurta.org>
18759
18760 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18761 by checking environment variables "DESKTOP_SESSION" and
18762 "XDG_CURRENT_DESKTOP". (Bug#9779)
18763
18764 2011-10-19 Juri Linkov <juri@jurta.org>
18765
18766 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18767 (browse-url-chromium-program, browse-url-chromium-arguments):
18768 New defcustoms.
18769 (browse-url-default-browser): Check for `browse-url-chromium' and
18770 call `browse-url-chromium-program'.
18771 (browse-url-chromium): New command. (Bug#9779)
18772
18773 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18774
18775 * facemenu.el (list-colors-duplicates): On Windows, detect more
18776 duplicates by assuming that only colors matching "^System" are
18777 special "system colors". (Bug#9722)
18778
18779 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18780
18781 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18782 to distinguish the author from the committer.
18783
18784 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18785
18786 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18787
18788 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18789
18790 * international/mule.el (sgml-html-meta-auto-coding-function):
18791 Add support for detecting encoding in HTML5 specified only as
18792 <meta charset="UTF-8">. Implementation just makes http-equiv and
18793 content-type parts from HTML4 encoding string optional. (Bug#9716)
18794
18795 2011-10-18 Glenn Morris <rgm@gnu.org>
18796
18797 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18798
18799 2011-10-18 Chong Yidong <cyd@gnu.org>
18800
18801 * faces.el (cursor): Doc fix.
18802
18803 2011-10-17 Chong Yidong <cyd@gnu.org>
18804
18805 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18806
18807 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
18808
18809 * dirtrack.el (dirtrack): Support shell buffers with path
18810 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18811
18812 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18813
18814 * json.el: Bump version to 1.3 and note change in History.
18815 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18816
18817 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18818
18819 * comint.el (comint-insert-input, comint-send-input)
18820 (comint-get-old-input-default, comint-backward-matching-input)
18821 (comint-next-prompt): Use nil instead of `input' for field property of
18822 past user input (bug#114).
18823
18824 * minibuffer.el (completion--replace): Inherit surrounding properties
18825 (bug#114).
18826 (minibuffer-complete-and-exit): Use it.
18827
18828 * comint.el (comint--table-subvert): Quote the all-completions output
18829 (bug#9160).
18830
18831 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18832
18833 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18834
18835 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18836 window on right of selected. (Bug#9350) Reword other window
18837 entries and separate them from frame entries.
18838
18839 2011-10-15 Glenn Morris <rgm@gnu.org>
18840
18841 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18842 Doc fixes.
18843
18844 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18845
18846 * net/network-stream.el (network-stream-open-starttls):
18847 Improve detection of failure due to lack of TLS support.
18848
18849 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18850 putting the input text in front and in bold.
18851
18852 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18853
18854 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18855
18856 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18857 empty buffer.
18858
18859 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18860 unread-command-events rather than pushing yet-another event.
18861
18862 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18863
18864 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18865 the explanation of the possible choices. Make the options passed
18866 to completing-read shorter.
18867
18868 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
18869
18870 * textmodes/flyspell.el (flyspell-large-region): Make sure
18871 extended character mode is used if defined (Bug#1339).
18872
18873 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18874
18875 * simple.el (what-cursor-position): Fix the display of the
18876 character info for LRE, LRO, RLE, and RLO characters by appending
18877 an invisible PDF.
18878
18879 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18880
18881 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18882 even in case of error; add debug spec; simplify data flow.
18883 (with-timeout-handler): Remove.
18884
18885 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18886
18887 Fix Bug#6019, Bug#9315.
18888
18889 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18890 complete `buffer-file-name', the local file name part could look
18891 remotely (for example on VMS).
18892
18893 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18894 `tramp-run-real-handler'.
18895 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18896 already quoted by '"'.
18897
18898 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18899 Let `file-name-handler-alist' be nil, the local file name part
18900 could look remotely (for example on VMS).
18901
18902 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18903
18904 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18905 from here...
18906 (flyspell-post-command-hook): ...to here.
18907
18908 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18909
18910 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18911 if not needed.
18912 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18913 using completion. Protect against "slow" callers.
18914 Remove the "message hack".
18915
18916 2011-10-11 Juri Linkov <juri@jurta.org>
18917
18918 * isearch.el (isearch-lazy-highlight-word): New variable.
18919 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18920 Use it. (Bug#9727)
18921
18922 2011-10-11 Glenn Morris <rgm@gnu.org>
18923
18924 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18925 like f90-previous-statement does.
18926
18927 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18928
18929 * eshell/eshell.el (eshell-command): History should be saved
18930 only in interactive use, to avoid error.
18931
18932 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18933
18934 * minibuffer.el (completion-file-name-table): Fix last change,
18935 i.e. ignore normal errors but not the other ones.
18936
18937 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18938
18939 * window.el (special-display-buffer-names)
18940 (special-display-regexps): Remove some remnants of earlier
18941 changes from doc-strings.
18942 (quit-windows-on): New function.
18943
18944 * vc/vc.el (vc-revert, vc-rollback):
18945 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18946 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18947 (Bug#6183) (Bug#7074) (Bug#7447)
18948
18949 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18950
18951 * window.el (frame-auto-hide-function): Add version tag.
18952 (Bug#9699)
18953
18954 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18955
18956 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18957 condition.
18958
18959 2011-10-09 Leo Liu <sdl.web@gmail.com>
18960
18961 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18962 (Bug#9701)
18963
18964 2011-10-08 Glenn Morris <rgm@gnu.org>
18965
18966 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18967 before the first code statement zero indent. (Bug#9690)
18968
18969 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18970
18971 * simple.el (count-words-region): Always count in the region.
18972 Report the number of lines and characters too.
18973 (count-words): New command, which counts in the buffer if the
18974 region is inactive, as count-words-region used to.
18975 (count-words--message): New function. Handle plurals.
18976 (count-lines-region): Make it an alias for count-words-region.
18977
18978 * bindings.el (esc-map): Replace count-lines-region with
18979 count-words-region.
18980
18981 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18982
18983 * window.el (window--delete): Delete dedicated frame
18984 unconditionally when argument KILL is non-nil. (Bug#9699)
18985 (switch-to-buffer): Fix doc-string typo.
18986
18987 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18988
18989 * eshell/eshell.el (eshell-command): Avoid using hooks.
18990
18991 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18992
18993 * bindings.el ([M-left],[M-right]): Bind to left-word and
18994 right-word respectively.
18995
18996 2011-10-07 Glenn Morris <rgm@gnu.org>
18997
18998 * cus-start.el (debug-on-quit): Fix custom type.
18999
19000 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19001
19002 * subr.el (define-key-after): Clarify that the function is not
19003 useful for non-menu keymaps.
19004
19005 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19006
19007 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19008
19009 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19010 in current minibuffer (Fix bug with recursive minibuffers).
19011
19012 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19013
19014 * progmodes/gdb-mi.el (gdb): Doc fix.
19015
19016 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19017
19018 * window.el (frame-auto-hide-function): New option replacing
19019 frame-auto-delete. Suggested by Stefan Monnier.
19020 (window--delete): Call frame-auto-hide-function instead of
19021 investigating frame-auto-delete.
19022 (window-point-1, set-window-point-1): New functions.
19023 (window-in-direction, record-window-buffer, window-state-get-1)
19024 (display-buffer-record-window): Use window-point-1 instead of
19025 window-point.
19026 (set-window-buffer-start-and-point): Use set-window-point-1.
19027
19028 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19029
19030 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19031
19032 2011-10-05 Glenn Morris <rgm@gnu.org>
19033
19034 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19035 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19036
19037 2011-10-05 Leo Liu <sdl.web@gmail.com>
19038
19039 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19040 works with buffer object.
19041
19042 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19043
19044 * mpc.el (mpc-tool-bar-map): Add labels.
19045
19046 2011-10-04 Glenn Morris <rgm@gnu.org>
19047
19048 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19049
19050 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19051
19052 * window.el (window--delete): New function.
19053 (frame-auto-delete): Resuscitate option.
19054 (bury-buffer, replace-buffer-in-windows)
19055 (quit-window): Rewrite using window--delete.
19056 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19057 Pass display-buffer-mark-dedicated to window--display-buffer-2
19058 (Bug#9639).
19059
19060 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19061
19062 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19063 returns a list (bug#9554). Add remote file name completion.
19064 * comint.el (comint--table-subvert): Curry and get quote&unquote
19065 functions as arguments.
19066 (comint--complete-file-name-data): Adjust call accordingly.
19067 * pcomplete.el (pcomplete--table-subvert): Remove.
19068 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19069
19070 * minibuffer.el (completion-table-case-fold): Use currying.
19071 (completion--styles-type, completion--cycling-threshold-type):
19072 New constants.
19073 (completion-styles, completion-category-overrides)
19074 (completion-cycle-threshold): Use them.
19075 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19076 completion-table-case-fold.
19077
19078 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
19079
19080 * minibuffer.el (completion-category-overrides): Fix type of styles
19081 and add more user friendly tags (bug#9660).
19082
19083 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19084
19085 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19086 (mule-input-method-string): New widget.
19087 (default-input-method, language-info-custom-alist): Use it.
19088
19089 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19090
19091 * pcomplete.el: Require comint.
19092 (pcomplete--common-suffix): Remove.
19093 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19094 (pcomplete--table-subvert): Sync with comint--table-subvert.
19095 (pcomplete--entries): Use comint-completion-file-name-table.
19096 * comint.el (comint-unquote-filename): Simplify.
19097 (comint-completion-file-name-table): New function (bug#9616).
19098 (comint--complete-file-name-data): Use it.
19099
19100 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19101 (pcmpl-gnu-tar-buffer): Remove.
19102 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19103 around. Make sure pcomplete-suffix-list is only changed temporarily.
19104 Don't look inside the tar's file if it's too large.
19105
19106 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
19107
19108 * cus-edit.el (custom-mode-map):
19109 * epa.el (epa-key-list-mode-map):
19110 * man.el (Man-mode-map):
19111 * startup.el (splash-screen-keymap):
19112 * simple.el (special-mode-map): Use scroll-up-command and
19113 scroll-down-command.
19114
19115 * progmodes/idlw-help.el (idlwave-help-mode-map):
19116 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19117 * net/newst-plainview.el (newsticker-mode-map):
19118 * emulation/ws-mode.el (wordstar-mode-map):
19119 * emulation/vi.el (vi-com-map):
19120 * calc/calc-graph.el (calc-graph-show-dumb):
19121 * term/sun.el (terminal-init-sun):
19122 * term/ns-win.el (global-map):
19123 * progmodes/grep.el (grep-mode-map):
19124 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19125 * mail/rmail.el (rmail-mode-map):
19126 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19127
19128 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19129 custom-safe-themes as special.
19130
19131 2011-10-01 Julien Danjou <julien@danjou.info>
19132
19133 * notifications.el (notifications-notify): Fix docstring.
19134
19135 2011-10-01 Per Starbäck <per@starback.se>
19136
19137 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19138
19139 2011-09-30 Martin Rudalics <rudalics@gmx.at>
19140
19141 * startup.el (command-line-1): Fix last fix by inserting
19142 initial-scratch-message into *scratch* before displaying it.
19143 (Bug#9605) and (Bug#9636)
19144
19145 2011-09-29 Eli Zaretskii <eliz@gnu.org>
19146
19147 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19148 window is hscrolled, move by logical lines. (Bug#9607)
19149 (line-move-visual): Update the doc string to the above effect.
19150
19151 2011-09-29 Martin Rudalics <rudalics@gmx.at>
19152
19153 * window.el (display-buffer-record-window): When WINDOW is the
19154 selected window use `point' instead of `window-point'. (Bug#9626)
19155
19156 * startup.el (command-line-1): Use insert-before-markers when
19157 inserting initial-scratch-message. (Bug#9605)
19158
19159 * help.el (help-window): Remove variable.
19160
19161 2011-09-29 Glenn Morris <rgm@gnu.org>
19162
19163 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
19164
19165 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
19166
19167 * descr-text.el (describe-char-categories): Accept category
19168 descriptions more than one line long.
19169
19170 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
19171
19172 * simple.el (delete-trailing-whitespace): Fix last change.
19173
19174 * progmodes/perl-mode.el (perl-syntax-propertize-function):
19175 Don't confuse "y => 3" as the beginning of a `y' operation.
19176
19177 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
19178 object has more than 4 slots (bug#9613).
19179
19180 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
19181
19182 * subr.el (with-output-to-temp-buffer):
19183 * net/quickurl.el (quickurl, quickurl-browse-url):
19184 Fix typos in docstrings.
19185
19186 2011-09-27 Eli Zaretskii <eliz@gnu.org>
19187
19188 * minibuffer.el (completion-styles)
19189 (completion-category-overrides): Cross reference each other in doc
19190 strings.
19191
19192 2011-09-27 Glenn Morris <rgm@gnu.org>
19193
19194 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
19195 to split-string. (Bug#9606)
19196
19197 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19198
19199 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
19200 (bug#9615).
19201
19202 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
19203
19204 * emacs-lisp/package.el (list-packages): Fix echo area message.
19205
19206 2011-09-27 Leo Liu <sdl.web@gmail.com>
19207
19208 * ido.el (ido-read-internal): Accept cons cell HIST arg.
19209
19210 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
19211
19212 * net/dbus.el (dbus-unregister-object): Don't release services for
19213 registered signals. (Bug#9581)
19214
19215 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
19216
19217 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
19218 function that picks between cfengine 2 and 3 support
19219 automatically. Update docs accordingly.
19220
19221 2011-09-22 Kenichi Handa <handa@m17n.org>
19222
19223 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
19224 ZERO.
19225 (indian-itrans-v5-table-for-tamil): New variable.
19226 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
19227
19228 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
19229
19230 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
19231 that's true if the current command involved collapsing of text.
19232 It's reset to false at the beginning of the next command.
19233 (allout-post-command-business): Move the cursor to the beginning
19234 of entry if the cursor is hidden and collapsing activity just
19235 happened.
19236
19237 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
19238
19239 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
19240 tracking (Bug#9541).
19241
19242 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
19243
19244 * net/newst-reader.el (newsticker-html-renderer)
19245 (newsticker-show-news): Automatically load html rendering package
19246 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
19247 because w3m-fill-column is let-bound" and the error "Symbol's value
19248 as variable is void: w3m-fill-column".
19249
19250 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
19251
19252 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
19253 Release services only if they are defined. (Bug#9581)
19254
19255 2011-09-23 Richard Stallman <rms@gnu.org>
19256
19257 * textmodes/paragraphs.el (forward-sentence): For backwards case,
19258 distinguish start of paragraph from start of its text.
19259
19260 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
19261
19262 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
19263 (rmail-generate-viewer-buffer): Put that hook on view buffer.
19264 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
19265
19266 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
19267
19268 * international/mule-diag.el (mule-diag): Insert a newline after
19269 each fontset description.
19270
19271 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19272
19273 * simple.el (delete-trailing-whitespace):
19274 Document last change; simplify.
19275
19276 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
19277
19278 * simple.el (delete-trailing-whitespace): Also delete
19279 extra newlines at the end of the buffer.
19280
19281 * textmodes/picture.el: Make motion commands obey shift-select-mode.
19282 (picture-newline): Use forward-line so as to ignore fields.
19283
19284 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
19285
19286 * subr.el (with-wrapper-hook): Fix edebug spec.
19287
19288 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
19289
19290 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
19291 (bug#4538).
19292
19293 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
19294
19295 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
19296 Fix nasty bug using wrong cached values.
19297
19298 2011-09-23 Alan Mackenzie <acm@muc.de>
19299
19300 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
19301
19302 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
19303
19304 * window.el (pop-to-buffer): Ensure right window is selected if we
19305 chose another frame.
19306
19307 2011-09-22 Eli Zaretskii <eliz@gnu.org>
19308
19309 * simple.el (what-cursor-position): Use get-char-property-change
19310 and next-single-char-property-change, to be able to show display
19311 properties that come from overlays as well as text properties.
19312
19313 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
19314
19315 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
19316
19317 * cmuscheme.el (run-scheme, switch-to-scheme):
19318 * cus-edit.el (customize-group, custom-buffer-create)
19319 (customize-browse):
19320 * info.el (info):
19321 * shell.el (shell):
19322 * mail/sendmail.el (mail):
19323 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
19324
19325 2011-09-22 Richard Stallman <rms@gnu.org>
19326
19327 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
19328 move back only to line beg, don't move back over blank lines.
19329
19330 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
19331
19332 * files.el (copy-directory): Set directory attributes only in case
19333 they could be retrieved from the source directory. (Bug#9565)
19334
19335 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
19336
19337 * progmodes/hideshow.el (hs-looking-at-block-start-p)
19338 (hs-find-block-beginning, hs-hide-level-recursive):
19339 Ignore strings as well as comments. (Bug#9502)
19340
19341 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
19342
19343 * progmodes/sql.el (sql-comint-postgres):
19344 Convert port number to a string. (Bug#9566)
19345
19346 2011-09-22 Martin Rudalics <rudalics@gmx.at>
19347
19348 * window.el (quit-window): Undedicate window when switching to
19349 previous buffer. Reported by Thierry Volpiatto
19350 <thierry.volpiatto@gmail.com>.
19351 (special-display-popup-frame): When popping up a new frame reset
19352 its previous buffers to nil. Simplify code.
19353
19354 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
19355
19356 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
19357 and process filter, as done also in `shell-command'.
19358
19359 2011-09-21 Martin Rudalics <rudalics@gmx.at>
19360
19361 * window.el (set-window-buffer-start-and-point):
19362 Call set-window-start with NOFORCE argument t.
19363 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19364 (quit-window): Reword doc-string. Handle new format of
19365 quit-restore parameter. Don't delete window if it has a
19366 previous buffer we can show instead of the present one.
19367 (display-buffer-record-window): Rewrite using a new format for
19368 the quit-restore window parameter
19369 (special-display-popup-frame, display-buffer-same-window)
19370 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19371 (display-buffer-pop-up-window, display-buffer-use-some-window):
19372 Adapt symbol passed to display-buffer-record-window.
19373 * help.el (help-window-setup): Handle new format of quit-restore
19374 parameter.
19375
19376 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
19377
19378 * faces.el (face-list): Fix docstring (bug#9564).
19379
19380 * window.el (display-buffer--action-function-custom-type):
19381 Don't include internal functions in the Custom interface.
19382
19383 2011-09-20 Juri Linkov <juri@jurta.org>
19384
19385 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
19386 (Info-forward-node, Info-backward-node, Info-next-preorder)
19387 (Info-last-preorder): Use it. (Bug#9528)
19388
19389 2011-09-20 Juri Linkov <juri@jurta.org>
19390
19391 * info.el (Info-last-preorder): Visit last menu item only when
19392 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19393
19394 2011-09-20 Julien Danjou <julien@danjou.info>
19395
19396 * password-cache.el (password-cache-remove): Remove entries even if the
19397 value is nil, so that password with a nil value (negative caching) is
19398 possible to invalidate.
19399
19400 2011-09-20 Lawrence Mitchell <wence@gmx.li>
19401
19402 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19403 all whitespace around breakpoint. (Bug#9553)
19404 (f90-find-breakpoint): Only break at whitespace inside a comment.
19405
19406 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19407
19408 * minibuffer.el (completion-file-name-table): Keep track of errors.
19409 (completion-table-with-predicate): Handle the case where pred1 is nil.
19410 * pcomplete.el (pcomplete-completions-at-point): Simplify.
19411
19412 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19413
19414 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19415 (debugger-return-value): Signal an error if the debugging context does
19416 not await any return value.
19417
19418 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19419 * image-mode.el (image-toggle-display-text)
19420 (image-toggle-display-image): Stay away from evil `intangible'.
19421
19422 2011-09-19 Leo Liu <sdl.web@gmail.com>
19423
19424 * replace.el (occur-revert-arguments): Make it permanent-local.
19425 (occur-mode): Don't call font-lock-defontify.
19426
19427 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
19428
19429 * net/ldap.el (ldap-search-internal): Don't push empty search
19430 result (Bug#9508).
19431
19432 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19433
19434 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19435
19436 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
19437
19438 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19439 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19440
19441 2011-09-18 Juri Linkov <juri@jurta.org>
19442
19443 * buff-menu.el (Buffer-menu-mode-map):
19444 * dired.el (dired-mode-map):
19445 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19446 (lisp-interaction-mode-map):
19447 * emacs-lisp/package.el (package-menu-mode-map):
19448 * epa.el (epa-key-list-mode-map):
19449 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19450 (menu-bar-options-menu):
19451 * outline.el (outline-mode-menu-bar-map):
19452 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19453 * vc/vc-dir.el (vc-dir-menu-map):
19454 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19455 Capitalize non-function content words in menu item strings.
19456
19457 * dired.el (dired-mode-map): Add menu item for
19458 `image-dired-dired-toggle-marked-thumbs'.
19459
19460 2011-09-18 Juri Linkov <juri@jurta.org>
19461
19462 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19463 to `isearch-case-fold-search' and restore its original value
19464 after the `isearch-mode' call.
19465
19466 2011-09-18 Juri Linkov <juri@jurta.org>
19467
19468 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19469 because `zgrep' returns 1 for successful matches (bug#9226).
19470
19471 2011-09-18 Juri Linkov <juri@jurta.org>
19472
19473 * info.el (Info-extract-menu-node-name): Check the second match
19474 for empty string (second test-case of bug#9528).
19475 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19476 intermediate nodes to the history (first test-case of bug#9528).
19477
19478 2011-09-18 Juri Linkov <juri@jurta.org>
19479
19480 * info.el (Info-mode-syntax-table): New variable.
19481 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19482
19483 2011-09-18 Juri Linkov <juri@jurta.org>
19484
19485 * info.el (Info-file-supports-index-cookies):
19486 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19487 outputs one more line for long file names (bug#4142).
19488
19489 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19490
19491 * newcomment.el (comment-normalize-vars): If prompting for
19492 comment-start, set comment-start-skip too (Bug#8424).
19493
19494 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
19495
19496 * icomplete.el: Fix previous fix of Bug#5849.
19497 (icomplete-mode): Don't set completion-show-inline-help.
19498 (icomplete-minibuffer-setup): Set completion-show-inline-help
19499 locally during icompletion.
19500
19501 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19502
19503 * woman.el (woman2-process-escapes): Don't delete unrecognized
19504 escapes (Bug#7843).
19505
19506 * files.el (inhibit-first-line-modes-regexps): Add image files.
19507 (hack-local-variables-prop-line): Return nil for malformed
19508 prop-lines (Bug#9044).
19509
19510 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
19511
19512 * net/tramp.el (top): Don't require 'shell.
19513 (tramp-methods): Fix docstring.
19514 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19515 Return complete remote file name. Handle "smb" case.
19516 Use `tramp-tmpdir', if defined for the respective method.
19517 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19518
19519 * net/tramp-compat.el (top): Require 'shell.
19520
19521 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19522 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19523 `tramp-current-host'.
19524 (tramp-get-remote-tmpdir): Remove.
19525
19526 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19527 `tramp-tmpdir' entries.
19528 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19529 (tramp-smb-handle-file-attributes): Ignore errors.
19530 (tramp-smb-wait-for-output): Check also for process end.
19531
19532 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19533
19534 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19535 when sending QUIT (bug#9312).
19536
19537 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
19538
19539 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19540 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19541 occur-mode-display-occurrence.
19542 (occur-edit-mode): Add usage message.
19543 (occur-cease-edit): New command.
19544 (occur-after-change-function): Use text properties to find the
19545 position of the prefix text.
19546 (occur-engine): Set stickiness of prefix text properties.
19547
19548 2011-09-17 Glenn Morris <rgm@gnu.org>
19549
19550 * progmodes/etags.el (complete-tag):
19551 Fix call to completion-in-region. (Bug#9526)
19552
19553 2011-09-17 Juri Linkov <juri@jurta.org>
19554
19555 * textmodes/ispell.el (ispell-word): Add to the error message
19556 the word, ispell program name and current dictionary (bug#9121).
19557 (ispell-tex-arg-end): Capitalize "error" in the error message.
19558
19559 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19560
19561 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19562 check. (Bug#4251)
19563
19564 2011-09-17 Juri Linkov <juri@jurta.org>
19565
19566 * window.el (window-safe-min-height, window-safe-min-width):
19567 Fix typos (followup to bug#9522).
19568
19569 2011-09-17 Sven Joachim <svenjoac@gmx.de>
19570
19571 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19572
19573 2011-09-16 Eli Zaretskii <eliz@gnu.org>
19574
19575 * simple.el (line-move): If goal-column is set, move by logical
19576 lines, not by display lines. (Bug#971)
19577 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19578 to reflect the above change.
19579
19580 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19581
19582 * image.el (imagemagick-register-types): Use regexp-opt.
19583
19584 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19585
19586 * window.el (display-buffer-base-action): Rename from
19587 display-buffer-default-action. Make default value empty.
19588 (display-buffer-overriding-action): Convert to defvar.
19589 (display-buffer-fallback-action): New var.
19590
19591 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19592
19593 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19594 declaration.
19595 (package--add-to-archive-contents): If there is a duplicate entry
19596 with an older version, remove it.
19597 (package-menu-mark-delete, package-menu-mark-install)
19598 (package-menu-mark-unmark): Make unused args optional.
19599 (package-menu-mark-obsolete-for-deletion):
19600 Use package-menu-get-status instead of a regexp search.
19601 (package-menu-get-status): Use tabulated-list-entry.
19602 (package-menu-mark-upgrades): New command.
19603 (package-menu-mode-map): Bind it to U. Add it to menu bar.
19604 (package-menu-execute): Do installation before deletion.
19605 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19606 instead of checking major-mode.
19607 (package-menu--find-upgrades): New function.
19608
19609 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19610
19611 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19612 passwords in the log buffer.
19613 (smtpmail-process-filter): Update the process marker so that the
19614 "broken by peer" status message is inserted in the right place.
19615
19616 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19617
19618 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19619 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19620 bibtex-completion-at-point-function.
19621 (bibtex-completion-at-point-function): Use them.
19622
19623 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19624
19625 * mpc.el (mpc-constraints-tag-lookup): New function.
19626 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19627 also to browser "album|playlist".
19628
19629 2011-09-14 Juri Linkov <juri@jurta.org>
19630
19631 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19632 (isearch-edit-string): Use length of `isearch-string' when
19633 `isearch-fail-pos' returns nil.
19634 (isearch-message): Remove duplicate code and call
19635 `isearch-fail-pos' with arg `t'.
19636
19637 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
19638
19639 * replace.el (occur-mode-goto-occurrence): Don't force using other
19640 window (Bug#9499).
19641
19642 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19643
19644 2011-09-14 Martin Rudalics <rudalics@gmx.at>
19645
19646 * window.el (display-buffer-window): Remove.
19647 (display-buffer-record-window): Use help-setup window parameter
19648 instead of variable display-buffer-window.
19649 (display-buffer-function, special-display-buffer-names)
19650 (special-display-function): Mention help-setup parameter instead
19651 of display-buffer-window in doc-string.
19652 * help.el (help-window-setup): New argument help-window.
19653 Use help-window-setup parameter instead of display-buffer-window.
19654 Reword some messages.
19655 (with-help-window): Pass window used for displaying the buffer
19656 to help-window-setup. Don't set display-buffer-window.
19657
19658 2011-09-13 Glenn Morris <rgm@gnu.org>
19659
19660 * emacs-lisp/debug.el (debugger-make-xrefs):
19661 Preserve point. (Bug#9462)
19662
19663 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19664
19665 * window.el (window-deletable-p): Use next-frame.
19666
19667 2011-09-13 Martin Rudalics <rudalics@gmx.at>
19668
19669 * window.el (window-auto-delete): Remove.
19670 (window-deletable-p): Remove argument FORCE. Don't deal with
19671 dedication and previous buffers.
19672 (switch-to-prev-buffer): Don't delete window.
19673 (delete-windows-on): Delete a window's frame if and only if the
19674 window is dedicated.
19675 (replace-buffer-in-windows): Delete buffer's window or frame if
19676 and only if window is dedicated.
19677 (quit-window): Handle quit-restore as before last change.
19678 (bury-buffer): Delete window only if window-deletable-p returns t.
19679
19680 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19681
19682 * window.el (window-deletable-p): Never delete the last frame on a
19683 given terminal.
19684
19685 2011-09-13 Glenn Morris <rgm@gnu.org>
19686
19687 * help.el (describe-key-briefly): Copy previous standard-output change.
19688
19689 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
19690
19691 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19692
19693 2011-09-13 Glenn Morris <rgm@gnu.org>
19694
19695 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19696 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19697
19698 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
19699
19700 * dired-aux.el (dired-mark-read-string): Don't return default
19701 value on empty input (Bug#9361).
19702 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19703 Omit initial minibuffer contents.
19704 (dired-do-chmod): Signal an error on empty input.
19705 (dired-mark-read-string): Don't return default on empty input.
19706
19707 * files.el (file-modes-symbolic-to-number): Doc fix.
19708
19709 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19710
19711 * international/mule-cmds.el (ucs-completions): Remove.
19712 (read-char-by-name): Use complete-with-action instead; add metadata.
19713
19714 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19715
19716 * window.el (display-buffer--action-function-custom-type)
19717 (display-buffer--action-custom-type): New vars.
19718 (display-buffer-alist, display-buffer-default-action)
19719 (display-buffer-overriding-action): Add defcustom types.
19720
19721 * frame.el (delete-other-frames): Doc fix (Bug#276).
19722
19723 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19724
19725 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19726
19727 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19728
19729 Change modes that used same-window-* vars to use switch-to-buffer.
19730
19731 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19732 Use switch-to-buffer.
19733
19734 * cus-edit.el (customize-group, custom-buffer-create)
19735 (customize-browse, custom-buffer-create-other-window):
19736 Use switch-to-buffer or switch-to-buffer-other-window.
19737
19738 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19739 (Info-prev, Info-up, Info-speedbar-goto-node)
19740 (info-display-manual): Use switch-to-buffer.
19741 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19742
19743 * mail/sendmail.el (mail): Use switch-to-buffer.
19744 (mail-recover): Use switch-to-buffer-other-window.
19745
19746 * cmuscheme.el (run-scheme, switch-to-scheme):
19747 * ielm.el (ielm):
19748 * shell.el (shell):
19749 * net/rlogin.el (rlogin):
19750 * net/telnet.el (telnet, rsh):
19751 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19752
19753 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19754
19755 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19756
19757 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19758
19759 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19760 so don't mention it (bug#9301).
19761 (dired-sort-toggle-or-edit): Clarify string further.
19762
19763 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19764 match `x', `w32' and `ns', like the manual says (bug#9029).
19765
19766 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19767 (process-kill-buffer-query-function): Mention the buffer name in
19768 the query.
19769
19770 * image-mode.el (image-next-line): The line parameter is mandatory
19771 (bug#9258).
19772
19773 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19774 which can be useful (bug#9301).
19775
19776 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19777
19778 * subr.el (match-string): Mention that the current buffer should
19779 be the same as the search was done in (bug#9282).
19780
19781 * facemenu.el: Disable the remove-* commands if the mark isn't
19782 active (bug#9162).
19783
19784 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19785
19786 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19787 of display-buffer.
19788 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19789
19790 * replace.el (occur-mode-goto-occurrence)
19791 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19792 and display-buffer.
19793
19794 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19795 display-buffer.
19796
19797 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19798 special-display and same-window variables.
19799 (mail-other-window): Use switch-to-buffer-other-window.
19800 (mail-other-frame): USe switch-to-buffer-other-frame.
19801
19802 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19803 Use display-buffer-other-frame.
19804 (gdb-display-gdb-buffer): Use pop-to-buffer.
19805
19806 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19807
19808 * progmodes/python.el: Don't set same-window-buffer-names.
19809
19810 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19811
19812 * window.el (display-buffer-alist): Add *Python*.
19813
19814 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19815
19816 * window.el (display-buffer-alist): Add entry for buffers
19817 previously handled same-window-*.
19818 (display-buffer-alist, display-buffer-default-action)
19819 (display-buffer-overriding-action): Mark as risky.
19820 (display-buffer-alist): Document action function changes.
19821 (display-buffer--same-window-action)
19822 (display-buffer--other-frame-action): New variables.
19823 (switch-to-buffer, display-buffer-other-frame): Use them.
19824 (display-buffer): Rename reuse-frame entry to reusable-frames.
19825 (display-buffer-reuse-selected-window): Function deleted.
19826 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19827 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19828 (display-buffer-special): New function.
19829 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19830 display-buffer-reuse-or-pop-window. Split off special-display
19831 part into display-buffer-special.
19832 (display-buffer-use-some-window): Don't perform any special
19833 pop-up-frames handling.
19834 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19835 (display-buffer--maybe-same-window): Rename from
19836 display-buffer-maybe-same-window.
19837
19838 * info.el: Don't set same-window-regexps.
19839 (info-setup): New function.
19840 (info-other-window, info): Call it.
19841
19842 * cus-edit.el: Don't set same-window-regexps.
19843 (customize-group): New argument.
19844 (customize-group-other-window): Use it.
19845 (customize-face, customize-face-other-window): Likewise.
19846 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19847
19848 * net/rlogin.el:
19849 * net/telnet.el:
19850 * progmodes/gud.el: Don't set same-window-regexps.
19851
19852 * cmuscheme.el:
19853 * ielm.el:
19854 * shell.el:
19855 * mail/sendmail.el:
19856 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19857
19858 2011-09-10 Juri Linkov <juri@jurta.org>
19859
19860 * isearch.el (isearch-edit-string): Remove obsolete mention of
19861 `C-w' (`isearch-yank-word-or-char') from docstring.
19862 (isearch-query-replace): Fix typo in docstring (bug#9466).
19863
19864 2011-09-10 Juri Linkov <juri@jurta.org>
19865
19866 * paren.el (show-paren-function): Don't show escaped parens.
19867 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19868
19869 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19870
19871 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19872 (mm-default-file-encoding): Remove autoload forms, they are
19873 replaced with autoload cookies in mml.el and mm-encode.el.
19874 (mail-add-attachment): New command.
19875 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19876 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19877 the doc string.
19878 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19879
19880 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19881
19882 * simple.el (count-words-region): Use buffer if there's no region
19883 (bug#9429).
19884
19885 2011-09-09 Juri Linkov <juri@jurta.org>
19886
19887 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19888 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19889 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19890
19891 2011-09-09 Alan Mackenzie <acm@muc.de>
19892
19893 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19894 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19895
19896 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19897
19898 Fix for Savannah bug#9392.
19899 * simple.el (mail-encode-mml): New defvar.
19900
19901 * mail/rmail.el (mail-encode-mml): Add a defvar.
19902 (rmail-enable-mime-composing): Default to t.
19903 (rmail-forward): Use MIME method of forwarding only if both
19904 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19905 Set mail-encode-mml non-nil if the MIME method was used.
19906
19907 * mail/sendmail.el (mml-to-mime): Add autoload form.
19908 (mail-encode-mml): Add a defvar.
19909 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19910 to nil.
19911 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19912 message through mml-to-mime, and reset mail-encode-mml to nil.
19913
19914 2011-09-09 Glenn Morris <rgm@gnu.org>
19915
19916 * woman.el (woman-if-body): When processing an .el block,
19917 do not delete the next .el block as well. (Bug#9447)
19918 (woman-special-characters): Add oq, cq, and hy characters.
19919
19920 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19921
19922 * window.el (window-deletable-p): Make sure window is live before
19923 invoking window-prev-buffers.
19924
19925 2011-09-08 Leo Liu <sdl.web@gmail.com>
19926
19927 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19928
19929 2011-09-08 Juri Linkov <juri@jurta.org>
19930
19931 * progmodes/compile.el (compilation-environment): Make it
19932 a defcustom (bug#8340).
19933
19934 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19935
19936 * window.el (frame-auto-delete): Rename to window-auto-delete.
19937 Make it control auto-deletion of windows and/or frames.
19938 (window-deletable-p): New argument FORCE. Rewrite conditions
19939 for deleting window/frame. (Bug#9419)
19940 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19941 Rewrite handling of case when window/frame can be deleted.
19942 (delete-windows-on): Call window-deletable-p with new FORCE
19943 argument t. (Bug#9456)
19944
19945 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19946
19947 * help-mode.el (help-mode): Restore autoload.
19948
19949 2011-09-07 Juri Linkov <juri@jurta.org>
19950
19951 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19952 `compilation-environment'. Set buffer-local
19953 `compilation-environment' to `thisenv' later after (funcall mode).
19954 (Bug#8340)
19955
19956 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19957 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19958 instead of replacing its value. (Bug#8340)
19959
19960 2011-09-07 Juri Linkov <juri@jurta.org>
19961
19962 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19963 based on text properties put by `grep-filter' instead of matching
19964 escape sequences.
19965 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19966 to the value of `grep-error-screen-columns' (bug#9438).
19967
19968 2011-09-07 Juri Linkov <juri@jurta.org>
19969
19970 * simple.el (next-error-highlight, next-error-highlight-no-select):
19971 Doc fix (bug#9432).
19972
19973 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19974
19975 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19976 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19977
19978 2011-09-07 Leo Liu <sdl.web@gmail.com>
19979
19980 * net/rcirc.el (rcirc-mode): Conditionally initialize
19981 rcirc-input-ring.
19982
19983 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19984
19985 * emacs-lisp/find-func.el (find-function-C-source): Only set
19986 find-function-C-source-directory after checking that we found a source
19987 file there (bug#9440).
19988
19989 2011-09-06 Alan Mackenzie <acm@muc.de>
19990
19991 * isearch.el (isearch-other-meta-char): Wherever a key list is
19992 unread, "unread" the prefix arg, too. This fixes bug #8901.
19993
19994 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19995
19996 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19997
19998 2011-09-05 Juri Linkov <juri@jurta.org>
19999
20000 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20001
20002 2011-09-05 Juri Linkov <juri@jurta.org>
20003
20004 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20005 keeping point where processing of grep matches begins, and
20006 continue to delete remaining escape sequences from the same point.
20007 (grep-filter): Make leading zero optional in "0?1;31m" because
20008 git-grep emits "\033[1;31m" escape sequences unlike expected
20009 "\033[01;31m" as GNU Grep does (bug#9408).
20010 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20011
20012 2011-09-05 Juri Linkov <juri@jurta.org>
20013
20014 * subr.el (y-or-n-p): Capitalize "yes".
20015
20016 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20017
20018 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20019 `tramp-cache-unload-hook' where appropriate.
20020 (tramp-methods): Rename `tramp-remote-sh' to
20021 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20022 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20023
20024 * net/tramp-sh.el (top): Don't require 'shell.
20025 (tramp-methods): Add `tramp-remote-shell' and
20026 `tramp-remote-shell-args' entries.
20027 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20028 (tramp-sh-handle-shell-command): Remove.
20029 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20030 Use `tramp-remote-shell'.
20031
20032 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20033
20034 * mail/sendmail.el (sendmail-query-once-function): Delete.
20035 (sendmail-query-once): Save directly to send-mail-function.
20036 Update message-send-mail-function too.
20037
20038 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20039
20040 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20041
20042 * progmodes/python.el (python-mode-map): Use correct function to
20043 start python interpreter from menu-bar (as reported by Geert
20044 Kloosterman).
20045 (inferior-python-mode-map): Fix typo.
20046 (python-shell-map): Remove.
20047
20048 2011-09-03 Deniz Dogan <deniz@dogan.se>
20049
20050 * net/rcirc.el (rcirc-print): Simplify code for
20051 rcirc-scroll-show-maximum-output. There is no need to walk
20052 through all windows to find the right one.
20053
20054 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20055
20056 * help.el (help-return-method): Doc fix.
20057
20058 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20059
20060 * window.el (window-deletable-p): Don't return a non-nil value
20061 when there's a buffer that was shown in the window before.
20062 (Bug#9419)
20063 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20064 Set window's previous buffers to nil.
20065
20066 2011-09-03 Eli Zaretskii <eliz@gnu.org>
20067
20068 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20069 newline before and after the tag line, so it doesn't interfere
20070 with determining the paragraph direction of bidirectional text.
20071
20072 2011-09-03 Leo Liu <sdl.web@gmail.com>
20073
20074 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20075
20076 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20077
20078 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20079 (pop-to-buffer): Change interactive spec. Pass second argument
20080 directly to display-buffer.
20081 (display-buffer): Fix interactive spec. Use functionp to
20082 distinguish between a function and a list of functions.
20083
20084 * abbrev.el (edit-abbrevs):
20085 * arc-mode.el (archive-extract):
20086 * autoinsert.el (auto-insert):
20087 * bookmark.el (bookmark-bmenu-list):
20088 * files.el (find-file):
20089 * view.el (view-buffer):
20090 * progmodes/compile.el (compilation-goto-locus):
20091 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20092
20093 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20094
20095 * window.el (display-buffer-alist): Doc fix.
20096 (display-buffer): Add docstring. Don't treat
20097 display-buffer-default specially.
20098 (display-buffer-reuse-selected-window)
20099 (display-buffer-same-window, display-buffer-maybe-same-window)
20100 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20101 (display-buffer-pop-up-window)
20102 (display-buffer-reuse-or-pop-window)
20103 (display-buffer-use-some-window): New functions.
20104 (display-buffer-default-action): Use them.
20105 (display-buffer-default): Delete.
20106 (pop-to-buffer-1): Fix choice of actions.
20107
20108 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20109
20110 * minibuffer.el (completion--insert-strings): Don't get confused by
20111 completion entries that end with an LF char.
20112
20113 2011-09-01 Eli Zaretskii <eliz@gnu.org>
20114
20115 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20116
20117 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
20118
20119 * window.el (display-buffer): Restore interactive spec.
20120 (display-buffer-same-window, display-buffer-other-window):
20121 New functions.
20122 (pop-to-buffer-1): New function. Use the above.
20123 (pop-to-buffer, pop-to-buffer-same-window): Use it.
20124 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
20125
20126 * view.el (view-buffer-other-window, view-buffer-other-frame):
20127 Just use pop-to-buffer.
20128
20129 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20130
20131 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20132
20133 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20134
20135 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20136
20137 2011-08-31 Richard Stallman <rms@gnu.org>
20138
20139 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20140 of the separation of rmail-view-buffer from rmail-buffer.
20141 If you say no to "replace original", the decrypt is in the
20142 view buffer. If you say yes, the decrypt goes into the
20143 rmail buffer also.
20144
20145 2011-08-31 Martin Rudalics <rudalics@gmx.at>
20146
20147 * window.el (display-buffer-window): Rewrite doc-string.
20148 (display-buffer-record-window): New function.
20149 (display-buffer-macro-specifiers)
20150 (display-buffer-even-window-sizes, display-buffer-set-height)
20151 (display-buffer-set-width, display-buffer-in-window)
20152 (display-buffer-reuse-window, display-buffer-split-specifiers)
20153 (display-buffer-side-specifiers, display-buffer-split-window-1)
20154 (display-buffer-split-window, display-buffer-split-atom-window)
20155 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20156 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
20157 (display-buffer-other-window-means-other-frame)
20158 (display-buffer-normalize-special)
20159 (display-buffer-normalize-default)
20160 (display-buffer-normalize-argument)
20161 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
20162 (display-buffer-normalize-specifiers, display-buffer-frame)
20163 (display-buffer-same-window, display-buffer-same-frame)
20164 (display-buffer-other-window)
20165 (display-buffer-same-frame-other-window)
20166 (display-buffer-other-frame, pop-to-buffer-same-window)
20167 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
20168 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
20169 (switch-to-buffer-same-frame)
20170 (switch-to-buffer-other-window-same-frame)
20171 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
20172 (display-buffer-alist-set-1, display-buffer-alist-set-2)
20173 (display-buffer-alist-set): Remove.
20174 (display-buffer-function, special-display-buffer-names)
20175 (special-display-regexps, special-display-function):
20176 In doc-string refer to display-buffer-window and quit-restore
20177 parameter.
20178 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
20179 (special-display-frame-alist, special-display-popup-frame)
20180 (same-window-buffer-names, same-window-regexps, same-window-p)
20181 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20182 (split-window-preferred-function, split-height-threshold)
20183 (split-width-threshold, window-splittable-p)
20184 (split-window-sensibly, window--try-to-split-window)
20185 (window--frame-usable-p, even-window-heights)
20186 (window--even-window-heights, window--display-buffer-1)
20187 (window--display-buffer-2, display-buffer-other-frame):
20188 Restore old Emacs 23 code, order and doc-strings where applicable.
20189 (display-buffer-default, display-buffer-assq-regexp): New functions.
20190 (display-buffer-alist): Rewrite doc-string.
20191 (display-buffer-default-action)
20192 (display-buffer-overriding-action): New variables.
20193 (display-buffer, switch-to-buffer): Rewrite.
20194 (pop-to-buffer): Restore Emacs 23 behavior but use
20195 window-normalize-buffer-to-display.
20196 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
20197 Restore Emacs 23 behavior but use
20198 window-normalize-buffer-to-switch-to.
20199 (pop-to-buffer-same-window): Rewrite.
20200 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
20201 Rewrite using Emacs 23 options.
20202
20203 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
20204
20205 * net/tramp.el (tramp-root-regexp): Remove.
20206 (tramp-completion-file-name-regexp-unified)
20207 (tramp-completion-file-name-regexp-separate)
20208 (tramp-completion-file-name-regexp-url): Don't use leading volume
20209 letter on w32 systems. (Bug#5303, Bug#9311)
20210 (tramp-drop-volume-letter): Simplify definition.
20211 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
20212
20213 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20214
20215 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
20216 (bug#9356).
20217
20218 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
20219
20220 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
20221
20222 2011-08-29 Juri Linkov <juri@jurta.org>
20223
20224 * isearch.el (isearch-done): Don't display message "Mark saved"
20225 when arg `edit' is non-nil to prevent its flicker in the echo area.
20226
20227 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20228
20229 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
20230 obsolete packages for deletion.
20231
20232 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
20233
20234 * help-mode.el (help-mode-map): Add special-mode-map to parent.
20235 (help-mode): Derive help-mode from special-mode. Don't invoke
20236 view-mode from help-mode.
20237 (help-xref-override-view-map): Remove.
20238 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
20239 view-mode is not used anymore.
20240
20241 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
20242
20243 * server.el (server-port): Doc fix.
20244
20245 * cus-theme.el (custom-theme-choose-mode): Inherit from
20246 special-mode (Bug#9124).
20247 (custom-theme-choose-mode-map): Add special-mode to parent.
20248
20249 2011-08-28 Alan Mackenzie <acm@muc.de>
20250
20251 * progmodes/cc-fonts.el
20252 (c-make-font-lock-BO-decl-search-function): New function.
20253 (c-basic-matchers-after - "Fontify the clauses after various
20254 keywords"): Extract the three keyword lists for the 3 erroneous
20255 constructs from the list of four, and use the new function above
20256 in place of an old one.
20257
20258 2011-08-28 Deniz Dogan <deniz@dogan.se>
20259
20260 * net/rcirc.el (rcirc-insert-prev-input)
20261 (rcirc-insert-next-input): Remove unused argument.
20262
20263 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
20264
20265 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
20266
20267 2011-08-27 Alan Mackenzie <acm@muc.de>
20268
20269 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
20270 handle function pointer parameters properly.
20271
20272 2011-08-27 Martin Rudalics <rudalics@gmx.at>
20273
20274 * window.el (display-buffer-reuse-window): Fix case where
20275 selected window was reused with non-nil OTHER-WINDOW argument.
20276 (Bug#9381)
20277
20278 2011-08-27 Deniz Dogan <deniz@dogan.se>
20279
20280 * net/rcirc.el (rcirc-check-auth-status): Adding support for
20281 oftc's NickServ messages.
20282
20283 2011-08-27 Glenn Morris <rgm@gnu.org>
20284
20285 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
20286
20287 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
20288
20289 * emacs-lisp/package.el (package-install): Call package-initialize
20290 if called interactively.
20291
20292 2011-08-26 Leo Liu <sdl.web@gmail.com>
20293
20294 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
20295
20296 2011-08-25 Juri Linkov <juri@jurta.org>
20297
20298 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20299 `search-whitespace-regexp' (bug#9364).
20300
20301 2011-08-25 Juri Linkov <juri@jurta.org>
20302
20303 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
20304 `regexp-search-ring' to their global values to protect from
20305 updating by `read-from-minibuffer' (bug#9185).
20306
20307 2011-08-25 Juri Linkov <juri@jurta.org>
20308
20309 * textmodes/ispell.el (ispell-command-loop): Add newline
20310 at the end of the "Use option `i'..." line.
20311
20312 2011-08-25 Juri Linkov <juri@jurta.org>
20313
20314 * battery.el (display-battery-mode): If `battery-status-function'
20315 or `battery-mode-line-format' is nil, display the message and set
20316 `display-battery-mode' to nil (bug#9363).
20317
20318 2011-08-25 Eli Zaretskii <eliz@gnu.org>
20319
20320 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
20321 bidi-string-mark-left-to-right; they are unnecessary now.
20322
20323 2011-08-25 Deniz Dogan <deniz@dogan.se>
20324
20325 * net/quickurl.el: Documentation typo fixes.
20326
20327 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
20328
20329 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
20330
20331 2011-08-25 Glenn Morris <rgm@gnu.org>
20332
20333 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
20334
20335 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
20336 (smtpmail-via-smtp): Handle nil response from smtp.
20337
20338 2011-08-24 Juri Linkov <juri@jurta.org>
20339
20340 * proced.el (proced-marked): Inherit from `error' instead of
20341 `font-lock-warning-face'.
20342
20343 * ibuffer.el (ibuffer-marked-face): Change default face from
20344 `font-lock-warning-face' to `warning'.
20345 (ibuffer-deletion-face): Change default face from
20346 `font-lock-type-face' to `error'.
20347
20348 * battery.el (battery-update): Use the face `error' instead of
20349 `font-lock-warning-face' (bug#6117).
20350
20351 2011-08-24 Juri Linkov <juri@jurta.org>
20352
20353 * faces.el (success): Change face color from "Green3" to
20354 "ForestGreen" on light background (bug#9353).
20355
20356 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
20357
20358 * window.el (quit-window): Rename from quit-restore-window.
20359 Use same arglist as old quit-window.
20360 (frame-auto-delete): Doc fix.
20361
20362 * view.el (view-mode-exit): Use quit-window.
20363
20364 2011-08-24 Juri Linkov <juri@jurta.org>
20365
20366 * isearch.el (isearch-ring-adjust1): Start visiting previous
20367 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
20368 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
20369 for empty search string (when the last search string is reused
20370 automatically) to adjust the isearch ring to the last element and
20371 prepare the correct index for further M-p commands (bug#9185).
20372
20373 2011-08-24 Kenichi Handa <handa@m17n.org>
20374
20375 * international/ucs-normalize.el: If decomposition property of
20376 CHAR is the default one (i.e. a list of CHAR itself), treat it as
20377 nil.
20378 (nfd, nfkd): Likewise.
20379
20380 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
20381
20382 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
20383 from process filters aren't reliably transmitted to the surrounding
20384 accept-process-output.
20385 (mpc-proc-check): New function.
20386 (mpc-proc-sync): Use it (bug#8293)
20387
20388 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20389
20390 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
20391 Add compatibility functions (bug#9313).
20392
20393 2011-08-23 Eli Zaretskii <eliz@gnu.org>
20394
20395 * cus-start.el (all): Add entry for bidi-paragraph-direction.
20396
20397 * international/uni-bidi.el: Regenerate.
20398
20399 2011-08-23 Kenichi Handa <handa@m17n.org>
20400
20401 * international/charprop.el:
20402 * international/uni-bidi.el:
20403 * international/uni-category.el:
20404 * international/uni-combining.el:
20405 * international/uni-comment.el:
20406 * international/uni-decimal.el:
20407 * international/uni-decomposition.el:
20408 * international/uni-digit.el:
20409 * international/uni-lowercase.el:
20410 * international/uni-mirrored.el:
20411 * international/uni-name.el:
20412 * international/uni-numeric.el:
20413 * international/uni-old-name.el:
20414 * international/uni-titlecase.el:
20415 * international/uni-uppercase.el: Regenerate.
20416
20417 2011-08-23 Martin Rudalics <rudalics@gmx.at>
20418
20419 * help.el (help-window-setup): Fix message displayed when other
20420 window is reused. (Bug#9341)
20421
20422 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20423
20424 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20425 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20426
20427 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20428 Mark obsolete.
20429 * shell.el (shell-parse-pcomplete-arguments): New function.
20430 (shell-completion-vars): Use it instead (bug#9160).
20431
20432 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
20433
20434 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20435 strings and comments (bug#9333).
20436
20437 * emacs-lisp/debug.el (debug-arglist): New function.
20438 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
20439 (debug-on-entry-1): Handle interpreted closures (bug#9120).
20440
20441 2011-08-22 Juri Linkov <juri@jurta.org>
20442
20443 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20444 Revert regexp that highlights output switches to its old
20445 pre-2010-10-28 value and remove one `?' from it (bug#9319).
20446
20447 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20448 to check for empty output (bug#9226).
20449
20450 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
20451
20452 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20453 symbol-constituent as the default, as that stops font-lock from
20454 working properly (Bug#8843).
20455
20456 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20457
20458 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20459 `coding-system-for-*' around the process open call to avoid
20460 auth-source side effects.
20461 (smtpmail-try-auth-methods): Expand the secret password.
20462 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20463 probe hangs.
20464
20465 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20466
20467 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20468
20469 * emacs-lisp/find-func.el (find-function-noselect): New arg
20470 lisp-only.
20471
20472 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20473 signal an error for built-in functions (Bug#6664).
20474
20475 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20476
20477 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20478 (smtpmail-try-auth-methods): Use it.
20479
20480 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20481
20482 * font-lock.el (font-lock-fontify-region)
20483 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20484 (font-lock-default-unfontify-buffer)
20485 (font-lock-default-fontify-region)
20486 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20487
20488 * progmodes/compile.el (compilation-error-properties):
20489 Fix confusion between file struct and message struct (Bug#9319).
20490 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20491 `ant' regexp.
20492
20493 * net/browse-url.el (browse-url-firefox): Don't call
20494 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20495
20496 2011-08-20 Glenn Morris <rgm@gnu.org>
20497
20498 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20499
20500 * tutorial.el (tutorial--default-keys): Update some default bindings.
20501
20502 * files.el (hack-local-variables): Fully ignore case for "mode:".
20503
20504 2011-08-20 Alan Mackenzie <acm@muc.de>
20505
20506 Resolve invalid use of a regexp in regexp-opt.
20507
20508 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20509 detection for a java annotation.
20510
20511 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20512 detection for a java annotation.
20513
20514 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20515 handling for java.
20516 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20517
20518 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
20519
20520 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20521 (Bug#9274).
20522
20523 2011-08-20 Alan Mackenzie <acm@muc.de>
20524
20525 Fontify CPP expressions correctly when starting in the middle of
20526 such a construct. Mainly for when jit-lock etc. starts a chunk
20527 here.
20528
20529 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20530 variable.
20531 (c-make-font-lock-search-form): New function, extracted from
20532 c-make-font-lock-search-function.
20533 (c-make-font-lock-search-function): Use the above function.
20534 (c-make-font-lock-context-search-function): New function.
20535 (c-cpp-matchers): Enhance the preprocessor expression case with
20536 the above function
20537 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20538 which takes an expression.
20539
20540 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20541
20542 2011-08-20 Martin Rudalics <rudalics@gmx.at>
20543
20544 * window.el (display-buffer-reuse-window)
20545 (display-buffer-pop-up-window): Don't reuse or split a side
20546 window.
20547
20548 2011-08-19 Glenn Morris <rgm@gnu.org>
20549
20550 * files.el (hack-local-variables-prop-line, hack-local-variables):
20551 Downcase "Mode:". (Bug#9331)
20552
20553 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
20554
20555 * international/characters.el: Add L and R categories.
20556
20557 * subr.el (bidi-string-mark-left-to-right): Rename from
20558 string-mark-left-to-right. Use category search.
20559
20560 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20561
20562 2011-08-18 Juri Linkov <juri@jurta.org>
20563
20564 * faces.el (error, warning, success): New faces with definitions
20565 copied from old default values of `font-lock-warning-face',
20566 `compilation-warning', `compilation-info' (bug#6117).
20567
20568 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20569
20570 * progmodes/compile.el (compilation-error): Inherit from `error'.
20571 (compilation-warning): Inherit from `warning'.
20572 (compilation-info): Inherit from `success'.
20573
20574 * dired.el (dired-marked): Inherit from `warning'.
20575 (dired-flagged): Inherit from `error'.
20576
20577 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20578
20579 * mail/smtpmail.el (auth-source): Require to avoid problems with
20580 binding variables (bug#9298). Also clean up some unused
20581 autoloads.
20582
20583 * net/network-stream.el (network-stream-open-starttls):
20584 Support using starttls.el without using gnutls-cli.
20585
20586 2011-08-17 Juri Linkov <juri@jurta.org>
20587
20588 * progmodes/grep.el (rgrep): Handle the case when
20589 `grep-find-command' is a cons cell (bug#9278).
20590
20591 2011-08-17 Martin Rudalics <rudalics@gmx.at>
20592
20593 * window.el (display-buffer-pop-up-frame): Run frame creation
20594 function with BUFFER current (as special-display-popup-frame
20595 does). Reported by Drew Adams.
20596
20597 2011-08-17 Daiki Ueno <ueno@unixuser.org>
20598
20599 * epa-mail.el: Simplify GnuPG group expansion using
20600 epg-expand-group.
20601 (epa-mail-group-alist, epa-mail-group-modtime)
20602 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20603 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20604 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20605 Remove.
20606
20607 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
20608
20609 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20610
20611 2011-08-16 Alan Mackenzie <acm@muc.de>
20612
20613 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20614 Correct, to avoid the inside of macros.
20615
20616 2011-08-16 Richard Stallman <rms@gnu.org>
20617
20618 * epa-mail.el: Handle GnuPG group definitions.
20619 (epa-mail-group-alist, epa-mail-group-modtime)
20620 (epa-mail-gnupg-conf-file): New variables.
20621 (epa-mail-parse-groups, epa-mail-sync-groups)
20622 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20623 (epa-mail-expand-recipients): New functions.
20624 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20625
20626 * mail/rmail.el (rmail-epa-decrypt): New command.
20627
20628 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20629 Don't bind buffer-read-only, just inhibit-read-only.
20630 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20631 (epa-decrypt-armor-in-region): Make error message clearer.
20632
20633 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20634
20635 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20636 and "a2b" to "ab" for `prefix'.
20637
20638 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
20639
20640 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20641 filter groups.
20642 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20643 Fourquet (Bug#8804).
20644
20645 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
20646
20647 * startup.el (argi): Declare as global variable (bug#9275).
20648
20649 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
20650
20651 * subr.el (string-mark-left-to-right): Search the entire string
20652 for RTL script, not just the terminating character. Doc fix.
20653
20654 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20655
20656 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20657 New function.
20658 (js--regexp-literal, js-syntax-propertize-function): Remove.
20659 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20660 (js-mode-map): Don't rebind electric keys.
20661 (js-insert-and-indent): Remove.
20662 (js-mode): Setup electric-layout and electric-indent instead.
20663
20664 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20665
20666 2011-08-12 Daiki Ueno <ueno@unixuser.org>
20667
20668 * epa.el (epa-progress-callback-function): Fix the logic of
20669 displaying progress.
20670 * epa-file.el (epa-file-insert-file-contents): Make progress
20671 display more user-friendly.
20672 (epa-file-write-region): Ditto.
20673
20674 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
20675
20676 * subr.el (string-mark-left-to-right): New function.
20677
20678 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20679 Use string-mark-left-to-right.
20680 (list-buffers-noselect): Caller changed.
20681
20682 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20683 Use string-mark-left-to-right.
20684 (tabulated-list-print): Recenter after moving point.
20685
20686 2011-08-10 Juri Linkov <juri@jurta.org>
20687
20688 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20689 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20690 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20691
20692 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
20693
20694 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20695 (Bug#7554).
20696
20697 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
20698
20699 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20700 character. (Bug#6594)
20701
20702 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
20703
20704 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20705 (image-dired--with-db-file): New macro.
20706 (image-dired-write-tags, image-dired-remove-tag)
20707 (image-dired-create-gallery-lists, image-dired-write-comments)
20708 (image-dired-get-comment, image-dired-mark-tagged-files)
20709 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20710 (image-dired-gallery-generate): Use insert-file-contents.
20711
20712 * time.el (display-time-world-list, display-time-world-display):
20713 * time-stamp.el (time-stamp-string):
20714 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20715 set-time-zone-rule (Bug#7337).
20716
20717 2011-08-08 Daiki Ueno <ueno@unixuser.org>
20718
20719 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20720 (epg-error-to-string, epg-errors-to-string): New function.
20721 (epg-wait-for-completion): Reverse errors list.
20722 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20723 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20724 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20725 (epg-sign-keys, epg-generate-key-from-file)
20726 (epg-generate-key-from-string): Format errors by using
20727 epg-errors-to-string (bug#9255).
20728 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20729
20730 2011-08-07 Juri Linkov <juri@jurta.org>
20731
20732 * faces.el (list-faces-display): Remove extra angle bracket
20733 from `help-mode-map'.
20734
20735 * info.el (Info-history-toc-nodes): Doc fix.
20736
20737 * longlines.el (longlines-mode): Doc fix.
20738
20739 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20740
20741 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20742 of statements and in a few more cases (bug#9183).
20743
20744 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20745 New functions.
20746 (cl-transform-lambda): Use them (bug#9239).
20747
20748 2011-08-05 Martin Rudalics <rudalics@gmx.at>
20749
20750 * window.el (display-buffer-same-window)
20751 (display-buffer-same-frame, display-buffer-other-window)
20752 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20753 (pop-to-buffer-other-window)
20754 (pop-to-buffer-same-frame-other-window)
20755 (pop-to-buffer-other-frame): Make them defuns.
20756 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20757
20758 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20759
20760 * subr.el (make-composed-keymap): Move from C. Change calling
20761 convention, and improve docstring to bring attention to a subtle point.
20762 * minibuffer.el (completing-read-default): Adjust accordingly.
20763
20764 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20765
20766 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20767 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20768
20769 * net/trampver.el: Update release number.
20770
20771 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20772
20773 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20774 "in" (bug#9190).
20775
20776 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20777
20778 * mail/sendmail.el (sendmail-query-once): Restore the current
20779 buffer after querying (bug#9074).
20780
20781 * dired.el (dired-flagged): Use different faces for marked and
20782 flagged files (bug#6117).
20783
20784 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20785 (bug#4433).
20786
20787 * ido.el (ido-mode): Switch off the message if called
20788 non-interactively.
20789
20790 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20791 before 587, since it appears that that's more likely to work for
20792 more people.
20793
20794 * cus-edit.el (custom-file): When running under emacs -q, always
20795 refuse to save the customizations, even if the .emacs file doesn't
20796 exist.
20797
20798 * info.el: Remove the `Info-beginning-of-buffer' function
20799 (bug#8325).
20800
20801 * net/network-stream.el (network-stream-open-starttls):
20802 Use `starttls-available-p' to see whether starttls.el can be used.
20803
20804 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20805
20806 * window.el (display-buffer-in-window): Don't set dedicated status
20807 of window here (Bug#9215).
20808 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20809 (display-buffer-pop-up-side-window)
20810 (display-buffer-in-side-window): Set dedicated status of window here.
20811
20812 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20813
20814 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20815 before binding generated-autoload-file.
20816
20817 2011-08-01 Deniz Dogan <deniz@dogan.se>
20818
20819 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20820
20821 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20822
20823 Sync with Tramp 2.2.2.
20824
20825 * net/trampver.el: Update release number.
20826
20827 2011-07-30 Juri Linkov <juri@jurta.org>
20828
20829 * dired-aux.el (dired-touch-initial): Remove function.
20830 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20831 current time, and `default' to the last modification time of the
20832 current marked file (bug#6887).
20833
20834 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20835
20836 * simple.el (goto-line): Use string-to-number to provide a
20837 numeric argument to read-number (bug#9163).
20838
20839 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20840
20841 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20842 connection process, it could be nil.
20843
20844 2011-07-27 Leo Liu <sdl.web@gmail.com>
20845
20846 Simplify url handling in rcirc-mode.
20847
20848 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20849 (rcirc-browse-url-at-mouse): Remove.
20850 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20851
20852 2011-07-26 Alan Mackenzie <acm@muc.de>
20853
20854 Fontify bitfield declarations properly.
20855
20856 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20857 (c-symbol-chars): Now exported as a lang variable.
20858 (c-not-primitive-type-keywords): New lang variable.
20859
20860 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20861 QT keyword "more" to prevent "more slots: ...." being spuriously
20862 parsed as a bitfield declaration.
20863
20864 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20865 Refactor and enhance to handle bitfield declarations.
20866 (c-punctuation-in): New function.
20867 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20868 declarations properly.
20869
20870 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20871
20872 * calendar/icalendar.el (icalendar--all-events): Take care of
20873 multiple vcalendars in a single file.
20874 (icalendar--convert-float-to-ical): Checkdoc fixes.
20875
20876 2011-07-25 Deniz Dogan <deniz@dogan.se>
20877
20878 * image.el (insert-image): Clarifying docstring.
20879
20880 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20881
20882 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20883 `tramp-send-command-and-check' if there is no error.
20884 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20885
20886 2011-07-22 Alan Mackenzie <acm@muc.de>
20887
20888 Prevent cc-langs.elc being loaded at run time.
20889
20890 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20891 cc-langs.
20892
20893 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20894 "(require 'cc-langs)". Quote a form so it will evaluate at
20895 (cc-mode's) compilation time.
20896
20897 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20898
20899 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20900 loading. (Bug#9114)
20901
20902 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20903
20904 * window.el (display-buffer-pop-up-window)
20905 (display-buffer-pop-up-side-window)
20906 (display-buffer-in-side-window): Call display-buffer-set-height
20907 and display-buffer-set-width after setting the new window's
20908 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20909
20910 2011-07-20 Sam Steingold <sds@gnu.org>
20911
20912 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20913 (etags-tags-included-tables): Call `convert-standard-filename' on
20914 the file names contained in TAGS so that windows Emacs can handle
20915 TAGS files created by cygwin ctags.
20916
20917 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20918
20919 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20920 which apparently didn't work.
20921
20922 2011-07-19 Roland Winkler <winkler@gnu.org>
20923
20924 * proced.el (proced-send-signal): For *Marked Processes* buffer
20925 put point at beginning of buffer.
20926
20927 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20928
20929 * proced.el (proced-format): Make header lines align with the text
20930 (bug#1779).
20931
20932 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20933
20934 * view.el (view-buffer): Allow running in `special' modes if we're
20935 visiting a file (bug#8615).
20936
20937 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20938
20939 * window.el (display-buffer-alist-of-strings-p)
20940 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20941 New functions.
20942 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20943 more accurately.
20944
20945 2011-07-18 Alan Mackenzie <acm@muc.de>
20946
20947 Fontify declarators properly when, e.g., a jit-lock chunk begins
20948 inside a declaration.
20949
20950 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20951
20952 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20953 New function.
20954 (c-complex-decl-matchers): Insert reference to
20955 c-font-lock-enclosing-decls.
20956
20957 * progmodes/cc-engine.el (c-backward-single-comment):
20958 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20959 to nil around calls to (forward-comment -1).
20960
20961 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20962
20963 * image.el (put-image): Doc typo fix.
20964
20965 * progmodes/etags.el (tags-search): Doc typo fix.
20966
20967 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20968 password if we get errors 550 to 554.
20969
20970 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20971
20972 * net/gnutls.el (gnutls-log-level): Remove.
20973
20974 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20975 indentation character (bug#6380).
20976
20977 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20978
20979 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20980 to clarify what the problem is (bug#4291).
20981
20982 * simple.el (current-kill): Clarify what
20983 `interprogram-paste-function' does (bug#7500).
20984 (auto-fill-mode): Document `auto-fill-function' in relation to
20985 `auto-fill-mode' (bug#2470).
20986
20987 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20988
20989 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20990 method if slot is read-only (bug#9035).
20991
20992 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20993
20994 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20995 * window.el (pop-to-buffer): Select window used even if it was
20996 selected before, see discussion of (Bug#8615), (Bug#6954).
20997 Pass argument NORECORD on to select-frame-set-input-focus.
20998
20999 2011-07-15 Glenn Morris <rgm@gnu.org>
21000
21001 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21002 Respect help-form.
21003
21004 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21005
21006 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21007 (gnutls-negotiate): Use it.
21008
21009 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21010
21011 * net/gnutls.el (gnutls-negotiate):
21012 Upcase `gnutls-algorithm-priority'.
21013
21014 2011-07-15 Glenn Morris <rgm@gnu.org>
21015
21016 * jka-compr.el (jka-compr-verbose): Move from here...
21017 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21018 Add missing :version tag.
21019 * info.el: No need to require jka-compr when compiling.
21020
21021 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21022
21023 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21024 (gnutls-negotiate): Use it.
21025
21026 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21027
21028 * info.el (Info-beginning-of-buffer): New command.
21029 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21030 announcing `b' as the key (bug#8325).
21031 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21032
21033 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21034
21035 * international/mule-cmds.el
21036 (describe-specified-language-support): Make the error message
21037 clearer (bug#8905).
21038
21039 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21040
21041 * isearch.el (isearch-barrier): Add a doc string, since it's
21042 mentioned in a function doc string (bug#8678).
21043
21044 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21045
21046 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21047 buffer argument (Bug#9083) and self-identifying label argument.
21048
21049 2011-07-15 Glenn Morris <rgm@gnu.org>
21050
21051 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21052
21053 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21054
21055 * man.el (Man-fontify-manpage): Fix message when formatting the
21056 man page (bug#7929).
21057
21058 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21059
21060 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21061 argument LRM; if non-nil, append an invisible LRM character to the
21062 buffer name.
21063 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21064 last argument non-nil, when formatting buffer names.
21065 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21066 paragraph direction.
21067
21068 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21069
21070 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21071 the man page name (bug#7929).
21072
21073 * image.el (put-image): Mention the `put-image' overlay property
21074 (bug#7834).
21075
21076 * scroll-bar.el (set-scroll-bar-mode): Mention that
21077 `scroll-bar-mode' lists the values (bug#7772).
21078
21079 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21080 command (bug#7729).
21081
21082 * rect.el (apply-on-rectangle): Return the point after the last
21083 operation.
21084 (string-rectangle): Go to the point after the last operation
21085 (bug#7522).
21086
21087 * printing.el (pr-toggle-region): Clarify the documentation
21088 slightly (bug#7493).
21089
21090 * time.el (display-time-update):
21091 Allow `display-time-mail-function' to return nil (bug#7158).
21092 Fix suggested by Detlev Zundel.
21093
21094 * vc/diff.el (diff): Clarify the order the file names are read
21095 (bug#7111).
21096
21097 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21098 the doc string (bug#7015).
21099
21100 * font-lock.el (font-lock-maximum-decoration): Mention what
21101 numeric levels mean (bug#6935).
21102
21103 * startup.el (initial-buffer-choice): Don't mention the `none'
21104 selection, which is against policy.
21105
21106 2011-07-14 Martin Rudalics <rudalics@gmx.at>
21107
21108 * window.el (display-buffer-normalize-special):
21109 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21110
21111 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21112
21113 * subr.el (version<, version<=, version=): Mention "-CVS" and
21114 "-12345" alpha version numbers.
21115
21116 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21117
21118 * bindings.el: Add advertised binding for set-mark-command
21119 (Bug#5772).
21120
21121 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21122
21123 * bindings.el (mode-line-other-buffer):
21124 * bookmark.el (bookmark-bmenu-2-window):
21125 * bs.el (bs-cycle-next, bs-cycle-previous):
21126 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21127 switch-to-buffer.
21128
21129 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21130 Delete.
21131
21132 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
21133
21134 * follow.el (follow-debug-message, follow-redisplay):
21135 * jka-cmpr-hook.el (with-auto-compression-mode):
21136 Fix typos in docstrings.
21137
21138 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21139
21140 * subr.el (with-silent-modifications): Clarify somewhat what the
21141 macro inhibits (bug#6525).
21142
21143 * simple.el (eval-expression): Note what it does if called
21144 interactively (bug#6495).
21145
21146 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21147
21148 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21149 Use pop-to-buffer buffer-or-name if it is nil.
21150
21151 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21152 Remove switch-to-buffer.
21153
21154 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21155
21156 * files.el (make-directory): Clarify that an error will be raised
21157 if there's an error (bug#6397).
21158
21159 * startup.el (initial-buffer-choice): Add `none' as a choice
21160 (bug#6234).
21161
21162 * subr.el (add-hook): Clarify section about buffer-local hooks
21163 (bug#6218).
21164
21165 * dired.el (dired-flagged): Clarify doc string (bug#6117).
21166
21167 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21168
21169 * tabify.el (untabify): Preserve the current column so that point
21170 doesn't move (bug#6032).
21171
21172 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21173
21174 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
21175 Rewrite to avoid awkward possessive "s" (bug#5986).
21176
21177 2011-07-13 Glenn Morris <rgm@gnu.org>
21178
21179 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
21180 (dired-insert-directory): Give a message the first time
21181 if ls is found not to support --dired.
21182
21183 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21184
21185 * simple.el (toggle-truncate-lines): Clarify what is toggled
21186 (bug#5580). Text by Drew Adams.
21187
21188 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21189
21190 * simple.el (blink-matching-open): Make the error message from the
21191 last change less verbose.
21192
21193 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
21194
21195 * font-lock.el (font-lock-comment-face): Use the high contrast
21196 "yellow" color for font-lock-comment-face on low color terminals
21197 using a dark background color (bug#4221).
21198
21199 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21200
21201 * dired.el (dired-insert-set-properties): Make the doc string
21202 reflect what it does now (bug#5325).
21203
21204 * simple.el (blink-matching-open): Say that we were unable to find
21205 the match within the limit, if we're limited (bug#5122).
21206
21207 * international/mule-cmds.el (prefer-coding-system): Add an
21208 example (bug#4869).
21209
21210 * progmodes/etags.el (tags-search): Document `file-list-form'
21211 (bug#4731).
21212
21213 2011-07-13 Lawrence Mitchell <wence@gmx.li>
21214
21215 * net/browse-url.el (browse-url-default-browser)
21216 (browse-url-browser-function): Make the default browser choice a
21217 bit more logical (bug#4300). Also clean up the doc string.
21218
21219 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21220
21221 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
21222 binary endings (bug#4440).
21223
21224 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21225
21226 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
21227 which can be pretty annoying (bug#8971).
21228
21229 * jka-compr.el (jka-compr-verbose): New variable, and use
21230 throughout (bug#8971).
21231
21232 * info.el (Info-find-file): Fall back on the installation
21233 directory if we can't find the info node anywhere else.
21234
21235 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
21236
21237 * vc/vc.el (vc-revert-file):
21238 Don't set file time-stamp in the past. (Bug#5181)
21239
21240 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21241
21242 * files.el (after-find-file): Give a better error message when
21243 trying to find a symlink that points to a file that doesn't exist
21244 (bug#4398).
21245
21246 * progmodes/cc-vars.el: Remove (probably) misleading comment
21247 (bug#4396).
21248
21249 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
21250
21251 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
21252
21253 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21254
21255 * mouse-sel.el: Hack restoring functionality, while keeping
21256 compatibility with 2010-07-03 changes to mouse selection.
21257 (mouse-sel-primary-overlay): New var.
21258 (mouse-sel-selection-alist): Use it.
21259 (mouse-sel-mode): Doc fix; remove points that are default features
21260 of mouse.el.
21261
21262 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
21263
21264 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21265 Fix previous fix (bug#2490).
21266
21267 2011-07-12 Roland Winkler <winkler@gnu.org>
21268
21269 * textmodes/bibtex.el (bibtex-initialize):
21270 Use pop-to-buffer-same-window.
21271 (bibtex-search-entries): Fix interactive call.
21272
21273 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21274
21275 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21276 Fontise bytecomp Error lines more correctly (bug#2490).
21277 Fix suggested by Johan BockgĂ¥rd.
21278
21279 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
21280
21281 * dired-x.el (dired-guess-default): Use `delete-dups'.
21282
21283 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
21284
21285 * dired.el (dired-mark-prompt):
21286 * dired-aux.el (dired-read-shell-command): Doc fix.
21287
21288 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21289
21290 * mail/sendmail.el (sendmail-query-once):
21291 Use `customize-save-variable' unconditionally, now that it works under
21292 emacs -Q.
21293
21294 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21295
21296 * cus-edit.el (custom-file): Take an optional no-error variable.
21297 (customize-save-variable): Set the variable, and give a warning if
21298 running under "emacs -q".
21299
21300 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
21301
21302 * loadhist.el (unload-feature-special-hooks):
21303 Add `auto-coding-functions', `fill-nobreak-predicate' and
21304 `find-directory-functions' (bug#5327).
21305
21306 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21307
21308 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
21309
21310 * cus-edit.el (custom-guess-name-alist): -alist variables should
21311 use the `alist' type (bug#3120). Suggested by Drew Adams.
21312
21313 * printing.el: Add documentation to all the `pr-toggle-' commands.
21314
21315 2011-07-11 Leo Liu <sdl.web@gmail.com>
21316
21317 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
21318 backends where it makes sense (bug#2623).
21319
21320 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
21321
21322 * dired-x.el (dired-guess-default): Remove duplicate shell command
21323 entries (bug#2028).
21324 (dired-guess-default): Fix grammar in doc string (bug#2028).
21325 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
21326
21327 * subr.el (remove-duplicates): New conveniency function.
21328
21329 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
21330
21331 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
21332 (bug#1526).
21333
21334 2011-07-10 Martin Rudalics <rudalics@gmx.at>
21335
21336 * window.el (display-buffer-normalize-default): Don't invert
21337 meaning of even-window-heights. Reported by Eli Zaretskii
21338 <eliz@gnu.org>.
21339
21340 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
21341
21342 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
21343
21344 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
21345
21346 * window.el (display-buffer): Fix arguments to
21347 display-buffer-reuse-window in last change.
21348
21349 * faces.el (link): Use a less saturated blue on light backgrounds.
21350
21351 * startup.el (fancy-startup-text, fancy-about-text)
21352 (fancy-startup-tail): Use font-lock faces, for background safety.
21353
21354 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
21355
21356 * emulation/viper-cmd.el (viper-change-state-to-vi):
21357 Limit triggering of abbrev expansion (Bug#9038).
21358
21359 2011-07-09 Martin Rudalics <rudalics@gmx.at>
21360
21361 * window.el (display-buffer-default-specifiers): Remove.
21362 (display-buffer-macro-specifiers): Remove default specifiers.
21363 (display-buffer-alist): Default to nil.
21364 (display-buffer-reuse-window): New optional argument other-window.
21365 (display-buffer-pop-up-window): Allow splitting internal
21366 windows. Check whether a live window was created.
21367 (display-buffer-other-window-means-other-frame)
21368 (display-buffer-normalize-arguments): Rename to
21369 display-buffer-normalize-argument and rewrite. Set the
21370 other-window specifier.
21371 (display-buffer-normalize-special): New function.
21372 (display-buffer-normalize-options): Rename to
21373 display-buffer-normalize-default and rewrite.
21374 (display-buffer-normalize-options-inhibit): Remove.
21375 (display-buffer-normalize-specifiers): Rewrite.
21376 (display-buffer): Process other-window specifier and call
21377 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
21378 more faithfully.
21379 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
21380 (display-buffer-alist-set): Don't handle 'unset default values.
21381 (display-buffer-in-window, display-buffer-alist-set):
21382 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
21383 <tassilo@member.fsf.org>.
21384
21385 2011-07-09 Leo Liu <sdl.web@gmail.com>
21386
21387 * register.el (insert-register): Restore accidental change on
21388 2011-06-26. (Bug#9028)
21389
21390 2011-07-09 Glenn Morris <rgm@gnu.org>
21391
21392 * subr.el (remq): Handle the empty list. (Bug#9024)
21393
21394 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
21395
21396 * mail/sendmail.el (send-mail-function): No longer delay custom
21397 initialization.
21398 * custom.el (custom-initialize-delay): Doc fix.
21399
21400 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21401
21402 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21403
21404 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
21405
21406 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21407 human-friendly prompt.
21408
21409 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21410
21411 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21412 provided by a particular plugin.
21413
21414 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21415
21416 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21417 save customizations (with "emacs -Q"), just set the variable
21418 instead of erroring out.
21419
21420 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21421
21422 2011-07-08 Juri Linkov <juri@jurta.org>
21423
21424 * arc-mode.el (archive-zip-expunge, archive-zip-update)
21425 (archive-zip-update-case): Use 7z if found by `executable-find'.
21426 The order of searching the available programs is the same as in
21427 `archive-zip-extract' (bug#8968).
21428
21429 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21430
21431 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21432 (menu-bar-options-menu): Tweak descriptions.
21433
21434 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21435
21436 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21437 menu items into verb phrases (bug#1421). Also refill to fit under
21438 80 columns.
21439
21440 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21441
21442 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21443 (Info-read-node-name): Doc fix (Bug#1084).
21444
21445 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21446 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21447 (end-of-sexp, beginning-of-sexp)
21448 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21449 (forward-symbol, forward-same-syntax, word-at-point)
21450 (sentence-at-point): Doc fix (Bug#1144).
21451
21452 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21453
21454 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21455 should cover it (bug#1281).
21456
21457 * cus-edit.el (custom-show): Mark as obsolete.
21458
21459 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
21460 negotiation fails, then possibly try again with a non-encrypted
21461 connection (bug#9017).
21462
21463 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21464 be used.
21465
21466 2011-07-07 Richard Stallman <rms@gnu.org>
21467
21468 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21469 property, and handle its changed format.
21470 Look for the correct line number.
21471 Use file's line contents (but not past first =) to find
21472 correct line in message.
21473
21474 2011-07-07 Kenichi Handa <handa@m17n.org>
21475
21476 * international/characters.el (build-unicode-category-table):
21477 Delete it.
21478 (unicode-category-table): Set it by unicode-property-table-internal.
21479
21480 * international/mule-cmds.el (char-code-property-alist): Move to
21481 to src/chartab.c.
21482 (get-char-code-property): Call unicode-property-table-internal to
21483 load a file. Call get-unicode-property-internal where necessary.
21484 (put-char-code-property): Call unicode-property-table-internal to
21485 load a file. Call put-unicode-property-internal where necessary.
21486 put-unicode-property-internal where necessary.
21487 (char-code-property-description):
21488 Call unicode-property-table-internal to load a file.
21489
21490 * international/charprop.el:
21491 * international/uni-bidi.el:
21492 * international/uni-category.el:
21493 * international/uni-combining.el:
21494 * international/uni-comment.el:
21495 * international/uni-decimal.el:
21496 * international/uni-decomposition.el:
21497 * international/uni-digit.el:
21498 * international/uni-lowercase.el:
21499 * international/uni-mirrored.el:
21500 * international/uni-name.el:
21501 * international/uni-numeric.el:
21502 * international/uni-old-name.el:
21503 * international/uni-titlecase.el:
21504 * international/uni-uppercase.el: Regenerate.
21505
21506 * loadup.el: Load international/charprop.el before
21507 international/characters.
21508
21509 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21510
21511 * window.el (next-buffer, previous-buffer): Signal an error if
21512 called from a minibuffer window.
21513
21514 * bindings.el: Revert 2011-07-04 change.
21515
21516 2011-07-06 Richard Stallman <rms@gnu.org>
21517
21518 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21519 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21520 Treat markers like ints.
21521 (rmail-mime-entity): Doc fix.
21522
21523 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21524
21525 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21526 defcustom again for backwards compatibility.
21527
21528 * simple.el (shell-command-on-region): Fill.
21529
21530 * dired-aux.el (dired-kill-line): Add a doc string.
21531
21532 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21533 to "\\sw\\|\\s_" (bug#358).
21534
21535 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21536 (dired-unmark-backward): Ditto.
21537 (dired-flag-backup-files): Ditto.
21538
21539 * dired-x.el (dired-mark-sexp): Ditto.
21540
21541 2011-07-06 Richard Stallman <rms@gnu.org>
21542
21543 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21544 (rmail-mime-entity): New arg TRUNCATED.
21545 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21546 New functions.
21547 (rmail-mime-save): Warn if entity is truncated.
21548 (rmail-mime-toggle-hidden): Likewise, for showing.
21549 (rmail-mime-process-multipart): Record when an entity is truncated.
21550
21551 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21552 if ENTITY is a string.
21553
21554 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21555
21556 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21557 of faces when `M-C-x'-ing their definitions (bug#8378).
21558 Also clean up the code slightly.
21559
21560 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21561 because that makes the colors go away.
21562
21563 * mail/sendmail.el (send-mail-function): Change the default to
21564 `sendmail-query-once'.
21565 (sendmail-query-once): Add an autoload cookie.
21566
21567 * net/network-stream.el (network-stream-open-starttls): Try using
21568 a plain connection even if the server offered STARTTLS, and we
21569 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21570 capability. This should make smtpmail.el work in slightly more
21571 configurations.
21572
21573 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
21574
21575 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21576 New defun.
21577 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21578
21579 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21580
21581 * progmodes/sql.el: Version 3.0
21582 (sql-product-alist): Add product :completion-object,
21583 :completion-column, and :statement attributes.
21584 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21585 (sql-mode-syntax-table): Mark all punctuation.
21586 (sql-font-lock-keywords-builder): Temporarily remove fallback on
21587 ansi keywords.
21588 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21589 (sql-mode-oracle-font-lock-keywords): Improve.
21590 (sql-oracle-show-reserved-words): New function for development.
21591 (sql-product-font-lock): Simplify for source code buffers.
21592 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21593 New functions.
21594 (sql-highlight-product): Set product specific syntax table.
21595 (sql-mode-map): Add statement movement functions.
21596 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21597 New variable.
21598 (sql-statement-regexp, sql-beginning-of-statement)
21599 (sql-end-of-statement, sql-signum): New functions.
21600 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21601 (sql-show-sqli-buffer): Bug fix.
21602 (sql-interactive-mode): Store connection data as buffer local.
21603 (sql-connect): Add NEW-NAME parameter. Redesign interaction
21604 with sql-interactive-mode.
21605 (sql-save-connection): Save buffer local settings.
21606 (sql-connection-menu-filter): Change menu entry name.
21607 (sql-product-interactive): Bug fix.
21608 (sql-preoutput-hold): New variable.
21609 (sql-interactive-remove-continuation-prompt): Bug fixes.
21610 (sql-debug-redirect): New variable.
21611 (sql-str-literal): New function.
21612 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21613 Redesign.
21614 (sql-oracle-save-settings, sql-oracle-restore-settings)
21615 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21616 (sql-completion-object, sql-completion-column)
21617 (sql-completion-sqlbuf): New variables.
21618 (sql-build-completions-1, sql-build-completions)
21619 (sql-try-completion): New functions.
21620 (sql-read-table-name): Use them.
21621 (sql-contains-names): New buffer local variable.
21622 (sql-list-all, sql-list-table): Use it.
21623 (sql-oracle-completion-types): New variable.
21624 (sql-oracle-completion-object, sql-sqlite-completion-object)
21625 (sql-postgres-completion-object): New functions.
21626
21627 2011-07-06 Glenn Morris <rgm@gnu.org>
21628
21629 * window.el (pop-to-buffer): Doc fix.
21630
21631 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
21632
21633 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21634
21635 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
21636
21637 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
21638
21639 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
21640
21641 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
21642
21643 * button.el (button): Inherit from link face. Suggested by Dan
21644 Nicolaescu.
21645
21646 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21647
21648 * progmodes/gdb-mi.el: Fit in 80 columns.
21649 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21650 switch-to-buffer.
21651
21652 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21653 if imenu is simply not configured (bug#8941).
21654
21655 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21656
21657 * allout.el (allout-post-undo-hook): New allout outline-change
21658 event hook to signal undo activity.
21659 (allout-post-command-business): Run allout-post-undo-hook if an
21660 undo just occurred.
21661 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21662 * allout-widgets.el (allout-widgets-after-undo-function):
21663 Ensure the integrity of the current item's decoration after it has been
21664 in the vicinity of an undo.
21665 (allout-widgets-mode): Include allout-widgets-after-undo-function
21666 on the new allout-post-undo-hook.
21667
21668 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21669
21670 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21671 Let define-derived-mode define it.
21672 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21673 cycles of abbrev-table inheritance (bug#8998).
21674
21675 2011-07-05 Roland Winkler <winkler@gnu.org>
21676
21677 * textmodes/bibtex.el: Add support for biblatex.
21678 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21679 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21680 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21681 (bibtex-entry-alist, bibtex-field-alist): New variables.
21682 (bibtex-entry-field-alist): Obsolete alias for
21683 bibtex-BibTeX-entry-alist.
21684 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21685 (bibtex-set-dialect): New command.
21686 (bibtex-entry-type, bibtex-entry-head)
21687 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21688 Bind via bibtex-set-dialect.
21689 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21690 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21691 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21692 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21693 Define via bibtex-set-dialect.
21694 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21695 Obey bibtex-no-opt-remove-re.
21696 (bibtex-vec-push, bibtex-vec-incr): New functions.
21697 (bibtex-format-entry, bibtex-field-list)
21698 (bibtex-print-help-message, bibtex-validate)
21699 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21700
21701 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21702
21703 * progmodes/compile.el (compilation-goto-locus):
21704 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21705 * bs.el (bs-cycle-next, bs-cycle-previous):
21706 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21707 * bindings.el (mode-line-other-buffer):
21708 * autoinsert.el (auto-insert):
21709 * arc-mode.el (archive-extract):
21710 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21711
21712 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21713
21714 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21715 Fix check of `emacs-lock-unlockable-modes'.
21716 Coerce true values of `emacs-lock--try-unlocking' to t.
21717
21718 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21719
21720 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21721 * emacs-lock.el: New file.
21722
21723 2011-07-05 Julien Danjou <julien@danjou.info>
21724
21725 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21726 than `boundp' to check if face is set.
21727
21728 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21729
21730 * register.el (registerv-make):
21731 * window.el (window-min-height): Fix typos in docstrings.
21732
21733 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21734
21735 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21736 Update doc string.
21737
21738 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21739
21740 * server.el (server-execute): Catch quit and call
21741 `server-return-error' to pass the error back to emacsclient and
21742 close the connection (bug#8942).
21743
21744 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21745
21746 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21747 insecure exception for current topic. Also note that auto-saves
21748 are handled differently.
21749
21750 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21751 State variables for tracking auto-save inhibition situation.
21752
21753 (allout-write-contents-hook-handler): Rename from
21754 'allout-write-file-hook-handler', and describe how it depends on
21755 write-contents-functions sensitivity to non-nil value to prevent
21756 file write.
21757
21758 (allout-auto-save-hook-handler): Remove. auto-save does not check
21759 this in individual buffers, only in the starting buffer, so this
21760 is not the right way for us to inhibit auto-save in a buffer
21761 according to its condition.
21762
21763 (allout-mode): Use new allout-write-contents-hook-handler, and
21764 only with write-contents-functions. Remove auto-save provisions -
21765 they're implemented elsewhere.
21766
21767 (allout-before-change-handler): If undo is in progress, note that
21768 for attention of allout-post-command-business.
21769
21770 (allout-post-command-business): If the command we're following was
21771 an undo, check for change in the status of encrypted items and
21772 adjust auto-save inhibitions accordingly.
21773
21774 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21775 according to whether there are or aren't any plain-text topics
21776 pending encryption.
21777
21778 (allout-inhibit-auto-save-info-for-decryption):
21779 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21780 if there are plain-text topics pending encryption.
21781
21782 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21783 buffer-saved-size and some allout state to not inhibit auto-saves
21784 if there are no longer any plain-text topics pending encryption.
21785
21786 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21787 No longer provide for exemption of the current topic.
21788
21789 2011-07-04 Juri Linkov <juri@jurta.org>
21790
21791 Add 7z operations to delete and save changed members (bug#8968).
21792 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21793 New defcustoms.
21794 (archive-7z-write-file-member): New function.
21795 (archive-7z-summarize): Fix the number of dashes in the
21796 listing output.
21797
21798 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21799
21800 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21801 (bug#8958).
21802
21803 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21804
21805 * bindings.el: Ignore next-buffer and previous-buffer in
21806 minibuffer-local-map.
21807
21808 * font-lock.el (font-lock-builtin-face): Change light background
21809 color to dark slate blue (Bug#6693).
21810
21811 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21812
21813 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21814
21815 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21816
21817 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21818 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21819 Add switch-to-buffer.
21820
21821 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21822
21823 * isearch.el (isearch-search-fun-function): Clarify further the
21824 meaning of the function returned.
21825
21826 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21827
21828 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21829
21830 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21831 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21832 Use it.
21833 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21834 `tramp-default-remote-path' does not exist.
21835 (tramp-send-command-and-read): New optional argument NOERROR.
21836 (tramp-open-connection-setup-interactive-shell)
21837 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21838 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21839 (tramp-process-sentinel): Flush also process' connection property.
21840 (tramp-sh-handle-start-file-process): Do not set process
21841 sentinel. It is done now ...
21842 (tramp-maybe-open-connection): ... here. (Bug#8929)
21843
21844 2011-07-04 MON KEY <monkey@sandpframing.com>
21845
21846 * play/animate.el (animate-string): Doc fixes and allow changing
21847 the buffer name (bug#5417).
21848
21849 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21850
21851 * play/animate.el (animation-buffer-name): Rename from *animate*.
21852
21853 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21854
21855 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21856 This is simpler and helps future-proof the code.
21857 (timer-until): Use time-subtract and float-time.
21858 (timer--time-less-p): Use time-less-p.
21859
21860 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21861
21862 * type-break.el (timep): Use the value of `float-time' to avoid a
21863 byte-compiler warning.
21864
21865 * server.el (server-eval-and-print): Return any result, even nil.
21866
21867 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21868
21869 * type-break.el: Accept time formats that the builtins accept.
21870 (timep, type-break-time-difference): Accept any format that
21871 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21872 This is simpler and helps future-proof the code.
21873 (type-break-time-difference): Round rather than ignoring
21874 subseconds components.
21875
21876 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21877
21878 * info.el (Info-apropos-matches): Make non-interactive, since it
21879 doesn't seem to do anything useful as a command (bug#8829).
21880
21881 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21882
21883 * frame.el (frame-background-mode, frame-set-background-mode):
21884 Move from faces.el.
21885 (frame-default-terminal-background): New function.
21886
21887 * custom.el (custom-push-theme): Don't record faces in `changed'
21888 theme; this doesn't work correctly for per-frame face settings.
21889 (disable-theme): Use face-set-after-frame-default to reset faces.
21890 (custom--frame-color-default): New function.
21891
21892 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21893
21894 * dired.el (dired-flagging-regexp): Remove unused variable
21895 (bug#8769).
21896
21897 2011-03-29 Kevin Ryde <user42@zip.com.au>
21898
21899 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21900 `perl-Test2' extend to match possible "fail #N" rep count
21901 (bug#8377).
21902
21903 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21904
21905 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21906 `smtpmail-via-smtp' now returns the error instead of nil.
21907
21908 * isearch.el (isearch-search-fun-function): Clarify the doc string
21909 (bug#8101).
21910
21911 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21912
21913 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21914 unnecessary spaces (bug#8987).
21915
21916 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21917
21918 * net/network-stream.el (open-network-stream): Use the
21919 :end-of-capability command thoughout.
21920
21921 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21922
21923 * net/network-stream.el (open-network-stream): Add the
21924 :end-of-capability command parameter, used by pop3.el.
21925
21926 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21927
21928 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21929
21930 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21931 for list)" (bug#6475).
21932
21933 * files.el (file-expand-wildcards): Ignore non-readable
21934 sub-directories while trying to find matches instead of signaling
21935 an error (bug#6297).
21936
21937 * man.el (Man-reference-regexp): Allow matching possible
21938 word-wrapped references (bug#6289).
21939
21940 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21941 for consistency with the other vc buffers (bug#6197).
21942 (vc-checkin): Ditto.
21943
21944 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21945
21946 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21947
21948 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21949
21950 * custom.el (defcustom): Clarify that :set is only used in the
21951 Customize user interface (bug#6089).
21952
21953 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21954 associated with a file, refuse to run instead of erroring out
21955 (bug#6084).
21956
21957 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21958 the doc string, since it appears that using `fill-column' always
21959 controls the width (bug#7845).
21960
21961 * simple.el (shell-command-on-region): Say where the error output
21962 went if `shell-command-default-error-buffer' is set (bug#6857).
21963
21964 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21965
21966 * allout.el (allout-yank-processing): Adjust cursor position for
21967 backwards-deleted space.
21968
21969 (allout-rebullet-heading): Register changes with
21970 allout-exposure-changed-hook, so the modified topic is properly
21971 decorated.
21972
21973 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21974
21975 * minibuffer.el (completion-in-region): Document PREDICATE
21976 (bug#7136).
21977
21978 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21979 of keyword/argument pairs (bug#6904).
21980
21981 * replace.el (multi-occur):
21982 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21983
21984 2011-07-02 Drew Adams <drew.adams@oracle.com>
21985
21986 * dired.el (dired-mark-if): Make the message about whether it's
21987 marking or unmarking clearer (bug#8523).
21988
21989 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21990
21991 * disp-table.el (display-table-print-array): New function.
21992 (describe-display-table): Use it to print the vectors more pretty
21993 (Bug#8859).
21994
21995 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21996
21997 * window.el (window-state-get-1): Don't assign clone numbers.
21998 Add clone-of item to list of window parameters.
21999 (window-state-put-2): Don't process clone numbers.
22000 (display-buffer-alist): Fix doc-string.
22001
22002 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22003
22004 * subr.el (remq): Don't allocate if it's not needed.
22005 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22006 (keymap--merge-bindings): New functions.
22007 (keymap-canonicalize): Use them to refine the canonicalization.
22008 * minibuffer.el (minibuffer-local-completion-map)
22009 (minibuffer-local-must-match-map): Move initialization from C.
22010 (minibuffer-local-filename-completion-map): Move initialization from C;
22011 don't inherit from anything here.
22012 (minibuffer-local-filename-must-match-map): Make obsolete.
22013 (completing-read-default): Use make-composed-keymap to combine
22014 minibuffer-local-filename-completion-map with either
22015 minibuffer-local-must-match-map or
22016 minibuffer-local-filename-completion-map.
22017
22018 2011-07-01 Glenn Morris <rgm@gnu.org>
22019
22020 * type-break.el (type-break-time-sum): Use dolist.
22021
22022 * textmodes/flyspell.el (flyspell-word-search-backward):
22023 Replace CL function.
22024
22025 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22026
22027 * mouse.el (mouse--strip-first-event): New function.
22028 (function-key-map): Use it to map fringe clicks to normal clicks
22029 by default.
22030
22031 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22032 (vc-bzr-revision-completion-table): Add support for annotate and date.
22033
22034 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22035 inherit from parent.
22036
22037 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22038
22039 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22040 (dired-show-file-type): Doc fixup (bug#8818).
22041
22042 * dired.el (dired-mode): Fix up the doc string as suggested by
22043 Drew Adams (bug#8817).
22044
22045 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22046 cookie, since the manual says that it should be possible to add
22047 this function to `find-file-hook' (bug#8709).
22048
22049 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22050
22051 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22052 here. Noted Ted Zlatanov as the maintainer.
22053 (cfengine-common-settings, cfengine-common-syntax): New functions
22054 to set up common things between `cfengine-mode' and
22055 `cfengine3-mode'.
22056 (cfengine3-mode): New mode.
22057 (cfengine3-defuns cfengine3-defuns-regex
22058 (cfengine3-class-selector-regex cfengine3-category-regex)
22059 (cfengine3-vartypes cfengine3-font-lock-keywords)
22060 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22061 (cfengine3-indent-line): Add from cfengine3.el.
22062
22063 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22064
22065 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22066
22067 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22068
22069 2011-07-01 Martin Rudalics <rudalics@gmx.at>
22070
22071 * window.el (same-window-buffer-names, same-window-regexps)
22072 (same-window-p, special-display-frame-alist)
22073 (special-display-popup-frame, special-display-function)
22074 (special-display-buffer-names, special-display-regexps)
22075 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22076 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22077 (split-window-preferred-function, split-height-threshold)
22078 (split-width-threshold, even-window-heights)
22079 (display-buffer-mark-dedicated, window-splittable-p)
22080 (split-window-sensibly, window-safely-shrinkable-p):
22081 Un-obsolete.
22082 (display-buffer): Don't spread args with function specifier
22083 because special-display-popup-frame won't like it.
22084
22085 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22086
22087 Time-stamp simplifications and fixes.
22088 These improve accuracy slightly, and future-proof the code
22089 against some potential changes to current-time format.
22090
22091 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22092 by using time-since and float-time.
22093
22094 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22095 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22096 + NNN microseconds".
22097
22098 * type-break.el (type-break-time-sum): Rewrite using time-add.
22099
22100 * play/hanoi.el (hanoi-current-time-float): Remove.
22101 All uses replaced by float-time.
22102
22103 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22104 This yields a more-accurate answer.
22105 (rng-time-to-float): Remove; no longer needed.
22106
22107 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22108
22109 * calendar/timeclock.el (timeclock-seconds-to-time):
22110 Defalias to seconds-to-time, since they're the same thing.
22111
22112 * emacs-lisp/elp.el (elp-elapsed-time):
22113 * emacs-lisp/benchmark.el (benchmark-elapse):
22114 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22115
22116 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22117
22118 * window.el (bury-buffer): Don't iconify the only frame.
22119 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22120 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22121
22122 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
22123
22124 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22125 Add mouse-yank-primary.
22126
22127 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22128
22129 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22130
22131 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22132
22133 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22134 (find-library-name): Use it to find relative load names when provided
22135 absolute file name (bug#8803).
22136
22137 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22138
22139 * textmodes/flyspell.el (flyspell-word): Consider words that
22140 differ only in case as potential doublons (bug#5687).
22141
22142 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22143 Remove two rather uninteresting debugging-like messages to make
22144 debbugs.el more silent.
22145
22146 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22147 a password-like phrase.
22148
22149 2011-06-30 Masatake YAMATO <yamato@redhat.com>
22150
22151 * progmodes/cc-guess.el: New file.
22152
22153 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
22154
22155 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22156 derived from `c-basic-common-init'.
22157
22158 * progmodes/cc-mode.el (top-level): Require cc-guess.
22159 (c-basic-common-init): Use `cc-choose-style-for-mode'.
22160
22161 2011-06-30 Lawrence Mitchell <wence@gmx.li>
22162
22163 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
22164
22165 2011-06-30 Alan Mackenzie <acm@muc.de>
22166
22167 * progmodes/cc-engine.el (c-guess-continued-construct):
22168 Correct the handling of template-args-cont, particularly for when font
22169 lock is disabled. Name this case as "CASE G".
22170
22171 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
22172
22173 * allout.el (allout-yank-processing): Fix injection of extra space
22174 between bullet and non-whitespace character in first topic when
22175 pasting, ensuring that the actual spacing in the pasted topic
22176 following the bullet char is preserved. This extra space was
22177 causing pasted encrypted topics to get a decrypted status even
22178 when the content was actually still encrypted. Now the decryption
22179 status from before the paste is preserved.
22180
22181 (allout-flag-region): Set all allout overlays so they evaporate
22182 when reduced to zero length (evanescent), to prevent overlay
22183 leakage.
22184
22185 2011-06-30 Glenn Morris <rgm@gnu.org>
22186
22187 * w32-fns.el (w32-charset-info-alist): Declare.
22188
22189 * find-dired.el (find-grep-options): Simplify.
22190
22191 * term/ns-win.el (ns-set-resource): Declare.
22192
22193 * ses.el (row, col): Declare dynamic variables honestly.
22194
22195 * textmodes/reftex-parse.el (index-tags): Declare.
22196
22197 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
22198
22199 * cus-edit.el (customize-push-and-save): New function.
22200
22201 * files.el (hack-local-variables-confirm): Use it.
22202
22203 * custom.el (load-theme): New arg NO-CONFIRM.
22204 Use customize-push-and-save (Bug#8720).
22205 (custom-enabled-themes): Doc fix.
22206
22207 * cus-theme.el (customize-create-theme)
22208 (custom-theme-merge-theme): Callers to load-theme changed.
22209
22210 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22211
22212 * thingatpt.el (thing-at-point-short-url-regexp): Require that
22213 short URLs have at least one dot in them (bug #7614).
22214
22215 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
22216 nil, because using a pty is apparently too slow (bug #895).
22217
22218 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
22219
22220 * mail/sendmail.el (sendmail-query-once): New function.
22221 (sendmail-query-once-function): New variable.
22222
22223 2011-06-29 Glenn Morris <rgm@gnu.org>
22224
22225 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
22226
22227 * ses.el (top-level): Require cl when compiling.
22228 (ses-set-localvars): Fix error statement.
22229 Call it at compile time to silence a storm of warnings.
22230
22231 2011-06-29 Martin Rudalics <rudalics@gmx.at>
22232
22233 * window.el (normalize-live-buffer): Rename to
22234 window-normalize-buffer.
22235 (normalize-live-frame): Rename to window-normalize-frame.
22236 (normalize-any-window): Rename to window-normalize-any-window.
22237 (normalize-live-window): Rename to window-normalize-live-window.
22238 (make-window-atom): Rename to window-make-atom.
22239 (window-resize-reset): Rename to window--resize-reset.
22240 (window-resize-reset-1): Rename to window--resize-reset-1.
22241 (resize-mini-window): Rename to window--resize-mini-window.
22242 (resize-subwindows-skip-p): Rename to
22243 window--resize-subwindows-skip-p.
22244 (resize-subwindows-normal): Rename to
22245 window--resize-subwindows-normal.
22246 (resize-subwindows): Rename to window--resize-subwindows.
22247 (resize-other-windows): Rename to window--resize-siblings.
22248 (resize-this-window): Rename to window--resize-this-window.
22249 (resize-root-window): Rename to window--resize-root-window.
22250 (resize-root-window-vertically): Rename to
22251 window--resize-root-window-vertically.
22252 (normalize-buffer-to-display): Rename to
22253 window-normalize-buffer-to-display.
22254 (normalize-buffer-to-switch-to): Rename to
22255 window-normalize-buffer-to-switch-to.
22256 Correspondingly update all callers of the functions listed
22257 above.
22258 (display-buffer-alist, display-buffer-normalize-arguments)
22259 (display-buffer-normalize-options, display-buffer)
22260 (display-buffer-alist-set): Use "function" instead of
22261 "fun-with-args".
22262
22263 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
22264
22265 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
22266 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
22267 debbugs.gnu.org. Mention acknowledgment email.
22268
22269 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
22270
22271 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
22272 buffer multibyteness, since it shouldn't matter.
22273
22274 2011-06-28 Martin Rudalics <rudalics@gmx.at>
22275
22276 * window.el (display-buffer-in-side-window): Handle dedicated
22277 windows as in display-buffer-reuse-window.
22278 (display-buffer-normalize-alist): Use value of override
22279 specifier.
22280 (display-buffer-normalize-specifiers): Use value of
22281 other-window-means-other-frame specifier.
22282 (display-buffer-alist): Rewrite some texts in widgets.
22283 (display-buffer): Spread arguments when calling function
22284 specified by fun-with-args.
22285
22286 2011-06-28 Deniz Dogan <deniz@dogan.se>
22287
22288 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
22289 Unnest `let'.
22290
22291 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
22292 selectors (Bug#5732).
22293 (css-proprietary-nmstart-re): Use `regexp-opt'.
22294
22295 2011-06-27 Jari Aalto <jari.aalto@cante.net>
22296
22297 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
22298 (eshell-ls-date-format): New defcustom.
22299 (eshell-ls-file): Use it.
22300
22301 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22302
22303 * help-fns.el (describe-variable): Fix message for terminal-local vars.
22304
22305 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
22306
22307 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
22308 (ange-ftp-make-tmp-name): New arg.
22309 (ange-ftp-file-local-copy): Use it.
22310
22311 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
22312
22313 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
22314 no-conversion (Bug#8870).
22315
22316 2011-06-27 Martin Rudalics <rudalics@gmx.at>
22317
22318 * window.el (window-right, window-left, window-child)
22319 (window-child-count, window-last-child)
22320 (window-iso-combination-p, walk-window-tree-1)
22321 (window-atom-check-1, window-tree-1, delete-window)
22322 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
22323 new naming conventions - window-vchild, window-hchild,
22324 window-next and window-prev are now called window-top-child,
22325 window-left-child, window-next-sibling and window-prev-sibling
22326 respectively.
22327 (resize-window-reset): Rename to window-resize-reset.
22328 (resize-window-reset-1): Rename to window-resize-reset-1.
22329 (resize-window): Rename to window-resize.
22330 (window-min-height, window-min-width)
22331 (resize-mini-window, resize-this-window, resize-root-window)
22332 (resize-root-window-vertically, adjust-window-trailing-edge)
22333 (enlarge-window, shrink-window, maximize-window)
22334 (minimize-window, delete-window, quit-restore-window)
22335 (split-window, balance-windows, balance-windows-area-adjust)
22336 (balance-windows-area, window-state-put-2)
22337 (display-buffer-even-window-sizes, display-buffer-set-height)
22338 (display-buffer-set-width, set-window-text-height)
22339 (fit-window-to-buffer): Rename all "resize-window" prefixed
22340 calls to use the "window-resize" prefix convention.
22341 (display-buffer-alist): Fix symbol for label specifier.
22342 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
22343 corresponding specifier.
22344 Reported by Juanma Barranquero <lekktu@gmail.com>.
22345
22346 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
22347
22348 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
22349 convention.
22350 (ses-call-printer): Does not pass an empty string to formatter when the
22351 cell is empty to keep from barking printer Calc math-format-value.
22352
22353 2011-06-27 Richard Stallman <rms@gnu.org>
22354
22355 * battery.el (battery-mode-line-limit): New variable.
22356 (battery-update): Handle it.
22357
22358 * mail/rmailmm.el (rmail-mime-process-multipart):
22359 Handle truncated messages.
22360
22361 2011-06-27 Glenn Morris <rgm@gnu.org>
22362
22363 * progmodes/flymake.el (flymake-err-line-patterns):
22364 Allow for column numbers in the ant/javac pattern. (Bug#8866)
22365
22366 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
22367
22368 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
22369 (ses--clean-!, ses--clean-_): New functions.
22370 (ses-range): Add configurability of readout order, and conversion
22371 to Calc vector.
22372
22373 * ses.el (ses-repair-cell-reference-all): New function.
22374 (ses-cell-symbol): Set macro as safe, so that it can be used in
22375 formulas.
22376
22377 * ses.el: Update cycle detection algorithm.
22378 (ses-localvars): Add ses--Dijkstra-attempt-nb and
22379 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
22380 (ses-set-localvars): New function.
22381 (ses-make-cell): Add property-list as a cell element.
22382 (ses-cell-property-get-fun, ses-cell-property-get)
22383 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
22384 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
22385 New functions.
22386 (ses-cell-property-set, ses-cell-property-pop)
22387 (ses-cell-property-get-handle): New macro.
22388 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
22389 New aliases, used for code readability.
22390 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
22391 cycle detection.
22392 (ses-self-reference-early-detection): New defcustom.
22393 (ses-formula-references): Robustify against self-referring cells.
22394 (ses-mode): Use ses-set-localvars.
22395 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22396 before lauching the update processing.
22397 (ses-initialize-Dijkstra-attempt): New function.
22398 (ses-recalculate-cell): Update for cycle detection based on
22399 Dijkstra algorithm.
22400
22401 * ses.el: Fix commenting and indenting convention.
22402
22403 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22404
22405 * bs.el (bs-cycle-next): Complete last change.
22406
22407 2011-06-27 Drew Adams <drew.adams@oracle.com>
22408
22409 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22410
22411 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
22412
22413 * net/network-stream.el (network-stream-open-starttls):
22414 Don't re-get capabilities unless we've reestablished connection.
22415 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22416
22417 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22418 to binary to possibly avoid line encoding issues on Windows (among
22419 other things).
22420
22421 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22422
22423 * net/network-stream.el (open-network-stream): Return an :error
22424 saying what the problem was, if possible.
22425
22426 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22427 server.
22428
22429 * net/network-stream.el (network-stream-open-starttls): If we
22430 wanted to use STARTTLS, and the server offered it, but we weren't
22431 able to because we had no STARTTLS support, then close the connection.
22432 (open-network-stream): Return an :error element, if present.
22433
22434 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22435
22436 * hl-line.el (hl-line-sticky-flag): Doc fix.
22437 (global-hl-line-sticky-flag): New option (Bug#8323).
22438 (global-hl-line-highlight): Obey it.
22439
22440 * vc/vc.el (vc-revert-show-diff): Default to t.
22441
22442 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
22443
22444 * allout-widgets.el (allout-widgets-post-command-business):
22445 Stop decorating intermediate isearch matches. They're not being
22446 undecorated when an isearch is continued past, and isearch
22447 automatically collapses them. This leads to "widget leaks", where
22448 decorated items accumulate in collapsed areas. Lines with lots of
22449 hidden widgets can slow down cursor travel, substantially.
22450 Too much complicated machinery would be needed to ensure undecoration,
22451 so we're doing without this nicety.
22452
22453 (allout-widgets-tally-string): Don't try to do a hash-table-count
22454 of allout-widgets-tally when it's nil. This eliminates spurious "Error
22455 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22456 *Messages* when allout-widgets-maintain-tally is t.
22457
22458 2011-06-26 Martin Rudalics <rudalics@gmx.at>
22459
22460 * window.el (display-buffer-normalize-argument): Rename to
22461 display-buffer-normalize-arguments. Handle special meaning of
22462 LABEL argument. Respect special-display-function when popping up
22463 a new frame. Fix code searching for a window showing the buffer
22464 on another frame.
22465 (display-buffer-normalize-specifiers):
22466 Call display-buffer-normalize-arguments.
22467 (display-buffer-in-window): Don't undedicate the window if its
22468 buffer remains the same.
22469 Reported by Drew Adams <drew.adams@oracle.com>.
22470 (display-buffer-alist): Add choice for same-window macro
22471 specfier.
22472 (display-buffer): Mention special meaning of LABEL argument in
22473 doc-string. Fix quoting. Don't pop up a new frame even as
22474 fallback.
22475
22476 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
22477
22478 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22479 avoid deleting the current window in some cases (bug#8911).
22480
22481 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22482
22483 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22484 (Bug#8934)
22485
22486 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22487
22488 * net/network-stream.el (network-stream-open-starttls):
22489 Use built-in TLS support if `gnutls-available-p' is true.
22490 (network-stream-open-tls): Ditto.
22491
22492 2011-06-26 Leo Liu <sdl.web@gmail.com>
22493
22494 * register.el (registerv): New struct.
22495 (registerv-make): New function.
22496 (jump-to-register, describe-register-1, insert-register):
22497 Support the jump-func, print-func and insert-func slot of a registerv
22498 struct. (Bug#8415)
22499
22500 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22501
22502 * vc/vc.el (vc-revert-show-diff): New defcustom.
22503 (vc-diff-internal): New arg specifying diff buffer.
22504 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22505 reuse an existing *vc-diff* buffer (Bug#8927).
22506
22507 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22508
22509 2011-06-26 Glenn Morris <rgm@gnu.org>
22510
22511 * progmodes/f90.el (f90-critical-indent): New option.
22512 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22513 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22514 (f90-mode): Doc fix.
22515 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22516 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22517 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22518 (f90-match-end): Handle block, critical.
22519
22520 2011-06-25 Glenn Morris <rgm@gnu.org>
22521
22522 * calendar/diary-lib.el (diary-included-files): Doc fix.
22523 (diary-include-files): New function, extracted from
22524 diary-include-other-diary-files and diary-mark-included-diary-files.
22525 (diary-include-other-diary-files, diary-mark-included-diary-files):
22526 Just call diary-include-files.
22527 (diary-mark-entries): Reset diary-included-files on first call.
22528
22529 * calendar/diary-lib.el (diary-mark-entries)
22530 (diary-mark-included-diary-files):
22531 Visit included diary-files in temp buffers.
22532
22533 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22534 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22535 (f90-start-block-re, f90-imenu-generic-expression)
22536 (f90-looking-at-program-block-start, f90-no-block-limit):
22537 Add support for submodules.
22538
22539 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22540 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22541
22542 2011-06-25 Eli Zaretskii <eliz@gnu.org>
22543
22544 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22545 buffer-file-type before setting its value, to avoid disastrous
22546 global effects on decoding files for DOS/Windows systems. (Bug#8780)
22547
22548 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22549
22550 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22551
22552 * ses.el (ses-unload-function):
22553 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22554
22555 * proced.el (proced-unload-function):
22556 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22557
22558 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22559
22560 * server.el (server-create-window-system-frame): Add parameters arg.
22561 (server-process-filter): Doc fix. Handle frame-parameters.
22562
22563 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22564
22565 Fix bug#8730, bug#8781.
22566
22567 * loadhist.el (unload--set-major-mode): New function.
22568 (unload-feature): Use it.
22569
22570 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22571 (python-unload-function): New function.
22572
22573 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22574
22575 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22576
22577 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22578
22579 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22580 the candidates list.
22581
22582 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
22583
22584 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22585
22586 2011-06-23 Richard Stallman <rms@gnu.org>
22587
22588 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22589 (rmail-variables): Set next-error-move-function.
22590 (rmail-what-message): Take argument POS.
22591 (rmail-next-error-move): New function.
22592
22593 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22594
22595 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22596 messages for adjacent non-terminals.
22597
22598 2011-06-23 Richard Stallman <rms@gnu.org>
22599
22600 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22601 (rmail-show-message-1): Preserve buffer modified flag.
22602 (rmail-start-mail): Don't specify use of rmail-mail-return;
22603 that's done by mail-bury now.
22604 (rmail-mail-return): Handle arg NEWBUF.
22605
22606 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
22607
22608 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22609 SIZE is a number.
22610
22611 2011-06-23 Martin Rudalics <rudalics@gmx.at>
22612
22613 * window.el (get-lru-window, get-mru-window)
22614 (get-largest-window): Never return a minibuffer window.
22615 (display-buffer-pop-up-window): Fix a bug that could lead to
22616 reusing the minibuffer window.
22617 (display-buffer): Pass original specifier argument to
22618 display-buffer-function instead of the normalized one.
22619 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22620
22621 2011-06-22 Leo Liu <sdl.web@gmail.com>
22622
22623 * minibuffer.el (completing-read-function)
22624 (completing-read-default): Move from minibuf.c.
22625
22626 2011-06-22 Richard Stallman <rms@gnu.org>
22627
22628 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22629 to Rmail even if not started by a special Rmail command.
22630
22631 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22632 Copy the buffer currently showing just one message.
22633
22634 2011-06-22 Roland Winkler <winkler@gnu.org>
22635
22636 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22637 (bibtex-clean-entry): First delete the old key so that a
22638 customized algorithm for generating the new key does not get
22639 confused by the old key.
22640 (bibtex-url): Obey regexp of first step.
22641 (bibtex-search-entries): Do not use add-to-list with local
22642 list-var.
22643
22644 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22645
22646 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22647 stored a user name, then query for the password first, instead of
22648 waiting for SMTP to give an error message and the trying again.
22649
22650 2011-06-22 Lawrence Mitchell <wence@gmx.li>
22651
22652 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22653 BUFFER in call-process.
22654
22655 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22656
22657 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22658 QUIT twice.
22659 (smtpmail-try-auth-methods): Require user name and password from
22660 auth-source.
22661
22662 2011-06-22 Martin Rudalics <rudalics@gmx.at>
22663
22664 * window.el (display-buffer-default-specifiers)
22665 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22666 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
22667 (split-window): Normalize SIDE argument (Bug#8916).
22668
22669 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22670 (special-display-frame-alist, special-display-popup-frame):
22671 Remove duplicate declarations. These are now in window.el.
22672
22673 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22674
22675 * mail/smtpmail.el (smtpmail-via-smtp):
22676 Set :use-starttls-if-possible so that we always use STARTTLS if the
22677 server supports it. SMTP servers that support STARTTLS commonly
22678 require it.
22679
22680 * net/network-stream.el (network-stream-open-starttls): Support
22681 upgrading to STARTTLS always, even if we don't have built-in support.
22682 (open-network-stream): Add the :always-query-capabilities keyword.
22683
22684 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22685 upgrades with `open-network-stream', and rely solely on
22686 auth-source for all credentials. Big changes throughout the file,
22687 but in particular:
22688 (smtpmail-auth-credentials): Remove.
22689 (smtpmail-starttls-credentials): Remove.
22690 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22691 MAIL FROM, too.
22692
22693 * net/network-stream.el (network-stream-open-starttls):
22694 Provide support for client certificates both for external and built-in
22695 STARTTLS.
22696 (auth-source): Require.
22697 (open-network-stream): Document the :client-certificate keyword.
22698 (network-stream-certificate): Change cert-cert to cert and
22699 cert-key to key.
22700
22701 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
22702
22703 * net/tramp-cache.el (top): Don't load the persistency file when
22704 "emacs -Q" has been called.
22705
22706 2011-06-21 Tim Harper <timcharper@gmail.com>
22707
22708 * term/ns-win.el (ns-initialize-window-system):
22709 Set application-specific `ApplePressAndHoldEnabled' system
22710 resource to NO as it is not yet supported by the NS port.
22711
22712 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
22713
22714 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22715 (list-dynamic-libraries): ...not here.
22716
22717 2011-06-21 Leo Liu <sdl.web@gmail.com>
22718
22719 * subr.el (sha1): Implement sha1 using secure-hash.
22720
22721 2011-06-21 Martin Rudalics <rudalics@gmx.at>
22722
22723 * window.el (display-buffer-alist): In default value do not
22724 enforce searching a window on any but the selected frame.
22725 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22726 (display-buffer-select-window): Remove function.
22727 (display-buffer-in-window): When a window on another frame gets
22728 reused, do not select it any more but just raise its frame if
22729 necessary (Bug#8851) and (Bug#8856).
22730 (display-buffer-normalize-options): Handle pop-up-frames related
22731 options more faithfully.
22732 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22733 window if it is on another frame.
22734 (display-buffer-alist, display-buffer-default-specifiers):
22735 Don't make new frame unsplittable by default.
22736 (display-buffer-normalize-argument): Fix doc-string typo and use
22737 'same-frame-other-window instead of 'other-window when associating
22738 with display-buffer-macro-specifiers.
22739
22740 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
22741
22742 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22743 New functions.
22744 (5x5-mode-map, 5x5-mode-menu): Bind them.
22745 (5x5-draw-grid): Tweak the solver's rendering.
22746
22747 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22748
22749 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22750 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22751
22752 2011-06-21 Drew Adams <drew.adams@oracle.com>
22753
22754 * menu-bar.el: Use function variable instead of switch-to-buffer.
22755 (menu-bar-select-buffer-function): New variable.
22756 (menu-bar-update-buffers): Use it (bug#8876).
22757
22758 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22759
22760 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22761 variable's status.
22762
22763 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22764
22765 * x-dnd.el (x-dnd-version-from-flags)
22766 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22767 and long as number (Bug#8899).
22768 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22769
22770 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22771
22772 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22773 (completion-try-completion, completion-all-completions): Compute the
22774 metadata argument if it's missing; make it optional (bug#8795).
22775
22776 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22777 (widget-complete): Use new :completion-function property.
22778 (widget-completions-at-point): New function.
22779 (default): Use :completion-function instead of :complete.
22780 (widget-default-completions): Rename from widget-default-complete;
22781 Rewrite.
22782 (widget-string-complete, widget-file-complete, widget-color-complete):
22783 Remove functions.
22784 (file, symbol, function, variable, coding-system, color):
22785 * international/mule-cmds.el (default-input-method, charset)
22786 (language-info-custom-alist):
22787 * cus-edit.el (face): Use new property :completions.
22788
22789 * progmodes/pascal.el (pascal-completions-at-point): New function.
22790 (pascal-mode): Use it.
22791 (pascal-mode-map): Use completion-at-point.
22792 (pascal-toggle-completions): Make obsolete.
22793 (pascal-complete-word, pascal-show-completions):
22794 * progmodes/octave-mod.el (octave-complete-symbol):
22795 Redefine as obsolete alias.
22796 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22797 Signal absence of completion info for old Octave,
22798 (inferior-octave-complete): Redefine as obsolete alias.
22799 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22800 (meta-completions-at-point): Rename from meta-complete-symbol and
22801 adapt it for use on completion-at-point-functions.
22802 (meta-common-mode): Use it.
22803 (meta-looking-at-backward, meta-match-buffer): Remove.
22804 (meta-complete-symbol): Redefine as obsolete alias.
22805 (meta-common-mode-map): Use completion-at-point.
22806 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22807 (makefile-mode-map): Use completion-at-point.
22808 (makefile-completions-at-point): Rename from makefile-complete and
22809 adapt it for use on completion-at-point-functions.
22810 (makefile-mode): Use it.
22811 (makefile-complete): Redefine as obsolete alias.
22812
22813 2011-06-20 Deniz Dogan <deniz@dogan.se>
22814
22815 * net/rcirc.el: Delete trailing whitespaces once and for all.
22816
22817 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22818
22819 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22820
22821 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22822
22823 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22824
22825 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22826
22827 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22828
22829 * window.el (display-buffer-other-window-means-other-frame):
22830 Call display-buffer-normalize-alist.
22831 (display-buffer-normalize-specifiers-1): Rename to
22832 display-buffer-normalize-argument. New argument other-frame.
22833 Rewrite.
22834 (display-buffer-normalize-specifiers-2): Rename to
22835 display-buffer-normalize-options.
22836 (display-buffer-normalize-alist-1): New function.
22837 (display-buffer-normalize-specifiers-3): Rename to
22838 display-buffer-normalize-alist.
22839 Call display-buffer-normalize-alist-1.
22840 (display-buffer-normalize-options-inhibit): New variable.
22841 (display-buffer-normalize-specifiers): Rewrite calling
22842 display-buffer-normalize-alist,
22843 display-buffer-normalize-argument, and
22844 display-buffer-normalize-options. Don't call the latter if
22845 display-buffer-normalize-options-inhibit is non-nil.
22846 (frame-auto-delete): New option.
22847 (window-deletable-p): Use frame-auto-delete.
22848 (window-list-no-nils, window-state-ignored-parameters)
22849 (window-state-get-1, window-state-get, window-state-put-list)
22850 (window-state-put-1, window-state-put-2, window-state-put):
22851 New functions.
22852 (display-buffer-normalize-options): Move special-display-p group
22853 after pop-up-frame group (Bug#8851) and (Bug#8856).
22854
22855 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22856
22857 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22858 groups (Bug#8776).
22859 (rx-submatch-n): New function.
22860 (rx): Document it.
22861
22862 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22863 (Bug#8768).
22864
22865 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22866
22867 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22868
22869 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22870 anytime existing face settings are present (Bug#8889).
22871
22872 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22873 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22874 Remove unused argument.
22875
22876 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22877
22878 * window.el (display-buffer-default-specifiers):
22879 Remove pop-up-frame. Add pop-up-window-min-height,
22880 pop-up-window-min-width, and another reuse-window specifier
22881 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22882 (display-buffer-normalize-specifiers-2):
22883 Handle split-height-threshold and split-width-threshold also when
22884 pop-up-windows is unset. Add a reuse-window specifier for the
22885 case popping up a new window fails.
22886 (special-display-popup-frame): Remove double quoting.
22887 (display-buffer-normalize-specifiers-1): Fix thinko.
22888
22889 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22890
22891 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22892 according to comint-completion-addsuffix.
22893
22894 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22895 (pcomplete-suffix-list): Mark as obsolete.
22896 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22897 pcomplete-seen in the closure.
22898 (pcomplete-comint-setup): Setup completion-at-point as well.
22899 (pcomplete--entries): New function.
22900 (pcomplete--env-regexp): New var.
22901 (pcomplete-entries): Rewrite to work with partial-completion and
22902 without relying on pcomplete-suffix-list.
22903 (pcomplete-pare-list): Remove, unused.
22904
22905 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22906
22907 * window.el (display-buffer-alist): Set pop-up-window-min-height
22908 and pop-up-window-min-width in default value. Reported by
22909 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22910 other-window-means-other-frame.
22911 (display-buffer-macro-specifiers): Comment out entry for
22912 other-window specifier.
22913 (display-buffer-other-window-means-other-frame): New function.
22914 (display-buffer-normalize-specifiers-1): New arguments
22915 buffer-name and label. Treat other-window case specially.
22916 (display-buffer-normalize-specifiers-2): Treat other-window case
22917 specially.
22918 (display-buffer-normalize-specifiers-3): New function.
22919 (display-buffer-normalize-specifiers):
22920 Call display-buffer-normalize-specifiers-3.
22921
22922 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22923
22924 * window.el (same-window-p): Fix two typos introduced when
22925 adding with-no-warnings.
22926 (display-buffer-normalize-specifiers-1): Don't check
22927 pop-up-frames for 'unset initialization.
22928 (display-buffer-normalize-specifiers-2): Major rewrite using
22929 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22930 (pop-up-frames, display-buffer-reuse-frames)
22931 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22932 Suggested by David Engster <deng@randomsample.de>.
22933 (even-window-heights): Initialize to 'unset.
22934 (display-buffer-alist-set): Handle new 'unset initializations.
22935 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22936 other window case.
22937
22938 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22939
22940 * window.el (display-buffer-normalize-specifiers-1):
22941 Respect current value of pop-up-frames for most reasonable values of
22942 second argument of display-buffer (Bug#8865).
22943 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22944 (switch-to-buffer-other-window-same-frame)
22945 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22946 Adams (Bug#8875).
22947 (display-buffer): Don't check noninteractive when calling
22948 display-buffer-pop-up-frame.
22949 (display-buffer-pop-up-frame): Never pop up a frame in
22950 noninteractive mode (Bug#8857).
22951 (enlarge-window, shrink-window): Don't report an error when the
22952 window can't be resized as requested (Bug#8862).
22953
22954 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22955
22956 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22957
22958 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22959
22960 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22961
22962 2011-06-15 Alan Mackenzie <acm@muc.de>
22963
22964 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22965 for declarators, disable knr checking to speed up for normal files.
22966 2: Refactor, replacing a sequence of nested if forms by a cond form.
22967
22968 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22969
22970 * net/network-stream.el (open-network-stream): Add the keyword
22971 :always-query-capabilities for the case where you want to force a
22972 `plain' network connection, but the protocol still requires the
22973 capabilitiy command (i.e., SMTP and EHLO).
22974
22975 * subr.el (process-live-p): Rename from `process-alive-p' for
22976 consistency with other `-live-p' functions.
22977
22978 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22979
22980 * window.el (same-window-buffer-names, same-window-regexps)
22981 (special-display-frame-alist, special-display-popup-frame)
22982 (special-display-function, special-display-buffer-names)
22983 (special-display-regexps, pop-up-frame-alist)
22984 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22985 (pop-up-windows, split-window-preferred-function)
22986 (split-height-threshold, split-width-threshold, even-window-heights)
22987 (display-buffer-mark-dedicated): Don't encourage the use of
22988 display-buffer-alist from Elisp code.
22989
22990 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22991
22992 * progmodes/python.el (python-mode): Derive from prog-mode.
22993 * progmodes/ps-mode.el (ps-mode):
22994 * progmodes/mixal-mode.el (mixal-mode):
22995 * progmodes/cfengine.el (cfengine-mode):
22996 * progmodes/ld-script.el (ld-script-mode): Likewise.
22997
22998 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22999
23000 * window.el (display-buffer-alist): Trim default value to avoid
23001 popping up a new frame (Bug#8857) or reusing an arbitrary window
23002 on another frame.
23003 (display-buffer): Do not fall back on popping up a new frame in
23004 batch mode (Bug#8857).
23005
23006 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23007
23008 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23009 (custom-theme-summary): New function.
23010 (customize-themes): Use it.
23011
23012 2011-06-13 Glenn Morris <rgm@gnu.org>
23013
23014 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23015
23016 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23017
23018 * help.el (help-window): Remove variable.
23019 (help-window-point-marker, temp-buffer-max-height)
23020 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23021 (help-print-return-message): Don't set help-window.
23022 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23023 (help-window-setup-finish): Remove.
23024 (help-window-display-message, help-window-setup)
23025 (with-help-window): Major rewrite based on new
23026 display-buffer-window variable.
23027
23028 * help-mode.el (help-mode-finish): Remove help-window related
23029 code.
23030
23031 * view.el (view-exits-all-viewing-windows): Remove reference to
23032 view-return-to-alist in doc-string.
23033 (view-return-to-alist): Make obsolete.
23034 (view-buffer): Call pop-to-buffer-same-window and remove
23035 undo-window code.
23036 (view-buffer-other-window): Call pop-to-buffer-other-window and
23037 simplify code. Ignore second argument.
23038 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23039 simplify code. Ignore second argument.
23040 (view-return-to-alist-update): Make obsolete.
23041 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23042 Rewrite using quit-restore window parameters.
23043 (view-mode-exit): Rename second argument to EXIT-ONLY.
23044 Rewrite using quit-restore-window.
23045 (View-exit, View-exit-and-edit, View-leave, View-quit)
23046 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23047 appropriate arguments.
23048 (view-end-message): Use quit-restore window parameter.
23049
23050 * window.el (display-buffer-function): Rewrite doc-string.
23051 (display-buffer-window, display-buffer-alist): New variables.
23052 (display-buffer-split-specifiers)
23053 (display-buffer-side-specifiers)
23054 (display-buffer-macro-specifiers): New constants.
23055 (display-buffer-even-window-sizes, display-buffer-set-height)
23056 (display-buffer-set-width, display-buffer-select-window)
23057 (display-buffer-in-window, display-buffer-reuse-window)
23058 (display-buffer-split-window-1, display-buffer-split-window)
23059 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23060 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23061 (display-buffer-in-side-window, normalize-buffer-to-display)
23062 (display-buffer-normalize-specifiers-1)
23063 (display-buffer-normalize-specifiers-2)
23064 (display-buffer-normalize-specifiers, display-buffer-frame):
23065 New functions.
23066 (display-buffer): Major rewrite.
23067 (display-buffer-other-window, display-buffer-other-frame)
23068 (pop-to-buffer, switch-to-buffer-other-window)
23069 (switch-to-buffer-other-frame): Rewrite.
23070 (display-buffer-same-window, display-buffer-same-frame)
23071 (display-buffer-same-frame-other-window)
23072 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23073 (pop-to-buffer-other-window)
23074 (pop-to-buffer-same-frame-other-window)
23075 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23076 (switch-to-buffer-other-window-same-frame): New functions.
23077 (same-window-p, special-display-p): Rewrite disabling warnings.
23078 Make obsolete.
23079 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23080 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23081 Make obsolete
23082 (same-window-buffer-names, same-window-regexps)
23083 (special-display-frame-alist, special-display-popup-frame)
23084 (special-display-function, special-display-buffer-names)
23085 (special-display-regexps, pop-up-frame-alist)
23086 (pop-up-frame-function, split-window-preferred-function)
23087 (split-height-threshold, split-width-threshold)
23088 (even-window-heights): Make obsolete.
23089
23090 2011-06-12 Glenn Morris <rgm@gnu.org>
23091
23092 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
23093 Misc simplifications.
23094
23095 2011-06-12 Martin Rudalics <rudalics@gmx.at>
23096
23097 * window.el (window-safely-shrinkable-p): Restore function which
23098 was inadvertently removed in change from 2011-06-11. Declare as
23099 obsolete.
23100
23101 * calendar/calendar.el (calendar-generate-window):
23102 Use window-iso-combined-p instead of combination of one-window-p and
23103 window-safely-shrinkable-p.
23104
23105 2011-06-12 Glenn Morris <rgm@gnu.org>
23106
23107 * progmodes/fortran.el (fortran-mode-syntax-table):
23108 * progmodes/f90.el (f90-mode-syntax-table):
23109 Set % to punctuation. (Bug#8820)
23110 (f90-find-tag-default): Remove, no longer needed.
23111
23112 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23113
23114 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23115
23116 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
23117
23118 * image.el (image-animated-p): Return animation delay in seconds.
23119 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23120 (image-animate-timeout): Remove DELAY argument. Don't assume
23121 every subimage has the same delay; get it from image-animated-p.
23122 (image-animate): Caller changed.
23123
23124 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
23125
23126 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23127 to ignored backtrace functions.
23128
23129 2011-06-11 Glenn Morris <rgm@gnu.org>
23130
23131 * calendar/appt.el (appt-disp-window-function): Doc fix.
23132 (appt-check): Handle overlapping appointments. (Bug#8337)
23133
23134 2011-06-11 Martin Rudalics <rudalics@gmx.at>
23135
23136 * window.el (window-tree-1, window-tree): New functions, moving
23137 the latter to window.el.
23138 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23139 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23140 (bw-refresh-edges): Remove.
23141 (balance-windows-1, balance-windows-2): New functions.
23142 (balance-windows): Rewrite in terms of window tree functions,
23143 balance-windows-1 and balance-windows-2.
23144 (bw-adjust-window): Remove.
23145 (balance-windows-area-adjust): New function with functionality of
23146 bw-adjust-window but using resize-window.
23147 (set-window-text-height): Rewrite doc-string.
23148 Use normalize-live-window and resize-window.
23149 (enlarge-window-horizontally, shrink-window-horizontally):
23150 Rename argument to DELTA.
23151 (window-buffer-height): New function.
23152 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23153 Rewrite using new window resize routines.
23154 (kill-buffer-and-window, mouse-autoselect-window-select):
23155 Use ignore-errors instead of condition-case.
23156 (quit-window): Call delete-frame instead of delete-windows-on
23157 for the only buffer on frame.
23158
23159 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23160
23161 * loadup.el (top-level): Load window before files for the sake
23162 of replace-buffer-in-windows.
23163
23164 * files.el (read-buffer-to-switch)
23165 (switch-to-buffer-other-window)
23166 (switch-to-buffer-other-frame, display-buffer-other-frame):
23167 Move to window.el.
23168
23169 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
23170 (previous-buffer): Move to window.el.
23171
23172 * bindings.el (unbury-buffer): Move to window.el.
23173
23174 * window.el (delete-other-windows-vertically): Move after
23175 definition of delete-other-windows.
23176 (other-window, delete-windows-on, replace-buffer-in-windows):
23177 Move here from window.c.
23178 (record-window-buffer, unrecord-window-buffer)
23179 (set-window-buffer-start-and-point, switch-to-prev-buffer)
23180 (switch-to-next-buffer): New functions.
23181 (get-next-valid-buffer, last-buffer, next-buffer): Move here
23182 from simple.el. Call switch-to-next-buffer.
23183 (previous-buffer): Move here from simple.el.
23184 Call switch-to-prev-buffer.
23185 (bury-buffer): Move here from buffer.c. Switch to previous
23186 buffer when window cannot be deleted.
23187 (unbury-buffer): Move here from bindings.el.
23188 (ctl-x-map): Move binding for other-window from window.c to
23189 here.
23190 (read-buffer-to-switch, switch-to-buffer-other-window)
23191 (switch-to-buffer-other-frame): Move here from files.el.
23192 (normalize-buffer-to-switch-to): New functions.
23193 (switch-to-buffer): Move here from buffer.c.
23194 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
23195
23196 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23197
23198 * window.el (window-min-height, window-min-width): Move here
23199 from window.c. Add defcustoms and rewrite doc-strings.
23200 (resize-mini-window, resize-window): New functions.
23201 (adjust-window-trailing-edge, enlarge-window, shrink-window):
23202 Move here from window.c.
23203 (maximize-window, minimize-window): New functions.
23204 (delete-window, delete-other-windows, split-window): Move here
23205 from window.c.
23206 (window-split-min-size): New function.
23207 (split-window-keep-point): Mention split-window-above-each-other
23208 instead of split-window-vertically.
23209 (split-window-above-each-other, split-window-vertically):
23210 Rename split-window-vertically to split-window-above-each-other
23211 and provide defalias for old definition.
23212 (split-window-side-by-side, split-window-horizontally):
23213 Rename split-window-horizontally to split-window-side-by-side
23214 and provide defalias for the old definition.
23215 (ctl-x-map): Move bindings for delete-window,
23216 delete-other-windows and enlarge-window here from window.c.
23217 Replace bindings for split-window-vertically and
23218 split-window-horizontally by bindings for
23219 split-window-above-each-other and split-window-side-by-side.
23220
23221 * cus-start.el (all): Remove entries for window-min-height and
23222 window-min-width. Add entries for window-splits and
23223 window-nest.
23224
23225 2011-06-09 Glenn Morris <rgm@gnu.org>
23226
23227 * calendar/appt.el (appt-mode-line): New function.
23228 (appt-check, appt-disp-window): Use it.
23229
23230 * files.el (hack-one-local-variable-eval-safep):
23231 Allow minor-modes with explicit +/-1 arguments.
23232
23233 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
23234
23235 * term/xterm.el (xterm): Add defgroup.
23236 (xterm-extra-capabilities): Add defcustom to supply known xterm
23237 capabilities, skip querying them, or query them (default).
23238 (terminal-init-xterm): Use it.
23239 (terminal-init-xterm-modify-other-keys): New function to set up
23240 modifyOtherKeys support to simplify `terminal-init-xterm'.
23241
23242 2011-06-09 Martin Rudalics <rudalics@gmx.at>
23243
23244 * window.el (resize-window-reset, resize-window-reset-1)
23245 (resize-subwindows-skip-p, resize-subwindows-normal)
23246 (resize-subwindows, resize-other-windows, resize-this-window)
23247 (resize-root-window, resize-root-window-vertically)
23248 (window-deletable-p, window-or-subwindow-p)
23249 (frame-root-window-p): New functions.
23250
23251 2011-06-09 Glenn Morris <rgm@gnu.org>
23252
23253 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
23254 (ange-ftp-get-files): Use it.
23255
23256 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
23257
23258 * mail/sendmail.el (mail-recover-1, mail-recover):
23259 * files.el (recover-file, recover-session):
23260 Handle dired-listing-switches not being just a single short option.
23261
23262 2011-06-09 Glenn Morris <rgm@gnu.org>
23263
23264 * calendar/appt.el (appt-display-message, appt-disp-window):
23265 Handle lists of appointments.
23266
23267 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23268
23269 * window.el (one-window-p): Move down in code.
23270 Rewrite doc-string.
23271 (window-current-scroll-bars): Rewrite doc-string.
23272 Normalize live window argument.
23273 (walk-windows, get-window-with-predicate, count-windows):
23274 Rewrite doc-string. Use window-list-1.
23275 (window-in-direction-2, window-in-direction, get-mru-window):
23276 New functions.
23277
23278 2011-06-08 Reuben Thomas <rrt@sc3d.org>
23279
23280 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
23281 Doc fix (Bug#8713).
23282
23283 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
23284
23285 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
23286
23287 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
23288
23289 * loadhist.el (unload-feature-special-hooks):
23290 Add `comint-output-filter-functions'.
23291
23292 2011-06-08 Ivan Kanis <gnu@kanis.fr>
23293
23294 * calendar/appt.el (appt-check): Move some initializations into the let.
23295
23296 2011-06-08 Martin Rudalics <rudalics@gmx.at>
23297
23298 * window.el (window-height): Defalias to window-total-height.
23299 (window-width): Defalias to window-body-width.
23300
23301 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
23302
23303 * image-mode.el (image-toggle-animation): New command.
23304 (image-mode-map): Bind it to RET.
23305 (image-mode): Update message.
23306 (image-toggle-display-image): Avoid a spurious cache flush.
23307 (image-transform-rotation): Doc fix.
23308 (image-transform-properties): Return quickly in the normal case.
23309 (image-animate-loop): Rename from image-animate-max-time.
23310
23311 * image.el (image-animate-max-time): Move to image-mode.el.
23312 (create-animated-image): Remove unnecessary function.
23313 (image-animate): Rename from image-animate-start. New arg.
23314 (image-animate-stop): Remove; just use image-animate-timer.
23315 (image-animate-timer): Use car-safe.
23316 (image-animate-timeout): Rename argument.
23317
23318 2011-06-07 Martin Rudalics <rudalics@gmx.at>
23319
23320 * window.el (get-lru-window, get-largest-window): Move here from
23321 window.c. Rename first argument to ALL-FRAMES.
23322 Rephrase doc-strings.
23323 (get-buffer-window-list): Rewrite using window-list-1.
23324 Rephrase doc-string.
23325 (window-safe-min-height, window-safe-min-width): New constants.
23326 (window-size-ignore, window-min-size, window-min-size-1)
23327 (window-sizable, window-sizable-p, window-size-fixed-1)
23328 (window-size-fixed-p, window-min-delta-1, window-min-delta)
23329 (window-max-delta-1, window-max-delta, window-resizable)
23330 (window-resizable-p, window-total-height, window-total-width)
23331 (window-body-width): New functions.
23332 (window-full-height-p, window-full-width-p): Rewrite using
23333 window-total-size.
23334 (window-body-height): Rewrite using window-body-size.
23335
23336 2011-06-06 Martin Rudalics <rudalics@gmx.at>
23337
23338 * window.el (window-right, window-left, window-child)
23339 (window-child-count, window-last-child, window-any-p)
23340 (normalize-live-buffer, normalize-live-frame)
23341 (normalize-any-window, normalize-live-window)
23342 (window-iso-combination-p, window-iso-combined-p)
23343 (window-iso-combinations)
23344 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
23345 (windows-with-parameter, window-with-parameter)
23346 (window-atom-root, make-window-atom, window-atom-check-1)
23347 (window-atom-check, window-side-check, window-check):
23348 New functions.
23349 (ignore-window-parameters, window-sides, window-sides-vertical)
23350 (window-sides-slots): New variables.
23351 (window-size-fixed): Move down in code. Minor doc-string fix.
23352
23353 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
23354
23355 * comint.el (comint-dynamic-complete-as-filename)
23356 (comint-dynamic-complete-filename): Correctly call
23357 completion-in-region.
23358
23359 2011-06-05 Deniz Dogan <deniz@dogan.se>
23360
23361 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
23362 in last change.
23363
23364 2011-06-05 Deniz Dogan <deniz@dogan.se>
23365
23366 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
23367 (rcirc): Use it to prompt for encryption.
23368
23369 2011-06-05 Roland Winkler <winkler@gnu.org>
23370
23371 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
23372 (bibtex-search-entries): New command bound to C-c C-a.
23373 (bibtex-display-entries): New function.
23374
23375 2011-06-05 Roland Winkler <winkler@gnu.org>
23376
23377 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
23378 (bibtex-insert-kill): After yanking insert newline if necessary.
23379 (bibtex-initialize): Call bibtex-string-files-init only once.
23380 (bibtex-mode): Do not call easy-menu-add.
23381 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
23382 (bibtex-yank): Set arg properly if nil.
23383
23384 2011-06-05 Roland Winkler <winkler@gnu.org>
23385
23386 * textmodes/bibtex.el (bibtex-search-entry-globally):
23387 New variable.
23388 (bibtex-search-entry): Use it.
23389
23390 2011-06-05 Roland Winkler <winkler@gnu.org>
23391
23392 * textmodes/bibtex.el (bibtex-entry-format): New option
23393 sort-fields.
23394 (bibtex-format-entry, bibtex-reformat): Honor this option.
23395 (bibtex-parse-entry): Return fields in proper order.
23396
23397 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
23398
23399 * doc-view.el (doc-view-remove-if): Move computation of result out
23400 of `dolist' to silence misleading lexical-binding warning.
23401
23402 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
23403
23404 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23405 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23406
23407 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23408
23409 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23410 "SunOS 5.10".
23411
23412 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23413
23414 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23415 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23416 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23417 (tramp-parse-putty):
23418 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23419 (tramp-completion-function-alist-ssh)
23420 (tramp-completion-function-alist-telnet)
23421 (tramp-completion-function-alist-su)
23422 (tramp-completion-function-alist-putty): Set `tramp-autoload'
23423 cookie.
23424
23425 * net/tramp-ftp.el:
23426 * net/tramp-sh.el:
23427 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23428 load "tramp.el" `tramp-set-completion-function'.
23429
23430 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
23431
23432 * shell.el: Require and use pcomplete.
23433 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23434 (shell-completion-vars): Set pcomplete-default-completion-function.
23435
23436 2011-06-04 Deniz Dogan <deniz@dogan.se>
23437
23438 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23439 `memq' (Bug#8799).
23440
23441 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23442
23443 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23444
23445 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
23446
23447 * bs.el (bs--mark-unmark, bs--nth-wrapper):
23448 * mpc.el (mpc-select-extend, mpc-songpointer-context):
23449 * vc/log-view.el (log-view-beginning-of-defun):
23450 * vc/smerge-mode.el (smerge-apply-resolution-patch)
23451 (smerge-refine-forward, smerge-refine-chopup-region):
23452 Silence warning for unused `dotimes' counter variables.
23453
23454 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23455
23456 * net/tramp.el (tramp-with-progress-reporter): Rename from
23457 with-progress-reporter. Use `declare'.
23458 * net/tramp-smb.el:
23459 * net/tramp-sh.el:
23460 * net/tramp-gvfs.el: Update all uses.
23461
23462 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23463
23464 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23465 buffer isn't killed before making it current.
23466
23467 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23468
23469 Silence various byte-compiler warnings.
23470 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23471 `access-type' and new obsolescence format.
23472 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23473 new format.
23474 (byte-compile-check-variable): New `access-type' argument.
23475 Only warn if the access-type is obsolete.
23476 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23477 (byte-compile-variable-set): Adjust callers.
23478 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23479 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23480 setting it as obsolete.
23481 * simple.el (minibuffer-completing-symbol):
23482 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23483 access as obsolete.
23484 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23485 obsolete yet.
23486 * international/quail.el (quail-mouse-choose-completion): Remove unused
23487 code referring to obsolete var.
23488 (quail-choose-completion-string): Remove.
23489 * server.el (server-clients-with, server-kill-buffer-query-function)
23490 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23491 * proced.el (proced-send-signal):
23492 * emacs-lisp/lisp.el (lisp-complete-symbol):
23493 Replace completion-annotate-function with completion-extra-properties.
23494
23495 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23496
23497 * simple.el (goto-line): Use read-number.
23498 (overriding-map-is-bound): Remove.
23499 (saved-overriding-map): Change default.
23500 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23501 Take the map as argument.
23502 (universal-argument, negative-argument, digit-argument): Use it.
23503 (restore-overriding-map): Adjust.
23504 (do-auto-fill): Use fill-forward-paragraph.
23505 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23506
23507 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23508 (minibuffer-inactive-mode): New major mode.
23509 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23510 the *Messages* buffer" hack.
23511 (mouse-popup-menubar): Don't burp if the event is a normal key.
23512
23513 Miscellaneous tweaks.
23514 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23515 lexical scoping as in subr.el's dolist and dotimes.
23516 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23517 Silence compiler warning.
23518 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23519 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23520 * international/ccl.el (ccl-compile): Trivial simplification.
23521 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23522 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23523 `printflag' argument.
23524 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23525 Purecopy the whole obsolescence data.
23526
23527 2011-06-01 Leo Liu <sdl.web@gmail.com>
23528
23529 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23530 improve doc-string as suggested by Marco Pessotto
23531 <melmothx@gmail.com>.
23532 (rcirc-print): Fix last change.
23533
23534 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23535
23536 * minibuffer.el (complete-with-action): Return nil for the metadata and
23537 boundaries of non-functional tables.
23538 (completion-table-dynamic): Return nil for the metadata.
23539 (completion-table-with-terminator): Add default case, using
23540 complete-with-action.
23541 (completion--metadata): New function.
23542 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23543 to try and avoid pathological performance problems.
23544 (completion--embedded-envvar-table): Return `category' metadata.
23545
23546 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23547
23548 * subr.el (process-alive-p): New tiny convenience function.
23549
23550 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23551
23552 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23553 content but also its previous major mode.
23554
23555 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
23556
23557 * emacs-lisp/debug.el (debug): Restore the previous content of the
23558 *Backtrace* buffer when we exit with C-M-c.
23559
23560 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23561
23562 * minibuffer.el: Add metadata method to completion tables.
23563 (completion-category-overrides): New defcustom.
23564 (completion-metadata, completion--field-metadata)
23565 (completion-metadata-get, completion--styles)
23566 (completion--cycle-threshold): New functions.
23567 (completion-try-completion, completion-all-completions):
23568 Add `metadata' argument to choose completion-styles.
23569 (completion--do-completion): Use metadata to choose cycling.
23570 (completion-all-sorted-completions): Use metadata for sorting.
23571 Remove :completion-cycle-penalty which is not needed any more.
23572 (completion--try-word-completion): Add `metadata' argument.
23573 (minibuffer-completion-help): Check metadata for annotation function
23574 and sorting.
23575 (completion-file-name-table): Return `category' metadata.
23576 (minibuffer-completing-file-name): Make obsolete.
23577 * simple.el (minibuffer-completing-symbol): Make obsolete.
23578 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23579 completion-try-completion.
23580
23581 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23582
23583 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23584
23585 2011-05-30 Leo Liu <sdl.web@gmail.com>
23586
23587 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23588 (rcirc-print): Decode all incoming messages (bug#8744).
23589 (rcirc-decode-coding-system): Allow value nil for automatic coding
23590 system detection.
23591
23592 2011-06-01 Glenn Morris <rgm@gnu.org>
23593
23594 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23595
23596 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23597
23598 * image.el (image-animate-max-time): Allow nil and t values.
23599 Default to nil.
23600 (create-animated-image): Doc fix.
23601 (image-animate-start): Remove second arg; just use
23602 image-animate-max-time.
23603 (image-animate-timeout): Doc fix. Args changed.
23604
23605 * image-mode.el (image-toggle-display-image): Ensure that the
23606 image spec passed to the animate timer is the same object as in
23607 the buffer's display property (Bug#6981).
23608 (image-transform-properties): Doc fix.
23609
23610 * image.el (image-animate-max-time): Default to nil.
23611
23612 2011-05-29 Martin Rudalics <rudalics@gmx.at>
23613
23614 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23615 entire buffer list (Bug#8184).
23616
23617 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23618
23619 * image.el (imagemagick-types-inhibit)
23620 (imagemagick-register-types): Doc fix.
23621
23622 2011-05-29 Deniz Dogan <deniz@dogan.se>
23623
23624 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23625 default.
23626
23627 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23628
23629 * select.el: Don't perform clipboard-manager saving in hooks;
23630 leave the hooks empty.
23631
23632 2011-05-28 Leo Liu <sdl.web@gmail.com>
23633
23634 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23635 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23636 (occur-edit-mode): New major mode (Bug#8463).
23637 (occur-after-change-function): New function.
23638 (occur-engine): Give Occur tags a read-only property.
23639
23640 2011-05-28 Kevin Ryde <user42@zip.com.au>
23641
23642 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23643
23644 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23645
23646 * bindings.el (help-echo): Make the initial non-indicator dash
23647 empty on graphical terminals (Bug#7295).
23648
23649 * files.el (auto-mode-alist): Move config rule after the
23650 in-stripping one (Bug#8547).
23651
23652 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23653
23654 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23655 setting (Bug#8740).
23656
23657 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23658
23659 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23660 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23661 (Bug#8539).
23662
23663 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23664
23665 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23666
23667 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23668
23669 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23670 (hs-hide-block-at-point, hs-find-block-beginning)
23671 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23672 (Bug#8279).
23673
23674 2011-05-28 Glenn Morris <rgm@gnu.org>
23675
23676 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23677
23678 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23679
23680 * help-fns.el (describe-function-1): If the function is a derived
23681 major mode, print the parent mode.
23682
23683 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23684 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23685
23686 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23687
23688 * minibuffer.el (completion--capf-wrapper): Check applicability before
23689 returning non-nil for non-exclusive completion data.
23690 * progmodes/etags.el (tags-completion-at-point-function):
23691 * info-look.el (info-lookup-completions-at-point): Mark as
23692 non-exclusive.
23693 (info-complete): Adjust accordingly.
23694
23695 * info-look.el: Convert to lexical-binding and completion-at-point.
23696 (info-lookup-completions-at-point): New function.
23697 (info-complete): Use it and completion-in-region.
23698
23699 2011-05-28 Drew Adams <drew.adams@oracle.com>
23700
23701 * isearch.el: Let M-e start with point at the first mismatched char.
23702 (isearch-fail-pos): New function.
23703 (isearch-edit-string): Use it.
23704
23705 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23706
23707 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23708
23709 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
23710
23711 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23712 traversal functions for avl-trees.
23713 (avl-tree--stack): New struct.
23714 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23715 (avl-tree-enter): Add optional `updatefun' arg.
23716 (avl-tree--do-enter): Add optional `updatefun' arg.
23717 Change return value.
23718 (avl-tree-delete): Add optional `test' and `nilflag' args.
23719 (avl-tree--do-delete): Add `test' and `nilflag' args.
23720 Change return value.
23721 (avl-tree-member): Add optional `nilflag'
23722 (avl-tree-member-p): New function.
23723 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23724 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23725 (avl-tree-stack-empty-p): New functions.
23726
23727 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23728 avl-tree--del-balance1 and make it work both ways.
23729 (avl-tree--del-balance2): Remove.
23730 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23731 make it work both ways.
23732 (avl-tree--enter-balance2): Remove.
23733 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23734 New macros.
23735 (avl-tree--mapc, avl-tree-map): Add direction argument.
23736
23737 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
23738
23739 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23740
23741 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
23742
23743 * select.el: Support clipboard managers with built-in function
23744 x-clipboard-manager-save, via delete-frame-functions and
23745 kill-emacs-hook.
23746 (xselect-convert-to-targets): Add MULTIPLE target to list.
23747 (xselect-convert-to-save-targets): New function.
23748
23749 2011-05-27 Kenichi Handa <handa@m17n.org>
23750
23751 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23752 let-binding rfc2047-encode-encoded-words to nil.
23753
23754 2011-05-27 Glenn Morris <rgm@gnu.org>
23755
23756 * mail/emacsbug.el: Don't require url-util.
23757
23758 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23759
23760 * files.el (set-auto-mode):
23761 Also respect mode: entries at the end of the file. (Bug#8586)
23762
23763 2011-05-26 Glenn Morris <rgm@gnu.org>
23764
23765 * files.el (hack-local-variables-prop-line, hack-local-variables):
23766 Downcase mode names, as seems to be traditional.
23767 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23768
23769 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23770 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23771
23772 2011-05-25 Julien Danjou <julien@danjou.info>
23773
23774 * textmodes/rst.el (rst-define-level-faces): Do not define face
23775 symbol if it is already defined.
23776
23777 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23778
23779 * play/5x5.el (5x5-new-game, 5x5-randomize):
23780 Reset 5x5-solver-output to nil when a new grid is cast.
23781 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23782 these debugging traces, as defmacro breaks the compiled code.
23783
23784 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23785
23786 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23787
23788 2011-05-24 Leo Liu <sdl.web@gmail.com>
23789
23790 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23791 (vc-bzr-sha1): Adapt.
23792
23793 * sha1.el: Remove. Function `sha1' is now builtin.
23794
23795 * bindings.el: Provide sha1 feature.
23796
23797 2011-05-24 Kenichi Handa <handa@m17n.org>
23798
23799 * mail/sendmail.el: Require `rfc2047'.
23800 (mail-insert-from-field): Do not perform RFC2047 encoding.
23801 (mail-encode-header): New function.
23802 (sendmail-send-it): Set buffer-file-coding-system of the work
23803 buffer to the return value of select-message-coding-system.
23804 Call mail-encode-header.
23805
23806 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23807
23808 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
23809
23810 * mail/supercite.el (sc-default-cite-frame):
23811 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23812
23813 2011-05-24 Glenn Morris <rgm@gnu.org>
23814
23815 * progmodes/python.el (brm-menu): Declare.
23816
23817 * emulation/viper.el (viper-set-hooks): Declare.
23818
23819 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23820 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23821 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23822 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23823 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23824 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23825
23826 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23827
23828 Add an :exit-function for completion-at-point.
23829
23830 * minibuffer.el (completion--done): New fun.
23831 (completion--do-completion): Use it. New arg `expect-exact'.
23832 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23833 since completion--do-completion does it for us now.
23834 (minibuffer-force-complete): Use completion--done and
23835 completion--replace. Handle sole-completion case with more care.
23836 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23837 (completion-extra-properties): New var.
23838 (completion-annotate-function): Make obsolete.
23839 (minibuffer-completion-help): Adjust accordingly.
23840 Use completion-list-insert-choice-function.
23841 (completion-at-point, completion-help-at-point):
23842 Bind completion-extra-properties.
23843 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23844 * simple.el (completion-list-insert-choice-function): New var.
23845 (completion-setup-function): Preserve it.
23846 (choose-completion): Pay attention to it, shuffle the code a bit.
23847 (choose-completion-string): New arg `insert-function'.
23848
23849 * textmodes/bibtex.el: Convert to lexical binding.
23850 (bibtex-mode-map): Use completion-at-point.
23851 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23852 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23853 (bibtex-complete): Define as obsolete alias.
23854 (bibtex-complete-internal): Remove.
23855 (bibtex-format-entry): Remove unused sub-group in regexp.
23856 * shell.el (shell--command-completion-data)
23857 (shell-environment-variable-completion):
23858 * pcomplete.el (pcomplete-completions-at-point):
23859 * comint.el (comint--complete-file-name-data): Use :exit-function
23860 instead of completion-table-with-terminator so it also works for
23861 choose-completion.
23862
23863 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23864
23865 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23866
23867 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23868 (bug#8710).
23869
23870 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23871
23872 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23873
23874 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23875 customization variable and implement: If non-nil, auto-fill will
23876 be inhibited while on topic's header line.
23877
23878 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23879
23880 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23881 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23882 always have a solution in grid size = 5 cases.
23883 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23884 (5x5-solver-output, 5x5-log-buffer): New vars.
23885 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23886 Make these variables buffer local to achieve 5x5 multi-session-ness.
23887 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23888 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23889 (5x5-solve-suggest): New funs.
23890 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23891 randomize a grid so that we ensure that there is always a solution.
23892 (5x5-make-random-grid): Allow other movement than flipping.
23893
23894 2011-05-23 Kevin Ryde <user42@zip.com.au>
23895
23896 * emacs-lisp/advice.el (ad-read-advised-function):
23897 Use `function-called-at-point' as the default, if it has
23898 advice and passes PREDICATE.
23899
23900 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23901
23902 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23903 byte-compile-lambda if it's actually a lambda.
23904
23905 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23906 Fix function quoting. Use backquote better.
23907
23908 2011-05-22 Yuanle Song <sylecn@gmail.com>
23909
23910 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23911 matching (Bug#8516).
23912
23913 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23914
23915 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23916 different face (Bug#8178).
23917
23918 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23919
23920 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23921 defface (Bug#8144).
23922
23923 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23924
23925 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23926 funcall as well (bug#8712). Warn when performing those conversions.
23927 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23928
23929 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23930
23931 2011-05-22 Glenn Morris <rgm@gnu.org>
23932
23933 * files.el (hack-local-variables-prop-line): Small simplifications.
23934 (hack-local-variables, hack-local-variables-prop-line):
23935 If MODE-ONLY, return the mode, rather than just `t'.
23936
23937 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23938
23939 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23940
23941 2011-05-21 Glenn Morris <rgm@gnu.org>
23942
23943 * files.el (hack-local-variables-prop-line, hack-local-variables):
23944 If only interested in the mode, don't bother doing the other stuff.
23945
23946 * image-mode.el (image-after-revert-hook):
23947 Redraw all frames on which the image is visible. (Bug#8567)
23948
23949 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23950
23951 * wid-edit.el (widget-checklist-match-inline):
23952 Fix 2011-04-19 change. (Bug#8649)
23953
23954 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23955
23956 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23957 Also allow singlespace after single-letter capitals followed by a dot.
23958
23959 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23960 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23961
23962 2011-05-20 Nix <nix@esperi.org.uk>
23963
23964 * files.el (basic-save-buffer-2):
23965 Fix handling of break-hardlink-on-save with non-existent files.
23966
23967 2011-05-19 Deniz Dogan <deniz@dogan.se>
23968
23969 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23970 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23971
23972 2011-05-19 Glenn Morris <rgm@gnu.org>
23973
23974 * progmodes/f90.el (f90-type-def-re):
23975 Handle "type, bind(c)". (Bug#8691)
23976
23977 * emacs-lisp/autoload.el (batch-update-autoloads):
23978 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23979
23980 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23981
23982 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23983 property for the correct connection in case of multihops.
23984
23985 2011-05-18 Glenn Morris <rgm@gnu.org>
23986
23987 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23988 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23989
23990 Rationalize calendar handling of day and month abbrev-arrays.
23991 * calendar/calendar.el (calendar-customized-p): New function.
23992 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23993 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23994 Add :set function.
23995 (calendar-abbrev-length, calendar-day-abbrev-array)
23996 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23997 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23998 Elements may no longer be nil.
23999 (calendar-day-name, calendar-month-name):
24000 Update for changed nature of abbrev arrays.
24001 * calendar/diary-lib.el (diary-name-pattern):
24002 Update for changed nature of abbrev arrays.
24003 (diary-mark-entries-1): Update calendar-make-alist calls.
24004 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24005 * calendar/cal-html.el (cal-html-day-abbrev-array):
24006 Simply inherit from calendar-day-abbrev-array.
24007
24008 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24009
24010 * progmodes/grep.el (grep-mode): Disable default
24011 compilation-directory-matcher setting (bug#8684).
24012
24013 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24014
24015 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24016 instead of "head" and "tail". There were problems with SunOS 5.9,
24017 and it performs better.
24018
24019 2011-05-17 Glenn Morris <rgm@gnu.org>
24020
24021 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24022
24023 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24024 Replace obsolete function.
24025
24026 * shell.el (pcomplete-parse-arguments-function): Declare.
24027
24028 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24029 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24030 (appt-check): Doc fixes.
24031 (appt-disp-window-function, appt-delete-window-function):
24032 Remove needless special case in custom :type.
24033 (appt-display-count): Default to 0, not nil.
24034 (appt-check): Reset appt-display-count to 0, not nil.
24035
24036 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24037
24038 * progmodes/python.el (python-font-lock-keywords):
24039 Add the Python 3.X keyword "nonlocal" (bug#8639).
24040
24041 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24042
24043 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24044
24045 2011-05-16 Kevin Ryde <user42@zip.com.au>
24046
24047 * info-look.el (makefile-automake-mode): New setups, looking in
24048 automake manual, then makefile-mode.
24049 (makefile-mode): Remove automake manual, have it just in
24050 makefile-automake-mode since there's various things different or
24051 not relevant to plain make.
24052 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24053 believe a hypothetical automake-mode would go to makefile-mode,
24054 not the other way around.
24055
24056 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24057
24058 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24059 hunk-end tags (Bug#8672).
24060
24061 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24062 vc-annotate-show-diff-revision-at-line (Bug#8671).
24063
24064 2011-05-14 Glenn Morris <rgm@gnu.org>
24065
24066 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24067 in the middle of an existing one with multiple authors. (Bug#8645)
24068 (change-log-font-lock-keywords): Also handle multiple author lines
24069 with leading tabs. (Bug#8644)
24070
24071 * calendar/appt.el (appt-check): Rename some local variables.
24072 Some simplification/reordering.
24073
24074 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24075 (feedmail-sendmail-f-doesnt-sell-me-out)
24076 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24077 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24078 (feedmail-queue-runner-message-sender): Set :version.
24079 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24080 (bbdb-dwim-net-address, vm-mail): Declare.
24081 (feedmail-binmail-gnulinuxish-template):
24082 Rename from feedmail-binmail-linuxish-template.
24083 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24084 Use insert-buffer-substring.
24085
24086 2011-05-14 Bill Carpenter <bill@carpenter.org>
24087
24088 * mail/feedmail.el (feedmail-patch-level): Increase.
24089 (feedmail-debug): New custom group.
24090 (feedmail-confirm-outgoing-timeout)
24091 (feedmail-sendmail-f-doesnt-sell-me-out)
24092 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24093 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24094 (feedmail-sender-line, feedmail-from-line)
24095 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24096 (feedmail-spray-this-address)
24097 (feedmail-spray-address-fiddle-plex-list)
24098 (feedmail-queue-use-send-time-for-date)
24099 (feedmail-queue-use-send-time-for-message-id)
24100 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24101 (feedmail-buffer-eating-function):
24102 Doc fixes.
24103 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24104 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24105 (feedmail-message-action-scroll-down): New functions.
24106 (feedmail-queue-directory, feedmail-queue-draft-directory):
24107 Use expand-file-name.
24108 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24109 Remove C-v help entry.
24110 (feedmail-queue-buffer-file-name): New variable.
24111 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24112 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24113 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24114 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24115 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24116 (feedmail-message-action-toggle-spray)
24117 (feedmail-run-the-queue-no-prompts)
24118 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24119 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24120 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24121 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24122 (feedmail-envelope-deducer, feedmail-fiddle-from)
24123 (feedmail-fiddle-sender, feedmail-default-date-generator)
24124 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24125 (feedmail-fiddle-spray-address)
24126 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24127 (feedmail-fiddle-list-of-fiddle-plexes)
24128 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24129 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24130 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24131 Change default. Doc fix.
24132 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24133 (feedmail-binmail-linuxish-template): New constant.
24134 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24135 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24136 (feedmail-send-it): Add debug call.
24137 Use feedmail-queue-buffer-file-name, and
24138 feedmail-send-it-immediately-wrapper.
24139 (feedmail-message-action-send): Add debug call.
24140 Use feedmail-send-it-immediately-wrapper.
24141 (feedmail-queue-express-to-queue): Add debug call.
24142 Run feedmail-queue-express-hook.
24143 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24144 (feedmail-message-action-help-blat):
24145 Rename from feedmail-queue-send-edit-prompt-help-first.
24146 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24147 Check line-endings. Handle errors better.
24148 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24149 Doc fix. Add debug call.
24150 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24151 Use feedmail-queue-send-edit-prompt-inner.
24152 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24153 (feedmail-queue-send-edit-prompt-inner): New function, extracted
24154 from feedmail-queue-send-edit-prompt.
24155 (feedmail-queue-send-edit-prompt-help)
24156 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
24157 (feedmail-tidy-up-slug): Add debug call.
24158 Respect feedmail-queue-slug-suspect-regexp.
24159 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
24160 (feedmail-dump-message-to-queue): Add debug call.
24161 Expand queue-directory.
24162 (feedmail-dump-message-to-queue): Change message slightly.
24163 Use feedmail-say-chatter.
24164 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
24165 (feedmail-send-it-immediately-wrapper): New function.
24166 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
24167 Insert empty string rather than newline. Handle full-frame case.
24168 Use catch/throw. Use feedmail-say-chatter.
24169 (feedmail-fiddle-from): Try mail-host-address.
24170 (feedmail-default-message-id-generator): Doc fix.
24171 Bind system-time-locale. Handle missing end.
24172 (feedmail-fiddle-x-mailer): Add debug call.
24173 Handle feedmail-x-mailer-line being nil.
24174 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
24175 Add debug call. Use buffer-substring-no-properties.
24176 (feedmail-say-debug, feedmail-say-chatter): New functions.
24177 (feedmail-find-eoh): Give an explicit error.
24178
24179 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
24180
24181 * net/newst-treeview.el (newsticker-treeview-face): Change default
24182 family from helvetica to sans.
24183 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
24184 etc/images/newsticker.
24185
24186 * net/newst-reader.el (newsticker-feed-face): Change default
24187 family from helvetica to sans.
24188
24189 * net/newst-plainview.el (newsticker-new-item-face)
24190 (newsticker-old-item-face, newsticker-immortal-item-face)
24191 (newsticker-obsolete-item-face, newsticker-date-face)
24192 (newsticker-statistics-face): Change default family from
24193 helvetica to sans.
24194 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
24195 etc/images/newsticker.
24196
24197 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
24198 (newsticker--process-auto-mark-filter-match): Tell user about
24199 auto-marking.
24200
24201 2011-05-13 Didier Verna <didier@xemacs.org>
24202
24203 Common Lisp indentation improvements on defmethod and lambda-lists.
24204 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
24205 TODO entries.
24206 (lisp-lambda-list-keyword-parameter-indentation)
24207 (lisp-lambda-list-keyword-parameter-alignment)
24208 (lisp-lambda-list-keyword-alignment): New customizable user options.
24209 (lisp-indent-defun-method): Improve docstring.
24210 (extended-loop-p): Fix comment.
24211 (lisp-indent-lambda-list-keywords-regexp): New variable.
24212 (lisp-indent-lambda-list): New function.
24213 (lisp-indent-259): Use it.
24214 (lisp-indent-defmethod): Support for more than one
24215 method qualifier and properly indent methods lambda-lists.
24216 (defgeneric): Provide a missing common-lisp-indent-function property.
24217
24218 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
24219
24220 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
24221 bounds for the empty string (bug#8667).
24222
24223 2011-05-13 Glenn Morris <rgm@gnu.org>
24224
24225 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
24226
24227 * mail/sendmail.el (sendmail-program): Try executable-find first.
24228 (sendmail-send-it): `sendmail-program' cannot be unbound.
24229
24230 * calendar/appt.el (appt-make-list): Simplify.
24231 (appt-time-msg-list): Doc fix.
24232 (appt-check): Change mode-line message at the time of the appointment.
24233
24234 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
24235
24236 * progmodes/ld-script.el (ld-script-keywords)
24237 (ld-script-builtins): Update keywords list.
24238
24239 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24240
24241 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
24242
24243 * shell.el (shell-completion-vars): New function.
24244 (shell-mode):
24245 * simple.el (read-shell-command): Use it.
24246 (blink-matching-open): No need for " [...]" in minibuffer-message.
24247
24248 2011-05-12 Glenn Morris <rgm@gnu.org>
24249
24250 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
24251 (appt-check): Simplify.
24252
24253 2011-05-12 Eli Zaretskii <eliz@gnu.org>
24254
24255 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
24256 literal "/dev/null".
24257
24258 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24259
24260 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
24261 Fix typo.
24262
24263 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
24264
24265 * progmodes/which-func.el (which-function):
24266 Use add-log-current-defun instead of add-log-current-defun-function,
24267 which might not be defined (Bug#8260).
24268
24269 2011-05-12 Glenn Morris <rgm@gnu.org>
24270
24271 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
24272 Let byte-compile-initial-macro-environment always take precedence.
24273
24274 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
24275
24276 * net/rcirc.el: Add support for SSL/TLS connections.
24277 (rcirc-server-alist): New field `encryption'.
24278 (rcirc): Check `encryption' settings.
24279 (rcirc-connect): New arg `encryption'. Use open-network-stream.
24280 Merge make-local-variable into `set'.
24281 (rcirc--connection-open-p): New function.
24282 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
24283 the process is not a network process (e.g. running gnutls-cli).
24284 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
24285 Make rcirc-(en|de)code-coding-system local here.
24286 (rcirc-mode): Merge make-local-variable into `set'.
24287 (rcirc-parent-buffer): Make permanent buffer-local.
24288 (rcirc-multiline-minor-mode): Don't do it here.
24289 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
24290 there's no server buffer.
24291
24292 2011-05-11 Glenn Morris <rgm@gnu.org>
24293
24294 * newcomment.el (comment-kill): Prefix "unused" local.
24295
24296 * term/w32console.el (get-screen-color): Declare.
24297
24298 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
24299 Handle symbol elements of byte-compile-initial-macro-environment.
24300
24301 2011-05-10 Leo Liu <sdl.web@gmail.com>
24302
24303 * bookmark.el (bookmark-bmenu-mode-map):
24304 Bind bookmark-bmenu-search to `/'.
24305
24306 * mail/footnote.el: Convert to utf-8 encoding.
24307 (footnote-unicode-string, footnote-unicode-regexp): New variable.
24308 (Footnote-unicode): New function.
24309 (footnote-style-alist): Add unicode style to the list.
24310 (footnote-style): Doc fix.
24311
24312 2011-05-10 Jim Meyering <meyering@redhat.com>
24313
24314 Fix doubled-word typos.
24315 * international/quail.el (quail-insert-kbd-layout): and and -> and
24316 * kermit.el: and and -> and
24317 * net/ldap.el (ldap-search-internal): to to -> to
24318 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
24319 * progmodes/js.el (js-mode): and and -> and
24320 * textmodes/artist.el (artist-move-to-xy): at at -> at
24321 (artist-draw-region-trim-line-endings): if if -> if
24322 And Safetyc -> Safety.
24323 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
24324
24325 2011-05-10 Glenn Morris <rgm@gnu.org>
24326 Stefan Monnier <monnier@iro.umontreal.ca>
24327
24328 * files.el (hack-one-local-variable-eval-safep):
24329 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
24330
24331 2011-05-10 Glenn Morris <rgm@gnu.org>
24332
24333 * calendar/diary-lib.el (diary-list-entries-hook)
24334 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
24335 (diary-nongregorian-marking-hook, diary-list-entries)
24336 (diary-include-other-diary-files, diary-mark-entries)
24337 (diary-mark-included-diary-files): Doc fixes.
24338
24339 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24340
24341 * misc.el: Require tabulated-list.el during compilation.
24342
24343 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24344
24345 * progmodes/compile.el (compilation-start):
24346 Run compilation-filter-hook for the async case too.
24347 (compilation-filter-hook): Doc fix.
24348
24349 2011-05-09 Deniz Dogan <deniz@dogan.se>
24350
24351 * wdired.el: Remove outdated installation comment. Fix usage
24352 comment.
24353
24354 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
24355
24356 * misc.el: Implement new command `list-dynamic-libraries'.
24357 (list-dynamic-libraries--loaded-only-p): New variable.
24358 (list-dynamic-libraries--refresh): New function.
24359 (list-dynamic-libraries): New command.
24360
24361 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
24362
24363 * progmodes/compile.el (compilation-error-regexp-alist-alist):
24364 Fix the ant regexp to handle end-line and end-column info from jikes.
24365 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
24366 higher priority to avoid clobbering by gnu.
24367
24368 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24369
24370 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
24371 if the face has existing theme settings (Bug#8454).
24372
24373 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
24374
24375 * progmodes/perl-mode.el (perl-imenu-generic-expression):
24376 Only match variables declared via `my' or `our' (Bug#8261).
24377
24378 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
24379 special file names `.' and `..' (Bug#8259).
24380
24381 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
24382
24383 * progmodes/grep.el (grep-mode-font-lock-keywords):
24384 Remove buffer-changing entries.
24385 (grep-filter): New function.
24386 (grep-mode): Add it to compilation-filter-hook.
24387
24388 * progmodes/compile.el (compilation-filter-hook)
24389 (compilation-filter-start): New defvars.
24390 (compilation-filter): Call compilation-filter-hook prior to
24391 updating the process mark.
24392
24393 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24394
24395 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24396
24397 2011-05-07 Eli Zaretskii <eliz@gnu.org>
24398
24399 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24400 mailclient-send-it even if window-system is nil. (Bug#8595)
24401
24402 * term/w32console.el (terminal-init-w32console):
24403 Call get-screen-color and use its output to set the frame
24404 background-mode. (Bug#8597)
24405
24406 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24407
24408 Make bytecomp.el understand that defmethod defines funs (bug#8631).
24409 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24410 New functions.
24411 (defgeneric, eieio--defmethod): Use them.
24412 (eieio-defgeneric): Remove.
24413 (defmethod): Call defgeneric in a way visible to the byte-compiler.
24414
24415 2011-05-07 Glenn Morris <rgm@gnu.org>
24416
24417 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24418 Use let rather than let*.
24419 (timeclock-find-discrep): Remove unused local.
24420
24421 * calendar/diary-lib.el (diary-comment-start): Doc fix.
24422
24423 * calendar/appt.el (appt-time-msg-list): Doc fix.
24424
24425 2011-05-06 Noah Friedman <friedman@splode.com>
24426
24427 * apropos.el (apropos-print-doc): Only use
24428 emacs-lisp-docstring-fill-column when it is bound to an integer,
24429 per that variable's documentation.
24430
24431 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24432
24433 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
24434 and warnings are not silently discarded (e.g. use -d instead of -P).
24435
24436 2011-05-06 Glenn Morris <rgm@gnu.org>
24437
24438 * calendar/appt.el (appt-message-warning-time): Doc fix.
24439 (appt-warning-time-regexp): New option.
24440 (appt-make-list): Respect appt-message-warning-time.
24441
24442 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24443 New options.
24444 (diary-add-to-list): Strip comments from the displayed string.
24445 (diary-mode): Set comment-start and comment-end.
24446
24447 * vc/diff-mode.el (smerge-refine-subst): Declare.
24448 (diff-refine-hunk): Don't require smerge-mode when compiling.
24449
24450 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
24451
24452 * simple.el (list-processes): Return nil as the docstring says.
24453
24454 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24455
24456 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24457 to "".
24458 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24459 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24460 determining of binary transfer. (Bug#7383)
24461
24462 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24463
24464 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24465 Fix port computation bug. (Bug#8618)
24466
24467 2011-05-05 Glenn Morris <rgm@gnu.org>
24468
24469 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24470
24471 * simple.el (shell-dynamic-complete-functions)
24472 (comint-dynamic-complete-functions): Declare.
24473
24474 * net/network-stream.el (gnutls-negotiate):
24475 * simple.el (tabulated-list-print): Fix declarations.
24476
24477 * progmodes/gud.el (syntax-symbol, syntax-point):
24478 Remove unnecessary and incorrect declarations.
24479
24480 * emacs-lisp/check-declare.el (check-declare-scan):
24481 Handle byte-compile-initial-macro-environment in bytecomp.el.
24482
24483 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24484
24485 Fix earlier half-done eieio-defmethod change (bug#8338).
24486 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24487 Streamline and change calling convention.
24488 (defmethod): Adjust accordingly and simplify.
24489 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24490 new eieio--defmethod.
24491 (slot-boundp): Minor CSE simplification.
24492
24493 2011-05-05 Milan Zamazal <pdm@zamazal.org>
24494
24495 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24496 (glasses-make-readable): Use glasses-separate-capital-groups.
24497
24498 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
24499
24500 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24501 (warning-series): Doc fix.
24502 (display-warning): Don't try to create the buffer if we just found it.
24503
24504 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
24505
24506 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24507 (autoload-find-generated-file): New function.
24508 (generate-file-autoloads): Bind generated-autoload-file to
24509 buffer-file-name.
24510 (update-file-autoloads, update-directory-autoloads):
24511 Use autoload-find-generated-file. If called interactively, prompt for
24512 output file (Bug#7989).
24513 (batch-update-autoloads): Doc fix.
24514
24515 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
24516
24517 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24518
24519 2011-05-04 Glenn Morris <rgm@gnu.org>
24520
24521 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24522 function, so it follows changes in calendar-date-style.
24523 (diary-fancy-date-matcher): New function.
24524 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24525 (diary-fancy-font-lock-fontify-region-function):
24526 Use diary-fancy-date-pattern as a function.
24527
24528 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24529 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24530
24531 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24532
24533 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24534 instead of positional arguments. Allow :keylist and :crlfiles
24535 arguments.
24536 (open-gnutls-stream): Call it.
24537
24538 * net/network-stream.el (network-stream-open-starttls): Adjust to
24539 call `gnutls-negotiate' with :process and :hostname arguments.
24540
24541 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24542
24543 * minibuffer.el (completion--message): New function.
24544 (completion--do-completion, minibuffer-complete)
24545 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24546 (completion--do-completion): Don't ignore completion-auto-help when in
24547 icomplete-mode.
24548
24549 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24550 internal encoding (e.g. tibetan zero is not whitespace).
24551 (global-whitespace-mode): Prefer save-current-buffer.
24552 (whitespace-trailing-regexp): Remove useless save-match-data.
24553 (whitespace-empty-at-bob-regexp): Minor simplification.
24554
24555 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
24556
24557 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24558
24559 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
24560
24561 * textmodes/ispell.el (ispell-add-per-file-word-list):
24562 Use `concat' to create string for insertion.
24563
24564 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24565
24566 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24567 Avoid open-line which runs post-self-insert-hook.
24568 (bibtex-fill-entry): Remove unused `end' var.
24569
24570 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24571
24572 * textmodes/ispell.el (ispell-add-per-file-word-list):
24573 Protect against `nil' value of `comment-start' (Bug#8579).
24574
24575 2011-05-03 Leo Liu <sdl.web@gmail.com>
24576
24577 * isearch.el (isearch-yank-pop): New command.
24578 (isearch-mode-map): Bind it to `M-y'.
24579 (isearch-forward): Mention it.
24580
24581 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24582
24583 * simple.el (minibuffer-complete-shell-command): Remove.
24584 (minibuffer-local-shell-command-map): Use completion-at-point.
24585 (read-shell-command): Setup completion vars here instead.
24586 (read-expression-map): Bind TAB to symbol completion.
24587
24588 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24589 error directly rather via storing it into `results'.
24590
24591 2011-05-02 Leo Liu <sdl.web@gmail.com>
24592
24593 * vc/diff.el: Fix description.
24594
24595 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24596
24597 * server.el (server-eval-at): New function.
24598
24599 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24600
24601 * net/network-stream.el (open-network-stream): Take a :nowait
24602 parameter and pass it on to `make-network-process'.
24603 (network-stream-open-plain): Ditto.
24604
24605 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24606
24607 * faces.el (face-spec-set-match-display): Don't match toolkit
24608 options on terminal frames.
24609
24610 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24611
24612 * progmodes/pascal.el: Use lexical binding.
24613 (pascal-mode-map): Remove author preferences.
24614
24615 * pcomplete.el (pcomplete-std-complete): Don't abuse
24616 completion-at-point.
24617
24618 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24619
24620 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24621 removing code that has been dead since 1991 or so.
24622
24623 * startup.el (command-line): When warning about "_emacs", use a
24624 delayed warning to allow the user to filter it out.
24625
24626 2011-04-28 Deniz Dogan <deniz@dogan.se>
24627
24628 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24629 user has not joined.
24630
24631 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24632
24633 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24634 aren't any completions at point.
24635
24636 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24637
24638 * subr.el (display-delayed-warnings): New function.
24639 (delayed-warnings-hook): New variable.
24640
24641 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24642
24643 * minibuffer.el (completion-at-point, completion-help-at-point):
24644 Don't presume that a given completion-at-point-function will always
24645 use the same calling convention.
24646
24647 * pcomplete.el (pcomplete-completions-at-point):
24648 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24649 pcomplete-seen is non-nil.
24650 (pcomplete-comint-setup): Also recognize the new comint/shell
24651 completion functions.
24652 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24653 pcomplete-seen is non-nil.
24654
24655 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
24656
24657 * calendar/icalendar.el (diary-lib): Add require statement.
24658 (icalendar--create-uid): Read out a uid from a text-property on
24659 the first character in the entry. This allows for code to add its
24660 own uid to the entry.
24661 (icalendar--convert-float-to-ical): Add export of
24662 `diary-float'-entries save for those with the optional DAY
24663 argument.
24664
24665 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24666
24667 * subr.el (shell-quote-argument): Use alternate escaping strategy
24668 when we spot a variable reference in a string.
24669
24670 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24671
24672 * cus-start.el (all): Define customization for debug-on-event.
24673
24674 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24675
24676 * subr.el (shell-quote-argument): Escape correctly under Windows.
24677
24678 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24679
24680 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24681
24682 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
24683
24684 * net/tramp.el (tramp-process-actions): Add POS argument.
24685 Delete region between POS and (pos).
24686
24687 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24688 Use `nil' position in `tramp-process-actions' call.
24689 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24690
24691 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24692 position in `tramp-process-actions' call.
24693
24694 * net/trampver.el: Update release number.
24695
24696 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24697
24698 * custom.el (defcustom): Obey lexical-binding.
24699
24700 Fix octave-inf completion problems reported by Alexander Klimov.
24701 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24702 Inherit from octave-mode-syntax-table.
24703 (inferior-octave-mode): Set info-lookup-mode.
24704 (inferior-octave-completion-at-point): New function.
24705 (inferior-octave-complete): Use it and completion-in-region.
24706 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24707 comint-filename-completion.
24708 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24709 symbol elements which shouldn't be word elements.
24710 (octave-font-lock-keywords, octave-beginning-of-defun)
24711 (octave-function-header-regexp): Adjust regexps accordingly.
24712 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24713
24714 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
24715
24716 * net/gnutls.el (gnutls-errorp): Declare before first use.
24717
24718 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24719
24720 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24721 verify-error, and verify-hostname-error parameters. Check whether
24722 default trustfile exists before going to use it. Add missing
24723 argument to gnutls-message-maybe call. Return value.
24724 Reported by Claudio Bley <claudio.bley@gmail.com>.
24725 (open-gnutls-stream): Add usage example.
24726
24727 * net/network-stream.el (network-stream-open-starttls): Give host
24728 parameter to `gnutls-negotiate'.
24729 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24730 * subr.el (shell-quote-argument): Escape correctly under Windows.
24731
24732 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
24733
24734 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24735 Use correct match group (bug#8438).
24736
24737 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24738
24739 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24740 (package-menu--generate): New arg specifying packages to show.
24741 (package-menu-refresh, package-menu-execute, list-packages):
24742 Callers changed.
24743 (package-show-package-list): New function, replacing deleted
24744 package--list-packages (renamed because it is non-internal).
24745
24746 * finder.el (finder-list-matches): Use package-show-package-list
24747 instead of deleted package--list-packages.
24748
24749 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24750 Based on a previous implementation by Juanma Barranquero (Bug#8366).
24751 (vc-annotate-mode-map): Bind it to RET.
24752
24753 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24754
24755 * progmodes/etags.el (next-file): Don't use set-buffer to change
24756 buffers (Bug#8478).
24757
24758 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24759
24760 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24761
24762 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24763 (apropos-accumulator): Doc fix.
24764 (apropos-function, apropos-macro, apropos-command)
24765 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24766 (apropos-plist): Add face property.
24767 (apropos-symbols-internal): Fix indentation.
24768 (apropos-print): Simplify help, and recognize apropos-multi-type.
24769 (apropos-print-doc): Use button-type-get to extract the button's
24770 face property. Fill docstring (Bug#8352).
24771
24772 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24773
24774 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24775
24776 * play/mpuz.el (mpuz-silent): Doc fix.
24777 (mpuz-mode-map): Use mapc.
24778 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24779 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24780 Fix typos in docstrings.
24781
24782 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24783 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24784
24785 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24786
24787 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24788
24789 * minibuffer.el (completion--do-completion): Avoid the "Next char
24790 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24791
24792 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24793 mouse-2 into unread-command-events, it is interpreted correctly.
24794
24795 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24796 (image-toggle-display): Doc fix.
24797
24798 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24799
24800 * textmodes/page.el (what-page): Use line-number-at-pos to
24801 calculate line number (Bug#6825).
24802
24803 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24804
24805 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24806 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24807 Pass argument NO-DEFAULT to `find-tag-interactive'.
24808
24809 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24810
24811 Lexical-binding cleanup.
24812
24813 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24814 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24815 * progmodes/ada-prj.el (ada-prj-initialize-values)
24816 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24817 (ada-prj-show-value):
24818 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24819 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24820 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24821 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24822 * progmodes/bug-reference.el (bug-reference-push-button):
24823 * progmodes/fortran.el (fortran-line-length):
24824 * progmodes/glasses.el (glasses-change):
24825 * progmodes/octave-mod.el (octave-fill-paragraph):
24826 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24827 (python-pdbtrack-grub-for-buffer, python-sentinel):
24828 * progmodes/sql.el (sql-save-connection):
24829 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24830 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24831 Mark unused parameters.
24832
24833 * progmodes/compile.el (compilation--flush-directory-cache)
24834 (compilation--flush-parse, compile-internal): Mark unused parameters.
24835 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24836 (compilation-next-error-function): Remove unused variable `timestamp'.
24837
24838 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24839 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24840
24841 * progmodes/dcl-mode.el (dcl-end-of-command):
24842 Remove unused variable `start'.
24843 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24844 (dcl-option-value-basic, dcl-option-value-offset)
24845 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24846 Mark unused parameters.
24847 (dcl-save-local-variable): Remove unused variable `val'.
24848 (mode): Declare.
24849
24850 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24851 Mark unused parameters.
24852 (delphi-ignore-changes): Move before first use.
24853 (delphi-charset-token-at): Remove unused variable `start'.
24854 (delphi-else-start): Remove unused variable `if-count'.
24855 (delphi-comment-block-start, delphi-comment-block-end):
24856 Remove unused variable `kind'.
24857 (delphi-indent-line): Remove unused variable `new-point'.
24858
24859 * progmodes/ebrowse.el (ebrowse-files-list)
24860 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24861 Mark unused parameters. Don't quote `lambda'.
24862 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24863 Don't quote `lambda'.
24864 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24865 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24866 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24867 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24868 Use `ignore-errors'.
24869 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24870 (ebrowse-view/find-file-and-search-pattern)
24871 (ebrowse-view/find-member-declaration/definition):
24872 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24873 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24874 Rename parameter PREFIX-ARG to PREFIX.
24875 (ebrowse-tags-read-name): Remove unused variables `start' and
24876 `member-info'.
24877 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24878 to `tags-file'.
24879
24880 * progmodes/etags.el (local-find-tag-hook): Declare.
24881 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24882 Mark unused parameters.
24883
24884 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24885 (executable-interpret): Mark unused parameter.
24886
24887 * progmodes/flymake.el (flymake-process-sentinel)
24888 (flymake-after-change-function)
24889 (flymake-create-temp-with-folder-structure)
24890 (flymake-get-include-dirs-dot): Mark unused parameters.
24891 (flymake-safe-delete-directory): Remove unused variable `err'.
24892
24893 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24894 (speedbar-timer-fn, speedbar-line-text)
24895 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24896 (speedbar-center-buffer-smartly): Declare functions.
24897 (gdb-find-watch-expression): Remove unused variable `array'.
24898 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24899 (gdb-starting): Mark unused parameters.
24900 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24901 (gdb-table-string): Remove unused variable `res'.
24902 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24903 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24904 (gdb-display-buffer): Remove unused variable `cur-size'.
24905
24906 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24907 allow lexical-binding compilation.
24908 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24909 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24910 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24911 Mark unused parameters.
24912 (gud-gdb-marker-filter): Remove unused variable `match'.
24913 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24914 lambda expressions and funcall them, instead of using `fset'.
24915
24916 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24917 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24918
24919 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24920 variable `header-beg'; use `let'.
24921
24922 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24923 `restart', `last-sexp' and `at-do'.
24924
24925 * progmodes/js.el (js--debug): Mark unused parameter.
24926 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24927 (js--splice-into-items): Remove unused variable `item'.
24928 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24929
24930 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24931 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24932 (makefile-complete): Remove unused variable `try'.
24933 (makefile-fill-paragraph, makefile-match-function-end):
24934 Mark unused parameters.
24935
24936 * progmodes/octave-inf.el (inferior-octave-complete):
24937 Remove unused variable `proc'.
24938 (inferior-octave-output-digest): Mark unused parameter.
24939
24940 * progmodes/perl-mode.el (perl-calculate-indent):
24941 Remove unused variable `err'.
24942
24943 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24944 (prolog-indent-line): Mark unused parameters.
24945 (prolog-indent-line): Remove unused variable `beg'.
24946
24947 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24948 (reporter-dont-compact-list): Declare.
24949
24950 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24951 Remove unused variable `char'.
24952 (sh-debug): Mark unused parameter.
24953 (sh-get-indent-info): Remove unused variable `start'.
24954 (sh-calculate-indent): Remove unused variable `var'.
24955
24956 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24957 (simula-electric-keyword): Remove unused variable `null'.
24958 (simula-search-backward, simula-search-forward): Remove unused
24959 variables `begin' and `end'.
24960
24961 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24962 Remove unused variable `pos'.
24963 (vera-electric-tab, vera-comment-uncomment-region):
24964 Mark unused parameters.
24965 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24966
24967 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24968
24969 * emacs-lisp/package.el (package--builtins, package-alist)
24970 (package-load-descriptor, package-built-in-p, package-activate)
24971 (define-package, package-installed-p)
24972 (package-compute-transaction, package-buffer-info)
24973 (package--push): Doc fix. Distinguish more clearly between
24974 version strings and version lists.
24975
24976 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24977
24978 Lexical-binding cleanup.
24979
24980 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24981 (5x5-make-mutate-best):
24982 * play/fortune.el (fortune-in-buffer):
24983 * play/gomoku.el (gomoku-init-display):
24984 * play/solitaire.el (solitaire, solitaire-do-check):
24985 * play/tetris.el (tetris-default-update-speed-function):
24986 Mark unused parameters.
24987
24988 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24989 (bubbles--shift): Remove unused variable `char-org'.
24990 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24991 (bubbles--show-images): Remove unused variable `char'.
24992
24993 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24994 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24995 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24996 (decipher-analyze-buffer): Use ?\s.
24997 (decipher-make-checkpoint): Remove unused variable `mapping'.
24998
24999 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25000
25001 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25002 Remove unused variable `result'; use `let'.
25003
25004 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25005 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25006 (gametree-children-shown-p, gametree-compute-reduced-score):
25007 Use `ignore-errors'.
25008
25009 * play/handwrite.el (ps-lpr-switches): Declare.
25010 (handwrite): Remove unused variables `pmin' and `lastp'.
25011
25012 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25013
25014 * play/landmark.el (landmark-init-display)
25015 (landmark-update-naught-weights): Mark unused parameters.
25016 (landmark-y): Remove unused variable `noise'. Simplify.
25017 (landmark-human-plays): Remove unused variable `score'.
25018
25019 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25020 (mpuz-try-proposal): Remove unused variable `game'.
25021
25022 * play/zone.el (life-patterns): Declare.
25023
25024 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25025
25026 * vc/vc.el (ediff-vc-internal): Declare function.
25027
25028 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25029
25030 * shell.el: Use lexical-binding and std completion UI.
25031 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25032 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25033 comint-preoutput-filter-functions rather than on
25034 comint-output-filter-functions.
25035 (shell-command-completion, shell--command-completion-data)
25036 (shell-filename-completion, shell-environment-variable-completion)
25037 (shell-c-a-p-replace-by-expanded-directory): New functions.
25038 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25039 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25040 (shell-dynamic-complete-environment-variable): Use them.
25041 (shell-dynamic-complete-as-environment-variable)
25042 (shell-dynamic-complete-as-command): Remove.
25043 (shell-match-partial-variable): Match past point.
25044 * comint.el: Clean up use of completion-at-point-functions.
25045 (comint-completion-at-point): New function.
25046 (comint-mode): Use it completion-at-point-functions.
25047 (comint-dynamic-complete): Make it obsolete.
25048 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25049 (comint-c-a-p-replace-by-expanded-history): New function.
25050 (comint-dynamic-complete-functions)
25051 (comint-replace-by-expanded-history): Use it.
25052 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25053 termination strings. Try harder to avoid second try-completion.
25054 (completion-in-region-mode-map): Disable bindings that don't work yet.
25055
25056 * comint.el: Use lexical-binding. Require CL.
25057 (comint-dynamic-complete-functions): Use comint-filename-completion.
25058 (comint-completion-addsuffix): Tweak custom type.
25059 (comint-filename-completion, comint--common-suffix)
25060 (comint--common-quoted-suffix, comint--table-subvert)
25061 (comint--complete-file-name-data): New functions.
25062 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25063 (comint-dynamic-list-filename-completions): Use them.
25064 (comint-dynamic-simple-complete): Make obsolete.
25065
25066 * minibuffer.el (completion-in-region-mode):
25067 Keep completion-in-region-mode--predicate global.
25068 (completion-in-region--postch):
25069 Assume completion-in-region-mode--predicate is not null.
25070
25071 * progmodes/flymake.el (flymake-start-syntax-check-process):
25072 Obey `dir'. Simplify.
25073
25074 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25075 we're in VC after all.
25076
25077 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25078
25079 * vc/vc.el (vc-diff-build-argument-list-internal)
25080 (vc-version-ediff, vc-ediff): New commands.
25081 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25082
25083 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25084
25085 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25086 add sanity check.
25087
25088 * obsolete/erc-hecomplete.el: Make obsolete.
25089 * obsolete/: Standardize obsolescence info in the header.
25090
25091 2011-04-20 Glenn Morris <rgm@gnu.org>
25092
25093 * calendar/solar.el (solar-horizontal-coordinates):
25094 Use the longitude argument rather than `calendar-longitude'.
25095 (solar-date-next-longitude): Remove unused locals.
25096
25097 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25098
25099 * whitespace.el: New version 13.2.1.
25100
25101 2011-04-20 felix <EmacsWiki> (tiny change)
25102
25103 * whitespace.el (global-whitespace-mode): Keep highlight when
25104 switching between major modes on a file.
25105
25106 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25107
25108 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25109 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25110 multi-line comments as well.
25111
25112 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
25113
25114 Lexical-binding cleanup.
25115
25116 * arc-mode.el (archive-mode-revert):
25117 * cmuscheme.el (scheme-interactively-start-process):
25118 * custom.el (custom-initialize-delay):
25119 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25120 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25121 * emacs-lock.el (emacs-lock-clear-sentinel):
25122 * ezimage.el (defezimage):
25123 * follow.el (follow-avoid-tail-recenter):
25124 * fringe.el (set-fringe-mode-1):
25125 * generic-x.el (bat-generic-mode-compile):
25126 * help-mode.el (help-info-variable, help-do-xref)
25127 (help-mode-revert-buffer):
25128 * help.el (view-emacs-todo):
25129 * iswitchb.el (iswitchb-completion-help):
25130 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25131 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25132 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25133 * locate.el (locate-update):
25134 * longlines.el (longlines-encode-region)
25135 (longlines-after-change-function):
25136 * outline.el (outline-isearch-open-invisible):
25137 * ps-def.el (declare-function, charset-dimension, char-width)
25138 (encode-char):
25139 * ps-mule.el (ps-mule-plot-string):
25140 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25141 (recentf-edit-list-select, recentf-edit-list-validate)
25142 (recentf-open-files-action):
25143 * rect.el (delete-whitespace-rectangle-line)
25144 (rectangle-number-line-callback):
25145 * register.el (window-configuration-to-register)
25146 (frame-configuration-to-register):
25147 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25148 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25149 (xselect-convert-to-targets, xselect-convert-to-delete)
25150 (xselect-convert-to-filename, xselect-convert-to-charpos)
25151 (xselect-convert-to-lineno, xselect-convert-to-colno)
25152 (xselect-convert-to-os, xselect-convert-to-host)
25153 (xselect-convert-to-user, xselect-convert-to-class)
25154 (xselect-convert-to-name, xselect-convert-to-integer)
25155 (xselect-convert-to-atom, xselect-convert-to-identity):
25156 * subr.el (declare, ignore, process-kill-without-query)
25157 (text-clone-maintain):
25158 * terminal.el (te-get-char, te-tic-sentinel):
25159 * tool-bar.el (tool-bar-make-keymap):
25160 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
25161 * type-break.el (type-break-mode, type-break-noninteractive-query):
25162 * view.el (View-back-to-mark):
25163 * wid-browse.el (widget-browse-action, widget-browse-widget)
25164 (widget-browse-widgets, widget-browse-sexp):
25165 * widget.el (define-widget-keywords):
25166 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
25167 Mark unused parameters.
25168
25169 * align.el (align-adjust-col-for-rule): Mark unused parameter.
25170 (align-areas): Remove unused variable `look'.
25171 (align-region): Remove unused variables `real-end' and `pos-list'.
25172
25173 * apropos.el (apropos-score-doc): Remove unused variable `i'.
25174
25175 * bindings.el (mode-line-modified, mode-line-remote):
25176 Mark unused parameters.
25177 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
25178
25179 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
25180 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
25181
25182 * comint.el (comint-history-isearch-pop-state)
25183 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
25184 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
25185 (comint-substitute-in-file-name): Doc fix.
25186
25187 * completion.el (cmpl-statistics-block): Mark unused parameter.
25188 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
25189 (save-completions-to-file, load-completions-from-file):
25190 Remove unused local variable `e'.
25191
25192 * composite.el (compose-chars): Remove unused variable `len'.
25193 (lgstring-insert-glyph): Remove unused variable `g'.
25194 (compose-glyph-string): Remove unused variables `ascent',
25195 `descent', `lbearing' and `rbearing'.
25196 (compose-glyph-string-relative): Remove unused variables
25197 `lbearing', `rbearing' and `wadjust'.
25198 (compose-gstring-for-graphic): Remove unused variables `header',
25199 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
25200 (compose-gstring-for-terminal): Remove unused variables `header'
25201 and `nchars'. Use `let', not `let*'.
25202
25203 * cus-edit.el (Custom-set, Custom-save, custom-reset)
25204 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
25205 (Custom-buffer-done, custom-buffer-create-internal)
25206 (custom-browse-visibility-action, custom-browse-group-tag-action)
25207 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
25208 (widget-magic-mouse-down-action, custom-toggle-parent)
25209 (custom-add-parent-links, custom-toggle-hide-variable)
25210 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
25211 (custom-toggle-hide-face, face, hook, custom-group-link-action)
25212 (custom-face-menu-create, custom-variable-menu-create, get)
25213 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
25214 (custom-reset-standard-save-and-update): Remove unused variable `value'.
25215 (customize-apropos): Remove unused variable `tests'.
25216 (custom-group-value-create): Remove unused variable `hidden-p'.
25217 (sort-fold-case): Declare.
25218
25219 * cus-theme.el (custom-reset-standard-faces-list)
25220 (custom-reset-standard-variables-list): Declare.
25221 (customize-create-theme, custom-theme-revert, custom-theme-write)
25222 (custom-theme-choose-mode, customize-themes, custom-theme-save):
25223 Mark unused parameters.
25224
25225 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
25226
25227 * delim-col.el (delimit-columns-max): Move defvar before first use.
25228
25229 * descr-text.el (describe-char-categories): Don't quote `lambda'.
25230 (describe-char): Don't quote `lambda'. Mark unused parameter.
25231
25232 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
25233 (auto-insert): Declare.
25234 (desktop-restore-file-buffer): Rename desktop-* parameters;
25235 mark unused ones.
25236 (desktop-create-buffer): Rename desktop-* parameters and bind them.
25237 (desktop-buffer): Rename desktop-* parameters.
25238
25239 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
25240 (dframe-reposition-frame-xemacs, dframe-help-echo)
25241 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
25242 Mark unused parameters.
25243
25244 * dired-aux.el (backup-extract-version-start, overwrite-query)
25245 (overwrite-backup-query, rename-regexp-query)
25246 (rename-non-directory-query): Declare.
25247 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
25248 (dired-add-entry): Remove unused variable `orig-file-name'.
25249 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
25250 Use parameter PRESERVE-TIME instead of accessing dynamic variable
25251 `dired-copy-preserve-time' directly.
25252 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
25253 (dired-insert-subdir-newpos): Rename unused variable `pos'.
25254
25255 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
25256 (dired-virtual-revert, dired-make-relative-symlink):
25257 Mark unused parameters.
25258 (manual-program): Declare.
25259 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
25260 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
25261 wrapped in `with-no-warnings' to avoid replacing one warning by another.
25262
25263 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
25264
25265 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
25266
25267 * echistory.el (electric-history-in-progress, Helper-return-blurb):
25268 Declare.
25269
25270 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
25271
25272 * electric.el (Electric-command-loop): Rename parameter
25273 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
25274
25275 * expand.el (expand-in-literal): Remove unused variable `here'.
25276
25277 * facemenu.el (facemenu-add-new-color):
25278 Remove unused variable `docstring'.
25279
25280 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
25281 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
25282 (face-attr-construct): Mark unused parameter. Doc fix.
25283 (read-color): Remove unused variable `hex-string'.
25284
25285 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
25286 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
25287 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
25288 (display-buffer-other-frame): Remove unused variable `old-window'.
25289 (kill-buffer-hook): Declare.
25290 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
25291 Mark unused parameters.
25292 (after-find-file): Pass 1 to `auto-save-mode', not t.
25293
25294 * files-x.el (auto-insert): Declare.
25295 (modify-file-local-variable-prop-line): Remove unused variable `val'.
25296
25297 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
25298 variable `buf'. Mark unused parameter.
25299 (find-lisp-insert-directory): Mark unused parameter.
25300
25301 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
25302 (format-encode-region): Remove unused variables `cur-buf' and `result'.
25303 (format-common-tail): Remove, unused.
25304 (format-deannotate-region): Remove unused variable `loc'.
25305 (format-annotate-region): Remove unused variable `p'.
25306 (format-annotate-single-property-change): Remove unused variables
25307 `default' and `tail'.
25308
25309 * forms.el (read-file-filter): Declare.
25310 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
25311
25312 * frame.el (frame-creation-function-alist): Mark unused parameter.
25313 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
25314
25315 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
25316 Remove unused parameters.
25317 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
25318 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
25319
25320 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
25321 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
25322 (hfy-prepare-tag-map): Mark unused parameters.
25323 (htmlfontify-buffer): Use `called-interactively-p'.
25324
25325 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
25326 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
25327 (ibuffer-do-occur): Mark unused parameters.
25328 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
25329 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
25330
25331 * ibuffer.el: Don't quote `lambda'.
25332 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
25333 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
25334 Mark unused parameters.
25335
25336 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
25337 (ido-completing-read): Mark unused parameters.
25338 (ido-copy-current-word): Mark unused parameters;
25339 remove unused variable `name'.
25340 (ido-sort-merged-list): Remove unused parameter `dirs'.
25341
25342 * ielm.el (ielm-input-sender): Mark unused parameter.
25343 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
25344 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
25345 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
25346 `ielm-string' as a dynamic variable accessible from the IELM prompt.
25347 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
25348
25349 * image-dired.el (image-dired-display-thumbs): Remove unused
25350 variables `curr-file' and `count'.
25351 (image-dired-remove-tag): Remove unused variable `start'.
25352 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
25353 variable `curr-file'
25354 (image-dired-rotate-original): Remove unused variable `temp-file'.
25355 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
25356 Remove unused variable `file'.
25357 (image-dired-gallery-generate): Remove unused variable `curr'.
25358 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
25359
25360 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
25361
25362 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
25363
25364 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
25365
25366 * isearch.el (minibuffer-history-symbol): Declare.
25367 (isearch-edit-string): Remove unused variable `err'.
25368 (isearch-message-prefix, isearch-message-suffix):
25369 Mark unused parameters.
25370
25371 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
25372
25373 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
25374
25375 * makesum.el (double-column): Remove unused variable `cnt'.
25376
25377 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
25378 (ido-ignore-item-temp-list): Declare.
25379
25380 * mouse-drag.el (mouse-drag-throw): Remove unused variables
25381 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
25382 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
25383 (mouse-drag-drag): Remove unused variables `mouse-delta' and
25384 `mouse-col-delta'.
25385
25386 * mouse-sel.el (mouse-extend-internal):
25387 Remove unused variable `orig-window-frame'.
25388
25389 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
25390 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
25391 Move declarations before first use.
25392 (pcomplete-opt): Mark unused parameters; doc fix.
25393
25394 * proced.el (proced-revert): Mark unused parameter.
25395 (proced-send-signal): Remove unused variable `err'.
25396
25397 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25398 Rename parameter PREFIX-ARG to ARG.
25399 (ps-basic-plot-string, ps-basic-plot-whitespace):
25400 Mark unused parameters.
25401
25402 * replace.el (replace-count): Define.
25403 (occur-revert-function): Mark unused parameters.
25404 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25405 (isearch-case-fold-search, isearch-string): Declare.
25406 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25407 bind `case-fold-search'. Remove unused variables `beg' and `end',
25408 and simplify.
25409 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25410 COUNT and bind `replace-count'.
25411 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25412 to COUNT.
25413
25414 * savehist.el (print-readably, print-string-length): Declare.
25415
25416 * shadowfile.el (shadow-expand-cluster-in-file-name):
25417 Remove unused variable `cluster'.
25418 (shadow-copy-file): Remove unused variable `i'.
25419 (shadow-noquery, shadow-clusters, shadow-site-cluster)
25420 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25421 (shadow-define-literal-group, shadow-define-regexp-group)
25422 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25423
25424 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25425 (shell): Use `called-interactively-p'.
25426 (shell-directory-tracker): Remove unused variable `chdir-failure'.
25427
25428 * simple.el (compilation-context-lines, comint-file-name-quote-list)
25429 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25430 (delete-backward-char): Remove unused variable `ocol'.
25431 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25432 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25433 (event-apply-hyper-modifier, event-apply-shift-modifier)
25434 (event-apply-control-modifier, event-apply-meta-modifier):
25435 Mark unused parameters.
25436 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25437 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25438
25439 * speedbar.el (speedbar-ignored-directory-expressions)
25440 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25441 (speedbar-find-file, speedbar-dir-follow)
25442 (speedbar-directory-buttons-follow, speedbar-tag-find)
25443 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25444 (speedbar-buffers-line-directory, speedbar-buffer-click):
25445 Mark unused parameters.
25446 (speedbar-tag-file): Remove unused variable `mode'.
25447 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25448
25449 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25450
25451 * talk.el (talk): Remove unused variable `display'.
25452
25453 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25454 (tar-write-region-annotate): Mark unused parameter.
25455
25456 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25457 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25458 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25459 warning by another.
25460
25461 * time-stamp.el (time-stamp-string-preprocess):
25462 Remove unused variable `require-padding'.
25463
25464 * tree-widget.el (widget-glyph-enable): Declare.
25465 (tree-widget-action): Mark unused parameter.
25466
25467 * w32-fns.el (x-get-selection): Mark unused parameter.
25468 (autoload-make-program, generated-autoload-file): Declare.
25469
25470 * wdired.el (wdired-revert): Mark unused parameters.
25471 (wdired-xcase-word): Remove unused variable `err'.
25472
25473 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25474 (whitespace-help-scroll): Remove unused variable `data-help'.
25475
25476 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25477 (widget-image-insert, widget-after-change, default)
25478 (widget-default-format-handler, widget-default-notify)
25479 (widget-default-prompt-value, widget-info-link-action)
25480 (widget-url-link-action, widget-function-link-action)
25481 (widget-variable-link-action, widget-file-link-action)
25482 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25483 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25484 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25485 (widget-insert-button-action, widget-delete-button-action, visibility)
25486 (widget-documentation-link-action, widget-documentation-string-action)
25487 (widget-const-prompt-value, widget-regexp-match, symbol)
25488 (widget-coding-system-prompt-value)
25489 (widget-key-sequence-value-to-external, sexp)
25490 (widget-sexp-value-to-internal, character, vector, cons)
25491 (widget-choice-prompt-value, widget-boolean-prompt-value)
25492 (widget-color--choose-action): Mark unused parameters.
25493 (widget-item-match-inline, widget-choice-match-inline)
25494 (widget-checklist-match, widget-checklist-match-inline)
25495 (widget-group-match): Rename parameter VALUES to VALS.
25496 (widget-field-value-set): Remove unused variable `size'.
25497 (widget-color-action): Remove unused variables `value' and `start'.
25498
25499 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
25500 variable `dir'. Doc fix.
25501 (windmove-find-other-window): Don't pass it.
25502
25503 * window.el (count-windows): Mark unused parameter.
25504 (bw-adjust-window): Remove unused variable `err'.
25505
25506 * woman.el (woman-file-name): Remove unused variable `default'.
25507 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25508 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25509 (global-font-lock-mode): Declare.
25510 (woman-decode-region): Mark unused parameter.
25511 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25512
25513 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25514 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25515 (x-dnd-handle-moz-url): Remove unused variable `title'.
25516 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25517
25518 * xml.el (xml-parse-tag, xml-parse-attlist):
25519 Remove unused variable `pos'.
25520
25521 2011-04-19 Glenn Morris <rgm@gnu.org>
25522
25523 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25524 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25525 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25526 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25527 * calendar/cal-html.el (cal-html-insert-minical):
25528 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25529 (calendar-mark-date-pattern):
25530 Prefix "unused" locals.
25531
25532 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25533 optional argument `style'.
25534
25535 * calendar/appt.el (appt-make-list):
25536 * calendar/cal-china.el (calendar-chinese-date-string):
25537 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25538 (diary-hebrew-yahrzeit):
25539 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25540 * calendar/calendar.el (calendar-generate-window):
25541 * calendar/time-date.el (time-to-days):
25542 Remove unused local variables.
25543
25544 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
25545
25546 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25547 glyphless-char-display table.
25548 (tabulated-list-glyphless-char-display): New var.
25549
25550 2011-04-18 Sam Steingold <sds@gnu.org>
25551
25552 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25553 to acknowledgments.
25554
25555 2011-04-17 Glenn Morris <rgm@gnu.org>
25556
25557 * calendar/diary-lib.el (diary-sexp-entry):
25558 * calendar/holidays.el (holiday-sexp):
25559 Set debug-on-error rather than the removed stack-trace-on-error.
25560
25561 2011-04-16 Glenn Morris <rgm@gnu.org>
25562
25563 * progmodes/f90.el: Use lexical-binding.
25564 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25565
25566 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25567
25568 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25569 (mail-mode): Setup mailalias completion here instead.
25570 * mail/mailalias.el: Use lexical-binding.
25571 (pattern, mailalias-done): Declare dynamic.
25572 (mail-completion-at-point-function): New function, from mail-complete.
25573 (mail-complete): Use it.
25574 (mail-completion-expand): New function.
25575 (mail-get-names): Use it.
25576 (mail-directory, mail-directory-process, mail-directory-stream):
25577 Don't use `pattern' for lexically bound arg.
25578
25579 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25580
25581 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25582 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25583 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25584
25585 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25586 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25587 (byte-interactive-p): Define them again, for use when inlining
25588 old code.
25589
25590 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
25591
25592 * loadup.el: Use `string-to-number', not `string-to-int'.
25593
25594 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25595
25596 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25597 gud-gdb-complete-command.
25598 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25599 (gud-gdb-completion-at-point): New function.
25600 (gud-gdb-completions): Remove.
25601
25602 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
25603
25604 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25605 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25606 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25607 whether `executable-find' is bound.
25608
25609 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25610
25611 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25612
25613 * minibuffer.el (completion-in-region-mode-predicate)
25614 (completion-in-region-mode--predicate): New vars.
25615 (completion-in-region, completion-in-region--postch)
25616 (completion-in-region-mode): Use them.
25617 (completion--capf-wrapper): Also return the hook function.
25618 (completion-at-point, completion-help-at-point):
25619 Adjust and provide a predicate.
25620
25621 Preserve arg names for advice of subr and lexical functions (bug#8457).
25622 * help-fns.el (help-function-arglist): Consolidate the subr and
25623 new-byte-code cases. Add argument `preserve-names' to extract names
25624 from the docstring when needed.
25625 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25626 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25627 (ad-arglist): Use help-function-arglist's new arg.
25628 (ad-definition-type): Use cond.
25629
25630 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
25631
25632 * autorevert.el (auto-revert-handler):
25633 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25634 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25635 Don't quote lambda.
25636
25637 * image-mode.el (image-transform-set-scale):
25638 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25639
25640 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25641
25642 * net/network-stream.el (network-stream-open-starttls): Only do
25643 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
25644 Upgrades via gnutls-cli are too slow to be done opportunistically.
25645
25646 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
25647
25648 * dframe.el (dframe-current-frame): Remove spurious quote.
25649
25650 2011-04-12 Glenn Morris <rgm@gnu.org>
25651
25652 * calendar/cal-tex.el (cal-tex-end-document):
25653 Try to automatically use latin1 input if needed.
25654
25655 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25656 Don't try to cons a mark onto an empty element.
25657
25658 2011-04-11 Leo Liu <sdl.web@gmail.com>
25659
25660 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25661 buffers.
25662 (ido-kill-buffer-at-head): Support killing virtual buffers.
25663
25664 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
25665
25666 * minibuffer.el (completion-show-inline-help): New var.
25667 (completion--do-completion, minibuffer-complete)
25668 (minibuffer-force-complete, minibuffer-complete-word):
25669 Inhibit minibuffer messages if completion-show-inline-help is nil.
25670
25671 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25672 to avoid interference from inline help (Bug#5849).
25673
25674 2011-04-10 Leo Liu <sdl.web@gmail.com>
25675
25676 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25677 Fix typo.
25678
25679 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
25680
25681 * image-mode.el (image-toggle-display-image): Signal an error if
25682 not in Image mode.
25683 (image-transform-mode, image-transform-resize)
25684 (image-transform-set-rotation): Doc fix.
25685 (image-transform-set-resize): Delete.
25686 (image-transform-set-scale, image-transform-fit-to-height)
25687 (image-transform-fit-to-width): Handle image-toggle-display-image
25688 and image-transform-resize directly.
25689
25690 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
25691
25692 * doc-view.el (doc-view-fit-width-to-window)
25693 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25694 New functions for fitting the shown image to the Emacs window size.
25695 (doc-view-mode-map): Add bindings for the new functions.
25696
25697 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
25698
25699 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
25700 Fix typo in docstring.
25701
25702 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25703
25704 * files.el (file-size-human-readable): Produce one digit after
25705 decimal, like "ls -lh" does.
25706
25707 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25708 the file size representation.
25709
25710 * simple.el (list-processes): If async subprocesses are not
25711 available, error out with a clear error message.
25712
25713 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
25714
25715 * help.el (help-form-show): New function, to be called from C.
25716 Put help-form output in a buffer named differently than *Help*.
25717
25718 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25719
25720 * files.el (file-size-human-readable): New function.
25721
25722 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25723 computing the representation inline. Don't require `cl'.
25724
25725 2011-04-08 Glenn Morris <rgm@gnu.org>
25726
25727 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25728
25729 * net/browse-url.el (browse-url-firefox):
25730 Test system-type, not system-configuration.
25731
25732 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25733 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25734 Use log-edit-empty-buffer-p. (Bug#7598)
25735
25736 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25737 (rlogin-mode-map): Initialize in the defvar.
25738 (rlogin): Use ignore-errors.
25739
25740 * replace.el (occur-mode-map): Some fixes for menu items.
25741
25742 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25743
25744 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25745
25746 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25747
25748 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25749 issuing unused warnings.
25750
25751 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25752 macro directly.
25753
25754 * simple.el: Lisp reimplement of list-processes. Based on an
25755 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25756 (process-menu-mode): New major mode.
25757 (list-processes--refresh, list-processes):
25758 (process-menu-visit-buffer): New functions.
25759
25760 * files.el (save-buffers-kill-emacs): Don't assume any return
25761 value of list-processes, which is undocumented anyway.
25762
25763 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25764
25765 * emacs-lisp/tabulated-list.el: New file.
25766
25767 * emacs-lisp/package.el: Use Tabulated List mode.
25768 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25769 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25770 table format using Tabulated List mode variables.
25771 (package--push): New macro, replacing package-list-maybe-add.
25772 (package-menu--generate): Use package--push. Renamed from
25773 package--generate-package-list.
25774 (package-menu-refresh, list-packages): Use it.
25775 (package-menu--print-info): Rename from package-print-package.
25776 Return insertion data instead of inserting it directly.
25777 (package-menu-describe-package, package-menu-execute):
25778 Use tabulated-list-get-id.
25779 (package-menu-mark-delete, package-menu-mark-install)
25780 (package-menu-mark-unmark, package-menu-backup-unmark)
25781 (package-menu-mark-obsolete-for-deletion):
25782 Use tabulated-list-put-tag.
25783 (package--list-packages, package-menu-revert)
25784 (package-menu-get-package, package-menu-get-version)
25785 (package-menu-sort-by-column): Functions deleted.
25786 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25787 (package-menu--status-predicate, package-menu--version-predicate)
25788 (package-menu--name-predicate)
25789 (package-menu--description-predicate): Handle arguments in the
25790 Tabulated List format.
25791 (package-list-packages-no-fetch): Call list-packages.
25792
25793 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25794
25795 * files.el (after-find-file-from-revert-buffer): Remove variable.
25796 (after-find-file): Don't bind it.
25797 (revert-buffer-in-progress-p): New variable.
25798 (revert-buffer): Bind it.
25799 Pass nil for `after-find-file-from-revert-buffer'.
25800
25801 * saveplace.el (save-place-find-file-hook): Use new variable
25802 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25803
25804 2011-04-06 Glenn Morris <rgm@gnu.org>
25805
25806 * Makefile.in (AUTOGEN_VCS): New variable.
25807 (autoloads): Use $AUTOGEN_VCS.
25808
25809 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25810 * calendar/calendar.el (calendar-mode-map):
25811 Check for toolkit scroll bars. (Bug#8305)
25812
25813 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25814
25815 * minibuffer.el (completion-in-region--postch)
25816 (completion-in-region-mode): Remove unnecessary messages.
25817
25818 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
25819
25820 * font-lock.el (font-lock-refresh-defaults):
25821 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25822 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25823
25824 * info.el (Info-directory-list, Info-read-node-name-2)
25825 (Info-split-parameter-string): Doc fixes.
25826 (Info-virtual-nodes): Reflow docstring.
25827 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25828 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25829 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25830 Fix typos in docstrings.
25831 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25832 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25833 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25834 (Info-restore-desktop-buffer): Mark unused parameters.
25835 (Info-directory-find-file, Info-directory-find-node)
25836 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25837 (Info-virtual-index-find-node, Info-apropos-find-file)
25838 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25839 Mark unused parameters; fix typos in docstrings.
25840 (Info-virtual-index): Remove unused local variable `nodename'.
25841
25842 2011-04-05 Deniz Dogan <deniz@dogan.se>
25843
25844 * net/rcirc.el: Update my e-mail address.
25845 (rcirc-mode-map): Remove M-o binding.
25846
25847 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25848
25849 * startup.el (command-line): Save the cursor's theme-face
25850 directly, instead of using face-override-spec.
25851
25852 * custom.el (load-theme): Minor optimization in assigning faces.
25853
25854 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25855
25856 * help-fns.el (describe-variable): Complete all variables having
25857 documentation, including keywords.
25858 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25859
25860 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25861
25862 Convert to lexical-binding.
25863
25864 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25865 (bs--get-marked-string, bs--get-modified-string)
25866 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25867 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25868 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25869
25870 * ehelp.el (electric-help-execute-extended)
25871 (electric-help-ctrl-x-prefix):
25872 * hexl.el (hexl-revert-buffer-function):
25873 * linum.el (linum-after-change, linum-after-scroll):
25874 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25875
25876 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25877
25878 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25879
25880 * epa-dired.el:
25881 * epa-mail.el:
25882 * epa-hook.el:
25883 * epa-file.el:
25884 * epa.el:
25885 * epg.el: Use lexical binding.
25886
25887 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25888
25889 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25890
25891 * textmodes/flyspell.el (flyspell-word): Recognize default
25892 dictionary case for flyspell-mark-duplications-exceptions.
25893 Use regexp matching for languages.
25894 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25895 default dictionary (Bug#7926).
25896
25897 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25898
25899 * emacs-lisp/package.el (package--with-work-buffer):
25900 Recognize https URLs.
25901
25902 * net/network-stream.el: Move from gnus/proto-stream.el.
25903 Change prefix to network-stream throughout.
25904 (open-protocol-stream): Merge into open-network-stream, leaving
25905 open-protocol-stream as an alias. Handle nil BUFFER args.
25906
25907 * subr.el (open-network-stream): Move to net/network-stream.el.
25908
25909 2011-04-02 Glenn Morris <rgm@gnu.org>
25910
25911 * find-dired.el (find-exec-terminator): New option.
25912 (find-ls-option): Test for -ls support.
25913 (find-ls-subdir-switches): Test for -b in find-ls-option.
25914 (find-dired, find-grep-dired): Doc fixes.
25915 (find-dired): Use find-exec-terminator.
25916
25917 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25918 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25919 (find-name-arg): Remove purecopy.
25920
25921 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25922 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25923 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25924 accordingly. Don't add the null-device if not needed.
25925
25926 * files.el (save-some-buffers): Doc fix.
25927
25928 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25929
25930 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25931
25932 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25933
25934 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25935 Use `dolist' rather than `mapcar'.
25936
25937 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25938
25939 Add lexical binding.
25940
25941 * subr.el (apply-partially): Use new closures rather than CL.
25942 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25943 (dolist, dotimes): Use slightly different expansion for lexical code.
25944 (functionp): Move to C.
25945 (letrec): New macro.
25946 (with-wrapper-hook): Use it and apply-partially instead of CL.
25947 (eval-after-load): Preserve lexical-binding.
25948 (save-window-excursion, with-output-to-temp-buffer): Turn them
25949 into macros.
25950
25951 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25952
25953 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25954 than the arglist.
25955 (help-add-fundoc-usage): Don't add `Not documented'.
25956 (help-function-arglist): Handle closures, subroutines, and new
25957 byte-code-functions.
25958 (help-make-usage): Remove leading underscores.
25959 (describe-function-1): Handle closures.
25960 (describe-variable): Use special-variable-p for completion.
25961
25962 * files.el (lexical-binding): Declare safe.
25963
25964 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25965 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25966 (pcase): Add `let' pattern.
25967 Change memoization so it actually works.
25968 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25969 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25970 <let>: New case.
25971
25972 * emacs-lisp/macroexp.el: Use lexical binding.
25973 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25974 Don't convert ' to #' without checking that it's indeed quoting
25975 a lambda.
25976
25977 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25978 Use eval-sexp-add-defvars.
25979 (eval-sexp-add-defvars): New fun.
25980
25981 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25982
25983 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25984 Don't autoload.
25985 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25986 than the internal `byte-compile-lambda'.
25987 (defmethod): Don't hide code under quotes.
25988 (eieio-defmethod): New `code' argument.
25989
25990 * emacs-lisp/eieio-comp.el: Remove.
25991
25992 * emacs-lisp/edebug.el (edebug-eval-defun)
25993 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25994 (edebug-toggle): Avoid `eval'.
25995
25996 * emacs-lisp/disass.el (disassemble-internal): Handle new
25997 `closure' objects.
25998 (disassemble-1): Handle new byte codes.
25999
26000 * emacs-lisp/cl.el (pushnew): Silence warning.
26001
26002 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26003 (cl-byte-compile-throw): Remove.
26004 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26005
26006 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26007 closures.
26008
26009 * emacs-lisp/cconv.el: New file.
26010
26011 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26012 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26013 (byte-compile-initial-macro-environment):
26014 Handle declare-function here.
26015 (byte-compile--lexical-environment): New var.
26016 (byte-stack-ref, byte-stack-set, byte-discardN)
26017 (byte-discardN-preserve-tos): New lap codes.
26018 (byte-interactive-p): Don't use any more.
26019 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26020 New macros.
26021 (byte-compile-lapcode): Use them and handle new lap codes.
26022 (byte-compile-obsolete): Remove.
26023 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26024 (byte-compile-arglist-warn): Check late def of inlinable funs.
26025 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26026 since they should have been expanded by now.
26027 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26028 (byte-compile-from-buffer): Remove unused second arg.
26029 (byte-compile-preprocess): New function.
26030 (byte-compile-toplevel-file-form): New function to distinguish
26031 file-form calls from outside from file-form calls from hunk-handlers.
26032 (byte-compile-file-form): Simplify.
26033 (byte-compile-file-form-defsubst): Remove.
26034 (byte-compile-file-form-defmumble): Simplify now that
26035 byte-compile-lambda always returns a byte-code-function.
26036 (byte-compile): Preprocess.
26037 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26038 Remove, not used any more.
26039 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26040 (byte-compile-make-args-desc): New funs.
26041 (byte-compile-lambda): Handle lexical functions. Always return
26042 a byte-code-function.
26043 (byte-compile-reserved-constants): New var, to make up room for
26044 closed-over variables.
26045 (byte-compile-constants-vector): Obey it.
26046 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26047 (byte-compile-macroexpand-declare-function): New function.
26048 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26049 byte-code-functions.
26050 (byte-compile-form): Check obsolescence here.
26051 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26052 (byte-compile-variable-ref): Remove.
26053 (byte-compile-dynamic-variable-op): New fun.
26054 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26055 (byte-compile-variable-set): New funs.
26056 (byte-compile-discard): Add 2 args.
26057 (byte-compile-stack-ref, byte-compile-stack-set)
26058 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26059 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26060 macroexpand-all instead.
26061 (byte-compile-quote-form): Remove.
26062 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26063 (byte-compile-bind, byte-compile-unbind): New funs.
26064 (byte-compile-let): Handle let* and lexical binding.
26065 (byte-compile-let*): Remove.
26066 (byte-compile-catch, byte-compile-unwind-protect)
26067 (byte-compile-track-mouse, byte-compile-condition-case):
26068 Handle a new :fun-body form, used for lexical scoping.
26069 (byte-compile-save-window-excursion)
26070 (byte-compile-with-output-to-temp-buffer): Remove.
26071 (byte-compile-defun): Simplify.
26072 (byte-compile-stack-adjustment): New fun.
26073 (byte-compile-out): Use it.
26074 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26075
26076 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26077 handler any more.
26078
26079 * emacs-lisp/byte-opt.el: Use lexical binding.
26080 (byte-inline-lapcode): Remove (to bytecomp).
26081 (byte-compile-inline-expand): Pay attention to inlining to/from
26082 lexically bound code.
26083 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26084 any more.
26085 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26086 any more and don't call compiler-macros.
26087 (byte-compile-splice-in-already-compiled-code): Remove.
26088 (byte-code): Don't inline any more.
26089 (disassemble-offset): Receive `bytes' as argument rather than via
26090 dynamic scoping.
26091 (byte-compile-tag-number): Declare before first use.
26092 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26093 `return' even if make-spliceable.
26094 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26095 obsolete interactive-p.
26096 (byte-optimize-lapcode): Optimize new lap-codes.
26097 Don't trip up on new form of `byte-constant' lap code.
26098
26099 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26100
26101 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26102
26103 * custom.el (custom-initialize-default, custom-declare-variable):
26104 Use `defvar'.
26105
26106 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26107 New variables.
26108 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26109 (COMPILE_FIRST): Add macroexp and cconv.
26110 * makefile.w32-in: Mirror changes in Makefile.in.
26111
26112 * vc/cvs-status.el:
26113 * vc/diff-mode.el:
26114 * vc/log-edit.el:
26115 * vc/log-view.el:
26116 * vc/smerge-mode.el:
26117 * textmodes/bibtex-style.el:
26118 * textmodes/css-mode.el:
26119 * startup.el:
26120 * uniquify.el:
26121 * minibuffer.el:
26122 * newcomment.el:
26123 * reveal.el:
26124 * server.el:
26125 * mpc.el:
26126 * emacs-lisp/smie.el:
26127 * doc-view.el:
26128 * dired.el:
26129 * abbrev.el: Use lexical binding.
26130
26131 2011-04-01 Eli Zaretskii <eliz@gnu.org>
26132
26133 * info.el (info-display-manual): New function.
26134
26135 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26136
26137 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26138
26139 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26140
26141 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
26142 an entry for that server in rcirc-authinfo. (Bug#8385)
26143
26144 2011-03-31 Glenn Morris <rgm@gnu.org>
26145
26146 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26147
26148 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26149
26150 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26151
26152 * progmodes/python.el (python-default-interpreter)
26153 (python-python-command-args, python-jython-command-args)
26154 (python-which-shell, python-which-args, python-which-bufname)
26155 (python-file-queue, python-comint-output-filter-function)
26156 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
26157 variables and functions.
26158
26159 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
26160
26161 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
26162 (completion-in-region-mode): New minor mode.
26163 (completion-in-region): Use it.
26164 (completion-in-region--data, completion-in-region-mode-map): New vars.
26165 (completion-in-region--postch): New function.
26166 (completion--capf-misbehave-funs, completion--capf-safe-funs):
26167 New vars.
26168 (completion--capf-wrapper): New function.
26169 (completion-at-point): Use it to track well-behavedness of
26170 hook functions.
26171 (completion-help-at-point): New command.
26172
26173 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
26174
26175 * vc/add-log.el (add-change-log-entry): Don't use whitespace
26176 syntax class to search for whitespace on a single line
26177 (Message-ID: <4D938140.4030905@redhat.com>).
26178
26179 2011-03-30 Leo Liu <sdl.web@gmail.com>
26180
26181 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
26182 New commands.
26183 (edit-abbrevs-map): Bind them here.
26184 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
26185
26186 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
26187
26188 * allout.el (allout-hide-by-annotation, allout-flag-region):
26189 Reduce possibility of overlay leakage by making them volatile.
26190
26191 * allout-widgets.el (allout-widgets-tally): Define as nil so the
26192 hash is not shared between buffers. Mode initialization is
26193 responsible for giving it a useful starting value.
26194 (allout-item-span): Reduce possibility of overlay leakage by
26195 making them volatile.
26196 (allout-widgets-count-buttons-in-region): Add diagnostic function
26197 for tracking down button overlay leaks.
26198
26199 2011-03-29 Leo Liu <sdl.web@gmail.com>
26200
26201 * ido.el (ido-read-internal): Use the default history var
26202 minibuffer-history if no HISTORY is specified.
26203
26204 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
26205
26206 * net/imap.el (imap-shell-open, imap-process-connection-type):
26207 Use imap-process-connection-type for 'shell' streams as well as
26208 Kerberos, SSL, other subprocesses.
26209
26210 2011-03-28 Leo Liu <sdl.web@gmail.com>
26211
26212 * abbrev.el (abbrev-table-empty-p): New function.
26213 (prepare-abbrev-list-buffer): Place empty abbrev tables after
26214 nonempty ones. (Bug#5937)
26215
26216 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
26217
26218 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
26219
26220 2011-03-27 Leo Liu <sdl.web@gmail.com>
26221
26222 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
26223 for foreground and background colors.
26224 (ansi-color-make-color-map): Adapt.
26225
26226 2011-03-25 Leo Liu <sdl.web@gmail.com>
26227
26228 * midnight.el (midnight-time-float): Remove. Note it calculates
26229 the microsecond component incorrectly and seconds-to-time does the
26230 same job.
26231 Remove redundant (require 'timer).
26232
26233 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
26234 (ido-completions): Remove unused arguments. (Bug#8329)
26235
26236 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
26237
26238 * minibuffer.el (completion--flush-all-sorted-completions):
26239 Remove itself from hook.
26240 (completion-at-point): Let the functions perform the completion
26241 immediately and return nil or t.
26242 * comint.el (comint-dynamic-complete-functions): Now identical to
26243 completion-at-point-functions.
26244 (comint-dynamic-list-input-ring): Remove unused var `index'.
26245 (comint--match-partial-filename, comint--unquote&expand-filename):
26246 New funs, split from comint-match-partial-filename.
26247 (comint-dynamic-complete): Use completion-at-point.
26248 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
26249
26250 2011-03-24 Drew Adams <drew.adams@oracle.com>
26251
26252 * thingatpt.el: Support `defun'.
26253
26254 2011-03-23 Leo Liu <sdl.web@gmail.com>
26255
26256 * abbrevlist.el: Move to obsolete/abbrevlist.el.
26257
26258 * help-mode.el (help-mode-finish): Tweak regexp.
26259
26260 2011-03-23 Glenn Morris <rgm@gnu.org>
26261
26262 * eshell/esh-opt.el (eshell-eval-using-options):
26263 Do not bind unused local variable `eshell-option-stub'.
26264
26265 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
26266
26267 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26268
26269 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
26270 keymap variable in `with-no-warnings' to avoid a warning when the
26271 keymap has been already `defconst'ed.
26272
26273 2011-03-22 Leo Liu <sdl.web@gmail.com>
26274
26275 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
26276 encode all chars in abbrevs; otherwise use emacs-mule or
26277 utf-8-emacs. (Bug#8308)
26278
26279 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
26280
26281 * simple.el (backward-delete-char-untabify):
26282 Avoid warning about using `delete-backward-char'.
26283
26284 * image.el (image-type-file-name-regexps): Make it variable.
26285 `imagemagick-register-types' modifies it, and the user may want
26286 to add new extensions for known image types.
26287 (imagemagick-register-types): Throw error if not using ImageMagick.
26288
26289 2011-03-22 Leo Liu <sdl.web@gmail.com>
26290
26291 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
26292 located before rcirc-prompt-end-marker.
26293 (rcirc-complete): Error if point is not after rcirc prompt.
26294 Handle the case when table is nil.
26295 (rcirc-user-authenticated): Define to fix compiler warning.
26296
26297 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
26298
26299 * custom.el (custom--inhibit-theme-enable): Make it affect only
26300 custom-theme-set-variables and custom-theme-set-faces.
26301 (provide-theme): Ignore custom--inhibit-theme-enable.
26302 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
26303 (custom-enabling-themes): Delete variable.
26304 (enable-theme): Accept only loaded themes as arguments.
26305 Ignore the special custom-enabled-themes variable.
26306 (custom-enabled-themes): Forbid themes from setting this.
26307 Eliminate use of custom-enabling-themes.
26308 (custom-push-theme): Quote "changed" custom var entry.
26309
26310 2011-03-21 Leo Liu <sdl.web@gmail.com>
26311
26312 * ido.el (ido-read-internal): Add ido-selected to history instead
26313 of user input.
26314
26315 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
26316
26317 * subr.el (deferred-action-list, deferred-action-function):
26318 Mark obsolete.
26319
26320 2011-03-21 Leo Liu <sdl.web@gmail.com>
26321
26322 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
26323 change on 2011-02-13 (bug#8309).
26324
26325 * minibuffer.el (read-file-name-function): Change default value.
26326 (read-file-name--defaults): Rename from read-file-name-defaults.
26327 (read-file-name-default): Rename from read-file-name.
26328 (read-file-name): Call read-file-name-function.
26329
26330 2011-03-21 Glenn Morris <rgm@gnu.org>
26331
26332 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
26333 Doc fixes.
26334
26335 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
26336
26337 * cus-theme.el: Add missing provide statement.
26338 (customize-create-theme): Extract theme value correctly.
26339 (custom-theme-visit-theme): Autoload.
26340 (customize-create-theme): Prompt before inserting default faces.
26341
26342 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
26343
26344 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
26345 units and musical notes.
26346
26347 2011-03-20 Leo Liu <sdl.web@gmail.com>
26348
26349 * ido.el (ido-read-internal): Use completing-read-default.
26350 (ido-completing-read): Fix compatibility with completing-read.
26351
26352 2011-03-20 Christian Ohler <ohler@gnu.org>
26353
26354 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
26355 (ert-delete-all-tests): Use `called-interactively-p' rather than
26356 `interactive-p'.
26357 (ert--make-xrefs-region): Respect END.
26358
26359 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26360
26361 * dired-aux.el (dired-create-directory): Signal an error if the
26362 directory already exists (Bug#8246).
26363
26364 * facemenu.el (list-colors-display): Call list-faces-display
26365 inside with-help-window.
26366 (list-colors-print): Use display property to align the final
26367 column, instead of checking window-width.
26368
26369 2011-03-19 Eli Zaretskii <eliz@gnu.org>
26370
26371 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
26372 windows-nt systems.
26373 (emerge-protect-metachars): Quote correctly for ms-dos and
26374 windows-nt systems.
26375
26376 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
26377
26378 * info.el (info-initialize): Replace all uses of `:' with
26379 path-separator for compatibility with non-Unix systems.
26380 Cache quoting of path-separator. (Bug#8258)
26381
26382 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
26383
26384 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
26385 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
26386 (mouse-avoidance-mode): Fix typos in docstrings.
26387
26388 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
26389
26390 * startup.el (package-subdirectory-regexp): Move from package.el.
26391 Omit \\` and \\', and let callers add them.
26392
26393 * emacs-lisp/package.el (package-strip-version)
26394 (package-load-all-descriptors): Add \\` and \\' to
26395 package-subdirectory-regexp before using it.
26396 (package-untar-buffer): New arg DIR; ensure that file untars only
26397 into this expected directory. Remove superfluous delete-region.
26398 (package-unpack): Caller changed.
26399 (package-tar-file-info): Use package-subdirectory-regexp.
26400
26401 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
26402
26403 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26404 diff-mode-shared-map (bug#8284).
26405 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
26406
26407 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
26408
26409 * calendar/time-date.el (format-seconds): Use assoc instead of
26410 assoc-string, since assoc-string doesn't exist in XEmacs.
26411
26412 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
26413
26414 * custom.el (custom-known-themes): Reflow docstring.
26415 (custom-theme-load-path): Fix typo in docstring.
26416 (load-theme): Fix typo in error message.
26417 (custom-available-themes, custom-variable-theme-value):
26418 Use `let', not `let*'.
26419
26420 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26421
26422 * calc/README: Mention inclusion of musical notes.
26423
26424 * calc/calc-units.el (calc-lu-quant): Rename from
26425 `calc-logunits-quantity'.
26426 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26427 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26428 (calc-db): Rename from `calc-dblevel'.
26429 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26430 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26431 (calc-np): Rename from `calc-nplevel'.
26432 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26433 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26434 (calc-lu-plus): Rename from `calc-logunits-add'.
26435 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26436 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26437 (calc-lu-minus): Rename from `calc-logunits-sub'.
26438 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26439 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26440 (calc-lu-times): Rename from `calc-logunits-mul'.
26441 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26442 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26443 (calc-lu-divide): Rename from `calc-logunits-div'.
26444 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26445 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26446
26447 * calc/calc-ext.el (calc-init-extensions): Update the names of the
26448 functions being autoloaded.
26449
26450 * calc/calc.el (calc-lu-power-reference): Rename from
26451 `calc-logunits-power-reference'.
26452 (calc-lu-field-reference): Rename from
26453 `calc-logunits-field-reference'.
26454
26455 * calc/calc-help.el (calc-l-prefix-help):
26456 Mention musical note functions.
26457
26458 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26459
26460 * minibuffer.el (completion-all-sorted-completions):
26461 Use :completion-cycle-penalty text property if present.
26462
26463 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26464
26465 * allout.el (allout-yank-processing): Adjust for new rebulleting
26466 regime so bullet being yanked is used without prompting the user
26467 for a choice.
26468
26469 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26470
26471 * startup.el (command-line): Warn the user that _emacs is deprecated.
26472
26473 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26474
26475 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26476 (delphi-verbose, delphi-comment-face, delphi-string-face)
26477 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26478 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26479 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26480 (delphi-new-comment-line, delphi-font-lock-defaults)
26481 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26482 Fix typos in docstrings.
26483
26484 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26485
26486 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
26487 Invert the roles of character and string values for INSTEAD, so a
26488 string is used for the more common case of a defaulting prompt.
26489
26490 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26491
26492 * progmodes/ruby-mode.el (ruby-backward-sexp):
26493 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26494 * play/gamegrid.el (gamegrid-make-face):
26495 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26496 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26497 * notifications.el (notifications-notify):
26498 * net/xesam.el (xesam-search-engines):
26499 * net/quickurl.el (quickurl-list-insert):
26500 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26501
26502 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
26503
26504 * startup.el (command-line): Update package subdirectory regexp.
26505
26506 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26507
26508 * allout.el (allout-abbreviate-flattened-numbering)
26509 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26510
26511 * subr.el (read-char-choice): Only show the cursor after the prompt,
26512 not after the answer.
26513
26514 2011-03-15 Kevin Ryde <user42@zip.com.au>
26515
26516 * help-fns.el (variable-at-point): Skip leading quotes, if any
26517 (bug#8253).
26518
26519 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26520
26521 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26522 warning message.
26523
26524 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
26525
26526 * shell.el (shell): When called interactively, offer to change the
26527 shell file name on remote hosts.
26528
26529 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26530
26531 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26532 integration for LDAP parameters. The host, base, user or binddn,
26533 and secret tokens can be specified in a netrc file, for instance.
26534 This is optional because an `auth-source' parameter must be
26535 specified in the search attributes.
26536
26537 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
26538
26539 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26540
26541 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26542
26543 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26544 into declaration. Remove redundant and harmful binding.
26545
26546 2011-03-12 Eli Zaretskii <eliz@gnu.org>
26547
26548 * files.el (file-ownership-preserved-p): Pass `integer' as an
26549 explicit 2nd argument to `file-attributes'. If the file's owner
26550 is the Administrators group on Windows, and the current user is
26551 Administrator, consider that a match.
26552
26553 * server.el (server-ensure-safe-dir): Consider server directory
26554 safe on MS-Windows if its owner is the Administrators group while
26555 the current Emacs user is Administrator. Use `=' to compare
26556 numerical UIDs, since they could be integers or floats.
26557
26558 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
26559
26560 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26561
26562 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
26563
26564 Sync with Tramp 2.2.1.
26565
26566 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26567
26568 * net/trampver.el: Update release number.
26569
26570 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26571
26572 * progmodes/compile.el (compilation--previous-directory): Fix up
26573 various nil/dead-marker mismatches (bug#8014).
26574 (compilation-directory-properties, compilation-error-properties):
26575 Don't call it at a position past the one we're about to change.
26576
26577 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26578 Disable obsolescence warnings in the file that declares it.
26579
26580 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26581
26582 * allout-widgets.el (allout-widgets-tally):
26583 Initialize allout-widgets-tally as a hash table rather than nil to
26584 prevent mode-line redisplay warnings. Also, clarify the module
26585 description and fix a comment typo.
26586
26587 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
26588
26589 * help-fns.el (describe-variable): Don't complete keywords.
26590 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26591
26592 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
26593
26594 * emacs-lisp/package.el (package-version-join): Impose a standard
26595 string representation for pre/alpha/beta version lists.
26596 (package-unpack-single): Standardize the directory name by passing
26597 it through package-version-join.
26598 (package-strip-rcs-id): Accept any version string that does not
26599 signal an error in version-to-list.
26600
26601 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
26602
26603 * simple.el (delete-trailing-whitespace): Return nil for the
26604 benefit of `write-file-functions'.
26605
26606 2011-03-10 Glenn Morris <rgm@gnu.org>
26607
26608 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26609
26610 * vc/vc-git.el (vc-git-program): New option.
26611 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26612 (vc-git--call): Use it.
26613
26614 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26615
26616 * cus-edit.el (Custom-newline): If no button at point, look
26617 for a subgroup button at start-of-line. (Bug#2298)
26618
26619 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26620
26621 2011-03-10 Julien Danjou <julien@danjou.info>
26622
26623 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26624 `cursor-type' is nil.
26625
26626 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26627
26628 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26629
26630 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26631
26632 * allout.el: Change so yank of distinctive-bullet items
26633 preserves the existing header prefix, rebulleting it if necessary,
26634 rather than replacing it. This is necessary for proper operation
26635 of cooperative addons like allout-widgets.
26636 (allout-make-topic-prefix, allout-rebullet-heading):
26637 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26638 value as alternate bullet to be used, instead of prompting the user
26639 for a bullet character.
26640
26641 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
26642
26643 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26644 Do not use `tramp-file-name-port', because this returns also
26645 `tramp-default-port'.
26646
26647 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26648
26649 * net/rcirc.el (rcirc-handler-001): Remove useless
26650 with-rcirc-process-buffer.
26651 (rcirc-check-auth-status): Swap arguments to string-match.
26652
26653 2011-03-09 Glenn Morris <rgm@gnu.org>
26654
26655 * shell.el (shell-mode):
26656 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26657
26658 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26659 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26660
26661 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26662
26663 * emacs-lisp/package.el (package-refresh-contents)
26664 (package-menu-execute): Use condition-case-no-debug.
26665
26666 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
26667
26668 * simple.el (shell-command-to-string): Use `process-file'.
26669
26670 * emacs-lisp/package.el (package-tar-file-info): Handle also
26671 remote files.
26672
26673 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26674 Use `equal' for upload base check.
26675
26676 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26677
26678 * textmodes/texinfo.el (texinfo-environments):
26679 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26680
26681 2011-03-08 Glenn Morris <rgm@gnu.org>
26682
26683 * cus-start.el (cursor-in-non-selected-windows):
26684 Fix :set quoting oddness. (Bug#8192)
26685
26686 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26687 in some setf expressions. (Bug#2159)
26688
26689 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26690
26691 * custom.el (custom-available-themes): Return themes in
26692 alphabetical order.
26693
26694 See ChangeLog.15 for earlier changes.
26695
26696 ;; Local Variables:
26697 ;; coding: utf-8
26698 ;; End:
26699
26700 Copyright (C) 2011-2013 Free Software Foundation, Inc.
26701
26702 This file is part of GNU Emacs.
26703
26704 GNU Emacs is free software: you can redistribute it and/or modify
26705 it under the terms of the GNU General Public License as published by
26706 the Free Software Foundation, either version 3 of the License, or
26707 (at your option) any later version.
26708
26709 GNU Emacs is distributed in the hope that it will be useful,
26710 but WITHOUT ANY WARRANTY; without even the implied warranty of
26711 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26712 GNU General Public License for more details.
26713
26714 You should have received a copy of the GNU General Public License
26715 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.